llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpt3i0qr7d.c'
source_filename = "/tmp/tmpt3i0qr7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reduce(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = srem i32 %21, 8
store i32 %22, ptr %14, align 4
%23 = load i32, ptr %13, align 4
%24 = mul nsw i32 %23, 4
%25 = srem i32 %24, 13
store i32 %25, ptr %15, align 4
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 8, %26
%28 = srem i32 %27, 8
store i32 %28, ptr %16, align 4
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %10, align 4
%31 = srem i32 %29, %30
store i32 %31, ptr %17, align 4
%32 = load i32, ptr %15, align 4
%33 = call i64 @pow(i32 noundef %32, i32 noundef 23)
%34 = trunc i64 %33 to i32
%35 = srem i32 %34, 13
store i32 %35, ptr %15, align 4
%36 = load i32, ptr %16, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %7
%39 = load i32, ptr %16, align 4
%40 = add nsw i32 %39, 8
br label %43
41: ; preds = %7
%42 = load i32, ptr %16, align 4
br label %43
43: ; preds = %41, %38
%44 = phi i32 [ %40, %38 ], [ %42, %41 ]
store i32 %44, ptr %16, align 4
%45 = load i32, ptr %17, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %17, align 4
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %48, %49
br label %53
51: ; preds = %43
%52 = load i32, ptr %17, align 4
br label %53
53: ; preds = %51, %47
%54 = phi i32 [ %50, %47 ], [ %52, %51 ]
store i32 %54, ptr %17, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %11, align 4
%57 = call i32 @memset(ptr noundef %55, i32 noundef 0, i32 noundef %56)
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %17, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i32, ptr %11, align 4
%64 = call i32 @memcpy(ptr noundef %58, ptr noundef %62, i32 noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %11, align 4
%68 = sdiv i32 %67, 2
%69 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %68)
store i32 0, ptr %18, align 4
br label %70
70: ; preds = %88, %53
%71 = load i32, ptr %18, align 4
%72 = load i32, ptr %11, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %91
74: ; preds = %70
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %18, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = load i32, ptr %13, align 4
%82 = xor i32 %80, %81
%83 = trunc i32 %82 to i8
%84 = load ptr, ptr %8, align 8
%85 = load i32, ptr %18, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 %83, ptr %87, align 1
br label %88
88: ; preds = %74
%89 = load i32, ptr %18, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %18, align 4
br label %70, !llvm.loop !6
91: ; preds = %70
store i32 0, ptr %19, align 4
br label %92
92: ; preds = %111, %91
%93 = load i32, ptr %19, align 4
%94 = load i32, ptr %11, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %114
96: ; preds = %92
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %19, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = load i32, ptr %15, align 4
%104 = mul nsw i32 1, %103
%105 = xor i32 %102, %104
%106 = trunc i32 %105 to i8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %19, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
store i8 %106, ptr %110, align 1
br label %111
111: ; preds = %96
%112 = load i32, ptr %19, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %19, align 4
br label %92, !llvm.loop !8
114: ; preds = %92
store i32 0, ptr %20, align 4
br label %115
115: ; preds = %134, %114
%116 = load i32, ptr %20, align 4
%117 = load i32, ptr %11, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %119, label %137
119: ; preds = %115
%120 = load ptr, ptr %8, align 8
%121 = load i32, ptr %20, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = load i32, ptr %14, align 4
%127 = mul nsw i32 13, %126
%128 = xor i32 %125, %127
%129 = trunc i32 %128 to i8
%130 = load ptr, ptr %8, align 8
%131 = load i32, ptr %20, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %130, i64 %132
store i8 %129, ptr %133, align 1
br label %134
134: ; preds = %119
%135 = load i32, ptr %20, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %20, align 4
br label %115, !llvm.loop !9
137: ; preds = %115
%138 = load ptr, ptr %8, align 8
%139 = getelementptr inbounds i8, ptr %138, i64 0
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = load i32, ptr %16, align 4
%143 = lshr i32 255, %142
%144 = and i32 %141, %143
%145 = trunc i32 %144 to i8
%146 = load ptr, ptr %8, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 0
store i8 %145, ptr %147, align 1
ret void
}
declare i64 @pow(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt3i0qr7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reduce(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = srem i32 %21, 8
store i32 %22, ptr %14, align 4
%23 = load i32, ptr %13, align 4
%24 = mul nsw i32 %23, 4
%25 = srem i32 %24, 13
store i32 %25, ptr %15, align 4
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 8, %26
%28 = srem i32 %27, 8
store i32 %28, ptr %16, align 4
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %10, align 4
%31 = srem i32 %29, %30
store i32 %31, ptr %17, align 4
%32 = load i32, ptr %15, align 4
%33 = call i64 @pow(i32 noundef %32, i32 noundef 23)
%34 = trunc i64 %33 to i32
%35 = srem i32 %34, 13
store i32 %35, ptr %15, align 4
%36 = load i32, ptr %16, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %7
%39 = load i32, ptr %16, align 4
%40 = add nsw i32 %39, 8
br label %43
41: ; preds = %7
%42 = load i32, ptr %16, align 4
br label %43
43: ; preds = %41, %38
%44 = phi i32 [ %40, %38 ], [ %42, %41 ]
store i32 %44, ptr %16, align 4
%45 = load i32, ptr %17, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %17, align 4
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %48, %49
br label %53
51: ; preds = %43
%52 = load i32, ptr %17, align 4
br label %53
53: ; preds = %51, %47
%54 = phi i32 [ %50, %47 ], [ %52, %51 ]
store i32 %54, ptr %17, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %11, align 4
%57 = call i32 @memset(ptr noundef %55, i32 noundef 0, i32 noundef %56)
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %17, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i32, ptr %11, align 4
%64 = call i32 @memcpy(ptr noundef %58, ptr noundef %62, i32 noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %11, align 4
%68 = sdiv i32 %67, 2
%69 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %68)
store i32 0, ptr %18, align 4
%70 = load i32, ptr %18, align 4
%71 = load i32, ptr %11, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph, label %93
.lr.ph: ; preds = %53
br label %73
73: ; preds = %.lr.ph, %87
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = load i32, ptr %13, align 4
%81 = xor i32 %79, %80
%82 = trunc i32 %81 to i8
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %18, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 %82, ptr %86, align 1
br label %87
87: ; preds = %73
%88 = load i32, ptr %18, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %18, align 4
%90 = load i32, ptr %18, align 4
%91 = load i32, ptr %11, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %73, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %93
93: ; preds = %._crit_edge, %53
store i32 0, ptr %19, align 4
%94 = load i32, ptr %19, align 4
%95 = load i32, ptr %11, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %.lr.ph2, label %118
.lr.ph2: ; preds = %93
br label %97
97: ; preds = %.lr.ph2, %112
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %19, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = load i32, ptr %15, align 4
%105 = mul nsw i32 1, %104
%106 = xor i32 %103, %105
%107 = trunc i32 %106 to i8
%108 = load ptr, ptr %8, align 8
%109 = load i32, ptr %19, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
store i8 %107, ptr %111, align 1
br label %112
112: ; preds = %97
%113 = load i32, ptr %19, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %19, align 4
%115 = load i32, ptr %19, align 4
%116 = load i32, ptr %11, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %97, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %112
br label %118
118: ; preds = %._crit_edge3, %93
store i32 0, ptr %20, align 4
%119 = load i32, ptr %20, align 4
%120 = load i32, ptr %11, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %.lr.ph5, label %143
.lr.ph5: ; preds = %118
br label %122
122: ; preds = %.lr.ph5, %137
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %20, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %123, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = load i32, ptr %14, align 4
%130 = mul nsw i32 13, %129
%131 = xor i32 %128, %130
%132 = trunc i32 %131 to i8
%133 = load ptr, ptr %8, align 8
%134 = load i32, ptr %20, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i8, ptr %133, i64 %135
store i8 %132, ptr %136, align 1
br label %137
137: ; preds = %122
%138 = load i32, ptr %20, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %20, align 4
%140 = load i32, ptr %20, align 4
%141 = load i32, ptr %11, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %122, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %137
br label %143
143: ; preds = %._crit_edge6, %118
%144 = load ptr, ptr %8, align 8
%145 = getelementptr inbounds i8, ptr %144, i64 0
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = load i32, ptr %16, align 4
%149 = lshr i32 255, %148
%150 = and i32 %147, %149
%151 = trunc i32 %150 to i8
%152 = load ptr, ptr %8, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 0
store i8 %151, ptr %153, align 1
ret void
}
declare i64 @pow(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpv0rqrq19.c'
source_filename = "/tmp/tmpv0rqrq19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_realloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @realloc(ptr noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv0rqrq19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_realloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @realloc(ptr noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkryhrj8e.c'
source_filename = "/tmp/tmpkryhrj8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbuf_delete(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 @dbuf_destroy(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @dbuf_destroy(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkryhrj8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbuf_delete(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 @dbuf_destroy(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @dbuf_destroy(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo4dniima.c'
source_filename = "/tmp/tmpo4dniima.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef null)
%8 = call i32 (...) @set_key()
br label %9
9: ; preds = %2, %9
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %6, align 1
%12 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %11)
br label %9
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @set_key(...) #1
declare signext i8 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo4dniima.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef null)
%8 = call i32 (...) @set_key()
br label %9
9: ; preds = %9, %2
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %6, align 1
%12 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %11)
br label %9
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @set_key(...) #1
declare signext i8 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_0u131py.c'
source_filename = "/tmp/tmp_0u131py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@layer3_write._error = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @layer3_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @layer3_write._error, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr @layer3_write._error, align 4
store i32 -1, ptr %3, align 4
br label %36
12: ; preds = %2
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %31, %12
%16 = load i32, ptr %6, align 4
%17 = call i32 @min(i32 noundef 16, i32 noundef %16)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @layer2_write(ptr noundef %18, i32 noundef %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 -1, ptr @layer3_write._error, align 4
store i32 -1, ptr %3, align 4
br label %36
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = load ptr, ptr %7, align 8
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, %28
store i32 %30, ptr %6, align 4
br label %31
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = icmp eq i32 %32, 16
br i1 %33, label %15, label %34, !llvm.loop !6
34: ; preds = %31
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %34, %22, %11
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @min(i32 noundef, i32 noundef) #1
declare i32 @layer2_write(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_0u131py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@layer3_write._error = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @layer3_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @layer3_write._error, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr @layer3_write._error, align 4
store i32 -1, ptr %3, align 4
br label %36
12: ; preds = %2
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %31, %12
%16 = load i32, ptr %6, align 4
%17 = call i32 @min(i32 noundef 16, i32 noundef %16)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @layer2_write(ptr noundef %18, i32 noundef %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 -1, ptr @layer3_write._error, align 4
store i32 -1, ptr %3, align 4
br label %36
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = load ptr, ptr %7, align 8
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, %28
store i32 %30, ptr %6, align 4
br label %31
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = icmp eq i32 %32, 16
br i1 %33, label %15, label %34, !llvm.loop !6
34: ; preds = %31
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %34, %22, %11
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @min(i32 noundef, i32 noundef) #1
declare i32 @layer2_write(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd21vftyl.c'
source_filename = "/tmp/tmpd21vftyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x80\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x80() #0 {
%1 = call i64 @isalpha(i32 noundef 128)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 645, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd21vftyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x80\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x80() #0 {
%1 = call i64 @isalpha(i32 noundef 128)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 645, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplsc_v6qx.c'
source_filename = "/tmp/tmplsc_v6qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_start() #0 {
%1 = call i32 (...) @main()
ret void
}
declare i32 @main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsc_v6qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_start() #0 {
%1 = call i32 (...) @main()
ret void
}
declare i32 @main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvdg3rpv8.c'
source_filename = "/tmp/tmpvdg3rpv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"rsqrt\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvdg3rpv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"rsqrt\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpekm1uhdb.c'
source_filename = "/tmp/tmpekm1uhdb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @midi_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 1024)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @midi_parse(ptr noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %3, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %18, %13
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @midi_parse(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/tmpekm1uhdb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @midi_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 1024)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @midi_parse(ptr noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %3, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %18, %13
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @midi_parse(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/tmpblw_yjve.c'
source_filename = "/tmp/tmpblw_yjve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_array_from(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %7
7: ; preds = %15, %3
%8 = load i64, ptr %6, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %6, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
store i64 0, ptr %14, align 8
br label %15
15: ; preds = %11
%16 = load i64, ptr %6, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %6, align 8
br label %7, !llvm.loop !6
18: ; preds = %7
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/tmpblw_yjve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_array_from(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %14
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i64, ptr %11, i64 %12
store i64 0, ptr %13, align 8
br label %14
14: ; preds = %10
%15 = load i64, ptr %6, align 8
%16 = add i64 %15, 1
store i64 %16, ptr %6, align 8
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %3
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/tmpm4o6p7tj.c'
source_filename = "/tmp/tmpm4o6p7tj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_free_frames() #0 {
%1 = call i32 @syscall1(i32 noundef 509)
ret i32 %1
}
declare i32 @syscall1(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/tmpm4o6p7tj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_free_frames() #0 {
%1 = call i32 @syscall1(i32 noundef 509)
ret i32 %1
}
declare i32 @syscall1(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/tmpq07bph5j.c'
source_filename = "/tmp/tmpq07bph5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Unable to open: %s.\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_dcontent_from_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %46
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr @SEEK_END, align 4
%15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i64 @ftell(ptr noundef %16)
store i64 %17, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @SEEK_SET, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load i64, ptr %5, align 8
%22 = add nsw i64 %21, 1
%23 = call ptr @malloc(i64 noundef %22)
store ptr %23, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %24
24: ; preds = %36, %12
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = load i64, ptr %5, align 8
%28 = icmp slt i64 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = call signext i8 @fgetc(ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
br label %36
36: ; preds = %29
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %24, !llvm.loop !6
39: ; preds = %24
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %4, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %6, align 8
store ptr %45, ptr %2, align 8
br label %49
46: ; preds = %1
%47 = load ptr, ptr %3, align 8
%48 = call i32 @printf(ptr noundef @.str.1, ptr noundef %47)
store ptr @.str.2, ptr %2, align 8
br label %49
49: ; preds = %46, %39
%50 = load ptr, ptr %2, align 8
ret ptr %50
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq07bph5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Unable to open: %s.\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_dcontent_from_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %49
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr @SEEK_END, align 4
%15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i64 @ftell(ptr noundef %16)
store i64 %17, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @SEEK_SET, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load i64, ptr %5, align 8
%22 = add nsw i64 %21, 1
%23 = call ptr @malloc(i64 noundef %22)
store ptr %23, ptr %6, align 8
store i32 0, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = load i64, ptr %5, align 8
%27 = icmp slt i64 %25, %26
br i1 %27, label %.lr.ph, label %42
.lr.ph: ; preds = %12
br label %28
28: ; preds = %.lr.ph, %35
%29 = load ptr, ptr %4, align 8
%30 = call signext i8 @fgetc(ptr noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
br label %35
35: ; preds = %28
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = load i64, ptr %5, align 8
%41 = icmp slt i64 %39, %40
br i1 %41, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %42
42: ; preds = %._crit_edge, %12
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %4, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = load ptr, ptr %6, align 8
store ptr %48, ptr %2, align 8
br label %52
49: ; preds = %1
%50 = load ptr, ptr %3, align 8
%51 = call i32 @printf(ptr noundef @.str.1, ptr noundef %50)
store ptr @.str.2, ptr %2, align 8
br label %52
52: ; preds = %49, %42
%53 = load ptr, ptr %2, align 8
ret ptr %53
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjdbz1fic.c'
source_filename = "/tmp/tmpjdbz1fic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_curve_gamma_table_type1(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %20, %2
%7 = load i32, ptr %5, align 4
%8 = icmp ult i32 %7, 256
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = uitofp i32 %10 to double
%12 = fdiv double %11, 2.550000e+02
%13 = fptoui double %12 to i32
%14 = load double, ptr %4, align 8
%15 = call float @pow(i32 noundef %13, double noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
store float %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %5, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
ret void
}
declare float @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdbz1fic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_curve_gamma_table_type1(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp ult i32 %6, 256
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %19
%9 = load i32, ptr %5, align 4
%10 = uitofp i32 %9 to double
%11 = fdiv double %10, 2.550000e+02
%12 = fptoui double %11 to i32
%13 = load double, ptr %4, align 8
%14 = call float @pow(i32 noundef %12, double noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds float, ptr %15, i64 %17
store float %14, ptr %18, align 4
br label %19
19: ; preds = %8
%20 = load i32, ptr %5, align 4
%21 = add i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ult i32 %22, 256
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare float @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvw7k9a4c.c'
source_filename = "/tmp/tmpvw7k9a4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_strsep(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %30
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcspn(ptr noundef %13, ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %11
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
br label %26
25: ; preds = %11
br label %26
26: ; preds = %25, %22
%27 = phi ptr [ %24, %22 ], [ null, %25 ]
%28 = load ptr, ptr %3, align 8
store ptr %27, ptr %28, align 8
%29 = load ptr, ptr %6, align 8
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %26, %2
%31 = load ptr, ptr %5, align 8
ret ptr %31
}
declare i32 @strcspn(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/tmpvw7k9a4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_strsep(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %30
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcspn(ptr noundef %13, ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %11
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
br label %26
25: ; preds = %11
br label %26
26: ; preds = %25, %22
%27 = phi ptr [ %24, %22 ], [ null, %25 ]
%28 = load ptr, ptr %3, align 8
store ptr %27, ptr %28, align 8
%29 = load ptr, ptr %6, align 8
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %26, %2
%31 = load ptr, ptr %5, align 8
ret ptr %31
}
declare i32 @strcspn(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/tmp8mi8o51p.c'
source_filename = "/tmp/tmp8mi8o51p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"For_Loop\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"add_Loop\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"sub_Loop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vectoradd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %15, i32 noundef 4096)
%17 = load ptr, ptr %9, align 8
%18 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %17, i32 noundef 4096)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %19, i32 noundef 4096)
br label %21
21: ; preds = %5
br label %22
22: ; preds = %21, %111
%23 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str)
%24 = call i32 @_ssdm_RegionBegin(ptr noundef @.str)
%25 = load ptr, ptr %6, align 8
%26 = load volatile i32, ptr %25, align 4
store i32 %26, ptr %12, align 4
%27 = load ptr, ptr %6, align 8
%28 = load volatile i32, ptr %27, align 4
store i32 %28, ptr %14, align 4
%29 = load ptr, ptr %6, align 8
%30 = load volatile i32, ptr %29, align 4
store i32 %30, ptr %13, align 4
%31 = load i32, ptr %12, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %70
33: ; preds = %22
br label %34
34: ; preds = %33
%35 = load i32, ptr %13, align 4
store i32 %35, ptr %11, align 4
br label %36
36: ; preds = %66, %34
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %14, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %69
40: ; preds = %36
%41 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str.1)
%42 = call i32 @_ssdm_RegionBegin(ptr noundef @.str.1)
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %47, %52
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
store i32 %53, ptr %57, align 4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %14, align 4
%60 = sub nsw i32 %59, 1
%61 = icmp eq i32 %58, %60
br i1 %61, label %62, label %64
62: ; preds = %40
%63 = load ptr, ptr %7, align 8
store volatile i32 1, ptr %63, align 4
br label %64
64: ; preds = %62, %40
%65 = call i32 @_ssdm_RegionEnd(ptr noundef @.str.1)
br label %66
66: ; preds = %64
%67 = load i32, ptr %11, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %11, align 4
br label %36, !llvm.loop !6
69: ; preds = %36
br label %111
70: ; preds = %22
%71 = load i32, ptr %12, align 4
%72 = icmp eq i32 %71, 2
br i1 %72, label %73, label %110
73: ; preds = %70
br label %74
74: ; preds = %73
%75 = load i32, ptr %13, align 4
store i32 %75, ptr %11, align 4
br label %76
76: ; preds = %106, %74
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %14, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %109
80: ; preds = %76
%81 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str.2)
%82 = call i32 @_ssdm_RegionBegin(ptr noundef @.str.2)
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %11, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = sub nsw i32 %87, %92
%94 = load ptr, ptr %10, align 8
%95 = load i32, ptr %11, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 %93, ptr %97, align 4
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %14, align 4
%100 = sub nsw i32 %99, 1
%101 = icmp eq i32 %98, %100
br i1 %101, label %102, label %104
102: ; preds = %80
%103 = load ptr, ptr %7, align 8
store volatile i32 1, ptr %103, align 4
br label %104
104: ; preds = %102, %80
%105 = call i32 @_ssdm_RegionEnd(ptr noundef @.str.2)
br label %106
106: ; preds = %104
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
br label %76, !llvm.loop !8
109: ; preds = %76
br label %110
110: ; preds = %109, %70
br label %111
111: ; preds = %110, %69
%112 = call i32 @_ssdm_RegionEnd(ptr noundef @.str)
br label %22
}
declare i32 @_ssdm_SpecArrayDimSize(ptr noundef, i32 noundef) #1
declare i32 @_ssdm_op_SpecLoopName(ptr noundef) #1
declare i32 @_ssdm_RegionBegin(ptr noundef) #1
declare i32 @_ssdm_RegionEnd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8mi8o51p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"For_Loop\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"add_Loop\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"sub_Loop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vectoradd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %15, i32 noundef 4096)
%17 = load ptr, ptr %9, align 8
%18 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %17, i32 noundef 4096)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %19, i32 noundef 4096)
br label %21
21: ; preds = %5
br label %22
22: ; preds = %115, %21
%23 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str)
%24 = call i32 @_ssdm_RegionBegin(ptr noundef @.str)
%25 = load ptr, ptr %6, align 8
%26 = load volatile i32, ptr %25, align 4
store i32 %26, ptr %12, align 4
%27 = load ptr, ptr %6, align 8
%28 = load volatile i32, ptr %27, align 4
store i32 %28, ptr %14, align 4
%29 = load ptr, ptr %6, align 8
%30 = load volatile i32, ptr %29, align 4
store i32 %30, ptr %13, align 4
%31 = load i32, ptr %12, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %72
33: ; preds = %22
br label %34
34: ; preds = %33
%35 = load i32, ptr %13, align 4
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %14, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %71
.lr.ph2: ; preds = %34
br label %39
39: ; preds = %.lr.ph2, %65
%40 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str.1)
%41 = call i32 @_ssdm_RegionBegin(ptr noundef @.str.1)
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %11, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %46, %51
%53 = load ptr, ptr %10, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %14, align 4
%59 = sub nsw i32 %58, 1
%60 = icmp eq i32 %57, %59
br i1 %60, label %61, label %63
61: ; preds = %39
%62 = load ptr, ptr %7, align 8
store volatile i32 1, ptr %62, align 4
br label %63
63: ; preds = %61, %39
%64 = call i32 @_ssdm_RegionEnd(ptr noundef @.str.1)
br label %65
65: ; preds = %63
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %14, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %39, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %34
br label %115
72: ; preds = %22
%73 = load i32, ptr %12, align 4
%74 = icmp eq i32 %73, 2
br i1 %74, label %75, label %114
75: ; preds = %72
br label %76
76: ; preds = %75
%77 = load i32, ptr %13, align 4
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %14, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph, label %113
.lr.ph: ; preds = %76
br label %81
81: ; preds = %.lr.ph, %107
%82 = call i32 @_ssdm_op_SpecLoopName(ptr noundef @.str.2)
%83 = call i32 @_ssdm_RegionBegin(ptr noundef @.str.2)
%84 = load ptr, ptr %8, align 8
%85 = load i32, ptr %11, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
%93 = load i32, ptr %92, align 4
%94 = sub nsw i32 %88, %93
%95 = load ptr, ptr %10, align 8
%96 = load i32, ptr %11, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
store i32 %94, ptr %98, align 4
%99 = load i32, ptr %11, align 4
%100 = load i32, ptr %14, align 4
%101 = sub nsw i32 %100, 1
%102 = icmp eq i32 %99, %101
br i1 %102, label %103, label %105
103: ; preds = %81
%104 = load ptr, ptr %7, align 8
store volatile i32 1, ptr %104, align 4
br label %105
105: ; preds = %103, %81
%106 = call i32 @_ssdm_RegionEnd(ptr noundef @.str.2)
br label %107
107: ; preds = %105
%108 = load i32, ptr %11, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %11, align 4
%110 = load i32, ptr %11, align 4
%111 = load i32, ptr %14, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %81, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %107
br label %113
113: ; preds = %._crit_edge, %76
br label %114
114: ; preds = %113, %72
br label %115
115: ; preds = %114, %71
%116 = call i32 @_ssdm_RegionEnd(ptr noundef @.str)
br label %22
}
declare i32 @_ssdm_SpecArrayDimSize(ptr noundef, i32 noundef) #1
declare i32 @_ssdm_op_SpecLoopName(ptr noundef) #1
declare i32 @_ssdm_RegionBegin(ptr noundef) #1
declare i32 @_ssdm_RegionEnd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8rodgd0v.c'
source_filename = "/tmp/tmp8rodgd0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xcalloc(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 ptr @calloc(i64 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @calloc(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/tmp8rodgd0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xcalloc(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 ptr @calloc(i64 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @calloc(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/tmplpr3hdvp.c'
source_filename = "/tmp/tmplpr3hdvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [8 x i8] c"| %d %d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = mul i32 %17, 2
%19 = zext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %9, align 8
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 2
br i1 %24, label %25, label %30
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %28)
store i32 1, ptr %3, align 4
br label %197
30: ; preds = %2
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.1)
store ptr %34, ptr %6, align 8
br label %35
35: ; preds = %191, %30
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 0
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 1
%41 = call i64 @fscanf(ptr noundef %36, ptr noundef @.str.2, ptr noundef %38, ptr noundef %40)
%42 = load i64, ptr @EOF, align 8
%43 = icmp ne i64 %41, %42
br i1 %43, label %44, label %194
44: ; preds = %35
store i32 1, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %45
45: ; preds = %66, %44
%46 = load ptr, ptr %6, align 8
%47 = call signext i8 @getc(ptr noundef %46)
store i8 %47, ptr %7, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 32
br i1 %49, label %50, label %82
50: ; preds = %45
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load i32, ptr %8, align 4
%56 = udiv i32 %55, 2
%57 = load i32, ptr %8, align 4
%58 = add i32 %57, %56
store i32 %58, ptr %8, align 4
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %8, align 4
%61 = mul i32 %60, 2
%62 = zext i32 %61 to i64
%63 = mul i64 %62, 4
%64 = trunc i64 %63 to i32
%65 = call ptr @realloc(ptr noundef %59, i32 noundef %64)
store ptr %65, ptr %9, align 8
br label %66
66: ; preds = %54, %50
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %12, align 4
%70 = mul i32 2, %69
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %68, i64 %71
%73 = load ptr, ptr %9, align 8
%74 = load i32, ptr %12, align 4
%75 = mul i32 2, %74
%76 = add i32 %75, 1
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %73, i64 %77
%79 = call i64 @fscanf(ptr noundef %67, ptr noundef @.str.3, ptr noundef %72, ptr noundef %78)
%80 = load i32, ptr %12, align 4
%81 = add i32 %80, 1
store i32 %81, ptr %12, align 4
br label %45, !llvm.loop !6
82: ; preds = %45
store i32 0, ptr %14, align 4
br label %83
83: ; preds = %188, %82
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %12, align 4
%86 = sub i32 %85, 2
%87 = icmp ult i32 %84, %86
br i1 %87, label %88, label %191
88: ; preds = %83
%89 = load i32, ptr %14, align 4
%90 = add i32 %89, 1
store i32 %90, ptr %15, align 4
br label %91
91: ; preds = %184, %88
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %12, align 4
%94 = sub i32 %93, 1
%95 = icmp ult i32 %92, %94
br i1 %95, label %96, label %187
96: ; preds = %91
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %14, align 4
%99 = mul i32 %98, 2
%100 = zext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %97, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %15, align 4
%105 = mul i32 %104, 2
%106 = zext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %103, i64 %106
%108 = load i32, ptr %107, align 4
%109 = sub nsw i32 %102, %108
store i32 %109, ptr %10, align 4
%110 = load ptr, ptr %9, align 8
%111 = load i32, ptr %14, align 4
%112 = mul i32 %111, 2
%113 = add i32 %112, 1
%114 = zext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %110, i64 %114
%116 = load i32, ptr %115, align 4
%117 = load ptr, ptr %9, align 8
%118 = load i32, ptr %15, align 4
%119 = mul i32 %118, 2
%120 = add i32 %119, 1
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %117, i64 %121
%123 = load i32, ptr %122, align 4
%124 = sub nsw i32 %116, %123
store i32 %124, ptr %11, align 4
store i32 0, ptr %16, align 4
br label %125
125: ; preds = %180, %96
%126 = load i32, ptr %16, align 4
%127 = load i32, ptr %12, align 4
%128 = icmp ult i32 %126, %127
br i1 %128, label %129, label %183
129: ; preds = %125
%130 = load i32, ptr %16, align 4
%131 = load i32, ptr %14, align 4
%132 = icmp ne i32 %130, %131
br i1 %132, label %133, label %179
133: ; preds = %129
%134 = load i32, ptr %16, align 4
%135 = load i32, ptr %15, align 4
%136 = icmp ne i32 %134, %135
br i1 %136, label %137, label %179
137: ; preds = %133
%138 = load i32, ptr %10, align 4
%139 = load ptr, ptr %9, align 8
%140 = load i32, ptr %14, align 4
%141 = mul i32 %140, 2
%142 = add i32 %141, 1
%143 = zext i32 %142 to i64
%144 = getelementptr inbounds i32, ptr %139, i64 %143
%145 = load i32, ptr %144, align 4
%146 = load ptr, ptr %9, align 8
%147 = load i32, ptr %16, align 4
%148 = mul i32 %147, 2
%149 = add i32 %148, 1
%150 = zext i32 %149 to i64
%151 = getelementptr inbounds i32, ptr %146, i64 %150
%152 = load i32, ptr %151, align 4
%153 = sub nsw i32 %145, %152
%154 = mul nsw i32 %138, %153
%155 = load ptr, ptr %9, align 8
%156 = load i32, ptr %14, align 4
%157 = mul i32 %156, 2
%158 = zext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %155, i64 %158
%160 = load i32, ptr %159, align 4
%161 = load ptr, ptr %9, align 8
%162 = load i32, ptr %16, align 4
%163 = mul i32 %162, 2
%164 = zext i32 %163 to i64
%165 = getelementptr inbounds i32, ptr %161, i64 %164
%166 = load i32, ptr %165, align 4
%167 = sub nsw i32 %160, %166
%168 = load i32, ptr %11, align 4
%169 = mul nsw i32 %167, %168
%170 = icmp eq i32 %154, %169
br i1 %170, label %171, label %179
171: ; preds = %137
%172 = load i32, ptr %16, align 4
%173 = load i32, ptr %15, align 4
%174 = icmp ugt i32 %172, %173
br i1 %174, label %175, label %178
175: ; preds = %171
%176 = load i32, ptr %13, align 4
%177 = add i32 %176, 1
store i32 %177, ptr %13, align 4
br label %178
178: ; preds = %175, %171
br label %183
179: ; preds = %137, %133, %129
br label %180
180: ; preds = %179
%181 = load i32, ptr %16, align 4
%182 = add i32 %181, 1
store i32 %182, ptr %16, align 4
br label %125, !llvm.loop !8
183: ; preds = %178, %125
br label %184
184: ; preds = %183
%185 = load i32, ptr %15, align 4
%186 = add i32 %185, 1
store i32 %186, ptr %15, align 4
br label %91, !llvm.loop !9
187: ; preds = %91
br label %188
188: ; preds = %187
%189 = load i32, ptr %14, align 4
%190 = add i32 %189, 1
store i32 %190, ptr %14, align 4
br label %83, !llvm.loop !10
191: ; preds = %83
%192 = load i32, ptr %13, align 4
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %192)
br label %35, !llvm.loop !11
194: ; preds = %35
%195 = load ptr, ptr %9, align 8
%196 = call i32 @free(ptr noundef %195)
store i32 0, ptr %3, align 4
br label %197
197: ; preds = %194, %25
%198 = load i32, ptr %3, align 4
ret i32 %198
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare ptr @realloc(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplpr3hdvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [8 x i8] c"| %d %d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = mul i32 %17, 2
%19 = zext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %9, align 8
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 2
br i1 %24, label %25, label %30
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %28)
store i32 1, ptr %3, align 4
br label %214
30: ; preds = %2
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.1)
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 1
%39 = call i64 @fscanf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %36, ptr noundef %38)
%40 = load i64, ptr @EOF, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %.lr.ph10, label %211
.lr.ph10: ; preds = %30
br label %42
42: ; preds = %.lr.ph10, %200
store i32 1, ptr %12, align 4
store i32 0, ptr %13, align 4
%43 = load ptr, ptr %6, align 8
%44 = call signext i8 @getc(ptr noundef %43)
store i8 %44, ptr %7, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 32
br i1 %46, label %.lr.ph, label %83
.lr.ph: ; preds = %42
br label %47
47: ; preds = %.lr.ph, %63
%48 = load i32, ptr %12, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %63
51: ; preds = %47
%52 = load i32, ptr %8, align 4
%53 = udiv i32 %52, 2
%54 = load i32, ptr %8, align 4
%55 = add i32 %54, %53
store i32 %55, ptr %8, align 4
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %8, align 4
%58 = mul i32 %57, 2
%59 = zext i32 %58 to i64
%60 = mul i64 %59, 4
%61 = trunc i64 %60 to i32
%62 = call ptr @realloc(ptr noundef %56, i32 noundef %61)
store ptr %62, ptr %9, align 8
br label %63
63: ; preds = %51, %47
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %12, align 4
%67 = mul i32 2, %66
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load ptr, ptr %9, align 8
%71 = load i32, ptr %12, align 4
%72 = mul i32 2, %71
%73 = add i32 %72, 1
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %70, i64 %74
%76 = call i64 @fscanf(ptr noundef %64, ptr noundef @.str.3, ptr noundef %69, ptr noundef %75)
%77 = load i32, ptr %12, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %12, align 4
%79 = load ptr, ptr %6, align 8
%80 = call signext i8 @getc(ptr noundef %79)
store i8 %80, ptr %7, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 32
br i1 %82, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %83
83: ; preds = %._crit_edge, %42
store i32 0, ptr %14, align 4
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %12, align 4
%86 = sub i32 %85, 2
%87 = icmp ult i32 %84, %86
br i1 %87, label %.lr.ph7, label %200
.lr.ph7: ; preds = %83
br label %88
88: ; preds = %.lr.ph7, %193
%89 = load i32, ptr %14, align 4
%90 = add i32 %89, 1
store i32 %90, ptr %15, align 4
%91 = load i32, ptr %15, align 4
%92 = load i32, ptr %12, align 4
%93 = sub i32 %92, 1
%94 = icmp ult i32 %91, %93
br i1 %94, label %.lr.ph4, label %192
.lr.ph4: ; preds = %88
br label %95
95: ; preds = %.lr.ph4, %185
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %14, align 4
%98 = mul i32 %97, 2
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %96, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load ptr, ptr %9, align 8
%103 = load i32, ptr %15, align 4
%104 = mul i32 %103, 2
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %102, i64 %105
%107 = load i32, ptr %106, align 4
%108 = sub nsw i32 %101, %107
store i32 %108, ptr %10, align 4
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %14, align 4
%111 = mul i32 %110, 2
%112 = add i32 %111, 1
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %109, i64 %113
%115 = load i32, ptr %114, align 4
%116 = load ptr, ptr %9, align 8
%117 = load i32, ptr %15, align 4
%118 = mul i32 %117, 2
%119 = add i32 %118, 1
%120 = zext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %116, i64 %120
%122 = load i32, ptr %121, align 4
%123 = sub nsw i32 %115, %122
store i32 %123, ptr %11, align 4
store i32 0, ptr %16, align 4
%124 = load i32, ptr %16, align 4
%125 = load i32, ptr %12, align 4
%126 = icmp ult i32 %124, %125
br i1 %126, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %95
br label %127
127: ; preds = %.lr.ph2, %178
%128 = load i32, ptr %16, align 4
%129 = load i32, ptr %14, align 4
%130 = icmp ne i32 %128, %129
br i1 %130, label %131, label %177
131: ; preds = %127
%132 = load i32, ptr %16, align 4
%133 = load i32, ptr %15, align 4
%134 = icmp ne i32 %132, %133
br i1 %134, label %135, label %177
135: ; preds = %131
%136 = load i32, ptr %10, align 4
%137 = load ptr, ptr %9, align 8
%138 = load i32, ptr %14, align 4
%139 = mul i32 %138, 2
%140 = add i32 %139, 1
%141 = zext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %137, i64 %141
%143 = load i32, ptr %142, align 4
%144 = load ptr, ptr %9, align 8
%145 = load i32, ptr %16, align 4
%146 = mul i32 %145, 2
%147 = add i32 %146, 1
%148 = zext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %144, i64 %148
%150 = load i32, ptr %149, align 4
%151 = sub nsw i32 %143, %150
%152 = mul nsw i32 %136, %151
%153 = load ptr, ptr %9, align 8
%154 = load i32, ptr %14, align 4
%155 = mul i32 %154, 2
%156 = zext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %153, i64 %156
%158 = load i32, ptr %157, align 4
%159 = load ptr, ptr %9, align 8
%160 = load i32, ptr %16, align 4
%161 = mul i32 %160, 2
%162 = zext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %159, i64 %162
%164 = load i32, ptr %163, align 4
%165 = sub nsw i32 %158, %164
%166 = load i32, ptr %11, align 4
%167 = mul nsw i32 %165, %166
%168 = icmp eq i32 %152, %167
br i1 %168, label %169, label %177
169: ; preds = %135
%170 = load i32, ptr %16, align 4
%171 = load i32, ptr %15, align 4
%172 = icmp ugt i32 %170, %171
br i1 %172, label %173, label %176
173: ; preds = %169
%174 = load i32, ptr %13, align 4
%175 = add i32 %174, 1
store i32 %175, ptr %13, align 4
br label %176
176: ; preds = %173, %169
br label %184
177: ; preds = %135, %131, %127
br label %178
178: ; preds = %177
%179 = load i32, ptr %16, align 4
%180 = add i32 %179, 1
store i32 %180, ptr %16, align 4
%181 = load i32, ptr %16, align 4
%182 = load i32, ptr %12, align 4
%183 = icmp ult i32 %181, %182
br i1 %183, label %127, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %178
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %95
br label %184
184: ; preds = %.loopexit, %176
br label %185
185: ; preds = %184
%186 = load i32, ptr %15, align 4
%187 = add i32 %186, 1
store i32 %187, ptr %15, align 4
%188 = load i32, ptr %15, align 4
%189 = load i32, ptr %12, align 4
%190 = sub i32 %189, 1
%191 = icmp ult i32 %188, %190
br i1 %191, label %95, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %185
br label %192
192: ; preds = %._crit_edge5, %88
br label %193
193: ; preds = %192
%194 = load i32, ptr %14, align 4
%195 = add i32 %194, 1
store i32 %195, ptr %14, align 4
%196 = load i32, ptr %14, align 4
%197 = load i32, ptr %12, align 4
%198 = sub i32 %197, 2
%199 = icmp ult i32 %196, %198
br i1 %199, label %88, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %193
br label %200
200: ; preds = %._crit_edge8, %83
%201 = load i32, ptr %13, align 4
%202 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %201)
%203 = load ptr, ptr %6, align 8
%204 = load ptr, ptr %9, align 8
%205 = getelementptr inbounds i32, ptr %204, i64 0
%206 = load ptr, ptr %9, align 8
%207 = getelementptr inbounds i32, ptr %206, i64 1
%208 = call i64 @fscanf(ptr noundef %203, ptr noundef @.str.2, ptr noundef %205, ptr noundef %207)
%209 = load i64, ptr @EOF, align 8
%210 = icmp ne i64 %208, %209
br i1 %210, label %42, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %200
br label %211
211: ; preds = %._crit_edge11, %30
%212 = load ptr, ptr %9, align 8
%213 = call i32 @free(ptr noundef %212)
store i32 0, ptr %3, align 4
br label %214
214: ; preds = %211, %25
%215 = load i32, ptr %3, align 4
ret i32 %215
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare ptr @realloc(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmps3_r2nwu.c'
source_filename = "/tmp/tmps3_r2nwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel303_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr 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, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel303_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel303_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmps3_r2nwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel303_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr 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, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel303_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel303_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpcyusq9zr.c'
source_filename = "/tmp/tmpcyusq9zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psb_intel_opregion_fini(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcyusq9zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psb_intel_opregion_fini(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvtqusuqx.c'
source_filename = "/tmp/tmpvtqusuqx.c"
target datalayout = "e-m:e-p270: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/tmpvtqusuqx.c"
target datalayout = "e-m:e-p270: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/tmpstotvfgg.c'
source_filename = "/tmp/tmpstotvfgg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Invalid Data! \0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Array to small!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EmbedChar(i32 noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca [9 x i8], align 1
store i32 %0, ptr %6, align 4
store i8 %1, ptr %7, align 1
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = getelementptr inbounds [9 x i8], ptr %13, i64 0, i64 8
store i8 0, ptr %14, align 1
%15 = load i8, ptr %7, align 1
store i8 %15, ptr %12, align 1
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %4
%19 = load ptr, ptr %9, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %18, %4
%22 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %57
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %57
28: ; preds = %23
store i32 0, ptr %10, align 4
br label %29
29: ; preds = %53, %28
%30 = load i32, ptr %10, align 4
%31 = icmp slt i32 %30, 8
br i1 %31, label %32, label %56
32: ; preds = %29
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
store i8 %37, ptr %11, align 1
%38 = load i8, ptr %11, align 1
%39 = load i8, ptr %12, align 1
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = call i32 @MaskBit(i8 noundef signext %38, i8 noundef signext %39, ptr noundef %43)
%45 = load i8, ptr %12, align 1
%46 = sext i8 %45 to i32
%47 = ashr i32 %46, 1
%48 = trunc i32 %47 to i8
store i8 %48, ptr %12, align 1
%49 = load i8, ptr %12, align 1
%50 = sext i8 %49 to i32
%51 = and i32 %50, 127
%52 = trunc i32 %51 to i8
store i8 %52, ptr %12, align 1
br label %53
53: ; preds = %32
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
br label %29, !llvm.loop !6
56: ; preds = %29
store i32 0, ptr %5, align 4
br label %57
57: ; preds = %56, %26, %21
%58 = load i32, ptr %5, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef) #1
declare i32 @MaskBit(i8 noundef signext, i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpstotvfgg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Invalid Data! \0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Array to small!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EmbedChar(i32 noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca [9 x i8], align 1
store i32 %0, ptr %6, align 4
store i8 %1, ptr %7, align 1
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = getelementptr inbounds [9 x i8], ptr %13, i64 0, i64 8
store i8 0, ptr %14, align 1
%15 = load i8, ptr %7, align 1
store i8 %15, ptr %12, align 1
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %4
%19 = load ptr, ptr %9, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %18, %4
%22 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %58
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %58
28: ; preds = %23
store i32 0, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %.lr.ph, label %57
.lr.ph: ; preds = %28
br label %31
31: ; preds = %.lr.ph, %52
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
store i8 %36, ptr %11, align 1
%37 = load i8, ptr %11, align 1
%38 = load i8, ptr %12, align 1
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = call i32 @MaskBit(i8 noundef signext %37, i8 noundef signext %38, ptr noundef %42)
%44 = load i8, ptr %12, align 1
%45 = sext i8 %44 to i32
%46 = ashr i32 %45, 1
%47 = trunc i32 %46 to i8
store i8 %47, ptr %12, align 1
%48 = load i8, ptr %12, align 1
%49 = sext i8 %48 to i32
%50 = and i32 %49, 127
%51 = trunc i32 %50 to i8
store i8 %51, ptr %12, align 1
br label %52
52: ; preds = %31
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = icmp slt i32 %55, 8
br i1 %56, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %28
store i32 0, ptr %5, align 4
br label %58
58: ; preds = %57, %26, %21
%59 = load i32, ptr %5, align 4
ret i32 %59
}
declare i32 @printf(ptr noundef) #1
declare i32 @MaskBit(i8 noundef signext, i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpet14y0z2.c'
source_filename = "/tmp/tmpet14y0z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_rbsp_trailing_bits(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @bitstream_u(ptr noundef %5, i32 noundef 1)
store i32 %6, ptr %4, align 4
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %22
9: ; preds = %1
br label %10
10: ; preds = %20, %9
%11 = load ptr, ptr %3, align 8
%12 = call i32 @bitstream_bytealigned(ptr noundef %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %15, label %21
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = call i32 @bitstream_u(ptr noundef %16, i32 noundef 1)
store i32 %17, ptr %4, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 -1, ptr %2, align 4
br label %22
20: ; preds = %15
br label %10, !llvm.loop !6
21: ; preds = %10
store i32 0, ptr %2, align 4
br label %22
22: ; preds = %21, %19, %8
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @bitstream_u(ptr noundef, i32 noundef) #1
declare i32 @bitstream_bytealigned(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpet14y0z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_rbsp_trailing_bits(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @bitstream_u(ptr noundef %5, i32 noundef 1)
store i32 %6, ptr %4, align 4
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %25
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @bitstream_bytealigned(ptr noundef %10)
%12 = icmp ne i32 %11, 0
%13 = xor i1 %12, true
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %9
br label %19
14: ; preds = %19
%15 = load ptr, ptr %3, align 8
%16 = call i32 @bitstream_bytealigned(ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %._crit_edge, !llvm.loop !6
19: ; preds = %.lr.ph, %14
%20 = load ptr, ptr %3, align 8
%21 = call i32 @bitstream_u(ptr noundef %20, i32 noundef 1)
store i32 %21, ptr %4, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %14
23: ; preds = %19
store i32 -1, ptr %2, align 4
br label %25
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %9
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %24, %23, %8
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @bitstream_u(ptr noundef, i32 noundef) #1
declare i32 @bitstream_bytealigned(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3vi5j24u.c'
source_filename = "/tmp/tmp3vi5j24u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NtPasswordHash(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
%7 = alloca i32, align 4
%8 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 512)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %25, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %28
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load i32, ptr %7, align 4
%22 = mul nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %15
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%30 = load i32, ptr %5, align 4
%31 = mul nsw i32 %30, 2
%32 = load ptr, ptr %6, align 8
%33 = call i32 @md4(ptr noundef %29, i32 noundef %31, ptr noundef %32)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vi5j24u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NtPasswordHash(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
%7 = alloca i32, align 4
%8 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 512)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load i32, ptr %7, align 4
%21 = mul nsw i32 %20, 2
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %22
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %14
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %3
%31 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%32 = load i32, ptr %5, align 4
%33 = mul nsw i32 %32, 2
%34 = load ptr, ptr %6, align 8
%35 = call i32 @md4(ptr noundef %31, i32 noundef %33, ptr noundef %34)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkfti2_wa.c'
source_filename = "/tmp/tmpkfti2_wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09(%%rax)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"incq\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cginc1iw() #0 {
%1 = call i32 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @ngen(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/tmpkfti2_wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09(%%rax)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"incq\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cginc1iw() #0 {
%1 = call i32 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @ngen(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/tmpif15xsbq.c'
source_filename = "/tmp/tmpif15xsbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"APR\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"APRIL\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"AUG\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"AUGUST\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"DEC\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"DECEMBER\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"FEB\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"FEBRUARY\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"JAN\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"JANUARY\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"JUN\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"JUNE\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"JUL\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"JULY\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"MAR\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"MARCH\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"MAY\00", align 1
@.str.17 = private unnamed_addr constant [4 x i8] c"NOV\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"NOVEMBER\00", align 1
@.str.19 = private unnamed_addr constant [4 x i8] c"OCT\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c"OCTOBER\00", align 1
@.str.21 = private unnamed_addr constant [4 x i8] c"SEP\00", align 1
@.str.22 = private unnamed_addr constant [10 x i8] c"SEPTEMBER\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Clock_ScanMonth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %123 [
i32 65, label %7
i32 68, label %27
i32 70, label %37
i32 74, label %47
i32 77, label %77
i32 78, label %93
i32 79, label %103
i32 83, label %113
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11, %7
store i32 4, ptr %2, align 4
br label %124
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.3)
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20, %16
store i32 8, ptr %2, align 4
br label %124
25: ; preds = %20
br label %26
26: ; preds = %25
store i32 -1, ptr %2, align 4
br label %124
27: ; preds = %1
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.4)
%30 = icmp eq i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strcmp(ptr noundef %32, ptr noundef @.str.5)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %31, %27
store i32 12, ptr %2, align 4
br label %124
36: ; preds = %31
store i32 -1, ptr %2, align 4
br label %124
37: ; preds = %1
%38 = load ptr, ptr %3, align 8
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.6)
%40 = icmp eq i32 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %37
%42 = load ptr, ptr %3, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.7)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %41, %37
store i32 2, ptr %2, align 4
br label %124
46: ; preds = %41
store i32 -1, ptr %2, align 4
br label %124
47: ; preds = %1
%48 = load ptr, ptr %3, align 8
%49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.8)
%50 = icmp eq i32 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %47
%52 = load ptr, ptr %3, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.9)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51, %47
store i32 1, ptr %2, align 4
br label %124
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.10)
%59 = icmp eq i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %56
%61 = load ptr, ptr %3, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.11)
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %60, %56
store i32 6, ptr %2, align 4
br label %124
65: ; preds = %60
%66 = load ptr, ptr %3, align 8
%67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.12)
%68 = icmp eq i32 %67, 0
br i1 %68, label %73, label %69
69: ; preds = %65
%70 = load ptr, ptr %3, align 8
%71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.13)
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %69, %65
store i32 7, ptr %2, align 4
br label %124
74: ; preds = %69
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
store i32 -1, ptr %2, align 4
br label %124
77: ; preds = %1
%78 = load ptr, ptr %3, align 8
%79 = call i32 @strcmp(ptr noundef %78, ptr noundef @.str.14)
%80 = icmp eq i32 %79, 0
br i1 %80, label %85, label %81
81: ; preds = %77
%82 = load ptr, ptr %3, align 8
%83 = call i32 @strcmp(ptr noundef %82, ptr noundef @.str.15)
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %81, %77
store i32 3, ptr %2, align 4
br label %124
86: ; preds = %81
%87 = load ptr, ptr %3, align 8
%88 = call i32 @strcmp(ptr noundef %87, ptr noundef @.str.16)
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store i32 5, ptr %2, align 4
br label %124
91: ; preds = %86
br label %92
92: ; preds = %91
store i32 -1, ptr %2, align 4
br label %124
93: ; preds = %1
%94 = load ptr, ptr %3, align 8
%95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.17)
%96 = icmp eq i32 %95, 0
br i1 %96, label %101, label %97
97: ; preds = %93
%98 = load ptr, ptr %3, align 8
%99 = call i32 @strcmp(ptr noundef %98, ptr noundef @.str.18)
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %97, %93
store i32 11, ptr %2, align 4
br label %124
102: ; preds = %97
store i32 -1, ptr %2, align 4
br label %124
103: ; preds = %1
%104 = load ptr, ptr %3, align 8
%105 = call i32 @strcmp(ptr noundef %104, ptr noundef @.str.19)
%106 = icmp eq i32 %105, 0
br i1 %106, label %111, label %107
107: ; preds = %103
%108 = load ptr, ptr %3, align 8
%109 = call i32 @strcmp(ptr noundef %108, ptr noundef @.str.20)
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %107, %103
store i32 10, ptr %2, align 4
br label %124
112: ; preds = %107
store i32 -1, ptr %2, align 4
br label %124
113: ; preds = %1
%114 = load ptr, ptr %3, align 8
%115 = call i32 @strcmp(ptr noundef %114, ptr noundef @.str.21)
%116 = icmp eq i32 %115, 0
br i1 %116, label %121, label %117
117: ; preds = %113
%118 = load ptr, ptr %3, align 8
%119 = call i32 @strcmp(ptr noundef %118, ptr noundef @.str.22)
%120 = icmp eq i32 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117, %113
store i32 9, ptr %2, align 4
br label %124
122: ; preds = %117
store i32 -1, ptr %2, align 4
br label %124
123: ; preds = %1
store i32 -1, ptr %2, align 4
br label %124
124: ; preds = %123, %122, %121, %112, %111, %102, %101, %92, %90, %85, %76, %73, %64, %55, %46, %45, %36, %35, %26, %24, %15
%125 = load i32, ptr %2, align 4
ret i32 %125
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpif15xsbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"APR\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"APRIL\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"AUG\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"AUGUST\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"DEC\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"DECEMBER\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"FEB\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"FEBRUARY\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"JAN\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"JANUARY\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"JUN\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"JUNE\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"JUL\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"JULY\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"MAR\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"MARCH\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"MAY\00", align 1
@.str.17 = private unnamed_addr constant [4 x i8] c"NOV\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"NOVEMBER\00", align 1
@.str.19 = private unnamed_addr constant [4 x i8] c"OCT\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c"OCTOBER\00", align 1
@.str.21 = private unnamed_addr constant [4 x i8] c"SEP\00", align 1
@.str.22 = private unnamed_addr constant [10 x i8] c"SEPTEMBER\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Clock_ScanMonth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %123 [
i32 65, label %7
i32 68, label %27
i32 70, label %37
i32 74, label %47
i32 77, label %77
i32 78, label %93
i32 79, label %103
i32 83, label %113
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11, %7
store i32 4, ptr %2, align 4
br label %124
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.3)
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20, %16
store i32 8, ptr %2, align 4
br label %124
25: ; preds = %20
br label %26
26: ; preds = %25
store i32 -1, ptr %2, align 4
br label %124
27: ; preds = %1
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.4)
%30 = icmp eq i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strcmp(ptr noundef %32, ptr noundef @.str.5)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %31, %27
store i32 12, ptr %2, align 4
br label %124
36: ; preds = %31
store i32 -1, ptr %2, align 4
br label %124
37: ; preds = %1
%38 = load ptr, ptr %3, align 8
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.6)
%40 = icmp eq i32 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %37
%42 = load ptr, ptr %3, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.7)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %41, %37
store i32 2, ptr %2, align 4
br label %124
46: ; preds = %41
store i32 -1, ptr %2, align 4
br label %124
47: ; preds = %1
%48 = load ptr, ptr %3, align 8
%49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.8)
%50 = icmp eq i32 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %47
%52 = load ptr, ptr %3, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.9)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51, %47
store i32 1, ptr %2, align 4
br label %124
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.10)
%59 = icmp eq i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %56
%61 = load ptr, ptr %3, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.11)
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %60, %56
store i32 6, ptr %2, align 4
br label %124
65: ; preds = %60
%66 = load ptr, ptr %3, align 8
%67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.12)
%68 = icmp eq i32 %67, 0
br i1 %68, label %73, label %69
69: ; preds = %65
%70 = load ptr, ptr %3, align 8
%71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.13)
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %69, %65
store i32 7, ptr %2, align 4
br label %124
74: ; preds = %69
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
store i32 -1, ptr %2, align 4
br label %124
77: ; preds = %1
%78 = load ptr, ptr %3, align 8
%79 = call i32 @strcmp(ptr noundef %78, ptr noundef @.str.14)
%80 = icmp eq i32 %79, 0
br i1 %80, label %85, label %81
81: ; preds = %77
%82 = load ptr, ptr %3, align 8
%83 = call i32 @strcmp(ptr noundef %82, ptr noundef @.str.15)
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %81, %77
store i32 3, ptr %2, align 4
br label %124
86: ; preds = %81
%87 = load ptr, ptr %3, align 8
%88 = call i32 @strcmp(ptr noundef %87, ptr noundef @.str.16)
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store i32 5, ptr %2, align 4
br label %124
91: ; preds = %86
br label %92
92: ; preds = %91
store i32 -1, ptr %2, align 4
br label %124
93: ; preds = %1
%94 = load ptr, ptr %3, align 8
%95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.17)
%96 = icmp eq i32 %95, 0
br i1 %96, label %101, label %97
97: ; preds = %93
%98 = load ptr, ptr %3, align 8
%99 = call i32 @strcmp(ptr noundef %98, ptr noundef @.str.18)
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %97, %93
store i32 11, ptr %2, align 4
br label %124
102: ; preds = %97
store i32 -1, ptr %2, align 4
br label %124
103: ; preds = %1
%104 = load ptr, ptr %3, align 8
%105 = call i32 @strcmp(ptr noundef %104, ptr noundef @.str.19)
%106 = icmp eq i32 %105, 0
br i1 %106, label %111, label %107
107: ; preds = %103
%108 = load ptr, ptr %3, align 8
%109 = call i32 @strcmp(ptr noundef %108, ptr noundef @.str.20)
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %107, %103
store i32 10, ptr %2, align 4
br label %124
112: ; preds = %107
store i32 -1, ptr %2, align 4
br label %124
113: ; preds = %1
%114 = load ptr, ptr %3, align 8
%115 = call i32 @strcmp(ptr noundef %114, ptr noundef @.str.21)
%116 = icmp eq i32 %115, 0
br i1 %116, label %121, label %117
117: ; preds = %113
%118 = load ptr, ptr %3, align 8
%119 = call i32 @strcmp(ptr noundef %118, ptr noundef @.str.22)
%120 = icmp eq i32 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117, %113
store i32 9, ptr %2, align 4
br label %124
122: ; preds = %117
store i32 -1, ptr %2, align 4
br label %124
123: ; preds = %1
store i32 -1, ptr %2, align 4
br label %124
124: ; preds = %123, %122, %121, %112, %111, %102, %101, %92, %90, %85, %76, %73, %64, %55, %46, %45, %36, %35, %26, %24, %15
%125 = load i32, ptr %2, align 4
ret i32 %125
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdjhkzhvq.c'
source_filename = "/tmp/tmpdjhkzhvq.c"
target datalayout = "e-m:e-p270: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/tmpdjhkzhvq.c"
target datalayout = "e-m:e-p270: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/tmpfaog6v4j.c'
source_filename = "/tmp/tmpfaog6v4j.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"%s failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Create Listen SOCKET\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%s success.\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Link\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2048 x i8], align 16
store i32 0, ptr %1, align 4
%5 = call i64 @CreateSock(ptr noundef %2, i32 noundef 9001, i32 noundef 9)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %36
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.2, ptr noundef @.str.1)
br label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = call i64 @AcceptSock(ptr noundef %3, i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %36
20: ; preds = %13
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, ptr noundef @.str.3)
br label %23
23: ; preds = %20
%24 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 2048)
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%28 = call i32 @recv(i32 noundef %26, ptr noundef %27, i32 noundef 2048, i32 noundef 0)
%29 = load i32, ptr @stderr, align 4
%30 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr %2, align 4
%33 = call i32 @close(i32 noundef %32)
%34 = load i32, ptr %3, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %1, align 4
br label %36
36: ; preds = %23, %17, %7
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i64 @CreateSock(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @AcceptSock(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfaog6v4j.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"%s failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Create Listen SOCKET\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%s success.\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Link\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2048 x i8], align 16
store i32 0, ptr %1, align 4
%5 = call i64 @CreateSock(ptr noundef %2, i32 noundef 9001, i32 noundef 9)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %36
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.2, ptr noundef @.str.1)
br label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = call i64 @AcceptSock(ptr noundef %3, i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %36
20: ; preds = %13
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, ptr noundef @.str.3)
br label %23
23: ; preds = %20
%24 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 2048)
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%28 = call i32 @recv(i32 noundef %26, ptr noundef %27, i32 noundef 2048, i32 noundef 0)
%29 = load i32, ptr @stderr, align 4
%30 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr %2, align 4
%33 = call i32 @close(i32 noundef %32)
%34 = load i32, ptr %3, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %1, align 4
br label %36
36: ; preds = %23, %17, %7
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i64 @CreateSock(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @AcceptSock(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp59ijmth.c'
source_filename = "/tmp/tmpp59ijmth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @acosl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @acos(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @acos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp59ijmth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @acosl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @acos(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @acos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcyg7vp2t.c'
source_filename = "/tmp/tmpcyg7vp2t.c"
target datalayout = "e-m:e-p270: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/tmpcyg7vp2t.c"
target datalayout = "e-m:e-p270: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/tmpxtrlkesv.c'
source_filename = "/tmp/tmpxtrlkesv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
br label %6
6: ; preds = %1, %30
%7 = load i32, ptr %3, align 4
%8 = call i64 (i32, ...) @read(i32 noundef %7, ptr noundef %4, i64 noundef 4)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6
store i32 0, ptr %2, align 4
br label %31
11: ; preds = %6
%12 = load i32, ptr %4, align 4
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load i32, ptr %3, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %4, align 4
%18 = call i64 (i32, ...) @read(i32 noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.1)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %11
%25 = load ptr, ptr %5, align 8
%26 = call i32 @free(ptr noundef %25)
store i32 1, ptr %2, align 4
br label %31
27: ; preds = %11
%28 = load ptr, ptr %5, align 8
%29 = call i32 @free(ptr noundef %28)
br label %30
30: ; preds = %27
br label %6
31: ; preds = %24, %10
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i64 @read(i32 noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtrlkesv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i64 (i32, ...) @read(i32 noundef %6, ptr noundef %4, i64 noundef 4)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %.lr.ph
.lr.ph: ; preds = %1
br label %10
._crit_edge: ; preds = %29
br label %9
9: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %33
10: ; preds = %.lr.ph, %29
%11 = load i32, ptr %4, align 4
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load i32, ptr %3, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = call i64 (i32, ...) @read(i32 noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %10
%24 = load ptr, ptr %5, align 8
%25 = call i32 @free(ptr noundef %24)
store i32 1, ptr %2, align 4
br label %33
26: ; preds = %10
%27 = load ptr, ptr %5, align 8
%28 = call i32 @free(ptr noundef %27)
br label %29
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = call i64 (i32, ...) @read(i32 noundef %30, ptr noundef %4, i64 noundef 4)
%32 = icmp eq i64 %31, 0
br i1 %32, label %._crit_edge, label %10
33: ; preds = %23, %9
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare i64 @read(i32 noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5u03iaxd.c'
source_filename = "/tmp/tmp5u03iaxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"IMAGE_FILE_RELOCS_STRIPPED\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"IMAGE_FILE_EXECUTABLE_IMAGE\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_NUMS_STRIPPED\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_SYMS_STRIPPED\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"IMAGE_FILE_AGGRESSIVE_WS_TRIM\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"IMAGE_FILE_LARGE_ADDRESS_AWARE\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"(reserved)\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_BYTES_REVERSED_LO\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_32BIT_MACHINE\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"IMAGE_FILE_DEBUG_STRIPPED\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c"IMAGE_FILE_REMOVEABLE_RUN_FROM_SWAP\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_NET_RUN_FROM_SWAP\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"IMAGE_FILE_SYSTEM\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"IMAGE_FILE_DLL\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"IMAGE_FILE_UP_SYSTEM_ONLY\00", align 1
@.str.16 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_BYTES_REVERSED_HI\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_characteristics(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 i64 @log2(i32 noundef 1)
%5 = trunc i64 %4 to i32
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %3, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %10, %1
%14 = load ptr, ptr %2, align 8
%15 = call i64 @log2(i32 noundef 2)
%16 = trunc i64 %15 to i32
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = call i32 @printf(ptr noundef @.str.2)
%23 = call i32 @printf(ptr noundef @.str.1)
br label %24
24: ; preds = %21, %13
%25 = load ptr, ptr %2, align 8
%26 = call i64 @log2(i32 noundef 4)
%27 = trunc i64 %26 to i32
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = call i32 @printf(ptr noundef @.str.3)
%34 = call i32 @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %32, %24
%36 = load ptr, ptr %2, align 8
%37 = call i64 @log2(i32 noundef 8)
%38 = trunc i64 %37 to i32
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %41, 1
br i1 %42, label %43, label %46
43: ; preds = %35
%44 = call i32 @printf(ptr noundef @.str.4)
%45 = call i32 @printf(ptr noundef @.str.1)
br label %46
46: ; preds = %43, %35
%47 = load ptr, ptr %2, align 8
%48 = call i64 @log2(i32 noundef 16)
%49 = trunc i64 %48 to i32
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %47, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %57
54: ; preds = %46
%55 = call i32 @printf(ptr noundef @.str.5)
%56 = call i32 @printf(ptr noundef @.str.1)
br label %57
57: ; preds = %54, %46
%58 = load ptr, ptr %2, align 8
%59 = call i64 @log2(i32 noundef 32)
%60 = trunc i64 %59 to i32
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %58, i64 %61
%63 = load i32, ptr %62, align 4
%64 = icmp eq i32 %63, 1
br i1 %64, label %65, label %68
65: ; preds = %57
%66 = call i32 @printf(ptr noundef @.str.6)
%67 = call i32 @printf(ptr noundef @.str.1)
br label %68
68: ; preds = %65, %57
%69 = load ptr, ptr %2, align 8
%70 = call i64 @log2(i32 noundef 64)
%71 = trunc i64 %70 to i32
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %69, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %78
76: ; preds = %68
%77 = call i32 @printf(ptr noundef @.str.7)
br label %78
78: ; preds = %76, %68
%79 = load ptr, ptr %2, align 8
%80 = call i64 @log2(i32 noundef 128)
%81 = trunc i64 %80 to i32
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
%84 = load i32, ptr %83, align 4
%85 = icmp eq i32 %84, 1
br i1 %85, label %86, label %89
86: ; preds = %78
%87 = call i32 @printf(ptr noundef @.str.8)
%88 = call i32 @printf(ptr noundef @.str.1)
br label %89
89: ; preds = %86, %78
%90 = load ptr, ptr %2, align 8
%91 = call i64 @log2(i32 noundef 256)
%92 = trunc i64 %91 to i32
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
%96 = icmp eq i32 %95, 1
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = call i32 @printf(ptr noundef @.str.9)
%99 = call i32 @printf(ptr noundef @.str.1)
br label %100
100: ; preds = %97, %89
%101 = load ptr, ptr %2, align 8
%102 = call i64 @log2(i32 noundef 512)
%103 = trunc i64 %102 to i32
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %101, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %100
%109 = call i32 @printf(ptr noundef @.str.10)
%110 = call i32 @printf(ptr noundef @.str.1)
br label %111
111: ; preds = %108, %100
%112 = load ptr, ptr %2, align 8
%113 = call i64 @log2(i32 noundef 1024)
%114 = trunc i64 %113 to i32
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %112, i64 %115
%117 = load i32, ptr %116, align 4
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %122
119: ; preds = %111
%120 = call i32 @printf(ptr noundef @.str.11)
%121 = call i32 @printf(ptr noundef @.str.1)
br label %122
122: ; preds = %119, %111
%123 = load ptr, ptr %2, align 8
%124 = call i64 @log2(i32 noundef 2048)
%125 = trunc i64 %124 to i32
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %123, i64 %126
%128 = load i32, ptr %127, align 4
%129 = icmp eq i32 %128, 1
br i1 %129, label %130, label %133
130: ; preds = %122
%131 = call i32 @printf(ptr noundef @.str.12)
%132 = call i32 @printf(ptr noundef @.str.1)
br label %133
133: ; preds = %130, %122
%134 = load ptr, ptr %2, align 8
%135 = call i64 @log2(i32 noundef 4096)
%136 = trunc i64 %135 to i32
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %134, i64 %137
%139 = load i32, ptr %138, align 4
%140 = icmp eq i32 %139, 1
br i1 %140, label %141, label %144
141: ; preds = %133
%142 = call i32 @printf(ptr noundef @.str.13)
%143 = call i32 @printf(ptr noundef @.str.1)
br label %144
144: ; preds = %141, %133
%145 = load ptr, ptr %2, align 8
%146 = call i64 @log2(i32 noundef 8192)
%147 = trunc i64 %146 to i32
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %145, i64 %148
%150 = load i32, ptr %149, align 4
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %155
152: ; preds = %144
%153 = call i32 @printf(ptr noundef @.str.14)
%154 = call i32 @printf(ptr noundef @.str.1)
br label %155
155: ; preds = %152, %144
%156 = load ptr, ptr %2, align 8
%157 = call i64 @log2(i32 noundef 16384)
%158 = trunc i64 %157 to i32
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %156, i64 %159
%161 = load i32, ptr %160, align 4
%162 = icmp eq i32 %161, 1
br i1 %162, label %163, label %166
163: ; preds = %155
%164 = call i32 @printf(ptr noundef @.str.15)
%165 = call i32 @printf(ptr noundef @.str.1)
br label %166
166: ; preds = %163, %155
%167 = load ptr, ptr %2, align 8
%168 = call i64 @log2(i32 noundef 32768)
%169 = trunc i64 %168 to i32
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %167, i64 %170
%172 = load i32, ptr %171, align 4
%173 = icmp eq i32 %172, 1
br i1 %173, label %174, label %177
174: ; preds = %166
%175 = call i32 @printf(ptr noundef @.str.16)
%176 = call i32 @printf(ptr noundef @.str.1)
br label %177
177: ; preds = %174, %166
ret void
}
declare i64 @log2(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5u03iaxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"IMAGE_FILE_RELOCS_STRIPPED\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"IMAGE_FILE_EXECUTABLE_IMAGE\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_NUMS_STRIPPED\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_SYMS_STRIPPED\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"IMAGE_FILE_AGGRESSIVE_WS_TRIM\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"IMAGE_FILE_LARGE_ADDRESS_AWARE\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"(reserved)\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_BYTES_REVERSED_LO\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"IMAGE_FILE_32BIT_MACHINE\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"IMAGE_FILE_DEBUG_STRIPPED\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c"IMAGE_FILE_REMOVEABLE_RUN_FROM_SWAP\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_NET_RUN_FROM_SWAP\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"IMAGE_FILE_SYSTEM\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"IMAGE_FILE_DLL\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"IMAGE_FILE_UP_SYSTEM_ONLY\00", align 1
@.str.16 = private unnamed_addr constant [29 x i8] c"IMAGE_FILE_BYTES_REVERSED_HI\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_characteristics(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 i64 @log2(i32 noundef 1)
%5 = trunc i64 %4 to i32
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %3, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %10, %1
%14 = load ptr, ptr %2, align 8
%15 = call i64 @log2(i32 noundef 2)
%16 = trunc i64 %15 to i32
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = call i32 @printf(ptr noundef @.str.2)
%23 = call i32 @printf(ptr noundef @.str.1)
br label %24
24: ; preds = %21, %13
%25 = load ptr, ptr %2, align 8
%26 = call i64 @log2(i32 noundef 4)
%27 = trunc i64 %26 to i32
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = call i32 @printf(ptr noundef @.str.3)
%34 = call i32 @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %32, %24
%36 = load ptr, ptr %2, align 8
%37 = call i64 @log2(i32 noundef 8)
%38 = trunc i64 %37 to i32
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %41, 1
br i1 %42, label %43, label %46
43: ; preds = %35
%44 = call i32 @printf(ptr noundef @.str.4)
%45 = call i32 @printf(ptr noundef @.str.1)
br label %46
46: ; preds = %43, %35
%47 = load ptr, ptr %2, align 8
%48 = call i64 @log2(i32 noundef 16)
%49 = trunc i64 %48 to i32
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %47, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %57
54: ; preds = %46
%55 = call i32 @printf(ptr noundef @.str.5)
%56 = call i32 @printf(ptr noundef @.str.1)
br label %57
57: ; preds = %54, %46
%58 = load ptr, ptr %2, align 8
%59 = call i64 @log2(i32 noundef 32)
%60 = trunc i64 %59 to i32
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %58, i64 %61
%63 = load i32, ptr %62, align 4
%64 = icmp eq i32 %63, 1
br i1 %64, label %65, label %68
65: ; preds = %57
%66 = call i32 @printf(ptr noundef @.str.6)
%67 = call i32 @printf(ptr noundef @.str.1)
br label %68
68: ; preds = %65, %57
%69 = load ptr, ptr %2, align 8
%70 = call i64 @log2(i32 noundef 64)
%71 = trunc i64 %70 to i32
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %69, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %78
76: ; preds = %68
%77 = call i32 @printf(ptr noundef @.str.7)
br label %78
78: ; preds = %76, %68
%79 = load ptr, ptr %2, align 8
%80 = call i64 @log2(i32 noundef 128)
%81 = trunc i64 %80 to i32
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
%84 = load i32, ptr %83, align 4
%85 = icmp eq i32 %84, 1
br i1 %85, label %86, label %89
86: ; preds = %78
%87 = call i32 @printf(ptr noundef @.str.8)
%88 = call i32 @printf(ptr noundef @.str.1)
br label %89
89: ; preds = %86, %78
%90 = load ptr, ptr %2, align 8
%91 = call i64 @log2(i32 noundef 256)
%92 = trunc i64 %91 to i32
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
%96 = icmp eq i32 %95, 1
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = call i32 @printf(ptr noundef @.str.9)
%99 = call i32 @printf(ptr noundef @.str.1)
br label %100
100: ; preds = %97, %89
%101 = load ptr, ptr %2, align 8
%102 = call i64 @log2(i32 noundef 512)
%103 = trunc i64 %102 to i32
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %101, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %100
%109 = call i32 @printf(ptr noundef @.str.10)
%110 = call i32 @printf(ptr noundef @.str.1)
br label %111
111: ; preds = %108, %100
%112 = load ptr, ptr %2, align 8
%113 = call i64 @log2(i32 noundef 1024)
%114 = trunc i64 %113 to i32
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %112, i64 %115
%117 = load i32, ptr %116, align 4
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %122
119: ; preds = %111
%120 = call i32 @printf(ptr noundef @.str.11)
%121 = call i32 @printf(ptr noundef @.str.1)
br label %122
122: ; preds = %119, %111
%123 = load ptr, ptr %2, align 8
%124 = call i64 @log2(i32 noundef 2048)
%125 = trunc i64 %124 to i32
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %123, i64 %126
%128 = load i32, ptr %127, align 4
%129 = icmp eq i32 %128, 1
br i1 %129, label %130, label %133
130: ; preds = %122
%131 = call i32 @printf(ptr noundef @.str.12)
%132 = call i32 @printf(ptr noundef @.str.1)
br label %133
133: ; preds = %130, %122
%134 = load ptr, ptr %2, align 8
%135 = call i64 @log2(i32 noundef 4096)
%136 = trunc i64 %135 to i32
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %134, i64 %137
%139 = load i32, ptr %138, align 4
%140 = icmp eq i32 %139, 1
br i1 %140, label %141, label %144
141: ; preds = %133
%142 = call i32 @printf(ptr noundef @.str.13)
%143 = call i32 @printf(ptr noundef @.str.1)
br label %144
144: ; preds = %141, %133
%145 = load ptr, ptr %2, align 8
%146 = call i64 @log2(i32 noundef 8192)
%147 = trunc i64 %146 to i32
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %145, i64 %148
%150 = load i32, ptr %149, align 4
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %155
152: ; preds = %144
%153 = call i32 @printf(ptr noundef @.str.14)
%154 = call i32 @printf(ptr noundef @.str.1)
br label %155
155: ; preds = %152, %144
%156 = load ptr, ptr %2, align 8
%157 = call i64 @log2(i32 noundef 16384)
%158 = trunc i64 %157 to i32
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %156, i64 %159
%161 = load i32, ptr %160, align 4
%162 = icmp eq i32 %161, 1
br i1 %162, label %163, label %166
163: ; preds = %155
%164 = call i32 @printf(ptr noundef @.str.15)
%165 = call i32 @printf(ptr noundef @.str.1)
br label %166
166: ; preds = %163, %155
%167 = load ptr, ptr %2, align 8
%168 = call i64 @log2(i32 noundef 32768)
%169 = trunc i64 %168 to i32
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %167, i64 %170
%172 = load i32, ptr %171, align 4
%173 = icmp eq i32 %172, 1
br i1 %173, label %174, label %177
174: ; preds = %166
%175 = call i32 @printf(ptr noundef @.str.16)
%176 = call i32 @printf(ptr noundef @.str.1)
br label %177
177: ; preds = %174, %166
ret void
}
declare i64 @log2(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_vtz9xd.c'
source_filename = "/tmp/tmp4_vtz9xd.c"
target datalayout = "e-m:e-p270: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/tmp4_vtz9xd.c"
target datalayout = "e-m:e-p270: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/tmplayfn2xn.c'
source_filename = "/tmp/tmplayfn2xn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_link(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [262144 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %25, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %23
store i8 %21, ptr %24, align 1
br label %25
25: ; preds = %16
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %31
store i8 40, ptr %32, align 1
store i32 0, ptr %10, align 4
br label %33
33: ; preds = %49, %28
%34 = load i32, ptr %10, align 4
%35 = load ptr, ptr %8, align 8
%36 = call i64 @strlen(ptr noundef %35)
%37 = trunc i64 %36 to i32
%38 = icmp slt i32 %34, %37
br i1 %38, label %39, label %52
39: ; preds = %33
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %47
store i8 %44, ptr %48, align 1
br label %49
49: ; preds = %39
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %10, align 4
br label %33, !llvm.loop !8
52: ; preds = %33
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %55
store i8 41, ptr %56, align 1
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %59
59: ; preds = %75, %52
%60 = load i32, ptr %10, align 4
%61 = load ptr, ptr %5, align 8
%62 = call i64 @strlen(ptr noundef %61)
%63 = trunc i64 %62 to i32
%64 = icmp slt i32 %60, %63
br i1 %64, label %65, label %78
65: ; preds = %59
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %9, align 4
%73 = sext i32 %71 to i64
%74 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %73
store i8 %70, ptr %74, align 1
br label %75
75: ; preds = %65
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
br label %59, !llvm.loop !9
78: ; preds = %59
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %80
store i8 0, ptr %81, align 1
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 0
%84 = call i32 @strcpy(ptr noundef %82, ptr noundef %83)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplayfn2xn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_link(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [262144 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %22
store i8 %20, ptr %23, align 1
br label %24
24: ; preds = %15
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %4
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %33
store i8 40, ptr %34, align 1
store i32 0, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = load ptr, ptr %8, align 8
%37 = call i64 @strlen(ptr noundef %36)
%38 = trunc i64 %37 to i32
%39 = icmp slt i32 %35, %38
br i1 %39, label %.lr.ph2, label %58
.lr.ph2: ; preds = %30
br label %40
40: ; preds = %.lr.ph2, %50
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %48
store i8 %45, ptr %49, align 1
br label %50
50: ; preds = %40
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load ptr, ptr %8, align 8
%55 = call i64 @strlen(ptr noundef %54)
%56 = trunc i64 %55 to i32
%57 = icmp slt i32 %53, %56
br i1 %57, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %58
58: ; preds = %._crit_edge3, %30
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %61
store i8 41, ptr %62, align 1
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %10, align 4
%66 = load ptr, ptr %5, align 8
%67 = call i64 @strlen(ptr noundef %66)
%68 = trunc i64 %67 to i32
%69 = icmp slt i32 %65, %68
br i1 %69, label %.lr.ph5, label %88
.lr.ph5: ; preds = %58
br label %70
70: ; preds = %.lr.ph5, %80
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %10, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = load i32, ptr %9, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %9, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %78
store i8 %75, ptr %79, align 1
br label %80
80: ; preds = %70
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %10, align 4
%83 = load i32, ptr %10, align 4
%84 = load ptr, ptr %5, align 8
%85 = call i64 @strlen(ptr noundef %84)
%86 = trunc i64 %85 to i32
%87 = icmp slt i32 %83, %86
br i1 %87, label %70, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %80
br label %88
88: ; preds = %._crit_edge6, %58
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 %90
store i8 0, ptr %91, align 1
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds [262144 x i8], ptr %11, i64 0, i64 0
%94 = call i32 @strcpy(ptr noundef %92, ptr noundef %93)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp68l_a1of.c'
source_filename = "/tmp/tmp68l_a1of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @true_anomaly_at_eccentric_anomaly(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%10 = load double, ptr %4, align 8
%11 = fcmp olt double %10, 1.000000e+00
br i1 %11, label %12, label %32
12: ; preds = %2
%13 = load double, ptr %4, align 8
%14 = fsub double 1.000000e+00, %13
%15 = call double @sqrt(double noundef %14) #3
%16 = load double, ptr %5, align 8
%17 = fdiv double %16, 2.000000e+00
%18 = call double @cos(double noundef %17) #3
%19 = fmul double %15, %18
store double %19, ptr %6, align 8
%20 = load double, ptr %4, align 8
%21 = fadd double 1.000000e+00, %20
%22 = call double @sqrt(double noundef %21) #3
%23 = load double, ptr %5, align 8
%24 = fdiv double %23, 2.000000e+00
%25 = call double @sin(double noundef %24) #3
%26 = fmul double %22, %25
store double %26, ptr %7, align 8
%27 = load double, ptr %7, align 8
%28 = load double, ptr %6, align 8
%29 = call i32 @atan2(double noundef %27, double noundef %28)
%30 = sitofp i32 %29 to double
%31 = fmul double 2.000000e+00, %30
store double %31, ptr %3, align 8
br label %60
32: ; preds = %2
%33 = load double, ptr %4, align 8
%34 = fcmp oeq double %33, 1.000000e+00
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load double, ptr %5, align 8
%37 = call i32 @atan(double noundef %36)
%38 = mul nsw i32 2, %37
%39 = sitofp i32 %38 to double
store double %39, ptr %3, align 8
br label %60
40: ; preds = %32
%41 = load double, ptr %4, align 8
%42 = fsub double %41, 1.000000e+00
%43 = call double @sqrt(double noundef %42) #3
%44 = load double, ptr %5, align 8
%45 = fdiv double %44, 2.000000e+00
%46 = call double @cosh(double noundef %45) #3
%47 = fmul double %43, %46
store double %47, ptr %8, align 8
%48 = load double, ptr %4, align 8
%49 = fadd double %48, 1.000000e+00
%50 = call double @sqrt(double noundef %49) #3
%51 = load double, ptr %5, align 8
%52 = fdiv double %51, 2.000000e+00
%53 = call double @sinh(double noundef %52) #3
%54 = fmul double %50, %53
store double %54, ptr %9, align 8
%55 = load double, ptr %9, align 8
%56 = load double, ptr %8, align 8
%57 = call i32 @atan2(double noundef %55, double noundef %56)
%58 = sitofp i32 %57 to double
%59 = fmul double 2.000000e+00, %58
store double %59, ptr %3, align 8
br label %60
60: ; preds = %40, %35, %12
%61 = load double, ptr %3, align 8
ret double %61
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
declare i32 @atan2(double noundef, double noundef) #2
declare i32 @atan(double noundef) #2
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
; Function Attrs: nounwind
declare double @sinh(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68l_a1of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @true_anomaly_at_eccentric_anomaly(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%10 = load double, ptr %4, align 8
%11 = fcmp olt double %10, 1.000000e+00
br i1 %11, label %12, label %32
12: ; preds = %2
%13 = load double, ptr %4, align 8
%14 = fsub double 1.000000e+00, %13
%15 = call double @sqrt(double noundef %14) #3
%16 = load double, ptr %5, align 8
%17 = fdiv double %16, 2.000000e+00
%18 = call double @cos(double noundef %17) #3
%19 = fmul double %15, %18
store double %19, ptr %6, align 8
%20 = load double, ptr %4, align 8
%21 = fadd double 1.000000e+00, %20
%22 = call double @sqrt(double noundef %21) #3
%23 = load double, ptr %5, align 8
%24 = fdiv double %23, 2.000000e+00
%25 = call double @sin(double noundef %24) #3
%26 = fmul double %22, %25
store double %26, ptr %7, align 8
%27 = load double, ptr %7, align 8
%28 = load double, ptr %6, align 8
%29 = call i32 @atan2(double noundef %27, double noundef %28)
%30 = sitofp i32 %29 to double
%31 = fmul double 2.000000e+00, %30
store double %31, ptr %3, align 8
br label %60
32: ; preds = %2
%33 = load double, ptr %4, align 8
%34 = fcmp oeq double %33, 1.000000e+00
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load double, ptr %5, align 8
%37 = call i32 @atan(double noundef %36)
%38 = mul nsw i32 2, %37
%39 = sitofp i32 %38 to double
store double %39, ptr %3, align 8
br label %60
40: ; preds = %32
%41 = load double, ptr %4, align 8
%42 = fsub double %41, 1.000000e+00
%43 = call double @sqrt(double noundef %42) #3
%44 = load double, ptr %5, align 8
%45 = fdiv double %44, 2.000000e+00
%46 = call double @cosh(double noundef %45) #3
%47 = fmul double %43, %46
store double %47, ptr %8, align 8
%48 = load double, ptr %4, align 8
%49 = fadd double %48, 1.000000e+00
%50 = call double @sqrt(double noundef %49) #3
%51 = load double, ptr %5, align 8
%52 = fdiv double %51, 2.000000e+00
%53 = call double @sinh(double noundef %52) #3
%54 = fmul double %50, %53
store double %54, ptr %9, align 8
%55 = load double, ptr %9, align 8
%56 = load double, ptr %8, align 8
%57 = call i32 @atan2(double noundef %55, double noundef %56)
%58 = sitofp i32 %57 to double
%59 = fmul double 2.000000e+00, %58
store double %59, ptr %3, align 8
br label %60
60: ; preds = %40, %35, %12
%61 = load double, ptr %3, align 8
ret double %61
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
declare i32 @atan2(double noundef, double noundef) #2
declare i32 @atan(double noundef) #2
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
; Function Attrs: nounwind
declare double @sinh(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpokfindxz.c'
source_filename = "/tmp/tmpokfindxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_real(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca x86_fp80, align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @get_sign(ptr noundef %10, ptr noundef %5, ptr noundef %11)
store ptr %12, ptr %3, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
br label %13
13: ; preds = %46, %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 46
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp ne i32 %25, 0
%27 = xor i1 %26, true
br label %28
28: ; preds = %23, %18, %13
%29 = phi i1 [ false, %18 ], [ false, %13 ], [ %27, %23 ]
br i1 %29, label %30, label %49
30: ; preds = %28
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = call i64 @is_digit(i8 noundef signext %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %30
%36 = load x86_fp80, ptr %6, align 16
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %39, 48
%41 = sitofp i32 %40 to x86_fp80
%42 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK4002A000000000000000, x86_fp80 %36, x86_fp80 %41)
store x86_fp80 %42, ptr %6, align 16
br label %45
43: ; preds = %30
%44 = load ptr, ptr %4, align 8
store i32 1, ptr %44, align 4
br label %45
45: ; preds = %43, %35
br label %46
46: ; preds = %45
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %3, align 8
br label %13, !llvm.loop !6
49: ; preds = %28
%50 = load ptr, ptr %3, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 46
br i1 %53, label %54, label %108
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %108, label %58
58: ; preds = %54
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %3, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %105
64: ; preds = %58
store double 0.000000e+00, ptr %7, align 8
store double 1.000000e+01, ptr %8, align 8
br label %65
65: ; preds = %95, %64
%66 = load ptr, ptr %3, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %65
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %71, align 4
%73 = icmp ne i32 %72, 0
%74 = xor i1 %73, true
br label %75
75: ; preds = %70, %65
%76 = phi i1 [ false, %65 ], [ %74, %70 ]
br i1 %76, label %77, label %100
77: ; preds = %75
%78 = load ptr, ptr %3, align 8
%79 = load i8, ptr %78, align 1
%80 = call i64 @is_digit(i8 noundef signext %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %92
82: ; preds = %77
%83 = load double, ptr %7, align 8
%84 = load ptr, ptr %3, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = sub nsw i32 %86, 48
%88 = sitofp i32 %87 to double
%89 = load double, ptr %8, align 8
%90 = fdiv double %88, %89
%91 = fadd double %83, %90
store double %91, ptr %7, align 8
br label %94
92: ; preds = %77
%93 = load ptr, ptr %4, align 8
store i32 1, ptr %93, align 4
br label %94
94: ; preds = %92, %82
br label %95
95: ; preds = %94
%96 = load ptr, ptr %3, align 8
%97 = getelementptr inbounds i8, ptr %96, i32 1
store ptr %97, ptr %3, align 8
%98 = load double, ptr %8, align 8
%99 = fmul double %98, 1.000000e+01
store double %99, ptr %8, align 8
br label %65, !llvm.loop !8
100: ; preds = %75
%101 = load double, ptr %7, align 8
%102 = fpext double %101 to x86_fp80
%103 = load x86_fp80, ptr %6, align 16
%104 = fadd x86_fp80 %103, %102
store x86_fp80 %104, ptr %6, align 16
br label %107
105: ; preds = %58
%106 = load ptr, ptr %4, align 8
store i32 1, ptr %106, align 4
br label %107
107: ; preds = %105, %100
br label %108
108: ; preds = %107, %54, %49
%109 = load i32, ptr %5, align 4
%110 = sitofp i32 %109 to double
%111 = fpext double %110 to x86_fp80
%112 = load x86_fp80, ptr %6, align 16
%113 = fmul x86_fp80 %111, %112
%114 = fptrunc x86_fp80 %113 to double
ret double %114
}
declare ptr @get_sign(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @is_digit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokfindxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_real(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca x86_fp80, align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @get_sign(ptr noundef %10, ptr noundef %5, ptr noundef %11)
store ptr %12, ptr %3, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
br label %13
13: ; preds = %46, %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 46
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp ne i32 %25, 0
%27 = xor i1 %26, true
br label %28
28: ; preds = %23, %18, %13
%29 = phi i1 [ false, %18 ], [ false, %13 ], [ %27, %23 ]
br i1 %29, label %30, label %49
30: ; preds = %28
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = call i64 @is_digit(i8 noundef signext %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %30
%36 = load x86_fp80, ptr %6, align 16
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %39, 48
%41 = sitofp i32 %40 to x86_fp80
%42 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK4002A000000000000000, x86_fp80 %36, x86_fp80 %41)
store x86_fp80 %42, ptr %6, align 16
br label %45
43: ; preds = %30
%44 = load ptr, ptr %4, align 8
store i32 1, ptr %44, align 4
br label %45
45: ; preds = %43, %35
br label %46
46: ; preds = %45
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %3, align 8
br label %13, !llvm.loop !6
49: ; preds = %28
%50 = load ptr, ptr %3, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 46
br i1 %53, label %54, label %108
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %108, label %58
58: ; preds = %54
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %3, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %105
64: ; preds = %58
store double 0.000000e+00, ptr %7, align 8
store double 1.000000e+01, ptr %8, align 8
br label %65
65: ; preds = %95, %64
%66 = load ptr, ptr %3, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %65
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %71, align 4
%73 = icmp ne i32 %72, 0
%74 = xor i1 %73, true
br label %75
75: ; preds = %70, %65
%76 = phi i1 [ false, %65 ], [ %74, %70 ]
br i1 %76, label %77, label %100
77: ; preds = %75
%78 = load ptr, ptr %3, align 8
%79 = load i8, ptr %78, align 1
%80 = call i64 @is_digit(i8 noundef signext %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %92
82: ; preds = %77
%83 = load double, ptr %7, align 8
%84 = load ptr, ptr %3, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = sub nsw i32 %86, 48
%88 = sitofp i32 %87 to double
%89 = load double, ptr %8, align 8
%90 = fdiv double %88, %89
%91 = fadd double %83, %90
store double %91, ptr %7, align 8
br label %94
92: ; preds = %77
%93 = load ptr, ptr %4, align 8
store i32 1, ptr %93, align 4
br label %94
94: ; preds = %92, %82
br label %95
95: ; preds = %94
%96 = load ptr, ptr %3, align 8
%97 = getelementptr inbounds i8, ptr %96, i32 1
store ptr %97, ptr %3, align 8
%98 = load double, ptr %8, align 8
%99 = fmul double %98, 1.000000e+01
store double %99, ptr %8, align 8
br label %65, !llvm.loop !8
100: ; preds = %75
%101 = load double, ptr %7, align 8
%102 = fpext double %101 to x86_fp80
%103 = load x86_fp80, ptr %6, align 16
%104 = fadd x86_fp80 %103, %102
store x86_fp80 %104, ptr %6, align 16
br label %107
105: ; preds = %58
%106 = load ptr, ptr %4, align 8
store i32 1, ptr %106, align 4
br label %107
107: ; preds = %105, %100
br label %108
108: ; preds = %107, %54, %49
%109 = load i32, ptr %5, align 4
%110 = sitofp i32 %109 to double
%111 = fpext double %110 to x86_fp80
%112 = load x86_fp80, ptr %6, align 16
%113 = fmul x86_fp80 %111, %112
%114 = fptrunc x86_fp80 %113 to double
ret double %114
}
declare ptr @get_sign(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @is_digit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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}
|
; ModuleID = '/tmp/tmpm8_9t945.c'
source_filename = "/tmp/tmpm8_9t945.c"
target datalayout = "e-m:e-p270: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/tmpm8_9t945.c"
target datalayout = "e-m:e-p270: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/tmp4n2mrmyg.c'
source_filename = "/tmp/tmp4n2mrmyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @piecesOfPie(i32 noundef 1)
%2 = call i32 @piecesOfPie(i32 noundef 2)
%3 = call i32 @piecesOfPie(i32 noundef 3)
%4 = call i32 @piecesOfPie(i32 noundef 4)
%5 = call i32 @piecesOfPie(i32 noundef 5)
%6 = call i32 @piecesOfPie(i32 noundef 6)
%7 = call i32 @piecesOfPie(i32 noundef 7)
%8 = call i32 @piecesOfPie(i32 noundef 8)
%9 = load i32, ptr @M_PI, align 4
%10 = call i32 @piecesOfPie(i32 noundef %9)
ret i32 0
}
declare i32 @piecesOfPie(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/tmp4n2mrmyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @piecesOfPie(i32 noundef 1)
%2 = call i32 @piecesOfPie(i32 noundef 2)
%3 = call i32 @piecesOfPie(i32 noundef 3)
%4 = call i32 @piecesOfPie(i32 noundef 4)
%5 = call i32 @piecesOfPie(i32 noundef 5)
%6 = call i32 @piecesOfPie(i32 noundef 6)
%7 = call i32 @piecesOfPie(i32 noundef 7)
%8 = call i32 @piecesOfPie(i32 noundef 8)
%9 = load i32, ptr @M_PI, align 4
%10 = call i32 @piecesOfPie(i32 noundef %9)
ret i32 0
}
declare i32 @piecesOfPie(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/tmpa_grivft.c'
source_filename = "/tmp/tmpa_grivft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lambda(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store double 1.000000e+00, ptr %5, align 8
br label %22
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store double 1.000000e+00, ptr %5, align 8
br label %21
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = call i32 @pow(i32 noundef 2, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = call double @heap_recur(i32 noundef 0, i32 noundef 1, i32 noundef %17, i32 noundef %18)
%20 = fsub double 1.000000e+00, %19
store double %20, ptr %5, align 8
br label %21
21: ; preds = %14, %13
br label %22
22: ; preds = %21, %9
%23 = load double, ptr %5, align 8
ret double %23
}
declare i32 @pow(i32 noundef, i32 noundef) #1
declare double @heap_recur(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa_grivft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lambda(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store double 1.000000e+00, ptr %5, align 8
br label %22
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store double 1.000000e+00, ptr %5, align 8
br label %21
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = call i32 @pow(i32 noundef 2, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = call double @heap_recur(i32 noundef 0, i32 noundef 1, i32 noundef %17, i32 noundef %18)
%20 = fsub double 1.000000e+00, %19
store double %20, ptr %5, align 8
br label %21
21: ; preds = %14, %13
br label %22
22: ; preds = %21, %9
%23 = load double, ptr %5, align 8
ret double %23
}
declare i32 @pow(i32 noundef, i32 noundef) #1
declare double @heap_recur(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcaruqzbp.c'
source_filename = "/tmp/tmpcaruqzbp.c"
target datalayout = "e-m:e-p270: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/tmpcaruqzbp.c"
target datalayout = "e-m:e-p270: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/tmp5ym2vu33.c'
source_filename = "/tmp/tmp5ym2vu33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cfork\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cfork() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @fork()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = icmp slt i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load i64, ptr %1, align 8
ret i64 %9
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ym2vu33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cfork\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cfork() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @fork()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = icmp slt i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load i64, ptr %1, align 8
ret i64 %9
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39u02n1x.c'
source_filename = "/tmp/tmp39u02n1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Bluebridge\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Alyson Books\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"FUNimation Productions, Ltd.\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Pyramid Books\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @check_ISBN(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @check_ISBN(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %0
%12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @check_phouse(ptr noundef %12)
switch i32 %13, label %22 [
i32 1, label %14
i32 2, label %16
i32 3, label %18
i32 4, label %20
]
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %23
16: ; preds = %11
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %23
18: ; preds = %11
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %23
20: ; preds = %11
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %23
22: ; preds = %11
br label %23
23: ; preds = %22, %20, %18, %16, %14
br label %24
24: ; preds = %23, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @check_ISBN(ptr noundef) #1
declare i32 @check_phouse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39u02n1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Bluebridge\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Alyson Books\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"FUNimation Productions, Ltd.\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Pyramid Books\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @check_ISBN(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @check_ISBN(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %0
%12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @check_phouse(ptr noundef %12)
switch i32 %13, label %22 [
i32 1, label %14
i32 2, label %16
i32 3, label %18
i32 4, label %20
]
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %23
16: ; preds = %11
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %23
18: ; preds = %11
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %23
20: ; preds = %11
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %23
22: ; preds = %11
br label %23
23: ; preds = %22, %20, %18, %16, %14
br label %24
24: ; preds = %23, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @check_ISBN(ptr noundef) #1
declare i32 @check_phouse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5p3c29ar.c'
source_filename = "/tmp/tmp5p3c29ar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"USAGE: %s [-W | -R | -E | -U] [serial port] [filename]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5p3c29ar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"USAGE: %s [-W | -R | -E | -U] [serial port] [filename]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdo40a4c1.c'
source_filename = "/tmp/tmpdo40a4c1.c"
target datalayout = "e-m:e-p270: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/tmpdo40a4c1.c"
target datalayout = "e-m:e-p270: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/tmpu5y56_0c.c'
source_filename = "/tmp/tmpu5y56_0c.c"
target datalayout = "e-m:e-p270: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/tmpu5y56_0c.c"
target datalayout = "e-m:e-p270: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/tmpvzswgtkz.c'
source_filename = "/tmp/tmpvzswgtkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @findMajority(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %6, align 4
%11 = udiv i32 %10, 2
store i32 %11, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %35, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ult i32 %13, %14
br i1 %15, label %16, label %38
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @count(ptr noundef %17, i32 noundef %18, i8 noundef signext %23)
%25 = load i32, ptr %9, align 4
%26 = icmp ugt i32 %24, %25
br i1 %26, label %27, label %34
27: ; preds = %16
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %8, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %7, align 8
store i8 %32, ptr %33, align 1
store i8 1, ptr %4, align 1
br label %39
34: ; preds = %16
br label %35
35: ; preds = %34
%36 = load i32, ptr %8, align 4
%37 = add i32 %36, 1
store i32 %37, ptr %8, align 4
br label %12, !llvm.loop !6
38: ; preds = %12
store i8 0, ptr %4, align 1
br label %39
39: ; preds = %38, %27
%40 = load i8, ptr %4, align 1
ret i8 %40
}
declare i32 @count(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvzswgtkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @findMajority(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %6, align 4
%11 = udiv i32 %10, 2
store i32 %11, ptr %9, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ult i32 %12, %13
br i1 %14, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %34
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call i32 @count(ptr noundef %16, i32 noundef %17, i8 noundef signext %22)
%24 = load i32, ptr %9, align 4
%25 = icmp ugt i32 %23, %24
br i1 %25, label %26, label %33
26: ; preds = %15
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %8, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %7, align 8
store i8 %31, ptr %32, align 1
store i8 1, ptr %4, align 1
br label %41
33: ; preds = %15
br label %34
34: ; preds = %33
%35 = load i32, ptr %8, align 4
%36 = add i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %3
store i8 0, ptr %4, align 1
br label %41
41: ; preds = %40, %26
%42 = load i8, ptr %4, align 1
ret i8 %42
}
declare i32 @count(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9sjq4ayi.c'
source_filename = "/tmp/tmp9sjq4ayi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %46, %1
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %49
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 8
br i1 %18, label %19, label %45
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 10
br i1 %26, label %27, label %45
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 13
br i1 %34, label %35, label %45
35: ; preds = %27
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %43
store i8 %40, ptr %44, align 1
br label %45
45: ; preds = %35, %27, %19, %11
br label %46
46: ; preds = %45
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %6, !llvm.loop !6
49: ; preds = %6
%50 = load ptr, ptr %2, align 8
%51 = call i32 @memset(ptr noundef %50, i32 noundef 0, i32 noundef 8)
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9sjq4ayi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %52
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %45
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 8
br i1 %17, label %18, label %44
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 10
br i1 %25, label %26, label %44
26: ; preds = %18
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 13
br i1 %33, label %34, label %44
34: ; preds = %26
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %42
store i8 %39, ptr %43, align 1
br label %44
44: ; preds = %34, %26, %18, %10
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load ptr, ptr %2, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = icmp slt i32 %48, %50
br i1 %51, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %52
52: ; preds = %._crit_edge, %1
%53 = load ptr, ptr %2, align 8
%54 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef 8)
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %2, align 8
%59 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbf8l02i0.c'
source_filename = "/tmp/tmpbf8l02i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_gen_rs_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %14)
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %29, %3
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %32
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %21, i64 %27
store i32 1, ptr %28, align 4
br label %29
29: ; preds = %20
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %7, align 4
br label %34
34: ; preds = %62, %32
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %65
38: ; preds = %34
store i32 1, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %39
39: ; preds = %56, %38
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %59
43: ; preds = %39
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %7, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %45, i64 %51
store i32 %44, ptr %52, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %10, align 4
%55 = call i32 @gf_mul(i32 noundef %53, i32 noundef %54)
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %43
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %8, align 4
br label %39, !llvm.loop !8
59: ; preds = %39
%60 = load i32, ptr %10, align 4
%61 = call i32 @gf_mul(i32 noundef %60, i32 noundef 2)
store i32 %61, ptr %10, align 4
br label %62
62: ; preds = %59
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %34, !llvm.loop !9
65: ; preds = %34
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @gf_mul(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf8l02i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_gen_rs_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %14)
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %28
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = mul nsw i32 %21, %22
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %20, i64 %26
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %19
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %3
%35 = load i32, ptr %6, align 4
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph5, label %71
.lr.ph5: ; preds = %34
br label %39
39: ; preds = %.lr.ph5, %65
store i32 1, ptr %9, align 4
store i32 0, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph2, label %62
.lr.ph2: ; preds = %39
br label %43
43: ; preds = %.lr.ph2, %56
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %7, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %45, i64 %51
store i32 %44, ptr %52, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %10, align 4
%55 = call i32 @gf_mul(i32 noundef %53, i32 noundef %54)
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %43
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %39
%63 = load i32, ptr %10, align 4
%64 = call i32 @gf_mul(i32 noundef %63, i32 noundef 2)
store i32 %64, ptr %10, align 4
br label %65
65: ; preds = %62
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %5, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %39, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %65
br label %71
71: ; preds = %._crit_edge6, %34
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @gf_mul(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpoy0bb1at.c'
source_filename = "/tmp/tmpoy0bb1at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_int32_t_uint16_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i64, ptr %13, i64 %15
%17 = load i64, ptr %16, align 8
%18 = add nsw i64 %17, 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
store i64 %18, ptr %22, align 8
br label %23
23: ; preds = %12
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoy0bb1at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_int32_t_uint16_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i64, ptr %12, i64 %14
%16 = load i64, ptr %15, align 8
%17 = add nsw i64 %16, 1
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
store i64 %17, ptr %21, align 8
br label %22
22: ; preds = %11
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, 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, %3
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/tmpftyxytqe.c'
source_filename = "/tmp/tmpftyxytqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@.str = private unnamed_addr constant [32 x i8] c"in handler pid=%d, SIGNAL = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"si_signo = \09%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"si_code = \09%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"si_pid = \09%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"si_uid = \09%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"si_value = \09%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"si_int = \09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_act(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @getpid()
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i32 0, i32 2
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i32 0, i32 5
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %29)
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 4
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %33)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpftyxytqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@.str = private unnamed_addr constant [32 x i8] c"in handler pid=%d, SIGNAL = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"si_signo = \09%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"si_code = \09%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"si_pid = \09%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"si_uid = \09%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"si_value = \09%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"si_int = \09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_act(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @getpid()
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i32 0, i32 2
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i32 0, i32 5
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %29)
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 4
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %33)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_cmmcnsc.c'
source_filename = "/tmp/tmp_cmmcnsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_resolve_default(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @EINVAL, align 4
%4 = sub nsw i32 0, %3
ret i32 %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/tmp_cmmcnsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_resolve_default(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @EINVAL, align 4
%4 = sub nsw i32 0, %3
ret i32 %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/tmpnmig10by.c'
source_filename = "/tmp/tmpnmig10by.c"
target datalayout = "e-m:e-p270: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/tmpnmig10by.c"
target datalayout = "e-m:e-p270: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/tmpyf0t9k64.c'
source_filename = "/tmp/tmpyf0t9k64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"gaussj: Singular Matrix-1\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"gaussj: Singular Matrix-2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%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 ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = call ptr @ivector(i32 noundef 1, i32 noundef %23)
store ptr %24, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = call ptr @ivector(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %6, align 4
%28 = call ptr @ivector(i32 noundef 1, i32 noundef %27)
store ptr %28, ptr %11, align 8
store i32 1, ptr %15, align 4
br label %29
29: ; preds = %38, %4
%30 = load i32, ptr %15, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %29
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr %15, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 0, ptr %37, align 4
br label %38
38: ; preds = %33
%39 = load i32, ptr %15, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %15, align 4
br label %29, !llvm.loop !6
41: ; preds = %29
store i32 1, ptr %12, align 4
br label %42
42: ; preds = %388, %41
%43 = load i32, ptr %12, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %391
46: ; preds = %42
store double 0.000000e+00, ptr %19, align 8
store i32 1, ptr %15, align 4
br label %47
47: ; preds = %113, %46
%48 = load i32, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %116
51: ; preds = %47
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %15, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %112
58: ; preds = %51
store i32 1, ptr %16, align 4
br label %59
59: ; preds = %108, %58
%60 = load i32, ptr %16, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp sle i32 %60, %61
br i1 %62, label %63, label %111
63: ; preds = %59
%64 = load ptr, ptr %11, align 8
%65 = load i32, ptr %16, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %97
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %15, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr %16, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
%80 = call double @llvm.fabs.f64(double %79)
%81 = load double, ptr %19, align 8
%82 = fcmp oge double %80, %81
br i1 %82, label %83, label %96
83: ; preds = %70
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %15, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds ptr, ptr %84, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = load i32, ptr %16, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %88, i64 %90
%92 = load double, ptr %91, align 8
%93 = call double @llvm.fabs.f64(double %92)
store double %93, ptr %19, align 8
%94 = load i32, ptr %15, align 4
store i32 %94, ptr %14, align 4
%95 = load i32, ptr %16, align 4
store i32 %95, ptr %13, align 4
br label %96
96: ; preds = %83, %70
br label %107
97: ; preds = %63
%98 = load ptr, ptr %11, align 8
%99 = load i32, ptr %16, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = icmp sgt i32 %102, 1
br i1 %103, label %104, label %106
104: ; preds = %97
%105 = call i32 @nrerror(ptr noundef @.str)
br label %106
106: ; preds = %104, %97
br label %107
107: ; preds = %106, %96
br label %108
108: ; preds = %107
%109 = load i32, ptr %16, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %16, align 4
br label %59, !llvm.loop !8
111: ; preds = %59
br label %112
112: ; preds = %111, %51
br label %113
113: ; preds = %112
%114 = load i32, ptr %15, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %15, align 4
br label %47, !llvm.loop !9
116: ; preds = %47
%117 = load ptr, ptr %11, align 8
%118 = load i32, ptr %13, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, ptr %117, i64 %119
%121 = load i32, ptr %120, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %120, align 4
%123 = load i32, ptr %14, align 4
%124 = load i32, ptr %13, align 4
%125 = icmp ne i32 %123, %124
br i1 %125, label %126, label %215
126: ; preds = %116
store i32 1, ptr %17, align 4
br label %127
127: ; preds = %167, %126
%128 = load i32, ptr %17, align 4
%129 = load i32, ptr %6, align 4
%130 = icmp sle i32 %128, %129
br i1 %130, label %131, label %170
131: ; preds = %127
%132 = load ptr, ptr %5, align 8
%133 = load i32, ptr %14, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds ptr, ptr %132, i64 %134
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %17, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
store double %140, ptr %22, align 8
%141 = load ptr, ptr %5, align 8
%142 = load i32, ptr %13, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %141, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %17, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %14, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %150, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr %17, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %154, i64 %156
store double %149, ptr %157, align 8
%158 = load double, ptr %22, align 8
%159 = load ptr, ptr %5, align 8
%160 = load i32, ptr %13, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds ptr, ptr %159, i64 %161
%163 = load ptr, ptr %162, align 8
%164 = load i32, ptr %17, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %163, i64 %165
store double %158, ptr %166, align 8
br label %167
167: ; preds = %131
%168 = load i32, ptr %17, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %17, align 4
br label %127, !llvm.loop !10
170: ; preds = %127
store i32 1, ptr %17, align 4
br label %171
171: ; preds = %211, %170
%172 = load i32, ptr %17, align 4
%173 = load i32, ptr %8, align 4
%174 = icmp sle i32 %172, %173
br i1 %174, label %175, label %214
175: ; preds = %171
%176 = load ptr, ptr %7, align 8
%177 = load i32, ptr %14, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = load i32, ptr %17, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %180, i64 %182
%184 = load double, ptr %183, align 8
store double %184, ptr %22, align 8
%185 = load ptr, ptr %7, align 8
%186 = load i32, ptr %13, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds ptr, ptr %185, i64 %187
%189 = load ptr, ptr %188, align 8
%190 = load i32, ptr %17, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %189, i64 %191
%193 = load double, ptr %192, align 8
%194 = load ptr, ptr %7, align 8
%195 = load i32, ptr %14, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds ptr, ptr %194, i64 %196
%198 = load ptr, ptr %197, align 8
%199 = load i32, ptr %17, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, ptr %198, i64 %200
store double %193, ptr %201, align 8
%202 = load double, ptr %22, align 8
%203 = load ptr, ptr %7, align 8
%204 = load i32, ptr %13, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds ptr, ptr %203, i64 %205
%207 = load ptr, ptr %206, align 8
%208 = load i32, ptr %17, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
store double %202, ptr %210, align 8
br label %211
211: ; preds = %175
%212 = load i32, ptr %17, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %17, align 4
br label %171, !llvm.loop !11
214: ; preds = %171
br label %215
215: ; preds = %214, %116
%216 = load i32, ptr %14, align 4
%217 = load ptr, ptr %10, align 8
%218 = load i32, ptr %12, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i32, ptr %217, i64 %219
store i32 %216, ptr %220, align 4
%221 = load i32, ptr %13, align 4
%222 = load ptr, ptr %9, align 8
%223 = load i32, ptr %12, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i32, ptr %222, i64 %224
store i32 %221, ptr %225, align 4
%226 = load ptr, ptr %5, align 8
%227 = load i32, ptr %13, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = load i32, ptr %13, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %230, i64 %232
%234 = load double, ptr %233, align 8
%235 = fcmp oeq double %234, 0.000000e+00
br i1 %235, label %236, label %238
236: ; preds = %215
%237 = call i32 @nrerror(ptr noundef @.str.1)
br label %238
238: ; preds = %236, %215
%239 = load ptr, ptr %5, align 8
%240 = load i32, ptr %13, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds ptr, ptr %239, i64 %241
%243 = load ptr, ptr %242, align 8
%244 = load i32, ptr %13, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds double, ptr %243, i64 %245
%247 = load double, ptr %246, align 8
%248 = fdiv double 1.000000e+00, %247
store double %248, ptr %21, align 8
%249 = load ptr, ptr %5, align 8
%250 = load i32, ptr %13, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds ptr, ptr %249, i64 %251
%253 = load ptr, ptr %252, align 8
%254 = load i32, ptr %13, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, ptr %253, i64 %255
store double 1.000000e+00, ptr %256, align 8
store i32 1, ptr %17, align 4
br label %257
257: ; preds = %273, %238
%258 = load i32, ptr %17, align 4
%259 = load i32, ptr %6, align 4
%260 = icmp sle i32 %258, %259
br i1 %260, label %261, label %276
261: ; preds = %257
%262 = load double, ptr %21, align 8
%263 = load ptr, ptr %5, align 8
%264 = load i32, ptr %13, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds ptr, ptr %263, i64 %265
%267 = load ptr, ptr %266, align 8
%268 = load i32, ptr %17, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, ptr %267, i64 %269
%271 = load double, ptr %270, align 8
%272 = fmul double %271, %262
store double %272, ptr %270, align 8
br label %273
273: ; preds = %261
%274 = load i32, ptr %17, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %17, align 4
br label %257, !llvm.loop !12
276: ; preds = %257
store i32 1, ptr %17, align 4
br label %277
277: ; preds = %293, %276
%278 = load i32, ptr %17, align 4
%279 = load i32, ptr %8, align 4
%280 = icmp sle i32 %278, %279
br i1 %280, label %281, label %296
281: ; preds = %277
%282 = load double, ptr %21, align 8
%283 = load ptr, ptr %7, align 8
%284 = load i32, ptr %13, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds ptr, ptr %283, i64 %285
%287 = load ptr, ptr %286, align 8
%288 = load i32, ptr %17, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %287, i64 %289
%291 = load double, ptr %290, align 8
%292 = fmul double %291, %282
store double %292, ptr %290, align 8
br label %293
293: ; preds = %281
%294 = load i32, ptr %17, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %17, align 4
br label %277, !llvm.loop !13
296: ; preds = %277
store i32 1, ptr %18, align 4
br label %297
297: ; preds = %384, %296
%298 = load i32, ptr %18, align 4
%299 = load i32, ptr %6, align 4
%300 = icmp sle i32 %298, %299
br i1 %300, label %301, label %387
301: ; preds = %297
%302 = load i32, ptr %18, align 4
%303 = load i32, ptr %13, align 4
%304 = icmp ne i32 %302, %303
br i1 %304, label %305, label %383
305: ; preds = %301
%306 = load ptr, ptr %5, align 8
%307 = load i32, ptr %18, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds ptr, ptr %306, i64 %308
%310 = load ptr, ptr %309, align 8
%311 = load i32, ptr %13, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, ptr %310, i64 %312
%314 = load double, ptr %313, align 8
store double %314, ptr %20, align 8
%315 = load ptr, ptr %5, align 8
%316 = load i32, ptr %18, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds ptr, ptr %315, i64 %317
%319 = load ptr, ptr %318, align 8
%320 = load i32, ptr %13, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds double, ptr %319, i64 %321
store double 0.000000e+00, ptr %322, align 8
store i32 1, ptr %17, align 4
br label %323
323: ; preds = %349, %305
%324 = load i32, ptr %17, align 4
%325 = load i32, ptr %6, align 4
%326 = icmp sle i32 %324, %325
br i1 %326, label %327, label %352
327: ; preds = %323
%328 = load ptr, ptr %5, align 8
%329 = load i32, ptr %13, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds ptr, ptr %328, i64 %330
%332 = load ptr, ptr %331, align 8
%333 = load i32, ptr %17, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
%336 = load double, ptr %335, align 8
%337 = load double, ptr %20, align 8
%338 = load ptr, ptr %5, align 8
%339 = load i32, ptr %18, align 4
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds ptr, ptr %338, i64 %340
%342 = load ptr, ptr %341, align 8
%343 = load i32, ptr %17, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
%346 = load double, ptr %345, align 8
%347 = fneg double %336
%348 = call double @llvm.fmuladd.f64(double %347, double %337, double %346)
store double %348, ptr %345, align 8
br label %349
349: ; preds = %327
%350 = load i32, ptr %17, align 4
%351 = add nsw i32 %350, 1
store i32 %351, ptr %17, align 4
br label %323, !llvm.loop !14
352: ; preds = %323
store i32 1, ptr %17, align 4
br label %353
353: ; preds = %379, %352
%354 = load i32, ptr %17, align 4
%355 = load i32, ptr %8, align 4
%356 = icmp sle i32 %354, %355
br i1 %356, label %357, label %382
357: ; preds = %353
%358 = load ptr, ptr %7, align 8
%359 = load i32, ptr %13, align 4
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds ptr, ptr %358, i64 %360
%362 = load ptr, ptr %361, align 8
%363 = load i32, ptr %17, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds double, ptr %362, i64 %364
%366 = load double, ptr %365, align 8
%367 = load double, ptr %20, align 8
%368 = load ptr, ptr %7, align 8
%369 = load i32, ptr %18, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds ptr, ptr %368, i64 %370
%372 = load ptr, ptr %371, align 8
%373 = load i32, ptr %17, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds double, ptr %372, i64 %374
%376 = load double, ptr %375, align 8
%377 = fneg double %366
%378 = call double @llvm.fmuladd.f64(double %377, double %367, double %376)
store double %378, ptr %375, align 8
br label %379
379: ; preds = %357
%380 = load i32, ptr %17, align 4
%381 = add nsw i32 %380, 1
store i32 %381, ptr %17, align 4
br label %353, !llvm.loop !15
382: ; preds = %353
br label %383
383: ; preds = %382, %301
br label %384
384: ; preds = %383
%385 = load i32, ptr %18, align 4
%386 = add nsw i32 %385, 1
store i32 %386, ptr %18, align 4
br label %297, !llvm.loop !16
387: ; preds = %297
br label %388
388: ; preds = %387
%389 = load i32, ptr %12, align 4
%390 = add nsw i32 %389, 1
store i32 %390, ptr %12, align 4
br label %42, !llvm.loop !17
391: ; preds = %42
%392 = load i32, ptr %6, align 4
store i32 %392, ptr %17, align 4
br label %393
393: ; preds = %470, %391
%394 = load i32, ptr %17, align 4
%395 = icmp sge i32 %394, 1
br i1 %395, label %396, label %473
396: ; preds = %393
%397 = load ptr, ptr %10, align 8
%398 = load i32, ptr %17, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds i32, ptr %397, i64 %399
%401 = load i32, ptr %400, align 4
%402 = load ptr, ptr %9, align 8
%403 = load i32, ptr %17, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds i32, ptr %402, i64 %404
%406 = load i32, ptr %405, align 4
%407 = icmp ne i32 %401, %406
br i1 %407, label %408, label %469
408: ; preds = %396
store i32 1, ptr %16, align 4
br label %409
409: ; preds = %465, %408
%410 = load i32, ptr %16, align 4
%411 = load i32, ptr %6, align 4
%412 = icmp sle i32 %410, %411
br i1 %412, label %413, label %468
413: ; preds = %409
%414 = load ptr, ptr %5, align 8
%415 = load i32, ptr %16, align 4
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds ptr, ptr %414, i64 %416
%418 = load ptr, ptr %417, align 8
%419 = load ptr, ptr %10, align 8
%420 = load i32, ptr %17, align 4
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds i32, ptr %419, i64 %421
%423 = load i32, ptr %422, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, ptr %418, i64 %424
%426 = load double, ptr %425, align 8
store double %426, ptr %22, align 8
%427 = load ptr, ptr %5, align 8
%428 = load i32, ptr %16, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds ptr, ptr %427, i64 %429
%431 = load ptr, ptr %430, align 8
%432 = load ptr, ptr %9, align 8
%433 = load i32, ptr %17, align 4
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds i32, ptr %432, i64 %434
%436 = load i32, ptr %435, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds double, ptr %431, i64 %437
%439 = load double, ptr %438, align 8
%440 = load ptr, ptr %5, align 8
%441 = load i32, ptr %16, align 4
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds ptr, ptr %440, i64 %442
%444 = load ptr, ptr %443, align 8
%445 = load ptr, ptr %10, align 8
%446 = load i32, ptr %17, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds i32, ptr %445, i64 %447
%449 = load i32, ptr %448, align 4
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds double, ptr %444, i64 %450
store double %439, ptr %451, align 8
%452 = load double, ptr %22, align 8
%453 = load ptr, ptr %5, align 8
%454 = load i32, ptr %16, align 4
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds ptr, ptr %453, i64 %455
%457 = load ptr, ptr %456, align 8
%458 = load ptr, ptr %9, align 8
%459 = load i32, ptr %17, align 4
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds i32, ptr %458, i64 %460
%462 = load i32, ptr %461, align 4
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds double, ptr %457, i64 %463
store double %452, ptr %464, align 8
br label %465
465: ; preds = %413
%466 = load i32, ptr %16, align 4
%467 = add nsw i32 %466, 1
store i32 %467, ptr %16, align 4
br label %409, !llvm.loop !18
468: ; preds = %409
br label %469
469: ; preds = %468, %396
br label %470
470: ; preds = %469
%471 = load i32, ptr %17, align 4
%472 = add nsw i32 %471, -1
store i32 %472, ptr %17, align 4
br label %393, !llvm.loop !19
473: ; preds = %393
%474 = load ptr, ptr %11, align 8
%475 = load i32, ptr %6, align 4
%476 = call i32 @free_ivector(ptr noundef %474, i32 noundef 1, i32 noundef %475)
%477 = load ptr, ptr %10, align 8
%478 = load i32, ptr %6, align 4
%479 = call i32 @free_ivector(ptr noundef %477, i32 noundef 1, i32 noundef %478)
%480 = load ptr, ptr %9, align 8
%481 = load i32, ptr %6, align 4
%482 = call i32 @free_ivector(ptr noundef %480, i32 noundef 1, i32 noundef %481)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_ivector(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyf0t9k64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"gaussj: Singular Matrix-1\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"gaussj: Singular Matrix-2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%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 ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = call ptr @ivector(i32 noundef 1, i32 noundef %23)
store ptr %24, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = call ptr @ivector(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %6, align 4
%28 = call ptr @ivector(i32 noundef 1, i32 noundef %27)
store ptr %28, ptr %11, align 8
store i32 1, ptr %15, align 4
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph, label %43
.lr.ph: ; preds = %4
br label %32
32: ; preds = %.lr.ph, %37
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %15, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 0, ptr %36, align 4
br label %37
37: ; preds = %32
%38 = load i32, ptr %15, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %15, align 4
%40 = load i32, ptr %15, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %4
store i32 1, ptr %12, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %.lr.ph29, label %413
.lr.ph29: ; preds = %43
br label %47
47: ; preds = %.lr.ph29, %407
store double 0.000000e+00, ptr %19, align 8
store i32 1, ptr %15, align 4
%48 = load i32, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %.lr.ph5, label %121
.lr.ph5: ; preds = %47
br label %51
51: ; preds = %.lr.ph5, %115
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %15, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %114
58: ; preds = %51
store i32 1, ptr %16, align 4
%59 = load i32, ptr %16, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %.lr.ph2, label %113
.lr.ph2: ; preds = %58
br label %62
62: ; preds = %.lr.ph2, %107
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %16, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %96
69: ; preds = %62
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %15, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fabs.f64(double %78)
%80 = load double, ptr %19, align 8
%81 = fcmp oge double %79, %80
br i1 %81, label %82, label %95
82: ; preds = %69
%83 = load ptr, ptr %5, 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 = call double @llvm.fabs.f64(double %91)
store double %92, ptr %19, align 8
%93 = load i32, ptr %15, align 4
store i32 %93, ptr %14, align 4
%94 = load i32, ptr %16, align 4
store i32 %94, ptr %13, align 4
br label %95
95: ; preds = %82, %69
br label %106
96: ; preds = %62
%97 = load ptr, ptr %11, align 8
%98 = load i32, ptr %16, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
%102 = icmp sgt i32 %101, 1
br i1 %102, label %103, label %105
103: ; preds = %96
%104 = call i32 @nrerror(ptr noundef @.str)
br label %105
105: ; preds = %103, %96
br label %106
106: ; preds = %105, %95
br label %107
107: ; preds = %106
%108 = load i32, ptr %16, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %16, align 4
%110 = load i32, ptr %16, align 4
%111 = load i32, ptr %6, align 4
%112 = icmp sle i32 %110, %111
br i1 %112, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %107
br label %113
113: ; preds = %._crit_edge3, %58
br label %114
114: ; preds = %113, %51
br label %115
115: ; preds = %114
%116 = load i32, ptr %15, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %15, align 4
%118 = load i32, ptr %15, align 4
%119 = load i32, ptr %6, align 4
%120 = icmp sle i32 %118, %119
br i1 %120, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %115
br label %121
121: ; preds = %._crit_edge6, %47
%122 = load ptr, ptr %11, align 8
%123 = load i32, ptr %13, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
%126 = load i32, ptr %125, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %125, align 4
%128 = load i32, ptr %14, align 4
%129 = load i32, ptr %13, align 4
%130 = icmp ne i32 %128, %129
br i1 %130, label %131, label %224
131: ; preds = %121
store i32 1, ptr %17, align 4
%132 = load i32, ptr %17, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %.lr.ph8, label %177
.lr.ph8: ; preds = %131
br label %135
135: ; preds = %.lr.ph8, %171
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %14, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = load i32, ptr %17, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %140, i64 %142
%144 = load double, ptr %143, align 8
store double %144, ptr %22, align 8
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %13, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds ptr, ptr %145, i64 %147
%149 = load ptr, ptr %148, align 8
%150 = load i32, ptr %17, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, ptr %149, i64 %151
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %5, align 8
%155 = load i32, ptr %14, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds ptr, ptr %154, i64 %156
%158 = load ptr, ptr %157, align 8
%159 = load i32, ptr %17, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, ptr %158, i64 %160
store double %153, ptr %161, align 8
%162 = load double, ptr %22, align 8
%163 = load ptr, ptr %5, align 8
%164 = load i32, ptr %13, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %163, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = load i32, ptr %17, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, ptr %167, i64 %169
store double %162, ptr %170, align 8
br label %171
171: ; preds = %135
%172 = load i32, ptr %17, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %17, align 4
%174 = load i32, ptr %17, align 4
%175 = load i32, ptr %6, align 4
%176 = icmp sle i32 %174, %175
br i1 %176, label %135, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %171
br label %177
177: ; preds = %._crit_edge9, %131
store i32 1, ptr %17, align 4
%178 = load i32, ptr %17, align 4
%179 = load i32, ptr %8, align 4
%180 = icmp sle i32 %178, %179
br i1 %180, label %.lr.ph11, label %223
.lr.ph11: ; preds = %177
br label %181
181: ; preds = %.lr.ph11, %217
%182 = load ptr, ptr %7, align 8
%183 = load i32, ptr %14, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds ptr, ptr %182, i64 %184
%186 = load ptr, ptr %185, align 8
%187 = load i32, ptr %17, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %186, i64 %188
%190 = load double, ptr %189, align 8
store double %190, ptr %22, align 8
%191 = load ptr, ptr %7, align 8
%192 = load i32, ptr %13, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds ptr, ptr %191, i64 %193
%195 = load ptr, ptr %194, align 8
%196 = load i32, ptr %17, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
%199 = load double, ptr %198, align 8
%200 = load ptr, ptr %7, align 8
%201 = load i32, ptr %14, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds ptr, ptr %200, i64 %202
%204 = load ptr, ptr %203, align 8
%205 = load i32, ptr %17, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %204, i64 %206
store double %199, ptr %207, align 8
%208 = load double, ptr %22, align 8
%209 = load ptr, ptr %7, align 8
%210 = load i32, ptr %13, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds ptr, ptr %209, i64 %211
%213 = load ptr, ptr %212, align 8
%214 = load i32, ptr %17, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds double, ptr %213, i64 %215
store double %208, ptr %216, align 8
br label %217
217: ; preds = %181
%218 = load i32, ptr %17, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %17, align 4
%220 = load i32, ptr %17, align 4
%221 = load i32, ptr %8, align 4
%222 = icmp sle i32 %220, %221
br i1 %222, label %181, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %217
br label %223
223: ; preds = %._crit_edge12, %177
br label %224
224: ; preds = %223, %121
%225 = load i32, ptr %14, align 4
%226 = load ptr, ptr %10, align 8
%227 = load i32, ptr %12, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds i32, ptr %226, i64 %228
store i32 %225, ptr %229, align 4
%230 = load i32, ptr %13, align 4
%231 = load ptr, ptr %9, align 8
%232 = load i32, ptr %12, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, ptr %231, i64 %233
store i32 %230, ptr %234, align 4
%235 = load ptr, ptr %5, align 8
%236 = load i32, ptr %13, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds ptr, ptr %235, i64 %237
%239 = load ptr, ptr %238, align 8
%240 = load i32, ptr %13, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, ptr %239, i64 %241
%243 = load double, ptr %242, align 8
%244 = fcmp oeq double %243, 0.000000e+00
br i1 %244, label %245, label %247
245: ; preds = %224
%246 = call i32 @nrerror(ptr noundef @.str.1)
br label %247
247: ; preds = %245, %224
%248 = load ptr, ptr %5, align 8
%249 = load i32, ptr %13, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %13, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds double, ptr %252, i64 %254
%256 = load double, ptr %255, align 8
%257 = fdiv double 1.000000e+00, %256
store double %257, ptr %21, align 8
%258 = load ptr, ptr %5, align 8
%259 = load i32, ptr %13, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds ptr, ptr %258, i64 %260
%262 = load ptr, ptr %261, align 8
%263 = load i32, ptr %13, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds double, ptr %262, i64 %264
store double 1.000000e+00, ptr %265, align 8
store i32 1, ptr %17, align 4
%266 = load i32, ptr %17, align 4
%267 = load i32, ptr %6, align 4
%268 = icmp sle i32 %266, %267
br i1 %268, label %.lr.ph14, label %287
.lr.ph14: ; preds = %247
br label %269
269: ; preds = %.lr.ph14, %281
%270 = load double, ptr %21, align 8
%271 = load ptr, ptr %5, align 8
%272 = load i32, ptr %13, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds ptr, ptr %271, i64 %273
%275 = load ptr, ptr %274, align 8
%276 = load i32, ptr %17, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds double, ptr %275, i64 %277
%279 = load double, ptr %278, align 8
%280 = fmul double %279, %270
store double %280, ptr %278, align 8
br label %281
281: ; preds = %269
%282 = load i32, ptr %17, align 4
%283 = add nsw i32 %282, 1
store i32 %283, ptr %17, align 4
%284 = load i32, ptr %17, align 4
%285 = load i32, ptr %6, align 4
%286 = icmp sle i32 %284, %285
br i1 %286, label %269, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %281
br label %287
287: ; preds = %._crit_edge15, %247
store i32 1, ptr %17, align 4
%288 = load i32, ptr %17, align 4
%289 = load i32, ptr %8, align 4
%290 = icmp sle i32 %288, %289
br i1 %290, label %.lr.ph17, label %309
.lr.ph17: ; preds = %287
br label %291
291: ; preds = %.lr.ph17, %303
%292 = load double, ptr %21, align 8
%293 = load ptr, ptr %7, align 8
%294 = load i32, ptr %13, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds ptr, ptr %293, i64 %295
%297 = load ptr, ptr %296, align 8
%298 = load i32, ptr %17, align 4
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, ptr %297, i64 %299
%301 = load double, ptr %300, align 8
%302 = fmul double %301, %292
store double %302, ptr %300, align 8
br label %303
303: ; preds = %291
%304 = load i32, ptr %17, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %17, align 4
%306 = load i32, ptr %17, align 4
%307 = load i32, ptr %8, align 4
%308 = icmp sle i32 %306, %307
br i1 %308, label %291, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %303
br label %309
309: ; preds = %._crit_edge18, %287
store i32 1, ptr %18, align 4
%310 = load i32, ptr %18, align 4
%311 = load i32, ptr %6, align 4
%312 = icmp sle i32 %310, %311
br i1 %312, label %.lr.ph26, label %406
.lr.ph26: ; preds = %309
br label %313
313: ; preds = %.lr.ph26, %400
%314 = load i32, ptr %18, align 4
%315 = load i32, ptr %13, align 4
%316 = icmp ne i32 %314, %315
br i1 %316, label %317, label %399
317: ; preds = %313
%318 = load ptr, ptr %5, align 8
%319 = load i32, ptr %18, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds ptr, ptr %318, i64 %320
%322 = load ptr, ptr %321, align 8
%323 = load i32, ptr %13, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds double, ptr %322, i64 %324
%326 = load double, ptr %325, align 8
store double %326, ptr %20, align 8
%327 = load ptr, ptr %5, align 8
%328 = load i32, ptr %18, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds ptr, ptr %327, i64 %329
%331 = load ptr, ptr %330, align 8
%332 = load i32, ptr %13, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds double, ptr %331, i64 %333
store double 0.000000e+00, ptr %334, align 8
store i32 1, ptr %17, align 4
%335 = load i32, ptr %17, align 4
%336 = load i32, ptr %6, align 4
%337 = icmp sle i32 %335, %336
br i1 %337, label %.lr.ph20, label %366
.lr.ph20: ; preds = %317
br label %338
338: ; preds = %.lr.ph20, %360
%339 = load ptr, ptr %5, align 8
%340 = load i32, ptr %13, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds ptr, ptr %339, i64 %341
%343 = load ptr, ptr %342, align 8
%344 = load i32, ptr %17, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds double, ptr %343, i64 %345
%347 = load double, ptr %346, align 8
%348 = load double, ptr %20, align 8
%349 = load ptr, ptr %5, align 8
%350 = load i32, ptr %18, align 4
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds ptr, ptr %349, i64 %351
%353 = load ptr, ptr %352, align 8
%354 = load i32, ptr %17, align 4
%355 = sext i32 %354 to i64
%356 = getelementptr inbounds double, ptr %353, i64 %355
%357 = load double, ptr %356, align 8
%358 = fneg double %347
%359 = call double @llvm.fmuladd.f64(double %358, double %348, double %357)
store double %359, ptr %356, align 8
br label %360
360: ; preds = %338
%361 = load i32, ptr %17, align 4
%362 = add nsw i32 %361, 1
store i32 %362, ptr %17, align 4
%363 = load i32, ptr %17, align 4
%364 = load i32, ptr %6, align 4
%365 = icmp sle i32 %363, %364
br i1 %365, label %338, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %360
br label %366
366: ; preds = %._crit_edge21, %317
store i32 1, ptr %17, align 4
%367 = load i32, ptr %17, align 4
%368 = load i32, ptr %8, align 4
%369 = icmp sle i32 %367, %368
br i1 %369, label %.lr.ph23, label %398
.lr.ph23: ; preds = %366
br label %370
370: ; preds = %.lr.ph23, %392
%371 = load ptr, ptr %7, align 8
%372 = load i32, ptr %13, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds ptr, ptr %371, i64 %373
%375 = load ptr, ptr %374, align 8
%376 = load i32, ptr %17, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds double, ptr %375, i64 %377
%379 = load double, ptr %378, align 8
%380 = load double, ptr %20, align 8
%381 = load ptr, ptr %7, align 8
%382 = load i32, ptr %18, align 4
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds ptr, ptr %381, i64 %383
%385 = load ptr, ptr %384, align 8
%386 = load i32, ptr %17, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds double, ptr %385, i64 %387
%389 = load double, ptr %388, align 8
%390 = fneg double %379
%391 = call double @llvm.fmuladd.f64(double %390, double %380, double %389)
store double %391, ptr %388, align 8
br label %392
392: ; preds = %370
%393 = load i32, ptr %17, align 4
%394 = add nsw i32 %393, 1
store i32 %394, ptr %17, align 4
%395 = load i32, ptr %17, align 4
%396 = load i32, ptr %8, align 4
%397 = icmp sle i32 %395, %396
br i1 %397, label %370, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %392
br label %398
398: ; preds = %._crit_edge24, %366
br label %399
399: ; preds = %398, %313
br label %400
400: ; preds = %399
%401 = load i32, ptr %18, align 4
%402 = add nsw i32 %401, 1
store i32 %402, ptr %18, align 4
%403 = load i32, ptr %18, align 4
%404 = load i32, ptr %6, align 4
%405 = icmp sle i32 %403, %404
br i1 %405, label %313, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %400
br label %406
406: ; preds = %._crit_edge27, %309
br label %407
407: ; preds = %406
%408 = load i32, ptr %12, align 4
%409 = add nsw i32 %408, 1
store i32 %409, ptr %12, align 4
%410 = load i32, ptr %12, align 4
%411 = load i32, ptr %6, align 4
%412 = icmp sle i32 %410, %411
br i1 %412, label %47, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %407
br label %413
413: ; preds = %._crit_edge30, %43
%414 = load i32, ptr %6, align 4
store i32 %414, ptr %17, align 4
%415 = load i32, ptr %17, align 4
%416 = icmp sge i32 %415, 1
br i1 %416, label %.lr.ph35, label %498
.lr.ph35: ; preds = %413
br label %417
417: ; preds = %.lr.ph35, %493
%418 = load ptr, ptr %10, align 8
%419 = load i32, ptr %17, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds i32, ptr %418, i64 %420
%422 = load i32, ptr %421, align 4
%423 = load ptr, ptr %9, align 8
%424 = load i32, ptr %17, align 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds i32, ptr %423, i64 %425
%427 = load i32, ptr %426, align 4
%428 = icmp ne i32 %422, %427
br i1 %428, label %429, label %492
429: ; preds = %417
store i32 1, ptr %16, align 4
%430 = load i32, ptr %16, align 4
%431 = load i32, ptr %6, align 4
%432 = icmp sle i32 %430, %431
br i1 %432, label %.lr.ph32, label %491
.lr.ph32: ; preds = %429
br label %433
433: ; preds = %.lr.ph32, %485
%434 = load ptr, ptr %5, align 8
%435 = load i32, ptr %16, align 4
%436 = sext i32 %435 to i64
%437 = getelementptr inbounds ptr, ptr %434, i64 %436
%438 = load ptr, ptr %437, align 8
%439 = load ptr, ptr %10, align 8
%440 = load i32, ptr %17, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds i32, ptr %439, i64 %441
%443 = load i32, ptr %442, align 4
%444 = sext i32 %443 to i64
%445 = getelementptr inbounds double, ptr %438, i64 %444
%446 = load double, ptr %445, align 8
store double %446, ptr %22, align 8
%447 = load ptr, ptr %5, align 8
%448 = load i32, ptr %16, align 4
%449 = sext i32 %448 to i64
%450 = getelementptr inbounds ptr, ptr %447, i64 %449
%451 = load ptr, ptr %450, align 8
%452 = load ptr, ptr %9, align 8
%453 = load i32, ptr %17, align 4
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds i32, ptr %452, i64 %454
%456 = load i32, ptr %455, align 4
%457 = sext i32 %456 to i64
%458 = getelementptr inbounds double, ptr %451, i64 %457
%459 = load double, ptr %458, align 8
%460 = load ptr, ptr %5, align 8
%461 = load i32, ptr %16, align 4
%462 = sext i32 %461 to i64
%463 = getelementptr inbounds ptr, ptr %460, i64 %462
%464 = load ptr, ptr %463, align 8
%465 = load ptr, ptr %10, align 8
%466 = load i32, ptr %17, align 4
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds i32, ptr %465, i64 %467
%469 = load i32, ptr %468, align 4
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, ptr %464, i64 %470
store double %459, ptr %471, align 8
%472 = load double, ptr %22, align 8
%473 = load ptr, ptr %5, align 8
%474 = load i32, ptr %16, align 4
%475 = sext i32 %474 to i64
%476 = getelementptr inbounds ptr, ptr %473, i64 %475
%477 = load ptr, ptr %476, align 8
%478 = load ptr, ptr %9, align 8
%479 = load i32, ptr %17, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds i32, ptr %478, i64 %480
%482 = load i32, ptr %481, align 4
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, ptr %477, i64 %483
store double %472, ptr %484, align 8
br label %485
485: ; preds = %433
%486 = load i32, ptr %16, align 4
%487 = add nsw i32 %486, 1
store i32 %487, ptr %16, align 4
%488 = load i32, ptr %16, align 4
%489 = load i32, ptr %6, align 4
%490 = icmp sle i32 %488, %489
br i1 %490, label %433, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %485
br label %491
491: ; preds = %._crit_edge33, %429
br label %492
492: ; preds = %491, %417
br label %493
493: ; preds = %492
%494 = load i32, ptr %17, align 4
%495 = add nsw i32 %494, -1
store i32 %495, ptr %17, align 4
%496 = load i32, ptr %17, align 4
%497 = icmp sge i32 %496, 1
br i1 %497, label %417, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %493
br label %498
498: ; preds = %._crit_edge36, %413
%499 = load ptr, ptr %11, align 8
%500 = load i32, ptr %6, align 4
%501 = call i32 @free_ivector(ptr noundef %499, i32 noundef 1, i32 noundef %500)
%502 = load ptr, ptr %10, align 8
%503 = load i32, ptr %6, align 4
%504 = call i32 @free_ivector(ptr noundef %502, i32 noundef 1, i32 noundef %503)
%505 = load ptr, ptr %9, align 8
%506 = load i32, ptr %6, align 4
%507 = call i32 @free_ivector(ptr noundef %505, i32 noundef 1, i32 noundef %506)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_ivector(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
|
; ModuleID = '/tmp/tmp9ofy5yyi.c'
source_filename = "/tmp/tmp9ofy5yyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x6e() #0 {
%1 = call i64 @ispunct(i32 noundef 110)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ofy5yyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for n\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x6e() #0 {
%1 = call i64 @ispunct(i32 noundef 110)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpipx7qmsr.c'
source_filename = "/tmp/tmpipx7qmsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@u8isspacei.spaces = internal global [14 x i32] [i32 9, i32 10, i32 11, i32 12, i32 13, i32 32, i32 160, i32 5760, i32 6158, i32 8192, i32 8239, i32 8287, i32 12288, i32 65279], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @u8isspacei(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 i64 @in2(i32 noundef %3, ptr noundef @u8isspacei.spaces, i32 noundef 14)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @in(i32 noundef %7, i32 noundef 8192, i32 noundef 8203)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @in2(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @in(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpipx7qmsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@u8isspacei.spaces = internal global [14 x i32] [i32 9, i32 10, i32 11, i32 12, i32 13, i32 32, i32 160, i32 5760, i32 6158, i32 8192, i32 8239, i32 8287, i32 12288, i32 65279], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @u8isspacei(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 i64 @in2(i32 noundef %3, ptr noundef @u8isspacei.spaces, i32 noundef 14)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @in(i32 noundef %7, i32 noundef 8192, i32 noundef 8203)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @in2(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @in(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdi5zdfx5.c'
source_filename = "/tmp/tmpdi5zdfx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 60
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 5
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdi5zdfx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 60
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 5
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 60
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgmft5rqy.c'
source_filename = "/tmp/tmpgmft5rqy.c"
target datalayout = "e-m:e-p270: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/tmpgmft5rqy.c"
target datalayout = "e-m:e-p270: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/tmpv83jxpwe.c'
source_filename = "/tmp/tmpv83jxpwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Enter a nonnegative integer: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"The number has %d digit(s).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %6
6: ; preds = %11, %0
%7 = load i32, ptr %3, align 4
%8 = sdiv i32 %7, 10
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %6, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv83jxpwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Enter a nonnegative integer: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"The number has %d digit(s).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %6
6: ; preds = %11, %0
%7 = load i32, ptr %3, align 4
%8 = sdiv i32 %7, 10
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %6, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqkil0m1l.c'
source_filename = "/tmp/tmpqkil0m1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_39(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 %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = xor i32 %6, 1465981750
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @yahoo_M1Common(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/tmpqkil0m1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_39(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 %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = xor i32 %6, 1465981750
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @yahoo_M1Common(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/tmp8gwtslxi.c'
source_filename = "/tmp/tmp8gwtslxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"calling open\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (...) @__debugfs_init()
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @__real_open(ptr noundef %9, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @printf(ptr noundef) #1
declare i32 @__debugfs_init(...) #1
declare i32 @__real_open(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/tmp8gwtslxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"calling open\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (...) @__debugfs_init()
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @__real_open(ptr noundef %9, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @printf(ptr noundef) #1
declare i32 @__debugfs_init(...) #1
declare i32 @__real_open(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/tmplt6htblf.c'
source_filename = "/tmp/tmplt6htblf.c"
target datalayout = "e-m:e-p270: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/tmplt6htblf.c"
target datalayout = "e-m:e-p270: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/tmpbfqvodhq.c'
source_filename = "/tmp/tmpbfqvodhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zzrealloc_ushort_mask(ptr noundef %0, i32 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 ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %28, label %17
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @popcount_short(i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = mul nsw i32 %23, %24
%26 = call i32 @zzfree(ptr noundef %21, i32 noundef %25)
br label %27
27: ; preds = %20, %17
store ptr null, ptr %5, align 8
br label %92
28: ; preds = %4
%29 = load i32, ptr %8, align 4
%30 = call i32 @popcount_short(i32 noundef %29)
%31 = load i32, ptr %9, align 4
%32 = mul nsw i32 %30, %31
%33 = call ptr @zzmalloc0(i32 noundef %32)
store ptr %33, ptr %10, align 8
%34 = load ptr, ptr %10, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %37, label %36
36: ; preds = %28
store ptr null, ptr %5, align 8
br label %92
37: ; preds = %28
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %90
40: ; preds = %37
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = or i32 %41, %42
store i32 %43, ptr %13, align 4
br label %44
44: ; preds = %85, %40
%45 = load i32, ptr %13, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %86
47: ; preds = %44
%48 = load i32, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = sub nsw i32 0, %49
%51 = and i32 %48, %50
store i32 %51, ptr %14, align 4
%52 = load i32, ptr %13, align 4
%53 = xor i32 %52, %51
store i32 %53, ptr %13, align 4
%54 = load i32, ptr %14, align 4
%55 = load i32, ptr %8, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %81
58: ; preds = %47
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %7, align 4
%61 = and i32 %59, %60
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %77
63: ; preds = %58
%64 = load ptr, ptr %10, align 8
%65 = load i32, ptr %12, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr i8, ptr %64, i64 %66
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %11, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr i8, ptr %68, i64 %70
%72 = load i32, ptr %9, align 4
%73 = call i32 @memcpy(ptr noundef %67, ptr noundef %71, i32 noundef %72)
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr %11, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %11, align 4
br label %77
77: ; preds = %63, %58
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %12, align 4
%80 = add nsw i32 %79, %78
store i32 %80, ptr %12, align 4
br label %85
81: ; preds = %47
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %11, align 4
%84 = add nsw i32 %83, %82
store i32 %84, ptr %11, align 4
br label %85
85: ; preds = %81, %77
br label %44, !llvm.loop !6
86: ; preds = %44
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %11, align 4
%89 = call i32 @zzfree(ptr noundef %87, i32 noundef %88)
br label %90
90: ; preds = %86, %37
%91 = load ptr, ptr %10, align 8
store ptr %91, ptr %5, align 8
br label %92
92: ; preds = %90, %36, %27
%93 = load ptr, ptr %5, align 8
ret ptr %93
}
declare i32 @zzfree(ptr noundef, i32 noundef) #1
declare i32 @popcount_short(i32 noundef) #1
declare ptr @zzmalloc0(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfqvodhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zzrealloc_ushort_mask(ptr noundef %0, i32 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 ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %28, label %17
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @popcount_short(i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = mul nsw i32 %23, %24
%26 = call i32 @zzfree(ptr noundef %21, i32 noundef %25)
br label %27
27: ; preds = %20, %17
store ptr null, ptr %5, align 8
br label %93
28: ; preds = %4
%29 = load i32, ptr %8, align 4
%30 = call i32 @popcount_short(i32 noundef %29)
%31 = load i32, ptr %9, align 4
%32 = mul nsw i32 %30, %31
%33 = call ptr @zzmalloc0(i32 noundef %32)
store ptr %33, ptr %10, align 8
%34 = load ptr, ptr %10, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %37, label %36
36: ; preds = %28
store ptr null, ptr %5, align 8
br label %93
37: ; preds = %28
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %91
40: ; preds = %37
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = or i32 %41, %42
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph, label %87
.lr.ph: ; preds = %40
br label %46
46: ; preds = %.lr.ph, %84
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %13, align 4
%49 = sub nsw i32 0, %48
%50 = and i32 %47, %49
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %13, align 4
%52 = xor i32 %51, %50
store i32 %52, ptr %13, align 4
%53 = load i32, ptr %14, align 4
%54 = load i32, ptr %8, align 4
%55 = and i32 %53, %54
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %80
57: ; preds = %46
%58 = load i32, ptr %14, align 4
%59 = load i32, ptr %7, align 4
%60 = and i32 %58, %59
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %76
62: ; preds = %57
%63 = load ptr, ptr %10, align 8
%64 = load i32, ptr %12, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr i8, ptr %63, i64 %65
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr i8, ptr %67, i64 %69
%71 = load i32, ptr %9, align 4
%72 = call i32 @memcpy(ptr noundef %66, ptr noundef %70, i32 noundef %71)
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %11, align 4
%75 = add nsw i32 %74, %73
store i32 %75, ptr %11, align 4
br label %76
76: ; preds = %62, %57
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %12, align 4
br label %84
80: ; preds = %46
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %11, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %11, align 4
br label %84
84: ; preds = %80, %76
%85 = load i32, ptr %13, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %87
87: ; preds = %._crit_edge, %40
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %11, align 4
%90 = call i32 @zzfree(ptr noundef %88, i32 noundef %89)
br label %91
91: ; preds = %87, %37
%92 = load ptr, ptr %10, align 8
store ptr %92, ptr %5, align 8
br label %93
93: ; preds = %91, %36, %27
%94 = load ptr, ptr %5, align 8
ret ptr %94
}
declare i32 @zzfree(ptr noundef, i32 noundef) #1
declare i32 @popcount_short(i32 noundef) #1
declare ptr @zzmalloc0(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu0cxhlwj.c'
source_filename = "/tmp/tmpu0cxhlwj.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"socket: allocation failed\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = call i32 @htons(i32 noundef 5050)
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @INADDR_ANY, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0
store i32 %13, ptr %15, align 4
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %0
%24 = load i32, ptr %3, align 4
%25 = call i32 @bind(i32 noundef %24, ptr noundef %5, i32 noundef 12)
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %23
%31 = load i32, ptr %3, align 4
%32 = call i32 @listen(i32 noundef %31, i32 noundef 5)
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @perror(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %30
store i32 12, ptr %7, align 4
br label %38
38: ; preds = %37, %43, %44
%39 = load i32, ptr %3, align 4
%40 = call i32 @accept(i32 noundef %39, ptr noundef %6, ptr noundef %7)
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %38
br label %38
44: ; preds = %38
%45 = load i32, ptr %4, align 4
%46 = call i32 @write(i32 noundef %45, ptr noundef @.str.3, i32 noundef 12)
%47 = load i32, ptr %4, align 4
%48 = call i32 @close(i32 noundef %47)
br label %38
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu0cxhlwj.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"socket: allocation failed\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = call i32 @htons(i32 noundef 5050)
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @INADDR_ANY, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0
store i32 %13, ptr %15, align 4
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %0
%24 = load i32, ptr %3, align 4
%25 = call i32 @bind(i32 noundef %24, ptr noundef %5, i32 noundef 12)
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %23
%31 = load i32, ptr %3, align 4
%32 = call i32 @listen(i32 noundef %31, i32 noundef 5)
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @perror(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %30
store i32 12, ptr %7, align 4
br label %38
38: ; preds = %.backedge, %37
%39 = load i32, ptr %3, align 4
%40 = call i32 @accept(i32 noundef %39, ptr noundef %6, ptr noundef %7)
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %38
br label %.backedge
.backedge: ; preds = %43, %44
br label %38
44: ; preds = %38
%45 = load i32, ptr %4, align 4
%46 = call i32 @write(i32 noundef %45, ptr noundef @.str.3, i32 noundef 12)
%47 = load i32, ptr %4, align 4
%48 = call i32 @close(i32 noundef %47)
br label %.backedge
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9giq6afb.c'
source_filename = "/tmp/tmp9giq6afb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"SENT IAC WONT LFLOW\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_wont_lflow(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 = call i32 @socket_printf(ptr noundef %7, i32 noundef 3, ptr noundef @.str, i32 noundef 255, i32 noundef 252, i32 noundef 33)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @telopt_debug(ptr noundef %9, ptr noundef @.str.1)
ret i32 3
}
declare i32 @socket_printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @telopt_debug(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/tmp9giq6afb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"SENT IAC WONT LFLOW\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_wont_lflow(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 = call i32 @socket_printf(ptr noundef %7, i32 noundef 3, ptr noundef @.str, i32 noundef 255, i32 noundef 252, i32 noundef 33)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @telopt_debug(ptr noundef %9, ptr noundef @.str.1)
ret i32 3
}
declare i32 @socket_printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @telopt_debug(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/tmpgexc_jmb.c'
source_filename = "/tmp/tmpgexc_jmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @syscall(i32 noundef 77, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @syscall(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/tmpgexc_jmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @syscall(i32 noundef 77, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @syscall(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/tmpgizhm4lp.c'
source_filename = "/tmp/tmpgizhm4lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mk_rnd_u8() #0 {
%1 = call i32 (...) @rand()
%2 = and i32 %1, 255
%3 = trunc i32 %2 to i8
ret i8 %3
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgizhm4lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mk_rnd_u8() #0 {
%1 = call i32 (...) @rand()
%2 = and i32 %1, 255
%3 = trunc i32 %2 to i8
ret i8 %3
}
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"}
|
; ModuleID = '/tmp/tmp4rt4up6h.c'
source_filename = "/tmp/tmp4rt4up6h.c"
target datalayout = "e-m:e-p270: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/tmp4rt4up6h.c"
target datalayout = "e-m:e-p270: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/tmpp48nsvk5.c'
source_filename = "/tmp/tmpp48nsvk5.c"
target datalayout = "e-m:e-p270: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.salt = private unnamed_addr constant [12 x i8] c"$1$........\00", align 1
@.str = private unnamed_addr constant [65 x i8] c"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i64], align 16
%3 = alloca [12 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.salt, i64 12, i1 false)
store ptr @.str, ptr %4, align 8
%7 = call i64 @time(ptr noundef null)
%8 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 0
store i64 %7, ptr %8, align 16
%9 = call i64 (...) @getpid()
%10 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 0
%11 = load i64, ptr %10, align 16
%12 = lshr i64 %11, 14
%13 = and i64 %12, 196608
%14 = xor i64 %9, %13
%15 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 1
store i64 %14, ptr %15, align 8
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %37, %0
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 8
br i1 %18, label %19, label %40
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = sdiv i32 %20, 5
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load i32, ptr %6, align 4
%26 = srem i32 %25, 5
%27 = mul nsw i32 %26, 6
%28 = zext i32 %27 to i64
%29 = lshr i64 %24, %28
%30 = and i64 %29, 63
%31 = getelementptr inbounds i8, ptr @.str, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 3, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %35
store i8 %32, ptr %36, align 1
br label %37
37: ; preds = %19
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %16, !llvm.loop !6
40: ; preds = %16
%41 = call i32 @getpass(ptr noundef @.str.1)
%42 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%43 = call ptr @crypt(i32 noundef %41, ptr noundef %42)
store ptr %43, ptr %5, align 8
%44 = load ptr, ptr %5, align 8
%45 = call i32 @puts(ptr noundef %44)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @time(ptr noundef) #2
declare i64 @getpid(...) #2
declare ptr @crypt(i32 noundef, ptr noundef) #2
declare i32 @getpass(ptr noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp48nsvk5.c"
target datalayout = "e-m:e-p270: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.salt = private unnamed_addr constant [12 x i8] c"$1$........\00", align 1
@.str = private unnamed_addr constant [65 x i8] c"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i64], align 16
%3 = alloca [12 x i8], align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.salt, i64 12, i1 false)
store ptr @.str, ptr %4, align 8
%7 = call i64 @time(ptr noundef null)
%8 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 0
store i64 %7, ptr %8, align 16
%9 = call i64 (...) @getpid()
%10 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 0
%11 = load i64, ptr %10, align 16
%12 = lshr i64 %11, 14
%13 = and i64 %12, 196608
%14 = xor i64 %9, %13
%15 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 1
store i64 %14, ptr %15, align 8
store i32 0, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 8
br i1 %17, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %36
%19 = load i32, ptr %6, align 4
%20 = sdiv i32 %19, 5
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load i32, ptr %6, align 4
%25 = srem i32 %24, 5
%26 = mul nsw i32 %25, 6
%27 = zext i32 %26 to i64
%28 = lshr i64 %23, %27
%29 = and i64 %28, 63
%30 = getelementptr inbounds i8, ptr @.str, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 3, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %34
store i8 %31, ptr %35, align 1
br label %36
36: ; preds = %18
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 8
br i1 %40, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %0
%42 = call i32 @getpass(ptr noundef @.str.1)
%43 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%44 = call ptr @crypt(i32 noundef %42, ptr noundef %43)
store ptr %44, ptr %5, align 8
%45 = load ptr, ptr %5, align 8
%46 = call i32 @puts(ptr noundef %45)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @time(ptr noundef) #2
declare i64 @getpid(...) #2
declare ptr @crypt(i32 noundef, ptr noundef) #2
declare i32 @getpass(ptr noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2xjpyj34.c'
source_filename = "/tmp/tmp2xjpyj34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nanosleep(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 i32, ptr @CLOCK_MONOTONIC, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @clock_nanosleep(i32 noundef %5, i32 noundef 0, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @clock_nanosleep(i32 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/tmp2xjpyj34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nanosleep(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 i32, ptr @CLOCK_MONOTONIC, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @clock_nanosleep(i32 noundef %5, i32 noundef 0, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @clock_nanosleep(i32 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/tmpfis2hiy1.c'
source_filename = "/tmp/tmpfis2hiy1.c"
target datalayout = "e-m:e-p270: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/tmpfis2hiy1.c"
target datalayout = "e-m:e-p270: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/tmp089vlzbq.c'
source_filename = "/tmp/tmp089vlzbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_equal_max(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
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %7, align 8
%11 = call i32 @assert(ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %24
14: ; preds = %3
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i64, ptr %6, align 8
%21 = call i64 @strncasecmp(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = icmp eq i64 0, %21
%23 = zext i1 %22 to i32
store i32 %23, ptr %4, align 4
br label %25
24: ; preds = %14, %3
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %24, %17
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare i32 @assert(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp089vlzbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_equal_max(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
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %7, align 8
%11 = call i32 @assert(ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %24
14: ; preds = %3
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i64, ptr %6, align 8
%21 = call i64 @strncasecmp(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = icmp eq i64 0, %21
%23 = zext i1 %22 to i32
store i32 %23, ptr %4, align 4
br label %25
24: ; preds = %14, %3
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %24, %17
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare i32 @assert(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp20i4dwqz.c'
source_filename = "/tmp/tmp20i4dwqz.c"
target datalayout = "e-m:e-p270: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/tmp20i4dwqz.c"
target datalayout = "e-m:e-p270: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/tmpjb44cmwy.c'
source_filename = "/tmp/tmpjb44cmwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = mul i64 8, %5
%7 = add i64 %6, 1
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = call i32 @ft_bzero(ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %18
18: ; preds = %17, %12
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ft_bzero(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/tmpjb44cmwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = mul i64 8, %5
%7 = add i64 %6, 1
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = call i32 @ft_bzero(ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %18
18: ; preds = %17, %12
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ft_bzero(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/tmpoz_dn2ln.c'
source_filename = "/tmp/tmpoz_dn2ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@magic = external global i32, align 4
@mbd = external global ptr, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kmain() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load i32, ptr @magic, align 4
%4 = icmp ne i32 %3, 732803074
br i1 %4, label %5, label %6
5: ; preds = %0
br label %6
6: ; preds = %5, %0
%7 = load ptr, ptr @mbd, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 16
%9 = load i64, ptr %8, align 8
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %1, align 8
store ptr inttoptr (i64 753664 to ptr), ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 65, ptr %12, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 7, ptr %14, align 1
%15 = load ptr, ptr %1, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoz_dn2ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@magic = external global i32, align 4
@mbd = external global ptr, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kmain() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load i32, ptr @magic, align 4
%4 = icmp ne i32 %3, 732803074
br i1 %4, label %5, label %6
5: ; preds = %0
br label %6
6: ; preds = %5, %0
%7 = load ptr, ptr @mbd, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 16
%9 = load i64, ptr %8, align 8
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %1, align 8
store ptr inttoptr (i64 753664 to ptr), ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 65, ptr %12, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 7, ptr %14, align 1
%15 = load ptr, ptr %1, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptmmi6zlf.c'
source_filename = "/tmp/tmptmmi6zlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_urldecode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @libc_strlen(ptr noundef %7)
%9 = call ptr @libc_malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %5, align 8
br label %11
11: ; preds = %63, %1
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %15, label %66
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 37
br i1 %19, label %20, label %49
20: ; preds = %15
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %48
26: ; preds = %20
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 2
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %48
32: ; preds = %26
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = call i32 @libc_from_hex(i8 noundef signext %35)
%37 = shl i32 %36, 4
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 2
%40 = load i8, ptr %39, align 1
%41 = call i32 @libc_from_hex(i8 noundef signext %40)
%42 = or i32 %37, %41
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %5, align 8
store i8 %43, ptr %44, align 1
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 2
store ptr %47, ptr %3, align 8
br label %48
48: ; preds = %32, %26, %20
br label %63
49: ; preds = %15
%50 = load ptr, ptr %3, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 43
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %5, align 8
store i8 32, ptr %55, align 1
br label %62
57: ; preds = %49
%58 = load ptr, ptr %3, align 8
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %5, align 8
store i8 %59, ptr %60, align 1
br label %62
62: ; preds = %57, %54
br label %63
63: ; preds = %62, %48
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %3, align 8
br label %11, !llvm.loop !6
66: ; preds = %11
%67 = load ptr, ptr %5, align 8
store i8 0, ptr %67, align 1
%68 = load ptr, ptr %4, align 8
ret ptr %68
}
declare ptr @libc_malloc(i32 noundef) #1
declare i32 @libc_strlen(ptr noundef) #1
declare i32 @libc_from_hex(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/tmptmmi6zlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_urldecode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @libc_strlen(ptr noundef %7)
%9 = call ptr @libc_malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %.lr.ph, label %68
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %62
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 37
br i1 %18, label %19, label %48
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %47
25: ; preds = %19
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 2
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %47
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = load i8, ptr %33, align 1
%35 = call i32 @libc_from_hex(i8 noundef signext %34)
%36 = shl i32 %35, 4
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 2
%39 = load i8, ptr %38, align 1
%40 = call i32 @libc_from_hex(i8 noundef signext %39)
%41 = or i32 %36, %40
%42 = trunc i32 %41 to i8
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
store i8 %42, ptr %43, align 1
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 2
store ptr %46, ptr %3, align 8
br label %47
47: ; preds = %31, %25, %19
br label %62
48: ; preds = %14
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 43
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
store i8 32, ptr %54, align 1
br label %61
56: ; preds = %48
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %5, align 8
store i8 %58, ptr %59, align 1
br label %61
61: ; preds = %56, %53
br label %62
62: ; preds = %61, %47
%63 = load ptr, ptr %3, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %3, align 8
%65 = load ptr, ptr %3, align 8
%66 = load i8, ptr %65, align 1
%67 = icmp ne i8 %66, 0
br i1 %67, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %1
%69 = load ptr, ptr %5, align 8
store i8 0, ptr %69, align 1
%70 = load ptr, ptr %4, align 8
ret ptr %70
}
declare ptr @libc_malloc(i32 noundef) #1
declare i32 @libc_strlen(ptr noundef) #1
declare i32 @libc_from_hex(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/tmpq3d_szu3.c'
source_filename = "/tmp/tmpq3d_szu3.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"a.txt\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_CREAT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"create\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @stat(ptr noundef @.str, ptr noundef %2)
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %26
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load i32, ptr @O_CREAT, align 4
%14 = call i32 @creat(ptr noundef @.str, i32 noundef %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = call i32 @perror(ptr noundef @.str.2)
%18 = load i64, ptr @errno, align 8
%19 = trunc i64 %18 to i32
store i32 %19, ptr %1, align 4
br label %30
20: ; preds = %12
%21 = call i32 @stat(ptr noundef @.str, ptr noundef %2)
br label %25
22: ; preds = %7
%23 = load i64, ptr @errno, align 8
%24 = trunc i64 %23 to i32
store i32 %24, ptr %1, align 4
br label %30
25: ; preds = %20
br label %26
26: ; preds = %25, %0
%27 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = call i32 @printf(ptr noundef @.str.3, i32 noundef %28)
store i32 0, ptr %1, align 4
br label %30
30: ; preds = %26, %22, %16
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3d_szu3.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"a.txt\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_CREAT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"create\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @stat(ptr noundef @.str, ptr noundef %2)
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %26
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load i32, ptr @O_CREAT, align 4
%14 = call i32 @creat(ptr noundef @.str, i32 noundef %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = call i32 @perror(ptr noundef @.str.2)
%18 = load i64, ptr @errno, align 8
%19 = trunc i64 %18 to i32
store i32 %19, ptr %1, align 4
br label %30
20: ; preds = %12
%21 = call i32 @stat(ptr noundef @.str, ptr noundef %2)
br label %25
22: ; preds = %7
%23 = load i64, ptr @errno, align 8
%24 = trunc i64 %23 to i32
store i32 %24, ptr %1, align 4
br label %30
25: ; preds = %20
br label %26
26: ; preds = %25, %0
%27 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = call i32 @printf(ptr noundef @.str.3, i32 noundef %28)
store i32 0, ptr %1, align 4
br label %30
30: ; preds = %26, %22, %16
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvi91jdzk.c'
source_filename = "/tmp/tmpvi91jdzk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Error setting flags\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_socket_flags(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 @F_SETFL, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @throw(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @throw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvi91jdzk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETFL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Error setting flags\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_socket_flags(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 @F_SETFL, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @throw(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @throw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyo5mr21p.c'
source_filename = "/tmp/tmpyo5mr21p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_multprec_start_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 495, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(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/tmpyo5mr21p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_multprec_start_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 495, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(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/tmp6qbzfh87.c'
source_filename = "/tmp/tmp6qbzfh87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"42sh: syntax error near unexpected token \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @first_elem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 124
br i1 %12, label %29, label %13
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 59
br i1 %20, label %29, label %21
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 38
br i1 %28, label %29, label %36
29: ; preds = %21, %13, %2
%30 = call i32 @my_putstr(ptr noundef @.str)
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 @my_putstr(ptr noundef %33)
%35 = call i32 @my_putchar(i8 noundef signext 10)
store i32 1, ptr %3, align 4
br label %82
36: ; preds = %21
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 124
br i1 %43, label %80, label %44
44: ; preds = %36
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 59
br i1 %51, label %80, label %52
52: ; preds = %44
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, 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 eq i32 %58, 38
br i1 %59, label %80, label %60
60: ; preds = %52
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 0
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 60
br i1 %67, label %80, label %68
68: ; preds = %60
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 0
%71 = load ptr, ptr %70, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 62
br i1 %75, label %80, label %76
76: ; preds = %68
%77 = load i32, ptr %5, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %76
store i32 2, ptr %3, align 4
br label %82
80: ; preds = %76, %68, %60, %52, %44, %36
br label %81
81: ; preds = %80
store i32 0, ptr %3, align 4
br label %82
82: ; preds = %81, %79, %29
%83 = load i32, ptr %3, align 4
ret i32 %83
}
declare i32 @my_putstr(ptr noundef) #1
declare i32 @my_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6qbzfh87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"42sh: syntax error near unexpected token \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @first_elem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 124
br i1 %12, label %29, label %13
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 59
br i1 %20, label %29, label %21
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 38
br i1 %28, label %29, label %36
29: ; preds = %21, %13, %2
%30 = call i32 @my_putstr(ptr noundef @.str)
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 @my_putstr(ptr noundef %33)
%35 = call i32 @my_putchar(i8 noundef signext 10)
store i32 1, ptr %3, align 4
br label %82
36: ; preds = %21
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 124
br i1 %43, label %80, label %44
44: ; preds = %36
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 59
br i1 %51, label %80, label %52
52: ; preds = %44
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, 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 eq i32 %58, 38
br i1 %59, label %80, label %60
60: ; preds = %52
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 0
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 60
br i1 %67, label %80, label %68
68: ; preds = %60
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 0
%71 = load ptr, ptr %70, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 62
br i1 %75, label %80, label %76
76: ; preds = %68
%77 = load i32, ptr %5, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %76
store i32 2, ptr %3, align 4
br label %82
80: ; preds = %76, %68, %60, %52, %44, %36
br label %81
81: ; preds = %80
store i32 0, ptr %3, align 4
br label %82
82: ; preds = %81, %79, %29
%83 = load i32, ptr %3, align 4
ret i32 %83
}
declare i32 @my_putstr(ptr noundef) #1
declare i32 @my_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6a70p_hl.c'
source_filename = "/tmp/tmp6a70p_hl.c"
target datalayout = "e-m:e-p270: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.values = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16
@.str = private unnamed_addr constant [14 x i8] c"memcpy() used\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"values (original data): \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"target (copy of values):\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0AUsing memmove() with overlapping ranges:\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"values -- elements 0-5 copied to 2-7\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Using memcopy to copy double to int:\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"target -- 5 doubles into 10 int positions:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [5 x double], 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.values, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false)
%5 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 0
store double 2.000000e+00, ptr %5, align 16
%6 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 1
store double 2.000000e+05, ptr %6, align 8
%7 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 2
store double 2.000000e+10, ptr %7, align 16
%8 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 3
store double 2.000000e+20, ptr %8, align 8
%9 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 4
store double 5.000000e+30, ptr %9, align 16
%10 = call i32 @puts(ptr noundef @.str)
%11 = call i32 @puts(ptr noundef @.str.1)
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%13 = call i32 @show_array(ptr noundef %12, i32 noundef 10)
%14 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%16 = call i32 (ptr, ...) @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef 40)
%17 = call i32 @puts(ptr noundef @.str.2)
%18 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%19 = call i32 @show_array(ptr noundef %18, i32 noundef 10)
%20 = call i32 @puts(ptr noundef @.str.3)
%21 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%22 = getelementptr inbounds i32, ptr %21, i64 2
%23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%24 = call i32 @memmove(ptr noundef %22, ptr noundef %23, i32 noundef 20)
%25 = call i32 @puts(ptr noundef @.str.4)
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%27 = call i32 @show_array(ptr noundef %26, i32 noundef 10)
%28 = call i32 @puts(ptr noundef @.str.5)
%29 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%30 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 0
%31 = call i32 (ptr, ...) @memcpy(ptr noundef %29, ptr noundef %30, i64 noundef 40)
%32 = call i32 @puts(ptr noundef @.str.6)
%33 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%34 = call i32 @show_array(ptr noundef %33, i32 noundef 5)
%35 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds i32, ptr %35, i64 5
%37 = call i32 @show_array(ptr noundef %36, i32 noundef 5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @puts(ptr noundef) #3
declare i32 @show_array(ptr noundef, i32 noundef) #3
declare i32 @memcpy(ptr noundef, ...) #3
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6a70p_hl.c"
target datalayout = "e-m:e-p270: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.values = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16
@.str = private unnamed_addr constant [14 x i8] c"memcpy() used\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"values (original data): \00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"target (copy of values):\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0AUsing memmove() with overlapping ranges:\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"values -- elements 0-5 copied to 2-7\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Using memcopy to copy double to int:\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"target -- 5 doubles into 10 int positions:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [5 x double], 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.values, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false)
%5 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 0
store double 2.000000e+00, ptr %5, align 16
%6 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 1
store double 2.000000e+05, ptr %6, align 8
%7 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 2
store double 2.000000e+10, ptr %7, align 16
%8 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 3
store double 2.000000e+20, ptr %8, align 8
%9 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 4
store double 5.000000e+30, ptr %9, align 16
%10 = call i32 @puts(ptr noundef @.str)
%11 = call i32 @puts(ptr noundef @.str.1)
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%13 = call i32 @show_array(ptr noundef %12, i32 noundef 10)
%14 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%16 = call i32 (ptr, ...) @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef 40)
%17 = call i32 @puts(ptr noundef @.str.2)
%18 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%19 = call i32 @show_array(ptr noundef %18, i32 noundef 10)
%20 = call i32 @puts(ptr noundef @.str.3)
%21 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%22 = getelementptr inbounds i32, ptr %21, i64 2
%23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%24 = call i32 @memmove(ptr noundef %22, ptr noundef %23, i32 noundef 20)
%25 = call i32 @puts(ptr noundef @.str.4)
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%27 = call i32 @show_array(ptr noundef %26, i32 noundef 10)
%28 = call i32 @puts(ptr noundef @.str.5)
%29 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%30 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 0
%31 = call i32 (ptr, ...) @memcpy(ptr noundef %29, ptr noundef %30, i64 noundef 40)
%32 = call i32 @puts(ptr noundef @.str.6)
%33 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%34 = call i32 @show_array(ptr noundef %33, i32 noundef 5)
%35 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds i32, ptr %35, i64 5
%37 = call i32 @show_array(ptr noundef %36, i32 noundef 5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @puts(ptr noundef) #3
declare i32 @show_array(ptr noundef, i32 noundef) #3
declare i32 @memcpy(ptr noundef, ...) #3
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4yhp7ix.c'
source_filename = "/tmp/tmpj4yhp7ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @release(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/tmpj4yhp7ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @release(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/tmpzcyca_zl.c'
source_filename = "/tmp/tmpzcyca_zl.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_get_port(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
store i32 %0, ptr %3, align 4
store i32 4, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @getsockname(i32 noundef %7, ptr noundef %4, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
12: ; preds = %1
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @ntohs(i32 noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ntohs(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/tmpzcyca_zl.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_get_port(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
store i32 %0, ptr %3, align 4
store i32 4, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @getsockname(i32 noundef %7, ptr noundef %4, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
12: ; preds = %1
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @ntohs(i32 noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ntohs(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/tmpfyg3zmxq.c'
source_filename = "/tmp/tmpfyg3zmxq.c"
target datalayout = "e-m:e-p270: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/tmpfyg3zmxq.c"
target datalayout = "e-m:e-p270: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/tmpu9qunb6c.c'
source_filename = "/tmp/tmpu9qunb6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [149 x i8] c"Usage: travsal -n [number of cities] -w [grid width] -h [grid height]\0A -i [initial temperature] -f [final temperature] -t [cooling timescale]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu9qunb6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [149 x i8] c"Usage: travsal -n [number of cities] -w [grid width] -h [grid height]\0A -i [initial temperature] -f [final temperature] -t [cooling timescale]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyb74z_gr.c'
source_filename = "/tmp/tmpyb74z_gr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"a? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Vrednost %d, index %d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %0, %19
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = srem i32 %15, 3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %27
19: ; preds = %14, %10
%20 = load i32, ptr %4, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %10
27: ; preds = %18
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyb74z_gr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"a? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Vrednost %d, index %d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %19, %0
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = srem i32 %15, 3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %27
19: ; preds = %14, %10
%20 = load i32, ptr %4, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %10
27: ; preds = %18
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmd_v63lo.c'
source_filename = "/tmp/tmpmd_v63lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2LookAt(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) #0 {
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
store float %0, ptr %10, align 4
store float %1, ptr %11, align 4
store float %2, ptr %12, align 4
store float %3, ptr %13, align 4
store float %4, ptr %14, align 4
store float %5, ptr %15, align 4
store float %6, ptr %16, align 4
store float %7, ptr %17, align 4
store float %8, ptr %18, align 4
%19 = load float, ptr %10, align 4
%20 = load float, ptr %11, align 4
%21 = load float, ptr %12, align 4
%22 = load float, ptr %13, align 4
%23 = load float, ptr %14, align 4
%24 = load float, ptr %15, align 4
%25 = load float, ptr %16, align 4
%26 = load float, ptr %17, align 4
%27 = load float, ptr %18, align 4
%28 = call i32 @gluLookAt(float noundef %19, float noundef %20, float noundef %21, float noundef %22, float noundef %23, float noundef %24, float noundef %25, float noundef %26, float noundef %27)
ret void
}
declare i32 @gluLookAt(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmd_v63lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2LookAt(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) #0 {
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
store float %0, ptr %10, align 4
store float %1, ptr %11, align 4
store float %2, ptr %12, align 4
store float %3, ptr %13, align 4
store float %4, ptr %14, align 4
store float %5, ptr %15, align 4
store float %6, ptr %16, align 4
store float %7, ptr %17, align 4
store float %8, ptr %18, align 4
%19 = load float, ptr %10, align 4
%20 = load float, ptr %11, align 4
%21 = load float, ptr %12, align 4
%22 = load float, ptr %13, align 4
%23 = load float, ptr %14, align 4
%24 = load float, ptr %15, align 4
%25 = load float, ptr %16, align 4
%26 = load float, ptr %17, align 4
%27 = load float, ptr %18, align 4
%28 = call i32 @gluLookAt(float noundef %19, float noundef %20, float noundef %21, float noundef %22, float noundef %23, float noundef %24, float noundef %25, float noundef %26, float noundef %27)
ret void
}
declare i32 @gluLookAt(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwvbffphi.c'
source_filename = "/tmp/tmpwvbffphi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towlower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 255
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %2, align 4
br label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = trunc i32 %9 to i8
%11 = call i32 @tolower(i8 noundef signext %10)
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %8, %6
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwvbffphi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towlower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 255
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %2, align 4
br label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = trunc i32 %9 to i8
%11 = call i32 @tolower(i8 noundef signext %10)
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %8, %6
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmujhbbfk.c'
source_filename = "/tmp/tmpmujhbbfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @clower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = trunc i32 %3 to i8
%5 = call i64 @isupper(i8 noundef zeroext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = trunc i32 %8 to i8
%10 = call i32 @tolower(i8 noundef zeroext %9)
br label %13
11: ; preds = %1
%12 = load i32, ptr %2, align 4
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %10, %7 ], [ %12, %11 ]
%15 = trunc i32 %14 to i8
ret i8 %15
}
declare i64 @isupper(i8 noundef zeroext) #1
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmujhbbfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @clower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = trunc i32 %3 to i8
%5 = call i64 @isupper(i8 noundef zeroext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = trunc i32 %8 to i8
%10 = call i32 @tolower(i8 noundef zeroext %9)
br label %13
11: ; preds = %1
%12 = load i32, ptr %2, align 4
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %10, %7 ], [ %12, %11 ]
%15 = trunc i32 %14 to i8
ret i8 %15
}
declare i64 @isupper(i8 noundef zeroext) #1
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdjypdcaf.c'
source_filename = "/tmp/tmpdjypdcaf.c"
target datalayout = "e-m:e-p270: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/tmpdjypdcaf.c"
target datalayout = "e-m:e-p270: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/tmp0pmjir1e.c'
source_filename = "/tmp/tmp0pmjir1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GaussLaguerreRule.x5 = internal global [5 x double] [double 0x3FD0DE2C1A6D9D31, double 0x3FF69D4C86AEDC8C, double 0x400CC57ADFE8E452, double 0x401C57DE94035546, double 0x402948170C5AD3CD], align 16
@GaussLaguerreRule.w5 = internal global [5 x double] [double 0x3FE0B238D27EA545, double 0x3FD983C1CCE6951C, double 0x3FB370F6E1C2D4D0, double 0x3F6D96682D29722F, double 0x3EF8815446103D98], align 16
@GaussLaguerreRule.x10 = internal global [10 x double] [double 0x3FC1A33768C970C9, double 0x3FE757B111411ADF, double 0x3FFCEEF8F76EDAB9, double 0x400B3622DEDE64A3, double 0x401635C18C52F60A, double 0x4020A909C7E41380, double 0x4027B004B28537AD, double 0x4030477D70F4EBBC, double 0x4035FF203F6E1D6F, double 0x403DEBB2CCA53DC4], align 16
@GaussLaguerreRule.w10 = internal global [10 x double] [double 0x3FD3BD7FCE3CF5F3, double 0x3FD9ABF2EC5FBA27, double 0x3FCBE9A961CB3158, double 0x3FAFC9ED52DF0E64, double 0x3F837588055DC806, double 0x3F48ACB133884D94, double 0x3EFDA1C7BD225785, double 0x3E9C84440DFB409F, double 0x3E1F9A7DDD2BCDA1, double 0x3D716FE3E009670F], align 16
@GaussLaguerreRule.x20 = internal global [20 x double] [double 0x3FB20EE6F74A60C7, double 0x3FD7D0ED00520387, double 0x3FED54A3FD487771, double 0x3FFB5120A7303920, double 0x4005FE5C2DDDEEBA, double 0x401032197A3BBE90, double 0x401675F06D74AC70, double 0x401DD608ABDF3DDD, double 0x40233054431FA71E, double 0x402813DDED6C6D2E, double 0x402DA0EB11F2E47F, double 0x4031F2EAD11BF39D, double 0x40357A91DDB9BBC7, double 0x403973A2CB543FE6, double 0x403DEEBBE67CE330, double 0x404181B83693C080, double 0x40446AA19D172CF5, double 0x4047CF5BF70688B1, double 0x404BE7C827B7214F, double 0x4050A1900A54C01A], align 16
@GaussLaguerreRule.w20 = internal global [20 x double] [double 0x3FC5997EC5A0A7FB, double 0x3FD2A3E955E889C3, double 0x3FD1116296872233, double 0x3FC53F9181EC9519, double 0x3FB327CD0CA40E5F, double 0x3F999045AFA0D65E, double 0x3F7967D89077AA15, double 0x3F52C25200530A8D, double 0x3F2469D3A4BFC261, double 0x3EF0264AF50D987D, double 0x3EB23A6C64B64BD1, double 0x3E6C9DA992D7A69F, double 0x3E1E33AED8816084, double 0x3DC47B2DB2D35F63, double 0x3D60C635664C02D4, double 0x3CEE613FD36ADC87, double 0x3C6AA20052414DDA, double 0x3BD22CEB8FDEF44A, double 0x3B19904C92D33029, double 0x3A2A3F62E4A099FB], align 16
@.str = private unnamed_addr constant [43 x i8] c"use 5, 10, 20 nodes for GaussLaguerreRule.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GaussLaguerreRule(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp eq i32 %8, 5
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x5, ptr %11, align 8
%12 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w5, ptr %12, align 8
br label %29
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x10, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w10, ptr %18, align 8
br label %28
19: ; preds = %13
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 20
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x20, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w20, ptr %24, align 8
br label %27
25: ; preds = %19
%26 = call i32 @puts(ptr noundef @.str)
store i32 -1, ptr %7, align 4
br label %27
27: ; preds = %25, %22
br label %28
28: ; preds = %27, %16
br label %29
29: ; preds = %28, %10
%30 = load i32, ptr %7, align 4
ret i32 %30
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0pmjir1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GaussLaguerreRule.x5 = internal global [5 x double] [double 0x3FD0DE2C1A6D9D31, double 0x3FF69D4C86AEDC8C, double 0x400CC57ADFE8E452, double 0x401C57DE94035546, double 0x402948170C5AD3CD], align 16
@GaussLaguerreRule.w5 = internal global [5 x double] [double 0x3FE0B238D27EA545, double 0x3FD983C1CCE6951C, double 0x3FB370F6E1C2D4D0, double 0x3F6D96682D29722F, double 0x3EF8815446103D98], align 16
@GaussLaguerreRule.x10 = internal global [10 x double] [double 0x3FC1A33768C970C9, double 0x3FE757B111411ADF, double 0x3FFCEEF8F76EDAB9, double 0x400B3622DEDE64A3, double 0x401635C18C52F60A, double 0x4020A909C7E41380, double 0x4027B004B28537AD, double 0x4030477D70F4EBBC, double 0x4035FF203F6E1D6F, double 0x403DEBB2CCA53DC4], align 16
@GaussLaguerreRule.w10 = internal global [10 x double] [double 0x3FD3BD7FCE3CF5F3, double 0x3FD9ABF2EC5FBA27, double 0x3FCBE9A961CB3158, double 0x3FAFC9ED52DF0E64, double 0x3F837588055DC806, double 0x3F48ACB133884D94, double 0x3EFDA1C7BD225785, double 0x3E9C84440DFB409F, double 0x3E1F9A7DDD2BCDA1, double 0x3D716FE3E009670F], align 16
@GaussLaguerreRule.x20 = internal global [20 x double] [double 0x3FB20EE6F74A60C7, double 0x3FD7D0ED00520387, double 0x3FED54A3FD487771, double 0x3FFB5120A7303920, double 0x4005FE5C2DDDEEBA, double 0x401032197A3BBE90, double 0x401675F06D74AC70, double 0x401DD608ABDF3DDD, double 0x40233054431FA71E, double 0x402813DDED6C6D2E, double 0x402DA0EB11F2E47F, double 0x4031F2EAD11BF39D, double 0x40357A91DDB9BBC7, double 0x403973A2CB543FE6, double 0x403DEEBBE67CE330, double 0x404181B83693C080, double 0x40446AA19D172CF5, double 0x4047CF5BF70688B1, double 0x404BE7C827B7214F, double 0x4050A1900A54C01A], align 16
@GaussLaguerreRule.w20 = internal global [20 x double] [double 0x3FC5997EC5A0A7FB, double 0x3FD2A3E955E889C3, double 0x3FD1116296872233, double 0x3FC53F9181EC9519, double 0x3FB327CD0CA40E5F, double 0x3F999045AFA0D65E, double 0x3F7967D89077AA15, double 0x3F52C25200530A8D, double 0x3F2469D3A4BFC261, double 0x3EF0264AF50D987D, double 0x3EB23A6C64B64BD1, double 0x3E6C9DA992D7A69F, double 0x3E1E33AED8816084, double 0x3DC47B2DB2D35F63, double 0x3D60C635664C02D4, double 0x3CEE613FD36ADC87, double 0x3C6AA20052414DDA, double 0x3BD22CEB8FDEF44A, double 0x3B19904C92D33029, double 0x3A2A3F62E4A099FB], align 16
@.str = private unnamed_addr constant [43 x i8] c"use 5, 10, 20 nodes for GaussLaguerreRule.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GaussLaguerreRule(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp eq i32 %8, 5
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x5, ptr %11, align 8
%12 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w5, ptr %12, align 8
br label %29
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x10, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w10, ptr %18, align 8
br label %28
19: ; preds = %13
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 20
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
store ptr @GaussLaguerreRule.x20, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
store ptr @GaussLaguerreRule.w20, ptr %24, align 8
br label %27
25: ; preds = %19
%26 = call i32 @puts(ptr noundef @.str)
store i32 -1, ptr %7, align 4
br label %27
27: ; preds = %25, %22
br label %28
28: ; preds = %27, %16
br label %29
29: ; preds = %28, %10
%30 = load i32, ptr %7, align 4
ret i32 %30
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2cicays.c'
source_filename = "/tmp/tmpb2cicays.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_cat_c(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 2
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call i64 @realloc(ptr noundef %5, i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
br label %14
14: ; preds = %18, %2
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
br label %14, !llvm.loop !6
21: ; preds = %14
%22 = load i8, ptr %4, align 1
%23 = load ptr, ptr %3, align 8
store i8 %22, ptr %23, align 1
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb2cicays.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_cat_c(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 2
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call i64 @realloc(ptr noundef %5, i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = load i8, ptr %4, align 1
%25 = load ptr, ptr %3, align 8
store i8 %24, ptr %25, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq12y5zfe.c'
source_filename = "/tmp/tmpq12y5zfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_quick_sort_int_free(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/tmpq12y5zfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_quick_sort_int_free(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/tmpbtwmovoc.c'
source_filename = "/tmp/tmpbtwmovoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
br label %5
5: ; preds = %19, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 100
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 2, %13
%15 = add nsw i32 %14, 10
%16 = icmp sge i32 %12, %15
br label %17
17: ; preds = %11, %8, %5
%18 = phi i1 [ false, %8 ], [ false, %5 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %3, align 4
%21 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %21, ptr %2, align 4
br label %5, !llvm.loop !6
22: ; preds = %17
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpbtwmovoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
br label %5
5: ; preds = %19, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 100
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 2, %13
%15 = add nsw i32 %14, 10
%16 = icmp sge i32 %12, %15
br label %17
17: ; preds = %11, %8, %5
%18 = phi i1 [ false, %8 ], [ false, %5 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %3, align 4
%21 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %21, ptr %2, align 4
br label %5, !llvm.loop !6
22: ; preds = %17
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3vdpb7f7.c'
source_filename = "/tmp/tmp3vdpb7f7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %57, %2
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds ptr, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %60
15: ; preds = %8
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
switch i32 %23, label %41 [
i32 94, label %24
i32 43, label %40
]
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %24
br label %57
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load ptr, ptr %5, align 8
%36 = call i32 @fnmatch2(ptr noundef %34, ptr noundef %35, i32 noundef 0)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %28
store i32 1, ptr %7, align 4
br label %39
39: ; preds = %38, %28
br label %56
40: ; preds = %15
store i32 0, ptr %7, align 4
br label %56
41: ; preds = %15
%42 = load i32, ptr %7, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
br label %57
45: ; preds = %41
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load ptr, ptr %5, align 8
%52 = call i32 @fnmatch2(ptr noundef %50, ptr noundef %51, i32 noundef 0)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %45
store i32 1, ptr %3, align 4
br label %61
55: ; preds = %45
br label %56
56: ; preds = %55, %40, %39
br label %57
57: ; preds = %56, %44, %27
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %8, !llvm.loop !6
60: ; preds = %8
store i32 0, ptr %3, align 4
br label %61
61: ; preds = %60, %54
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @fnmatch2(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vdpb7f7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %65
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %56
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %40 [
i32 94, label %23
i32 43, label %39
]
23: ; preds = %14
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %23
br label %56
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = load ptr, ptr %5, align 8
%35 = call i32 @fnmatch2(ptr noundef %33, ptr noundef %34, i32 noundef 0)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %27
store i32 1, ptr %7, align 4
br label %38
38: ; preds = %37, %27
br label %55
39: ; preds = %14
store i32 0, ptr %7, align 4
br label %55
40: ; preds = %14
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
br label %56
44: ; preds = %40
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = call i32 @fnmatch2(ptr noundef %49, ptr noundef %50, i32 noundef 0)
%52 = icmp ne i32 %51, 0
br i1 %52, label %54, label %53
53: ; preds = %44
store i32 1, ptr %3, align 4
br label %66
54: ; preds = %44
br label %55
55: ; preds = %54, %39, %38
br label %56
56: ; preds = %55, %43, %26
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %65
65: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %65, %53
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @fnmatch2(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq0ys2raq.c'
source_filename = "/tmp/tmpq0ys2raq.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Usage: %s <profile file>\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
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 %15
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @read_profile(ptr noundef %18)
%20 = call i32 (...) @generate_frequency_report()
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read_profile(ptr noundef) #1
declare i32 @generate_frequency_report(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpq0ys2raq.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Usage: %s <profile file>\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
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 %15
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @read_profile(ptr noundef %18)
%20 = call i32 (...) @generate_frequency_report()
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read_profile(ptr noundef) #1
declare i32 @generate_frequency_report(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjoo_yuf2.c'
source_filename = "/tmp/tmpjoo_yuf2.c"
target datalayout = "e-m:e-p270: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/tmpjoo_yuf2.c"
target datalayout = "e-m:e-p270: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/tmp9obaq11s.c'
source_filename = "/tmp/tmp9obaq11s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KTraderParse_putString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %1
store ptr null, ptr %2, align 8
br label %92
19: ; preds = %1
br label %20
20: ; preds = %88, %19
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = getelementptr inbounds i8, ptr %25, i64 -1
%27 = icmp ne ptr %21, %26
br i1 %27, label %28, label %89
28: ; preds = %20
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 92
br i1 %32, label %33, label %39
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %6, align 8
%36 = load i8, ptr %34, align 1
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
store i8 %36, ptr %37, align 1
br label %88
39: ; preds = %28
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %6, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = getelementptr inbounds i8, ptr %46, i64 -1
%48 = icmp ne ptr %42, %47
br i1 %48, label %49, label %87
49: ; preds = %39
%50 = load ptr, ptr %6, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 92
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load ptr, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %7, align 8
store i8 92, ptr %55, align 1
br label %84
57: ; preds = %49
%58 = load ptr, ptr %6, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 110
br i1 %61, label %62, label %65
62: ; preds = %57
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %7, align 8
store i8 10, ptr %63, align 1
br label %83
65: ; preds = %57
%66 = load ptr, ptr %6, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 114
br i1 %69, label %70, label %73
70: ; preds = %65
%71 = load ptr, ptr %7, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %7, align 8
store i8 13, ptr %71, align 1
br label %82
73: ; preds = %65
%74 = load ptr, ptr %6, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 116
br i1 %77, label %78, label %81
78: ; preds = %73
%79 = load ptr, ptr %7, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %7, align 8
store i8 9, ptr %79, align 1
br label %81
81: ; preds = %78, %73
br label %82
82: ; preds = %81, %70
br label %83
83: ; preds = %82, %62
br label %84
84: ; preds = %83, %54
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %6, align 8
br label %87
87: ; preds = %84, %39
br label %88
88: ; preds = %87, %33
br label %20, !llvm.loop !6
89: ; preds = %20
%90 = load ptr, ptr %7, align 8
store i8 0, ptr %90, align 1
%91 = load ptr, ptr %5, align 8
store ptr %91, ptr %2, align 8
br label %92
92: ; preds = %89, %18
%93 = load ptr, ptr %2, align 8
ret ptr %93
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9obaq11s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KTraderParse_putString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %1
store ptr null, ptr %2, align 8
br label %98
19: ; preds = %1
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 -1
%26 = icmp ne ptr %20, %25
br i1 %26, label %.lr.ph, label %95
.lr.ph: ; preds = %19
br label %27
27: ; preds = %.lr.ph, %87
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 92
br i1 %31, label %32, label %38
32: ; preds = %27
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %6, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
store i8 %35, ptr %36, align 1
br label %87
38: ; preds = %27
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 -1
%47 = icmp ne ptr %41, %46
br i1 %47, label %48, label %86
48: ; preds = %38
%49 = load ptr, ptr %6, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 92
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load ptr, ptr %7, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %7, align 8
store i8 92, ptr %54, align 1
br label %83
56: ; preds = %48
%57 = load ptr, ptr %6, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 110
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load ptr, ptr %7, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %7, align 8
store i8 10, ptr %62, align 1
br label %82
64: ; preds = %56
%65 = load ptr, ptr %6, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 114
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load ptr, ptr %7, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %7, align 8
store i8 13, ptr %70, align 1
br label %81
72: ; preds = %64
%73 = load ptr, ptr %6, align 8
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 116
br i1 %76, label %77, label %80
77: ; preds = %72
%78 = load ptr, ptr %7, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %7, align 8
store i8 9, ptr %78, align 1
br label %80
80: ; preds = %77, %72
br label %81
81: ; preds = %80, %69
br label %82
82: ; preds = %81, %61
br label %83
83: ; preds = %82, %53
%84 = load ptr, ptr %6, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %6, align 8
br label %86
86: ; preds = %83, %38
br label %87
87: ; preds = %86, %32
%88 = load ptr, ptr %6, align 8
%89 = load ptr, ptr %3, align 8
%90 = load i32, ptr %4, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = getelementptr inbounds i8, ptr %92, i64 -1
%94 = icmp ne ptr %88, %93
br i1 %94, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %95
95: ; preds = %._crit_edge, %19
%96 = load ptr, ptr %7, align 8
store i8 0, ptr %96, align 1
%97 = load ptr, ptr %5, align 8
store ptr %97, ptr %2, align 8
br label %98
98: ; preds = %95, %18
%99 = load ptr, ptr %2, align 8
ret ptr %99
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm0cg60r2.c'
source_filename = "/tmp/tmpm0cg60r2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @aciUpdateCrc16(i16 noundef zeroext %0, ptr noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i16 %0, ptr %4, align 2
store ptr %1, ptr %5, align 8
store i16 %2, ptr %6, align 2
%10 = load i16, ptr %4, align 2
store i16 %10, ptr %7, align 2
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %25, %3
%13 = load i32, ptr %9, align 4
%14 = load i16, ptr %6, align 2
%15 = zext i16 %14 to i32
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load i16, ptr %7, align 2
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call zeroext i16 @aciCrcUpdate(i16 noundef zeroext %18, i8 noundef zeroext %23)
store i16 %24, ptr %7, align 2
br label %25
25: ; preds = %17
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load i16, ptr %7, align 2
ret i16 %29
}
declare zeroext i16 @aciCrcUpdate(i16 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm0cg60r2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @aciUpdateCrc16(i16 noundef zeroext %0, ptr noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i16 %0, ptr %4, align 2
store ptr %1, ptr %5, align 8
store i16 %2, ptr %6, align 2
%10 = load i16, ptr %4, align 2
store i16 %10, ptr %7, align 2
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i16, ptr %6, align 2
%14 = zext i16 %13 to i32
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %24
%17 = load i16, ptr %7, align 2
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call zeroext i16 @aciCrcUpdate(i16 noundef zeroext %17, i8 noundef zeroext %22)
store i16 %23, ptr %7, align 2
br label %24
24: ; preds = %16
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i16, ptr %6, align 2
%29 = zext i16 %28 to i32
%30 = icmp slt i32 %27, %29
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %3
%32 = load i16, ptr %7, align 2
ret i16 %32
}
declare zeroext i16 @aciCrcUpdate(i16 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgebvsyfy.c'
source_filename = "/tmp/tmpgebvsyfy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgebvsyfy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjgh8leiy.c'
source_filename = "/tmp/tmpjgh8leiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ROL(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 @TestBit(i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = shl i32 %6, 1
%8 = load i32, ptr %3, align 4
%9 = or i32 %7, %8
ret i32 %9
}
declare i32 @TestBit(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/tmpjgh8leiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ROL(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 @TestBit(i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = shl i32 %6, 1
%8 = load i32, ptr %3, align 4
%9 = or i32 %7, %8
ret i32 %9
}
declare i32 @TestBit(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/tmp2ze07d_n.c'
source_filename = "/tmp/tmp2ze07d_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_OK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"ERROR: File %s does not exist. Exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_file_exist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %1
ret void
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ze07d_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_OK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"ERROR: File %s does not exist. Exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_file_exist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i64 @access(ptr noundef %3, i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %1
ret void
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.