llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpgzgb1riu.c'
source_filename = "/tmp/tmpgzgb1riu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i 10\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 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 10
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %3
9: ; preds = %3
%10 = call i32 @print(ptr noundef @.str)
%11 = load i32, ptr %2, align 4
%12 = call i32 @printid(i32 noundef %11)
ret i32 0
}
declare i32 @print(ptr noundef) #1
declare i32 @printid(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/tmpgzgb1riu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i 10\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 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 10
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 10
br i1 %9, label %5, label %._crit_edge
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %0
%11 = call i32 @print(ptr noundef @.str)
%12 = load i32, ptr %2, align 4
%13 = call i32 @printid(i32 noundef %12)
ret i32 0
}
declare i32 @print(ptr noundef) #1
declare i32 @printid(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/tmpno6ffs0z.c'
source_filename = "/tmp/tmpno6ffs0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsockopt(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @socketcall(ptr noundef @getsockopt, i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @socketcall(ptr noundef, i32 noundef, i32 noundef, i32 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/tmpno6ffs0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsockopt(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @socketcall(ptr noundef @getsockopt, i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @socketcall(ptr noundef, i32 noundef, i32 noundef, i32 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/tmppu0wma0i.c'
source_filename = "/tmp/tmppu0wma0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call double @atof(ptr noundef %12)
store double %13, ptr %3, align 8
br label %323
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %21, %14
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %6, align 8
br label %16, !llvm.loop !6
24: ; preds = %16
%25 = load ptr, ptr %6, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 43
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %34, label %37
34: ; preds = %29, %24
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
br label %37
37: ; preds = %34, %29
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 0
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 105
br i1 %42, label %49, label %43
43: ; preds = %37
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 73
br i1 %48, label %49, label %145
49: ; preds = %43, %37
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 110
br i1 %54, label %61, label %55
55: ; preds = %49
%56 = load ptr, ptr %6, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 1
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 78
br i1 %60, label %61, label %145
61: ; preds = %55, %49
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 2
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 102
br i1 %66, label %73, label %67
67: ; preds = %61
%68 = load ptr, ptr %6, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 2
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 70
br i1 %72, label %73, label %145
73: ; preds = %67, %61
%74 = load ptr, ptr %6, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 3
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 105
br i1 %78, label %85, label %79
79: ; preds = %73
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 3
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 73
br i1 %84, label %85, label %139
85: ; preds = %79, %73
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 4
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 110
br i1 %90, label %97, label %91
91: ; preds = %85
%92 = load ptr, ptr %6, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 4
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 78
br i1 %96, label %97, label %139
97: ; preds = %91, %85
%98 = load ptr, ptr %6, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 5
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 105
br i1 %102, label %109, label %103
103: ; preds = %97
%104 = load ptr, ptr %6, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 5
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 73
br i1 %108, label %109, label %139
109: ; preds = %103, %97
%110 = load ptr, ptr %6, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 6
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 116
br i1 %114, label %121, label %115
115: ; preds = %109
%116 = load ptr, ptr %6, align 8
%117 = getelementptr inbounds i8, ptr %116, i64 6
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 84
br i1 %120, label %121, label %139
121: ; preds = %115, %109
%122 = load ptr, ptr %6, align 8
%123 = getelementptr inbounds i8, ptr %122, i64 7
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 121
br i1 %126, label %133, label %127
127: ; preds = %121
%128 = load ptr, ptr %6, align 8
%129 = getelementptr inbounds i8, ptr %128, i64 7
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 89
br i1 %132, label %133, label %139
133: ; preds = %127, %121
%134 = load ptr, ptr %6, align 8
%135 = getelementptr inbounds i8, ptr %134, i64 7
%136 = load ptr, ptr %5, align 8
store ptr %135, ptr %136, align 8
%137 = load ptr, ptr %4, align 8
%138 = call double @atof(ptr noundef %137)
store double %138, ptr %3, align 8
br label %323
139: ; preds = %127, %115, %103, %91, %79
%140 = load ptr, ptr %6, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 3
%142 = load ptr, ptr %5, align 8
store ptr %141, ptr %142, align 8
%143 = load ptr, ptr %4, align 8
%144 = call double @atof(ptr noundef %143)
store double %144, ptr %3, align 8
br label %323
145: ; preds = %67, %55, %43
%146 = load ptr, ptr %6, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 0
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 110
br i1 %150, label %157, label %151
151: ; preds = %145
%152 = load ptr, ptr %6, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 0
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 78
br i1 %156, label %157, label %220
157: ; preds = %151, %145
%158 = load ptr, ptr %6, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 1
%160 = load i8, ptr %159, align 1
%161 = sext i8 %160 to i32
%162 = icmp eq i32 %161, 97
br i1 %162, label %169, label %163
163: ; preds = %157
%164 = load ptr, ptr %6, align 8
%165 = getelementptr inbounds i8, ptr %164, i64 1
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 65
br i1 %168, label %169, label %220
169: ; preds = %163, %157
%170 = load ptr, ptr %6, align 8
%171 = getelementptr inbounds i8, ptr %170, i64 2
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 110
br i1 %174, label %181, label %175
175: ; preds = %169
%176 = load ptr, ptr %6, align 8
%177 = getelementptr inbounds i8, ptr %176, i64 2
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp eq i32 %179, 78
br i1 %180, label %181, label %220
181: ; preds = %175, %169
%182 = load ptr, ptr %6, align 8
%183 = getelementptr inbounds i8, ptr %182, i64 3
store ptr %183, ptr %6, align 8
%184 = load ptr, ptr %6, align 8
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 40
br i1 %187, label %188, label %215
188: ; preds = %181
%189 = load ptr, ptr %6, align 8
%190 = getelementptr inbounds i8, ptr %189, i32 1
store ptr %190, ptr %6, align 8
br label %191
191: ; preds = %203, %188
%192 = load ptr, ptr %6, align 8
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp ne i32 %194, 0
br i1 %195, label %196, label %201
196: ; preds = %191
%197 = load ptr, ptr %6, align 8
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp ne i32 %199, 41
br label %201
201: ; preds = %196, %191
%202 = phi i1 [ false, %191 ], [ %200, %196 ]
br i1 %202, label %203, label %206
203: ; preds = %201
%204 = load ptr, ptr %6, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %6, align 8
br label %191, !llvm.loop !8
206: ; preds = %201
%207 = load ptr, ptr %6, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
%210 = icmp eq i32 %209, 41
br i1 %210, label %211, label %214
211: ; preds = %206
%212 = load ptr, ptr %6, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 1
store ptr %213, ptr %6, align 8
br label %214
214: ; preds = %211, %206
br label %215
215: ; preds = %214, %181
%216 = load ptr, ptr %6, align 8
%217 = load ptr, ptr %5, align 8
store ptr %216, ptr %217, align 8
%218 = load ptr, ptr %4, align 8
%219 = call double @atof(ptr noundef %218)
store double %219, ptr %3, align 8
br label %323
220: ; preds = %175, %163, %151
%221 = load ptr, ptr %6, align 8
%222 = load i8, ptr %221, align 1
%223 = call i64 @isdigit(i8 noundef signext %222)
%224 = icmp ne i64 %223, 0
br i1 %224, label %230, label %225
225: ; preds = %220
%226 = load ptr, ptr %6, align 8
%227 = load i8, ptr %226, align 1
%228 = sext i8 %227 to i32
%229 = icmp eq i32 %228, 46
br i1 %229, label %230, label %320
230: ; preds = %225, %220
store i32 0, ptr %7, align 4
br label %231
231: ; preds = %254, %230
%232 = load ptr, ptr %6, align 8
%233 = load i8, ptr %232, align 1
%234 = call i64 @isdigit(i8 noundef signext %233)
%235 = icmp ne i64 %234, 0
br i1 %235, label %246, label %236
236: ; preds = %231
%237 = load i32, ptr %7, align 4
%238 = icmp ne i32 %237, 0
br i1 %238, label %244, label %239
239: ; preds = %236
%240 = load ptr, ptr %6, align 8
%241 = load i8, ptr %240, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 46
br label %244
244: ; preds = %239, %236
%245 = phi i1 [ false, %236 ], [ %243, %239 ]
br label %246
246: ; preds = %244, %231
%247 = phi i1 [ true, %231 ], [ %245, %244 ]
br i1 %247, label %248, label %257
248: ; preds = %246
%249 = load ptr, ptr %6, align 8
%250 = load i8, ptr %249, align 1
%251 = sext i8 %250 to i32
%252 = icmp eq i32 %251, 46
br i1 %252, label %253, label %254
253: ; preds = %248
store i32 1, ptr %7, align 4
br label %254
254: ; preds = %253, %248
%255 = load ptr, ptr %6, align 8
%256 = getelementptr inbounds i8, ptr %255, i32 1
store ptr %256, ptr %6, align 8
br label %231, !llvm.loop !9
257: ; preds = %246
%258 = load ptr, ptr %6, align 8
%259 = load i8, ptr %258, align 1
%260 = sext i8 %259 to i32
%261 = icmp eq i32 %260, 101
br i1 %261, label %267, label %262
262: ; preds = %257
%263 = load ptr, ptr %6, align 8
%264 = load i8, ptr %263, align 1
%265 = sext i8 %264 to i32
%266 = icmp eq i32 %265, 69
br i1 %266, label %267, label %315
267: ; preds = %262, %257
store i32 1, ptr %8, align 4
%268 = load ptr, ptr %6, align 8
%269 = load i32, ptr %8, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds i8, ptr %268, i64 %270
%272 = load i8, ptr %271, align 1
%273 = sext i8 %272 to i32
%274 = icmp eq i32 %273, 43
br i1 %274, label %283, label %275
275: ; preds = %267
%276 = load ptr, ptr %6, align 8
%277 = load i32, ptr %8, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i8, ptr %276, i64 %278
%280 = load i8, ptr %279, align 1
%281 = sext i8 %280 to i32
%282 = icmp eq i32 %281, 45
br i1 %282, label %283, label %286
283: ; preds = %275, %267
%284 = load i32, ptr %8, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %8, align 4
br label %286
286: ; preds = %283, %275
%287 = load ptr, ptr %6, align 8
%288 = load i32, ptr %8, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds i8, ptr %287, i64 %289
%291 = load i8, ptr %290, align 1
%292 = call i64 @isdigit(i8 noundef signext %291)
%293 = icmp ne i64 %292, 0
br i1 %293, label %294, label %314
294: ; preds = %286
br label %295
295: ; preds = %303, %294
%296 = load ptr, ptr %6, align 8
%297 = load i32, ptr %8, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds i8, ptr %296, i64 %298
%300 = load i8, ptr %299, align 1
%301 = call i64 @isdigit(i8 noundef signext %300)
%302 = icmp ne i64 %301, 0
br i1 %302, label %303, label %306
303: ; preds = %295
%304 = load i32, ptr %8, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %8, align 4
br label %295, !llvm.loop !10
306: ; preds = %295
%307 = load ptr, ptr %6, align 8
%308 = load i32, ptr %8, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds i8, ptr %307, i64 %309
%311 = load ptr, ptr %5, align 8
store ptr %310, ptr %311, align 8
%312 = load ptr, ptr %4, align 8
%313 = call double @atof(ptr noundef %312)
store double %313, ptr %3, align 8
br label %323
314: ; preds = %286
br label %315
315: ; preds = %314, %262
%316 = load ptr, ptr %6, align 8
%317 = load ptr, ptr %5, align 8
store ptr %316, ptr %317, align 8
%318 = load ptr, ptr %4, align 8
%319 = call double @atof(ptr noundef %318)
store double %319, ptr %3, align 8
br label %323
320: ; preds = %225
%321 = load ptr, ptr %4, align 8
%322 = load ptr, ptr %5, align 8
store ptr %321, ptr %322, align 8
store double 0.000000e+00, ptr %3, align 8
br label %323
323: ; preds = %320, %315, %306, %215, %139, %133, %11
%324 = load double, ptr %3, align 8
ret double %324
}
declare double @atof(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppu0wma0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call double @atof(ptr noundef %12)
store double %13, ptr %3, align 8
br label %332
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %.lr.ph, label %27
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %20
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = call i64 @isspace(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %14
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 43
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 45
br i1 %36, label %37, label %40
37: ; preds = %32, %27
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %6, align 8
br label %40
40: ; preds = %37, %32
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 105
br i1 %45, label %52, label %46
46: ; preds = %40
%47 = load ptr, ptr %6, 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, 73
br i1 %51, label %52, label %148
52: ; preds = %46, %40
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 110
br i1 %57, label %64, label %58
58: ; preds = %52
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 78
br i1 %63, label %64, label %148
64: ; preds = %58, %52
%65 = load ptr, ptr %6, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 102
br i1 %69, label %76, label %70
70: ; preds = %64
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 2
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 70
br i1 %75, label %76, label %148
76: ; preds = %70, %64
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 3
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 105
br i1 %81, label %88, label %82
82: ; preds = %76
%83 = load ptr, ptr %6, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 3
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 73
br i1 %87, label %88, label %142
88: ; preds = %82, %76
%89 = load ptr, ptr %6, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 4
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 110
br i1 %93, label %100, label %94
94: ; preds = %88
%95 = load ptr, ptr %6, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 4
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 78
br i1 %99, label %100, label %142
100: ; preds = %94, %88
%101 = load ptr, ptr %6, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 5
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 105
br i1 %105, label %112, label %106
106: ; preds = %100
%107 = load ptr, ptr %6, align 8
%108 = getelementptr inbounds i8, ptr %107, i64 5
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 73
br i1 %111, label %112, label %142
112: ; preds = %106, %100
%113 = load ptr, ptr %6, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 6
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 116
br i1 %117, label %124, label %118
118: ; preds = %112
%119 = load ptr, ptr %6, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 6
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 84
br i1 %123, label %124, label %142
124: ; preds = %118, %112
%125 = load ptr, ptr %6, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 7
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp eq i32 %128, 121
br i1 %129, label %136, label %130
130: ; preds = %124
%131 = load ptr, ptr %6, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 7
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 89
br i1 %135, label %136, label %142
136: ; preds = %130, %124
%137 = load ptr, ptr %6, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 7
%139 = load ptr, ptr %5, align 8
store ptr %138, ptr %139, align 8
%140 = load ptr, ptr %4, align 8
%141 = call double @atof(ptr noundef %140)
store double %141, ptr %3, align 8
br label %332
142: ; preds = %130, %118, %106, %94, %82
%143 = load ptr, ptr %6, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 3
%145 = load ptr, ptr %5, align 8
store ptr %144, ptr %145, align 8
%146 = load ptr, ptr %4, align 8
%147 = call double @atof(ptr noundef %146)
store double %147, ptr %3, align 8
br label %332
148: ; preds = %70, %58, %46
%149 = load ptr, ptr %6, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 0
%151 = load i8, ptr %150, align 1
%152 = sext i8 %151 to i32
%153 = icmp eq i32 %152, 110
br i1 %153, label %160, label %154
154: ; preds = %148
%155 = load ptr, ptr %6, align 8
%156 = getelementptr inbounds i8, ptr %155, i64 0
%157 = load i8, ptr %156, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 78
br i1 %159, label %160, label %223
160: ; preds = %154, %148
%161 = load ptr, ptr %6, align 8
%162 = getelementptr inbounds i8, ptr %161, i64 1
%163 = load i8, ptr %162, align 1
%164 = sext i8 %163 to i32
%165 = icmp eq i32 %164, 97
br i1 %165, label %172, label %166
166: ; preds = %160
%167 = load ptr, ptr %6, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 1
%169 = load i8, ptr %168, align 1
%170 = sext i8 %169 to i32
%171 = icmp eq i32 %170, 65
br i1 %171, label %172, label %223
172: ; preds = %166, %160
%173 = load ptr, ptr %6, align 8
%174 = getelementptr inbounds i8, ptr %173, i64 2
%175 = load i8, ptr %174, align 1
%176 = sext i8 %175 to i32
%177 = icmp eq i32 %176, 110
br i1 %177, label %184, label %178
178: ; preds = %172
%179 = load ptr, ptr %6, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 2
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp eq i32 %182, 78
br i1 %183, label %184, label %223
184: ; preds = %178, %172
%185 = load ptr, ptr %6, align 8
%186 = getelementptr inbounds i8, ptr %185, i64 3
store ptr %186, ptr %6, align 8
%187 = load ptr, ptr %6, align 8
%188 = load i8, ptr %187, align 1
%189 = sext i8 %188 to i32
%190 = icmp eq i32 %189, 40
br i1 %190, label %191, label %218
191: ; preds = %184
%192 = load ptr, ptr %6, align 8
%193 = getelementptr inbounds i8, ptr %192, i32 1
store ptr %193, ptr %6, align 8
br label %194
194: ; preds = %206, %191
%195 = load ptr, ptr %6, align 8
%196 = load i8, ptr %195, align 1
%197 = sext i8 %196 to i32
%198 = icmp ne i32 %197, 0
br i1 %198, label %199, label %204
199: ; preds = %194
%200 = load ptr, ptr %6, align 8
%201 = load i8, ptr %200, align 1
%202 = sext i8 %201 to i32
%203 = icmp ne i32 %202, 41
br label %204
204: ; preds = %199, %194
%205 = phi i1 [ false, %194 ], [ %203, %199 ]
br i1 %205, label %206, label %209
206: ; preds = %204
%207 = load ptr, ptr %6, align 8
%208 = getelementptr inbounds i8, ptr %207, i32 1
store ptr %208, ptr %6, align 8
br label %194, !llvm.loop !8
209: ; preds = %204
%210 = load ptr, ptr %6, align 8
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %212, 41
br i1 %213, label %214, label %217
214: ; preds = %209
%215 = load ptr, ptr %6, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %6, align 8
br label %217
217: ; preds = %214, %209
br label %218
218: ; preds = %217, %184
%219 = load ptr, ptr %6, align 8
%220 = load ptr, ptr %5, align 8
store ptr %219, ptr %220, align 8
%221 = load ptr, ptr %4, align 8
%222 = call double @atof(ptr noundef %221)
store double %222, ptr %3, align 8
br label %332
223: ; preds = %178, %166, %154
%224 = load ptr, ptr %6, align 8
%225 = load i8, ptr %224, align 1
%226 = call i64 @isdigit(i8 noundef signext %225)
%227 = icmp ne i64 %226, 0
br i1 %227, label %233, label %228
228: ; preds = %223
%229 = load ptr, ptr %6, align 8
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = icmp eq i32 %231, 46
br i1 %232, label %233, label %329
233: ; preds = %228, %223
store i32 0, ptr %7, align 4
br label %234
234: ; preds = %257, %233
%235 = load ptr, ptr %6, align 8
%236 = load i8, ptr %235, align 1
%237 = call i64 @isdigit(i8 noundef signext %236)
%238 = icmp ne i64 %237, 0
br i1 %238, label %249, label %239
239: ; preds = %234
%240 = load i32, ptr %7, align 4
%241 = icmp ne i32 %240, 0
br i1 %241, label %247, label %242
242: ; preds = %239
%243 = load ptr, ptr %6, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 46
br label %247
247: ; preds = %242, %239
%248 = phi i1 [ false, %239 ], [ %246, %242 ]
br label %249
249: ; preds = %247, %234
%250 = phi i1 [ true, %234 ], [ %248, %247 ]
br i1 %250, label %251, label %260
251: ; preds = %249
%252 = load ptr, ptr %6, align 8
%253 = load i8, ptr %252, align 1
%254 = sext i8 %253 to i32
%255 = icmp eq i32 %254, 46
br i1 %255, label %256, label %257
256: ; preds = %251
store i32 1, ptr %7, align 4
br label %257
257: ; preds = %256, %251
%258 = load ptr, ptr %6, align 8
%259 = getelementptr inbounds i8, ptr %258, i32 1
store ptr %259, ptr %6, align 8
br label %234, !llvm.loop !9
260: ; preds = %249
%261 = load ptr, ptr %6, align 8
%262 = load i8, ptr %261, align 1
%263 = sext i8 %262 to i32
%264 = icmp eq i32 %263, 101
br i1 %264, label %270, label %265
265: ; preds = %260
%266 = load ptr, ptr %6, align 8
%267 = load i8, ptr %266, align 1
%268 = sext i8 %267 to i32
%269 = icmp eq i32 %268, 69
br i1 %269, label %270, label %324
270: ; preds = %265, %260
store i32 1, ptr %8, align 4
%271 = load ptr, ptr %6, align 8
%272 = load i32, ptr %8, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds i8, ptr %271, i64 %273
%275 = load i8, ptr %274, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 43
br i1 %277, label %286, label %278
278: ; preds = %270
%279 = load ptr, ptr %6, align 8
%280 = load i32, ptr %8, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds i8, ptr %279, i64 %281
%283 = load i8, ptr %282, align 1
%284 = sext i8 %283 to i32
%285 = icmp eq i32 %284, 45
br i1 %285, label %286, label %289
286: ; preds = %278, %270
%287 = load i32, ptr %8, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %8, align 4
br label %289
289: ; preds = %286, %278
%290 = load ptr, ptr %6, align 8
%291 = load i32, ptr %8, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %290, i64 %292
%294 = load i8, ptr %293, align 1
%295 = call i64 @isdigit(i8 noundef signext %294)
%296 = icmp ne i64 %295, 0
br i1 %296, label %297, label %323
297: ; preds = %289
%298 = load ptr, ptr %6, align 8
%299 = load i32, ptr %8, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds i8, ptr %298, i64 %300
%302 = load i8, ptr %301, align 1
%303 = call i64 @isdigit(i8 noundef signext %302)
%304 = icmp ne i64 %303, 0
br i1 %304, label %.lr.ph2, label %315
.lr.ph2: ; preds = %297
br label %305
305: ; preds = %.lr.ph2, %305
%306 = load i32, ptr %8, align 4
%307 = add nsw i32 %306, 1
store i32 %307, ptr %8, align 4
%308 = load ptr, ptr %6, align 8
%309 = load i32, ptr %8, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds i8, ptr %308, i64 %310
%312 = load i8, ptr %311, align 1
%313 = call i64 @isdigit(i8 noundef signext %312)
%314 = icmp ne i64 %313, 0
br i1 %314, label %305, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %305
br label %315
315: ; preds = %._crit_edge3, %297
%316 = load ptr, ptr %6, align 8
%317 = load i32, ptr %8, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds i8, ptr %316, i64 %318
%320 = load ptr, ptr %5, align 8
store ptr %319, ptr %320, align 8
%321 = load ptr, ptr %4, align 8
%322 = call double @atof(ptr noundef %321)
store double %322, ptr %3, align 8
br label %332
323: ; preds = %289
br label %324
324: ; preds = %323, %265
%325 = load ptr, ptr %6, align 8
%326 = load ptr, ptr %5, align 8
store ptr %325, ptr %326, align 8
%327 = load ptr, ptr %4, align 8
%328 = call double @atof(ptr noundef %327)
store double %328, ptr %3, align 8
br label %332
329: ; preds = %228
%330 = load ptr, ptr %4, align 8
%331 = load ptr, ptr %5, align 8
store ptr %330, ptr %331, align 8
store double 0.000000e+00, ptr %3, align 8
br label %332
332: ; preds = %329, %324, %315, %218, %142, %136, %11
%333 = load double, ptr %3, align 8
ret double %333
}
declare double @atof(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyjdnq515.c'
source_filename = "/tmp/tmpyjdnq515.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AHallo Welt!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjdnq515.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AHallo Welt!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptu277_w4.c'
source_filename = "/tmp/tmptu277_w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_close\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_close() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptu277_w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_close\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_close() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8lirutzq.c'
source_filename = "/tmp/tmp8lirutzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGUSR1 = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mascheraSegnaliThread() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIGINT, align 4
%4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3)
%5 = load i32, ptr @SIGUSR1, align 4
%6 = call i32 @sigaddset(ptr noundef %1, i32 noundef %5)
%7 = load i32, ptr @SIGTERM, align 4
%8 = call i32 @sigaddset(ptr noundef %1, i32 noundef %7)
%9 = load i32, ptr @SIG_SETMASK, align 4
%10 = call i32 @pthread_sigmask(i32 noundef %9, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @pthread_sigmask(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/tmp8lirutzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGUSR1 = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mascheraSegnaliThread() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIGINT, align 4
%4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3)
%5 = load i32, ptr @SIGUSR1, align 4
%6 = call i32 @sigaddset(ptr noundef %1, i32 noundef %5)
%7 = load i32, ptr @SIGTERM, align 4
%8 = call i32 @sigaddset(ptr noundef %1, i32 noundef %7)
%9 = load i32, ptr @SIG_SETMASK, align 4
%10 = call i32 @pthread_sigmask(i32 noundef %9, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @pthread_sigmask(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/tmpsrznkoqb.c'
source_filename = "/tmp/tmpsrznkoqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Make directory error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Folder(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %48, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %51
11: ; preds = %4
%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 eq i32 %17, 47
br i1 %18, label %27, label %19
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 eq i32 %25, 92
br i1 %26, label %27, label %47
27: ; preds = %19, %11
%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
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr @S_IRWXU, align 4
%34 = load i32, ptr @S_IRGRP, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr @S_IXGRP, align 4
%37 = or i32 %35, %36
%38 = call i64 @mkdir(ptr noundef %32, i32 noundef %37)
%39 = icmp sgt i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %27
%41 = call i32 @Exit(ptr noundef @.str)
br label %42
42: ; preds = %40, %27
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 47, ptr %46, align 1
br label %47
47: ; preds = %42, %19
br label %48
48: ; preds = %47
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
br label %4, !llvm.loop !6
51: ; preds = %4
ret void
}
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @Exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsrznkoqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Make directory error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Folder(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %56
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %47
%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 eq i32 %16, 47
br i1 %17, label %26, label %18
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 eq i32 %24, 92
br i1 %25, label %26, label %46
26: ; preds = %18, %10
%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
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr @S_IRWXU, align 4
%33 = load i32, ptr @S_IRGRP, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @S_IXGRP, align 4
%36 = or i32 %34, %35
%37 = call i64 @mkdir(ptr noundef %31, i32 noundef %36)
%38 = icmp sgt i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %26
%40 = call i32 @Exit(ptr noundef @.str)
br label %41
41: ; preds = %39, %26
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 47, ptr %45, align 1
br label %46
46: ; preds = %41, %18
br label %47
47: ; preds = %46
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = icmp ne i8 %54, 0
br i1 %55, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %56
56: ; preds = %._crit_edge, %1
ret void
}
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @Exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd716zmw6.c'
source_filename = "/tmp/tmpd716zmw6.c"
target datalayout = "e-m:e-p270: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/tmpd716zmw6.c"
target datalayout = "e-m:e-p270: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/tmpktkt3t8e.c'
source_filename = "/tmp/tmpktkt3t8e.c"
target datalayout = "e-m:e-p270: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_7__ = type { i32 }
@TRUE = dso_local global i64 0, align 8
@FALSE = dso_local global i64 0, align 8
@UINT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"xdr_array: out of memory\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @xdr_array(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, 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 ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %15, align 8
%21 = load i64, ptr @TRUE, align 8
store i64 %21, ptr %17, align 8
%22 = load ptr, ptr %8, align 8
%23 = load ptr, ptr %10, align 8
%24 = call i32 @xdr_u_int(ptr noundef %22, ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %6
%27 = load i64, ptr @FALSE, align 8
store i64 %27, ptr %7, align 8
br label %116
28: ; preds = %6
%29 = load ptr, ptr %10, align 8
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %16, align 4
%31 = load i32, ptr %16, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %40, label %34
34: ; preds = %28
%35 = load i32, ptr %16, align 4
%36 = load i32, ptr @UINT_MAX, align 4
%37 = load i32, ptr %12, align 4
%38 = sdiv i32 %36, %37
%39 = icmp sgt i32 %35, %38
br i1 %39, label %40, label %47
40: ; preds = %34, %28
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.TYPE_7__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 128
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = load i64, ptr @FALSE, align 8
store i64 %46, ptr %7, align 8
br label %116
47: ; preds = %40, %34
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %12, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %18, align 4
%51 = load ptr, ptr %15, align 8
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %81
53: ; preds = %47
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.TYPE_7__, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 4
switch i32 %56, label %79 [
i32 129, label %57
i32 128, label %77
]
57: ; preds = %53
%58 = load i32, ptr %16, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = load i64, ptr @TRUE, align 8
store i64 %61, ptr %7, align 8
br label %116
62: ; preds = %57
%63 = load i32, ptr %18, align 4
%64 = call ptr @mem_alloc(i32 noundef %63)
store ptr %64, ptr %15, align 8
%65 = load ptr, ptr %9, align 8
store ptr %64, ptr %65, align 8
%66 = load ptr, ptr %15, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %73
68: ; preds = %62
%69 = call i32 @_(ptr noundef @.str)
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fputs(i32 noundef %69, i32 noundef %70)
%72 = load i64, ptr @FALSE, align 8
store i64 %72, ptr %7, align 8
br label %116
73: ; preds = %62
%74 = load ptr, ptr %15, align 8
%75 = load i32, ptr %18, align 4
%76 = call i32 @memset(ptr noundef %74, i32 noundef 0, i32 noundef %75)
br label %80
77: ; preds = %53
%78 = load i64, ptr @TRUE, align 8
store i64 %78, ptr %7, align 8
br label %116
79: ; preds = %53
br label %80
80: ; preds = %79, %73
br label %81
81: ; preds = %80, %47
store i32 0, ptr %14, align 4
br label %82
82: ; preds = %100, %81
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %16, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %89
86: ; preds = %82
%87 = load i64, ptr %17, align 8
%88 = icmp ne i64 %87, 0
br label %89
89: ; preds = %86, %82
%90 = phi i1 [ false, %82 ], [ %88, %86 ]
br i1 %90, label %91, label %103
91: ; preds = %89
%92 = load ptr, ptr %13, align 8
%93 = load ptr, ptr %8, align 8
%94 = load ptr, ptr %15, align 8
%95 = call i64 %92(ptr noundef %93, ptr noundef %94, i32 noundef -1)
store i64 %95, ptr %17, align 8
%96 = load i32, ptr %12, align 4
%97 = load ptr, ptr %15, align 8
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i32, ptr %97, i64 %98
store ptr %99, ptr %15, align 8
br label %100
100: ; preds = %91
%101 = load i32, ptr %14, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %14, align 4
br label %82, !llvm.loop !6
103: ; preds = %89
%104 = load ptr, ptr %8, align 8
%105 = getelementptr inbounds %struct.TYPE_7__, ptr %104, i32 0, i32 0
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 128
br i1 %107, label %108, label %114
108: ; preds = %103
%109 = load ptr, ptr %9, align 8
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %18, align 4
%112 = call i32 @mem_free(ptr noundef %110, i32 noundef %111)
%113 = load ptr, ptr %9, align 8
store ptr null, ptr %113, align 8
br label %114
114: ; preds = %108, %103
%115 = load i64, ptr %17, align 8
store i64 %115, ptr %7, align 8
br label %116
116: ; preds = %114, %77, %68, %60, %45, %26
%117 = load i64, ptr %7, align 8
ret i64 %117
}
declare i32 @xdr_u_int(ptr noundef, ptr noundef) #1
declare ptr @mem_alloc(i32 noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @_(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mem_free(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/tmpktkt3t8e.c"
target datalayout = "e-m:e-p270: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_7__ = type { i32 }
@TRUE = dso_local global i64 0, align 8
@FALSE = dso_local global i64 0, align 8
@UINT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"xdr_array: out of memory\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @xdr_array(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, 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 ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %15, align 8
%21 = load i64, ptr @TRUE, align 8
store i64 %21, ptr %17, align 8
%22 = load ptr, ptr %8, align 8
%23 = load ptr, ptr %10, align 8
%24 = call i32 @xdr_u_int(ptr noundef %22, ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %6
%27 = load i64, ptr @FALSE, align 8
store i64 %27, ptr %7, align 8
br label %116
28: ; preds = %6
%29 = load ptr, ptr %10, align 8
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %16, align 4
%31 = load i32, ptr %16, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %40, label %34
34: ; preds = %28
%35 = load i32, ptr %16, align 4
%36 = load i32, ptr @UINT_MAX, align 4
%37 = load i32, ptr %12, align 4
%38 = sdiv i32 %36, %37
%39 = icmp sgt i32 %35, %38
br i1 %39, label %40, label %47
40: ; preds = %34, %28
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.TYPE_7__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 128
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = load i64, ptr @FALSE, align 8
store i64 %46, ptr %7, align 8
br label %116
47: ; preds = %40, %34
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %12, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %18, align 4
%51 = load ptr, ptr %15, align 8
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %81
53: ; preds = %47
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.TYPE_7__, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 4
switch i32 %56, label %79 [
i32 129, label %57
i32 128, label %77
]
57: ; preds = %53
%58 = load i32, ptr %16, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = load i64, ptr @TRUE, align 8
store i64 %61, ptr %7, align 8
br label %116
62: ; preds = %57
%63 = load i32, ptr %18, align 4
%64 = call ptr @mem_alloc(i32 noundef %63)
store ptr %64, ptr %15, align 8
%65 = load ptr, ptr %9, align 8
store ptr %64, ptr %65, align 8
%66 = load ptr, ptr %15, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %73
68: ; preds = %62
%69 = call i32 @_(ptr noundef @.str)
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fputs(i32 noundef %69, i32 noundef %70)
%72 = load i64, ptr @FALSE, align 8
store i64 %72, ptr %7, align 8
br label %116
73: ; preds = %62
%74 = load ptr, ptr %15, align 8
%75 = load i32, ptr %18, align 4
%76 = call i32 @memset(ptr noundef %74, i32 noundef 0, i32 noundef %75)
br label %80
77: ; preds = %53
%78 = load i64, ptr @TRUE, align 8
store i64 %78, ptr %7, align 8
br label %116
79: ; preds = %53
br label %80
80: ; preds = %79, %73
br label %81
81: ; preds = %80, %47
store i32 0, ptr %14, align 4
br label %82
82: ; preds = %100, %81
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %16, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %89
86: ; preds = %82
%87 = load i64, ptr %17, align 8
%88 = icmp ne i64 %87, 0
br label %89
89: ; preds = %86, %82
%90 = phi i1 [ false, %82 ], [ %88, %86 ]
br i1 %90, label %91, label %103
91: ; preds = %89
%92 = load ptr, ptr %13, align 8
%93 = load ptr, ptr %8, align 8
%94 = load ptr, ptr %15, align 8
%95 = call i64 %92(ptr noundef %93, ptr noundef %94, i32 noundef -1)
store i64 %95, ptr %17, align 8
%96 = load i32, ptr %12, align 4
%97 = load ptr, ptr %15, align 8
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i32, ptr %97, i64 %98
store ptr %99, ptr %15, align 8
br label %100
100: ; preds = %91
%101 = load i32, ptr %14, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %14, align 4
br label %82, !llvm.loop !6
103: ; preds = %89
%104 = load ptr, ptr %8, align 8
%105 = getelementptr inbounds %struct.TYPE_7__, ptr %104, i32 0, i32 0
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 128
br i1 %107, label %108, label %114
108: ; preds = %103
%109 = load ptr, ptr %9, align 8
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %18, align 4
%112 = call i32 @mem_free(ptr noundef %110, i32 noundef %111)
%113 = load ptr, ptr %9, align 8
store ptr null, ptr %113, align 8
br label %114
114: ; preds = %108, %103
%115 = load i64, ptr %17, align 8
store i64 %115, ptr %7, align 8
br label %116
116: ; preds = %114, %77, %68, %60, %45, %26
%117 = load i64, ptr %7, align 8
ret i64 %117
}
declare i32 @xdr_u_int(ptr noundef, ptr noundef) #1
declare ptr @mem_alloc(i32 noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @_(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mem_free(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/tmpneppfwju.c'
source_filename = "/tmp/tmpneppfwju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @capi20_get_message(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i64 (...) @loadlib()
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 4105, ptr %3, align 4
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fptr_capi20_get_message(i32 noundef %10, ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %9, %8
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i64 @loadlib(...) #1
declare i32 @fptr_capi20_get_message(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/tmpneppfwju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @capi20_get_message(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i64 (...) @loadlib()
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 4105, ptr %3, align 4
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fptr_capi20_get_message(i32 noundef %10, ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %9, %8
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i64 @loadlib(...) #1
declare i32 @fptr_capi20_get_message(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/tmprk0cnbcd.c'
source_filename = "/tmp/tmprk0cnbcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sep_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 32)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr null, %11
br i1 %12, label %13, label %23
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %7, align 8
store i8 0, ptr %14, align 1
%16 = load ptr, ptr %7, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr null, %18
br i1 %19, label %20, label %22
20: ; preds = %13
%21 = load ptr, ptr %8, align 8
store i8 0, ptr %21, align 1
br label %22
22: ; preds = %20, %13
br label %31
23: ; preds = %3
%24 = load ptr, ptr %4, align 8
%25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str)
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ne ptr null, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load ptr, ptr %7, align 8
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %28, %23
br label %31
31: ; preds = %30, %22
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strstr(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprk0cnbcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sep_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 32)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr null, %11
br i1 %12, label %13, label %23
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %7, align 8
store i8 0, ptr %14, align 1
%16 = load ptr, ptr %7, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr null, %18
br i1 %19, label %20, label %22
20: ; preds = %13
%21 = load ptr, ptr %8, align 8
store i8 0, ptr %21, align 1
br label %22
22: ; preds = %20, %13
br label %31
23: ; preds = %3
%24 = load ptr, ptr %4, align 8
%25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str)
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ne ptr null, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load ptr, ptr %7, align 8
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %28, %23
br label %31
31: ; preds = %30, %22
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strstr(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpmagegjmv.c'
source_filename = "/tmp/tmpmagegjmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmpmagegjmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmpdos3cqnu.c'
source_filename = "/tmp/tmpdos3cqnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdos3cqnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptfeq02p4.c'
source_filename = "/tmp/tmptfeq02p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseArgs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %21, %2
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %24
14: ; preds = %9
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %19, %14
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
br label %9, !llvm.loop !6
24: ; preds = %9
br label %25
25: ; preds = %51, %24
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %26, %27
br i1 %28, label %29, label %54
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %44
32: ; preds = %29
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
%35 = call i64 @isgraph(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %44
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %7, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = zext i32 %40 to i64
%43 = getelementptr inbounds ptr, ptr %39, i64 %42
store ptr %38, ptr %43, align 8
store i32 0, ptr %6, align 4
br label %51
44: ; preds = %32, %29
%45 = load ptr, ptr %3, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %44
store i32 1, ptr %6, align 4
br label %50
50: ; preds = %49, %44
br label %51
51: ; preds = %50, %37
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %3, align 8
br label %25, !llvm.loop !8
54: ; preds = %25
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = zext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
store ptr null, ptr %58, align 8
ret void
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isgraph(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptfeq02p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseArgs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %20
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %18, %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %3, align 8
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %28, %29
br i1 %30, label %.lr.ph2, label %59
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %53
%32 = load i32, ptr %6, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %46
34: ; preds = %31
%35 = load ptr, ptr %3, align 8
%36 = load i8, ptr %35, align 1
%37 = call i64 @isgraph(i8 noundef signext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %46
39: ; preds = %34
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %7, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = zext i32 %42 to i64
%45 = getelementptr inbounds ptr, ptr %41, i64 %44
store ptr %40, ptr %45, align 8
store i32 0, ptr %6, align 4
br label %53
46: ; preds = %34, %31
%47 = load ptr, ptr %3, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %46
store i32 1, ptr %6, align 4
br label %52
52: ; preds = %51, %46
br label %53
53: ; preds = %52, %39
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %3, align 8
%56 = load ptr, ptr %3, align 8
%57 = load ptr, ptr %5, align 8
%58 = icmp ne ptr %56, %57
br i1 %58, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %27
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %7, align 4
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
store ptr null, ptr %63, align 8
ret void
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isgraph(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0ed7n454.c'
source_filename = "/tmp/tmp0ed7n454.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PlayWavDesc(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 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @PlayWavOffsetDesc(ptr noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef %9)
ret i32 %10
}
declare i32 @PlayWavOffsetDesc(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ed7n454.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PlayWavDesc(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 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @PlayWavOffsetDesc(ptr noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef %9)
ret i32 %10
}
declare i32 @PlayWavOffsetDesc(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppofzqyhi.c'
source_filename = "/tmp/tmppofzqyhi.c"
target datalayout = "e-m:e-p270: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/tmppofzqyhi.c"
target datalayout = "e-m:e-p270: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/tmp55uvww3w.c'
source_filename = "/tmp/tmp55uvww3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @bcopy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @bcopy(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/tmp55uvww3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @bcopy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @bcopy(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/tmp0de635e1.c'
source_filename = "/tmp/tmp0de635e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"udp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connectUDP(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 i32 @connect_sock(ptr noundef %5, i32 noundef %6, ptr noundef @.str)
ret i32 %7
}
declare i32 @connect_sock(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0de635e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"udp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connectUDP(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 i32 @connect_sock(ptr noundef %5, i32 noundef %6, ptr noundef @.str)
ret i32 %7
}
declare i32 @connect_sock(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"}
|
; ModuleID = '/tmp/tmpvtgd96cb.c'
source_filename = "/tmp/tmpvtgd96cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = 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/tmpvtgd96cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = 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/tmpjgu9fwvp.c'
source_filename = "/tmp/tmpjgu9fwvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: len = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s: beginning loop\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"%s: done. sum = %d; time delta = %llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %79
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %10, align 4
%25 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %8, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 4
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
store ptr %35, ptr %9, align 8
store i32 0, ptr %12, align 4
br label %36
36: ; preds = %53, %16
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %56
40: ; preds = %36
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 128
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
%47 = load i32, ptr %12, align 4
%48 = add nsw i32 %47, 64
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %12, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 %48, ptr %52, align 4
br label %53
53: ; preds = %40
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
br label %36, !llvm.loop !6
56: ; preds = %36
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 0
%59 = load ptr, ptr %58, align 8
%60 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %59)
%61 = call i64 (...) @cpucycles()
store i64 %61, ptr %6, align 8
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %10, align 4
%65 = call i32 @loop(ptr noundef %62, ptr noundef %63, i32 noundef %64)
store i32 %65, ptr %11, align 4
%66 = call i64 (...) @cpucycles()
store i64 %66, ptr %7, align 8
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 0
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %11, align 4
%71 = load i64, ptr %7, align 8
%72 = load i64, ptr %6, align 8
%73 = sub nsw i64 %71, %72
%74 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %69, i32 noundef %70, i64 noundef %73)
%75 = load ptr, ptr %8, align 8
%76 = call i32 @free(ptr noundef %75)
%77 = load ptr, ptr %9, align 8
%78 = call i32 @free(ptr noundef %77)
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %56, %15
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @cpucycles(...) #1
declare i32 @loop(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpjgu9fwvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: len = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s: beginning loop\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"%s: done. sum = %d; time delta = %llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %81
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %10, align 4
%25 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %8, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 4
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
store ptr %35, ptr %9, align 8
store i32 0, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %58
.lr.ph: ; preds = %16
br label %39
39: ; preds = %.lr.ph, %52
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 128
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %46, 64
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %12, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %52
52: ; preds = %39
%53 = load i32, ptr %12, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %12, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %10, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %16
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 0
%61 = load ptr, ptr %60, align 8
%62 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %61)
%63 = call i64 (...) @cpucycles()
store i64 %63, ptr %6, align 8
%64 = load ptr, ptr %8, align 8
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %10, align 4
%67 = call i32 @loop(ptr noundef %64, ptr noundef %65, i32 noundef %66)
store i32 %67, ptr %11, align 4
%68 = call i64 (...) @cpucycles()
store i64 %68, ptr %7, align 8
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 0
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %11, align 4
%73 = load i64, ptr %7, align 8
%74 = load i64, ptr %6, align 8
%75 = sub nsw i64 %73, %74
%76 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %71, i32 noundef %72, i64 noundef %75)
%77 = load ptr, ptr %8, align 8
%78 = call i32 @free(ptr noundef %77)
%79 = load ptr, ptr %9, align 8
%80 = call i32 @free(ptr noundef %79)
store i32 0, ptr %3, align 4
br label %81
81: ; preds = %58, %15
%82 = load i32, ptr %3, align 4
ret i32 %82
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @cpucycles(...) #1
declare i32 @loop(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwshqj7e3.c'
source_filename = "/tmp/tmpwshqj7e3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spx_utils_str_starts_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i64 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
%10 = icmp eq i64 0, %9
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @strncmp(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwshqj7e3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spx_utils_str_starts_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i64 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
%10 = icmp eq i64 0, %9
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @strncmp(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp239sawl9.c'
source_filename = "/tmp/tmp239sawl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Enter N: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The tribonacci number at position %d is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @init()
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @tribonacci(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @init(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @tribonacci(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/tmp239sawl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Enter N: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The tribonacci number at position %d is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @init()
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @tribonacci(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @init(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @tribonacci(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/tmpr14h6954.c'
source_filename = "/tmp/tmpr14h6954.c"
target datalayout = "e-m:e-p270: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/tmpr14h6954.c"
target datalayout = "e-m:e-p270: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/tmpan77w98c.c'
source_filename = "/tmp/tmpan77w98c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"argc=%d (argc => size of argv array)\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"argv[%d]=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, 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 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
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/tmpan77w98c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"argc=%d (argc => size of argv array)\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"argv[%d]=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
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/tmpxxqv27v5.c'
source_filename = "/tmp/tmpxxqv27v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @STRTOK(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @strtok(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strtok(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/tmpxxqv27v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @STRTOK(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @strtok(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strtok(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/tmpe321746n.c'
source_filename = "/tmp/tmpe321746n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sacode: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SacodeHeap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 2, ptr %6, align 4
br label %7
7: ; preds = %45, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %69
11: ; preds = %7
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %31
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp slt i32 %20, %26
br i1 %27, label %28, label %31
28: ; preds = %15
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %31
31: ; preds = %28, %15, %11
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %6, align 4
%34 = sdiv i32 %33, 2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %32, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp sge i32 %37, %42
br i1 %43, label %44, label %45
44: ; preds = %31
br label %69
45: ; preds = %31
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %6, align 4
%48 = sdiv i32 %47, 2
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %46, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %5, align 4
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %6, align 4
%59 = sdiv i32 %58, 2
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %57, i64 %60
store i32 %56, ptr %61, align 4
%62 = load i32, ptr %5, align 4
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %62, ptr %66, align 4
%67 = load i32, ptr %6, align 4
%68 = mul nsw i32 %67, 2
store i32 %68, ptr %6, align 4
br label %7, !llvm.loop !6
69: ; preds = %44, %7
%70 = load ptr, ptr %4, align 8
%71 = call i32 @debug(ptr noundef @.str, ptr noundef %70)
ret void
}
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe321746n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sacode: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SacodeHeap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %44
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %20, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %19, %25
br i1 %26, label %27, label %30
27: ; preds = %14
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %27, %14, %10
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = sdiv i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %31, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp sge i32 %36, %41
br i1 %42, label %43, label %44
43: ; preds = %30
br label %71
44: ; preds = %30
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = sdiv i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %45, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %5, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %6, align 4
%58 = sdiv i32 %57, 2
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store i32 %55, ptr %60, align 4
%61 = load i32, ptr %5, align 4
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
store i32 %61, ptr %65, align 4
%66 = load i32, ptr %6, align 4
%67 = mul nsw i32 %66, 2
store i32 %67, ptr %6, align 4
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %71
71: ; preds = %.loopexit, %43
%72 = load ptr, ptr %4, align 8
%73 = call i32 @debug(ptr noundef @.str, ptr noundef %72)
ret void
}
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3nf4vnah.c'
source_filename = "/tmp/tmp3nf4vnah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nf4vnah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmo_uh7q4.c'
source_filename = "/tmp/tmpmo_uh7q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @dec2hex(i32 noundef %6)
ret i32 0
}
declare i32 @dec2hex(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/tmpmo_uh7q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @dec2hex(i32 noundef %6)
ret i32 0
}
declare i32 @dec2hex(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/tmp6u75u2cf.c'
source_filename = "/tmp/tmp6u75u2cf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printIncSeq(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
br label %17
17: ; preds = %13, %4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %53
21: ; preds = %17
store i32 0, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %7, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %33
32: ; preds = %21
store i32 1, ptr %9, align 4
br label %33
33: ; preds = %32, %24
br label %34
34: ; preds = %49, %33
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %52
38: ; preds = %34
%39 = load i32, ptr %9, align 4
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
store i32 %39, ptr %43, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
%48 = load ptr, ptr %8, align 8
call void @printIncSeq(i32 noundef %44, i32 noundef %45, i32 noundef %47, ptr noundef %48)
br label %49
49: ; preds = %38
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
br label %34, !llvm.loop !6
52: ; preds = %34
br label %53
53: ; preds = %52, %17
ret void
}
declare i32 @printArr(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/tmp6u75u2cf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printIncSeq(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
br label %17
17: ; preds = %13, %4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %55
21: ; preds = %17
store i32 0, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %7, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %33
32: ; preds = %21
store i32 1, ptr %9, align 4
br label %33
33: ; preds = %32, %24
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %.lr.ph, label %54
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %48
%38 = load i32, ptr %9, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
store i32 %38, ptr %42, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
%47 = load ptr, ptr %8, align 8
call void @printIncSeq(i32 noundef %43, i32 noundef %44, i32 noundef %46, ptr noundef %47)
br label %48
48: ; preds = %37
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp sle i32 %51, %52
br i1 %53, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %33
br label %55
55: ; preds = %54, %17
ret void
}
declare i32 @printArr(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/tmpv1695p1a.c'
source_filename = "/tmp/tmpv1695p1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 4
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @close_terminal()
br label %17
17: ; preds = %15, %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = call i32 @start_kmc_server(ptr noundef %19)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @close_terminal(...) #1
declare i32 @start_kmc_server(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1695p1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 4
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @close_terminal()
br label %17
17: ; preds = %15, %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = call i32 @start_kmc_server(ptr noundef %19)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @close_terminal(...) #1
declare i32 @start_kmc_server(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn5ild_2s.c'
source_filename = "/tmp/tmpn5ild_2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-h\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opt_help(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 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %12, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5ild_2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-h\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opt_help(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 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %13, %12, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp45a22rm3.c'
source_filename = "/tmp/tmp45a22rm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateGPIORetentionEnable() #0 {
%1 = load volatile i64, ptr inttoptr (i64 1074774032 to ptr), align 8
%2 = or i64 %1, 1073742080
store volatile i64 %2, ptr inttoptr (i64 1074774032 to ptr), align 8
%3 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45a22rm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateGPIORetentionEnable() #0 {
%1 = load volatile i64, ptr inttoptr (i64 1074774032 to ptr), align 8
%2 = or i64 %1, 1073742080
store volatile i64 %2, ptr inttoptr (i64 1074774032 to ptr), align 8
%3 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0nnz1zjq.c'
source_filename = "/tmp/tmp0nnz1zjq.c"
target datalayout = "e-m:e-p270: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/tmp0nnz1zjq.c"
target datalayout = "e-m:e-p270: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/tmpxvy3gwuh.c'
source_filename = "/tmp/tmpxvy3gwuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sudoku.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"loaded\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"after solve\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %32, %12
%14 = load i32, ptr %3, align 4
%15 = icmp sle i32 %14, 50
br i1 %15, label %16, label %35
16: ; preds = %13
%17 = call ptr (...) @new_sudoku()
store ptr %17, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @load_puzzle(i32 noundef %18, ptr noundef %19, ptr noundef %20)
%22 = load i32, ptr %3, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @print_puzzle(i32 noundef %22, ptr noundef @.str.2, ptr noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = call i32 @sudoku_solve(ptr noundef %25, ptr noundef null)
%27 = load i32, ptr %3, align 4
%28 = load ptr, ptr %4, align 8
%29 = call i32 @print_puzzle(i32 noundef %27, ptr noundef @.str.3, ptr noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = call i32 @sudoku_free(ptr noundef %30)
br label %32
32: ; preds = %16
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %13, !llvm.loop !6
35: ; preds = %13
%36 = load i32, ptr @EXIT_SUCCESS, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @new_sudoku(...) #1
declare i32 @load_puzzle(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @print_puzzle(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sudoku_solve(ptr noundef, ptr noundef) #1
declare i32 @sudoku_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxvy3gwuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sudoku.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"loaded\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"after solve\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
store i32 1, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %13, 50
br i1 %14, label %.lr.ph, label %36
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %31
%16 = call ptr (...) @new_sudoku()
store ptr %16, ptr %4, align 8
%17 = load i32, ptr %3, align 4
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @load_puzzle(i32 noundef %17, ptr noundef %18, ptr noundef %19)
%21 = load i32, ptr %3, align 4
%22 = load ptr, ptr %4, align 8
%23 = call i32 @print_puzzle(i32 noundef %21, ptr noundef @.str.2, ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @sudoku_solve(ptr noundef %24, ptr noundef null)
%26 = load i32, ptr %3, align 4
%27 = load ptr, ptr %4, align 8
%28 = call i32 @print_puzzle(i32 noundef %26, ptr noundef @.str.3, ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = call i32 @sudoku_free(ptr noundef %29)
br label %31
31: ; preds = %15
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp sle i32 %34, 50
br i1 %35, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %12
%37 = load i32, ptr @EXIT_SUCCESS, align 4
%38 = call i32 @exit(i32 noundef %37) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @new_sudoku(...) #1
declare i32 @load_puzzle(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @print_puzzle(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sudoku_solve(ptr noundef, ptr noundef) #1
declare i32 @sudoku_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbzfzymk3.c'
source_filename = "/tmp/tmpbzfzymk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%s : Line %d : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ModuleLineMessage(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 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret void
}
declare i32 @printf(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzfzymk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%s : Line %d : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ModuleLineMessage(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 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret void
}
declare i32 @printf(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmppj6jiwfm.c'
source_filename = "/tmp/tmppj6jiwfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @ft_add_prime(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @ft_add_prime(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppj6jiwfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @ft_add_prime(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @ft_add_prime(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa_977plk.c'
source_filename = "/tmp/tmpa_977plk.c"
target datalayout = "e-m:e-p270: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/tmpa_977plk.c"
target datalayout = "e-m:e-p270: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/tmp0y8x5u7j.c'
source_filename = "/tmp/tmp0y8x5u7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @free_grid_and_return(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free_grid_mem(ptr noundef %5)
%7 = load i32, ptr %4, align 4
ret i32 %7
}
declare i32 @free_grid_mem(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0y8x5u7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @free_grid_and_return(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free_grid_mem(ptr noundef %5)
%7 = load i32, ptr %4, align 4
ret i32 %7
}
declare i32 @free_grid_mem(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_1bl7tp.c'
source_filename = "/tmp/tmpm_1bl7tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [11 x i8] c"%.1f %.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %9, %0
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @log(i32 noundef %11)
%13 = sdiv i32 %10, %12
%14 = sitofp i32 %13 to double
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = fmul double 1.255060e+00, %15
store double %16, ptr %4, align 8
%17 = load double, ptr %3, align 8
%18 = load double, ptr %4, align 8
%19 = call i32 @printf(ptr noundef @.str.1, double noundef %17, double noundef %18)
br label %5, !llvm.loop !6
20: ; preds = %5
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_1bl7tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [11 x i8] c"%.1f %.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i64, ptr @EOF, align 8
%7 = icmp ne i64 %5, %6
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @log(i32 noundef %10)
%12 = sdiv i32 %9, %11
%13 = sitofp i32 %12 to double
store double %13, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = fmul double 1.255060e+00, %14
store double %15, ptr %4, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %4, align 8
%18 = call i32 @printf(ptr noundef @.str.1, double noundef %16, double noundef %17)
%19 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%20 = load i64, ptr @EOF, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %22
22: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3h9u0l13.c'
source_filename = "/tmp/tmp3h9u0l13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @case_buf_str() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @buf_new(ptr noundef null)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @buf_str(ptr noundef %3)
%5 = call i64 @strcmp(i32 noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @buf_puts(ptr noundef %9, ptr noundef @.str.1)
%11 = load ptr, ptr %1, align 8
%12 = call i32 @buf_str(ptr noundef %11)
%13 = call i64 @strcmp(i32 noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load ptr, ptr %1, align 8
%18 = call i32 @buf_free(ptr noundef %17)
ret void
}
declare ptr @buf_new(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @buf_str(ptr noundef) #1
declare i32 @buf_puts(ptr noundef, ptr noundef) #1
declare i32 @buf_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/tmp3h9u0l13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @case_buf_str() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @buf_new(ptr noundef null)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @buf_str(ptr noundef %3)
%5 = call i64 @strcmp(i32 noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @buf_puts(ptr noundef %9, ptr noundef @.str.1)
%11 = load ptr, ptr %1, align 8
%12 = call i32 @buf_str(ptr noundef %11)
%13 = call i64 @strcmp(i32 noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load ptr, ptr %1, align 8
%18 = call i32 @buf_free(ptr noundef %17)
ret void
}
declare ptr @buf_new(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @buf_str(ptr noundef) #1
declare i32 @buf_puts(ptr noundef, ptr noundef) #1
declare i32 @buf_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/tmpnn_uwypn.c'
source_filename = "/tmp/tmpnn_uwypn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnn_uwypn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpphpcsoxz.c'
source_filename = "/tmp/tmpphpcsoxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Most significant digit is \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"%d, and least significant digit is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 10
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7, i32 noundef %9)
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/tmpphpcsoxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Most significant digit is \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"%d, and least significant digit is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 10
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7, i32 noundef %9)
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/tmpymbyk2yk.c'
source_filename = "/tmp/tmpymbyk2yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_replace_dobldobl_solution(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %5, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %8, align 8
%17 = call i32 @_ada_use_c2phc4c(i32 noundef 345, ptr noundef %6, ptr noundef %15, ptr noundef %16, i32 noundef 0)
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %10, align 4
ret i32 %18
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymbyk2yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_replace_dobldobl_solution(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %5, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %8, align 8
%17 = call i32 @_ada_use_c2phc4c(i32 noundef 345, ptr noundef %6, ptr noundef %15, ptr noundef %16, i32 noundef 0)
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %10, align 4
ret i32 %18
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_s4vdpsg.c'
source_filename = "/tmp/tmp_s4vdpsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_s4vdpsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjmt_pnay.c'
source_filename = "/tmp/tmpjmt_pnay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR60\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR60_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjmt_pnay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMR60\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR60_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvl4gvr7n.c'
source_filename = "/tmp/tmpvl4gvr7n.c"
target datalayout = "e-m:e-p270: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/tmpvl4gvr7n.c"
target datalayout = "e-m:e-p270: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/tmptz1piwn4.c'
source_filename = "/tmp/tmptz1piwn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"\0A **** maxpostSource = %u, maxpostComputed = %u\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0A **** minpostSource = %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseAllPostingList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%23 = load i32, ptr %13, align 4
%24 = icmp ult i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %6
store i32 1, ptr %7, align 4
br label %161
26: ; preds = %6
%27 = load ptr, ptr %12, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 0
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %16, align 4
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
%32 = load i32, ptr %31, align 4
%33 = add i32 %32, 0
%34 = load ptr, ptr %11, align 8
store i32 %33, ptr %34, align 4
%35 = load i32, ptr %16, align 4
%36 = zext i32 %35 to i64
%37 = mul i64 4, %36
%38 = trunc i64 %37 to i32
%39 = call i64 @myMalloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %15, align 8
%41 = load i32, ptr %16, align 4
%42 = zext i32 %41 to i64
%43 = mul i64 8, %42
%44 = trunc i64 %43 to i32
%45 = call i64 @myMalloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %14, align 8
store i32 2, ptr %19, align 4
store i32 999999999, ptr %21, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %17, align 4
br label %47
47: ; preds = %132, %26
%48 = load i32, ptr %17, align 4
%49 = load i32, ptr %16, align 4
%50 = icmp ult i32 %48, %49
br i1 %50, label %51, label %135
51: ; preds = %47
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr %19, align 4
%54 = add i32 %53, 1
store i32 %54, ptr %19, align 4
%55 = zext i32 %53 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %20, align 4
%58 = load ptr, ptr %15, align 8
%59 = load i32, ptr %17, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
%62 = load i32, ptr %20, align 4
%63 = zext i32 %62 to i64
%64 = mul i64 4, %63
%65 = trunc i64 %64 to i32
%66 = call i64 @myMalloc(i32 noundef %65)
%67 = inttoptr i64 %66 to ptr
%68 = load ptr, ptr %14, align 8
%69 = load i32, ptr %17, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
store ptr %67, ptr %71, align 8
store i32 0, ptr %18, align 4
br label %72
72: ; preds = %128, %51
%73 = load i32, ptr %18, align 4
%74 = load i32, ptr %20, align 4
%75 = icmp ult i32 %73, %74
br i1 %75, label %76, label %131
76: ; preds = %72
%77 = load ptr, ptr %12, align 8
%78 = load i32, ptr %19, align 4
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %21, align 4
%83 = icmp ult i32 %81, %82
br i1 %83, label %84, label %90
84: ; preds = %76
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %19, align 4
%87 = zext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
store i32 %89, ptr %21, align 4
br label %90
90: ; preds = %84, %76
%91 = load ptr, ptr %12, align 8
%92 = load i32, ptr %19, align 4
%93 = add i32 %92, 1
store i32 %93, ptr %19, align 4
%94 = zext i32 %92 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %95, align 4
%97 = add i32 0, %96
%98 = load ptr, ptr %14, align 8
%99 = load i32, ptr %17, align 4
%100 = zext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %18, align 4
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
store i32 %97, ptr %105, align 4
%106 = load ptr, ptr %14, align 8
%107 = load i32, ptr %17, align 4
%108 = zext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %18, align 4
%112 = zext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
%114 = load i32, ptr %113, align 4
%115 = load i32, ptr %22, align 4
%116 = icmp ugt i32 %114, %115
br i1 %116, label %117, label %127
117: ; preds = %90
%118 = load ptr, ptr %14, align 8
%119 = load i32, ptr %17, align 4
%120 = zext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %118, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %18, align 4
%124 = zext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
%126 = load i32, ptr %125, align 4
store i32 %126, ptr %22, align 4
br label %127
127: ; preds = %117, %90
br label %128
128: ; preds = %127
%129 = load i32, ptr %18, align 4
%130 = add i32 %129, 1
store i32 %130, ptr %18, align 4
br label %72, !llvm.loop !6
131: ; preds = %72
br label %132
132: ; preds = %131
%133 = load i32, ptr %17, align 4
%134 = add i32 %133, 1
store i32 %134, ptr %17, align 4
br label %47, !llvm.loop !8
135: ; preds = %47
%136 = load i32, ptr %22, align 4
%137 = load ptr, ptr %11, align 8
%138 = load i32, ptr %137, align 4
%139 = icmp ugt i32 %136, %138
br i1 %139, label %140, label %143
140: ; preds = %135
%141 = load i32, ptr %22, align 4
%142 = load ptr, ptr %11, align 8
store i32 %141, ptr %142, align 4
br label %143
143: ; preds = %140, %135
%144 = load ptr, ptr %11, align 8
%145 = load i32, ptr %144, align 4
%146 = load i32, ptr %22, align 4
%147 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %145, i32 noundef %146)
%148 = load i32, ptr %21, align 4
%149 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %148)
%150 = load i32, ptr %13, align 4
%151 = load i32, ptr %19, align 4
%152 = icmp ne i32 %150, %151
br i1 %152, label %153, label %154
153: ; preds = %143
store i32 31, ptr %7, align 4
br label %161
154: ; preds = %143
%155 = load i32, ptr %16, align 4
%156 = load ptr, ptr %8, align 8
store i32 %155, ptr %156, align 4
%157 = load ptr, ptr %15, align 8
%158 = load ptr, ptr %9, align 8
store ptr %157, ptr %158, align 8
%159 = load ptr, ptr %14, align 8
%160 = load ptr, ptr %10, align 8
store ptr %159, ptr %160, align 8
store i32 0, ptr %7, align 4
br label %161
161: ; preds = %154, %153, %25
%162 = load i32, ptr %7, align 4
ret i32 %162
}
declare i64 @myMalloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptz1piwn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"\0A **** maxpostSource = %u, maxpostComputed = %u\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0A **** minpostSource = %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseAllPostingList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%23 = load i32, ptr %13, align 4
%24 = icmp ult i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %6
store i32 1, ptr %7, align 4
br label %165
26: ; preds = %6
%27 = load ptr, ptr %12, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 0
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %16, align 4
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
%32 = load i32, ptr %31, align 4
%33 = add i32 %32, 0
%34 = load ptr, ptr %11, align 8
store i32 %33, ptr %34, align 4
%35 = load i32, ptr %16, align 4
%36 = zext i32 %35 to i64
%37 = mul i64 4, %36
%38 = trunc i64 %37 to i32
%39 = call i64 @myMalloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %15, align 8
%41 = load i32, ptr %16, align 4
%42 = zext i32 %41 to i64
%43 = mul i64 8, %42
%44 = trunc i64 %43 to i32
%45 = call i64 @myMalloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %14, align 8
store i32 2, ptr %19, align 4
store i32 999999999, ptr %21, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %17, align 4
%47 = load i32, ptr %17, align 4
%48 = load i32, ptr %16, align 4
%49 = icmp ult i32 %47, %48
br i1 %49, label %.lr.ph2, label %139
.lr.ph2: ; preds = %26
br label %50
50: ; preds = %.lr.ph2, %133
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %19, align 4
%53 = add i32 %52, 1
store i32 %53, ptr %19, align 4
%54 = zext i32 %52 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %20, align 4
%57 = load ptr, ptr %15, align 8
%58 = load i32, ptr %17, align 4
%59 = zext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store i32 %56, ptr %60, align 4
%61 = load i32, ptr %20, align 4
%62 = zext i32 %61 to i64
%63 = mul i64 4, %62
%64 = trunc i64 %63 to i32
%65 = call i64 @myMalloc(i32 noundef %64)
%66 = inttoptr i64 %65 to ptr
%67 = load ptr, ptr %14, align 8
%68 = load i32, ptr %17, align 4
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
store ptr %66, ptr %70, align 8
store i32 0, ptr %18, align 4
%71 = load i32, ptr %18, align 4
%72 = load i32, ptr %20, align 4
%73 = icmp ult i32 %71, %72
br i1 %73, label %.lr.ph, label %132
.lr.ph: ; preds = %50
br label %74
74: ; preds = %.lr.ph, %126
%75 = load ptr, ptr %12, align 8
%76 = load i32, ptr %19, align 4
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load i32, ptr %21, align 4
%81 = icmp ult i32 %79, %80
br i1 %81, label %82, label %88
82: ; preds = %74
%83 = load ptr, ptr %12, align 8
%84 = load i32, ptr %19, align 4
%85 = zext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
store i32 %87, ptr %21, align 4
br label %88
88: ; preds = %82, %74
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %19, align 4
%91 = add i32 %90, 1
store i32 %91, ptr %19, align 4
%92 = zext i32 %90 to i64
%93 = getelementptr inbounds i32, ptr %89, i64 %92
%94 = load i32, ptr %93, align 4
%95 = add i32 0, %94
%96 = load ptr, ptr %14, align 8
%97 = load i32, ptr %17, align 4
%98 = zext i32 %97 to i64
%99 = getelementptr inbounds ptr, ptr %96, i64 %98
%100 = load ptr, ptr %99, align 8
%101 = load i32, ptr %18, align 4
%102 = zext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
store i32 %95, ptr %103, align 4
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %17, align 4
%106 = zext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = load i32, ptr %18, align 4
%110 = zext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %108, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load i32, ptr %22, align 4
%114 = icmp ugt i32 %112, %113
br i1 %114, label %115, label %125
115: ; preds = %88
%116 = load ptr, ptr %14, align 8
%117 = load i32, ptr %17, align 4
%118 = zext i32 %117 to i64
%119 = getelementptr inbounds ptr, ptr %116, i64 %118
%120 = load ptr, ptr %119, align 8
%121 = load i32, ptr %18, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %22, align 4
br label %125
125: ; preds = %115, %88
br label %126
126: ; preds = %125
%127 = load i32, ptr %18, align 4
%128 = add i32 %127, 1
store i32 %128, ptr %18, align 4
%129 = load i32, ptr %18, align 4
%130 = load i32, ptr %20, align 4
%131 = icmp ult i32 %129, %130
br i1 %131, label %74, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %126
br label %132
132: ; preds = %._crit_edge, %50
br label %133
133: ; preds = %132
%134 = load i32, ptr %17, align 4
%135 = add i32 %134, 1
store i32 %135, ptr %17, align 4
%136 = load i32, ptr %17, align 4
%137 = load i32, ptr %16, align 4
%138 = icmp ult i32 %136, %137
br i1 %138, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %133
br label %139
139: ; preds = %._crit_edge3, %26
%140 = load i32, ptr %22, align 4
%141 = load ptr, ptr %11, align 8
%142 = load i32, ptr %141, align 4
%143 = icmp ugt i32 %140, %142
br i1 %143, label %144, label %147
144: ; preds = %139
%145 = load i32, ptr %22, align 4
%146 = load ptr, ptr %11, align 8
store i32 %145, ptr %146, align 4
br label %147
147: ; preds = %144, %139
%148 = load ptr, ptr %11, align 8
%149 = load i32, ptr %148, align 4
%150 = load i32, ptr %22, align 4
%151 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %149, i32 noundef %150)
%152 = load i32, ptr %21, align 4
%153 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %152)
%154 = load i32, ptr %13, align 4
%155 = load i32, ptr %19, align 4
%156 = icmp ne i32 %154, %155
br i1 %156, label %157, label %158
157: ; preds = %147
store i32 31, ptr %7, align 4
br label %165
158: ; preds = %147
%159 = load i32, ptr %16, align 4
%160 = load ptr, ptr %8, align 8
store i32 %159, ptr %160, align 4
%161 = load ptr, ptr %15, align 8
%162 = load ptr, ptr %9, align 8
store ptr %161, ptr %162, align 8
%163 = load ptr, ptr %14, align 8
%164 = load ptr, ptr %10, align 8
store ptr %163, ptr %164, align 8
store i32 0, ptr %7, align 4
br label %165
165: ; preds = %158, %157, %25
%166 = load i32, ptr %7, align 4
ret i32 %166
}
declare i64 @myMalloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_f4o40c4.c'
source_filename = "/tmp/tmp_f4o40c4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f4o40c4.c"
target datalayout = "e-m:e-p270: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/tmp08vvhj4d.c'
source_filename = "/tmp/tmp08vvhj4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Usage: dga <day> <month> <year> <seed>\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Example: dga 14 5 2015 b6354bc3\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 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 = icmp ne i32 %5, 5
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 3
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 4
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strtoul(ptr noundef %26, ptr noundef null, i32 noundef 16)
%28 = call i32 @dga(i32 noundef %15, i32 noundef %19, i32 noundef %23, i32 noundef %27, i32 noundef 40)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @dga(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @strtoul(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" }
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/tmp08vvhj4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Usage: dga <day> <month> <year> <seed>\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Example: dga 14 5 2015 b6354bc3\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 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 = icmp ne i32 %5, 5
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 3
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 4
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strtoul(ptr noundef %26, ptr noundef null, i32 noundef 16)
%28 = call i32 @dga(i32 noundef %15, i32 noundef %19, i32 noundef %23, i32 noundef %27, i32 noundef 40)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @dga(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @strtoul(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" }
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/tmprnpn5egr.c'
source_filename = "/tmp/tmprnpn5egr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binsearch2(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %8, align 4
br label %12
12: ; preds = %38, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %39
17: ; preds = %12
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %9, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp slt i32 %26, %31
br i1 %32, label %33, label %36
33: ; preds = %17
%34 = load i32, ptr %9, align 4
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %38
36: ; preds = %17
%37 = load i32, ptr %9, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %36, %33
br label %12, !llvm.loop !6
39: ; preds = %12
%40 = load i32, ptr %4, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp eq i32 %40, %45
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = load i32, ptr %7, align 4
br label %50
49: ; preds = %39
br label %50
50: ; preds = %49, %47
%51 = phi i32 [ %48, %47 ], [ -1, %49 ]
ret i32 %51
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprnpn5egr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binsearch2(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %37
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %17, %18
%20 = sdiv i32 %19, 2
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %25, %30
br i1 %31, label %32, label %35
32: ; preds = %16
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, 1
store i32 %34, ptr %8, align 4
br label %37
35: ; preds = %16
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %7, align 4
br label %37
37: ; preds = %35, %32
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 %39, 1
%41 = icmp slt i32 %38, %40
br i1 %41, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %3
%43 = load i32, ptr %4, align 4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp eq i32 %43, %48
br i1 %49, label %50, label %52
50: ; preds = %42
%51 = load i32, ptr %7, align 4
br label %53
52: ; preds = %42
br label %53
53: ; preds = %52, %50
%54 = phi i32 [ %51, %50 ], [ -1, %52 ]
ret i32 %54
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphaigh89p.c'
source_filename = "/tmp/tmphaigh89p.c"
target datalayout = "e-m:e-p270: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/tmphaigh89p.c"
target datalayout = "e-m:e-p270: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/tmpdrqsytj7.c'
source_filename = "/tmp/tmpdrqsytj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %12, %13
br i1 %14, label %15, label %32
15: ; preds = %3
store i64 0, ptr %9, align 8
br label %16
16: ; preds = %28, %15
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = load ptr, ptr %8, align 8
%22 = load i64, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load volatile i8, ptr %23, align 1
%25 = load ptr, ptr %7, align 8
%26 = load i64, ptr %9, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store volatile i8 %24, ptr %27, align 1
br label %28
28: ; preds = %20
%29 = load i64, ptr %9, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %9, align 8
br label %16, !llvm.loop !6
31: ; preds = %16
br label %32
32: ; preds = %31, %3
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpdrqsytj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %12, %13
br i1 %14, label %15, label %34
15: ; preds = %3
store i64 0, ptr %9, align 8
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %27
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load volatile i8, ptr %22, align 1
%24 = load ptr, ptr %7, align 8
%25 = load i64, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store volatile i8 %23, ptr %26, align 1
br label %27
27: ; preds = %19
%28 = load i64, ptr %9, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i64, ptr %6, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %15
br label %34
34: ; preds = %33, %3
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxdgcvt8x.c'
source_filename = "/tmp/tmpxdgcvt8x.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"%s <a = ascending | b = descending>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxdgcvt8x.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"%s <a = ascending | b = descending>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprq_ihgjn.c'
source_filename = "/tmp/tmprq_ihgjn.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"dF3\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"F(:,:,%d) = [ ...\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"; ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"];\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compute_range_bingham_dF3_3d(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %11, align 4
br label %18
18: ; preds = %103, %4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %106
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = fneg double %27
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = fmul double %28, %33
store double %34, ptr %14, align 8
%35 = load i32, ptr %11, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
store i32 0, ptr %9, align 4
br label %37
37: ; preds = %96, %22
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %99
41: ; preds = %37
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.2)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 @fflush(i32 noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = fneg double %50
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = fmul double %51, %56
store double %57, ptr %12, align 8
store i32 0, ptr %10, align 4
br label %58
58: ; preds = %91, %41
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %94
62: ; preds = %58
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load double, ptr %66, align 8
%68 = fneg double %67
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = fmul double %68, %73
store double %74, ptr %13, align 8
%75 = load double, ptr %12, align 8
%76 = load double, ptr %13, align 8
%77 = fcmp ole double %75, %76
br i1 %77, label %78, label %87
78: ; preds = %62
%79 = load double, ptr %13, align 8
%80 = load double, ptr %14, align 8
%81 = fcmp ole double %79, %80
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = load double, ptr %12, align 8
%84 = load double, ptr %13, align 8
%85 = load double, ptr %14, align 8
%86 = call double @bingham_dF3_3d(double noundef %83, double noundef %84, double noundef %85)
br label %88
87: ; preds = %78, %62
br label %88
88: ; preds = %87, %82
%89 = phi double [ %86, %82 ], [ 0.000000e+00, %87 ]
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %89)
br label %91
91: ; preds = %88
%92 = load i32, ptr %10, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %10, align 4
br label %58, !llvm.loop !6
94: ; preds = %58
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %96
96: ; preds = %94
%97 = load i32, ptr %9, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %9, align 4
br label %37, !llvm.loop !8
99: ; preds = %37
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%101 = load i32, ptr @stderr, align 4
%102 = call i32 @fprintf(i32 noundef %101, ptr noundef @.str.6)
br label %103
103: ; preds = %99
%104 = load i32, ptr %11, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %11, align 4
br label %18, !llvm.loop !9
106: ; preds = %18
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare double @bingham_dF3_3d(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprq_ihgjn.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"dF3\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"F(:,:,%d) = [ ...\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"; ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"];\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compute_range_bingham_dF3_3d(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph5, label %112
.lr.ph5: ; preds = %4
br label %21
21: ; preds = %.lr.ph5, %106
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %11, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = fneg double %26
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = fmul double %27, %32
store double %33, ptr %14, align 8
%34 = load i32, ptr %11, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
store i32 0, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %102
.lr.ph2: ; preds = %21
br label %39
39: ; preds = %.lr.ph2, %96
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.2)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fflush(i32 noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = fneg double %48
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = fmul double %49, %54
store double %55, ptr %12, align 8
store i32 0, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph, label %94
.lr.ph: ; preds = %39
br label %59
59: ; preds = %.lr.ph, %88
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = fneg double %64
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
%70 = load double, ptr %69, align 8
%71 = fmul double %65, %70
store double %71, ptr %13, align 8
%72 = load double, ptr %12, align 8
%73 = load double, ptr %13, align 8
%74 = fcmp ole double %72, %73
br i1 %74, label %75, label %84
75: ; preds = %59
%76 = load double, ptr %13, align 8
%77 = load double, ptr %14, align 8
%78 = fcmp ole double %76, %77
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load double, ptr %12, align 8
%81 = load double, ptr %13, align 8
%82 = load double, ptr %14, align 8
%83 = call double @bingham_dF3_3d(double noundef %80, double noundef %81, double noundef %82)
br label %85
84: ; preds = %75, %59
br label %85
85: ; preds = %84, %79
%86 = phi double [ %83, %79 ], [ 0.000000e+00, %84 ]
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %86)
br label %88
88: ; preds = %85
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %10, align 4
%91 = load i32, ptr %10, align 4
%92 = load i32, ptr %6, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %94
94: ; preds = %._crit_edge, %39
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %96
96: ; preds = %94
%97 = load i32, ptr %9, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %9, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %6, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %96
br label %102
102: ; preds = %._crit_edge3, %21
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%104 = load i32, ptr @stderr, align 4
%105 = call i32 @fprintf(i32 noundef %104, ptr noundef @.str.6)
br label %106
106: ; preds = %102
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
%109 = load i32, ptr %11, align 4
%110 = load i32, ptr %8, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %21, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %106
br label %112
112: ; preds = %._crit_edge6, %4
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare double @bingham_dF3_3d(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpym_r2wfu.c'
source_filename = "/tmp/tmpym_r2wfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpym_r2wfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9wbbcebt.c'
source_filename = "/tmp/tmp9wbbcebt.c"
target datalayout = "e-m:e-p270: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/tmp9wbbcebt.c"
target datalayout = "e-m:e-p270: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/tmpmauw9opx.c'
source_filename = "/tmp/tmpmauw9opx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_file(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmauw9opx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_file(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqz8soyvg.c'
source_filename = "/tmp/tmpqz8soyvg.c"
target datalayout = "e-m:e-p270: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/tmpqz8soyvg.c"
target datalayout = "e-m:e-p270: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/tmpq8ds_1bj.c'
source_filename = "/tmp/tmpq8ds_1bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_function_call(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @test_function_call(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %10)
ret i32 0
}
declare i32 @__emit_expression_range(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8ds_1bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_function_call(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @test_function_call(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %10)
ret i32 0
}
declare i32 @__emit_expression_range(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2ki5sbw5.c'
source_filename = "/tmp/tmp2ki5sbw5.c"
target datalayout = "e-m:e-p270: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/tmp2ki5sbw5.c"
target datalayout = "e-m:e-p270: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/tmpcn17423u.c'
source_filename = "/tmp/tmpcn17423u.c"
target datalayout = "e-m:e-p270: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/tmpcn17423u.c"
target datalayout = "e-m:e-p270: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/tmp3i2whrsr.c'
source_filename = "/tmp/tmp3i2whrsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmp3i2whrsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmp6ij9tuyw.c'
source_filename = "/tmp/tmp6ij9tuyw.c"
target datalayout = "e-m:e-p270: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/tmp6ij9tuyw.c"
target datalayout = "e-m:e-p270: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/tmpi2f1_lis.c'
source_filename = "/tmp/tmpi2f1_lis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngf_proplist_free_keys(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
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/tmpi2f1_lis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngf_proplist_free_keys(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
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/tmpp81c8oxa.c'
source_filename = "/tmp/tmpp81c8oxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Please enter integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"a[%i][%j]=\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"sum=%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x [3 x i32]], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %28, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %9, label %31
9: ; preds = %6
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %24, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %27
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [3 x [3 x i32]], ptr %1, i64 0, i64 %18
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %13
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %10, !llvm.loop !6
27: ; preds = %10
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %6, !llvm.loop !8
31: ; preds = %6
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %45, %31
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 3
br i1 %34, label %35, label %48
35: ; preds = %32
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [3 x [3 x i32]], ptr %1, i64 0, i64 %37
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [3 x i32], ptr %38, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %35
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
br label %32, !llvm.loop !9
48: ; preds = %32
%49 = load i32, ptr %2, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49)
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp81c8oxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Please enter integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"a[%i][%j]=\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"sum=%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x [3 x i32]], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %.lr.ph2, label %33
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %28
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %22
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [3 x [3 x i32]], ptr %1, i64 0, i64 %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19
%21 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %11
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 3
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %8
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 3
br i1 %32, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %0
store i32 0, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %.lr.ph5, label %51
.lr.ph5: ; preds = %33
br label %36
36: ; preds = %.lr.ph5, %46
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [3 x [3 x i32]], ptr %1, i64 0, i64 %38
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %2, align 4
br label %46
46: ; preds = %36
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %3, align 4
%50 = icmp slt i32 %49, 3
br i1 %50, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %46
br label %51
51: ; preds = %._crit_edge6, %33
%52 = load i32, ptr %2, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %52)
ret void
}
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvht3gurx.c'
source_filename = "/tmp/tmpvht3gurx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"divide error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_exception_divide() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
br label %2
}
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/tmpvht3gurx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"divide error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_exception_divide() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
br label %2
}
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/tmpgyvo56d0.c'
source_filename = "/tmp/tmpgyvo56d0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Cleanup: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgyvo56d0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Cleanup: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkzre9csc.c'
source_filename = "/tmp/tmpkzre9csc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Input a number > 100 in hex:\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"bit = 1\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"bit = 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 -100, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 100
br label %11
11: ; preds = %8, %0
%12 = phi i1 [ false, %0 ], [ %10, %8 ]
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.2, ptr @.str.3
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%17 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %3)
br label %18
18: ; preds = %33, %11
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %36
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = shl i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %24, 9
br i1 %25, label %26, label %33
26: ; preds = %21
%27 = load i32, ptr %3, align 4
%28 = and i32 %27, 1
%29 = icmp ne i32 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, ptr @.str.6, ptr @.str.7
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31)
br label %33
33: ; preds = %26, %21
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %18, !llvm.loop !6
36: ; preds = %18
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkzre9csc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Input a number > 100 in hex:\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"bit = 1\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"bit = 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 -100, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 100
br label %11
11: ; preds = %8, %0
%12 = phi i1 [ false, %0 ], [ %10, %8 ]
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.2, ptr @.str.3
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%17 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %3)
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %11
br label %20
20: ; preds = %.lr.ph, %32
%21 = load i32, ptr %3, align 4
%22 = shl i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 9
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = load i32, ptr %3, align 4
%27 = and i32 %26, 1
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i64
%30 = select i1 %28, ptr @.str.6, ptr @.str.7
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30)
br label %32
32: ; preds = %25, %20
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 10
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk3xrfhn6.c'
source_filename = "/tmp/tmpk3xrfhn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @umalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 (...) @abort() #5
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %2, align 8
%14 = call i32 @memset(ptr noundef %12, i32 noundef 0, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk3xrfhn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @umalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 (...) @abort() #5
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %2, align 8
%14 = call i32 @memset(ptr noundef %12, i32 noundef 0, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5kb_joqm.c'
source_filename = "/tmp/tmp5kb_joqm.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_DtHelpCeAddStrToBuf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %50, label %18
18: ; preds = %6
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %50, label %22
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = trunc i64 %25 to i32
%27 = load i32, ptr %12, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %50, label %29
29: ; preds = %22
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %50, label %32
32: ; preds = %29
%33 = load ptr, ptr %10, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %50, label %35
35: ; preds = %32
%36 = load ptr, ptr %11, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %50, label %38
38: ; preds = %35
%39 = load ptr, ptr %9, align 8
%40 = load ptr, ptr %39, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %52
42: ; preds = %38
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %47, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %46, %42, %35, %32, %29, %22, %18, %6
%51 = load i32, ptr @EINVAL, align 4
store i32 %51, ptr @errno, align 4
store i32 -1, ptr %7, align 4
br label %131
52: ; preds = %46, %38
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %53, align 8
store ptr %54, ptr %14, align 8
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %15, align 8
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %58, %59
%61 = add nsw i32 %60, 1
%62 = load ptr, ptr %11, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp sge i32 %61, %63
br i1 %64, label %65, label %107
65: ; preds = %52
%66 = load i32, ptr %13, align 4
%67 = load ptr, ptr %10, align 8
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %68, %69
%71 = add nsw i32 %70, 2
%72 = load ptr, ptr %11, align 8
%73 = load i32, ptr %72, align 4
%74 = sub nsw i32 %71, %73
%75 = icmp sgt i32 %66, %74
br i1 %75, label %76, label %82
76: ; preds = %65
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %13, align 4
%80 = add nsw i32 %78, %79
%81 = load ptr, ptr %11, align 8
store i32 %80, ptr %81, align 4
br label %89
82: ; preds = %65
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %84, %85
%87 = add nsw i32 %86, 2
%88 = load ptr, ptr %11, align 8
store i32 %87, ptr %88, align 4
br label %89
89: ; preds = %82, %76
%90 = load ptr, ptr %15, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %92, label %98
92: ; preds = %89
%93 = load ptr, ptr %15, align 8
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %94, align 4
%96 = call i64 @realloc(ptr noundef %93, i32 noundef %95)
%97 = inttoptr i64 %96 to ptr
store ptr %97, ptr %15, align 8
br label %104
98: ; preds = %89
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %99, align 4
%101 = call i64 @malloc(i32 noundef %100)
%102 = inttoptr i64 %101 to ptr
store ptr %102, ptr %15, align 8
%103 = load ptr, ptr %10, align 8
store i32 0, ptr %103, align 4
br label %104
104: ; preds = %98, %92
%105 = load ptr, ptr %15, align 8
%106 = load ptr, ptr %9, align 8
store ptr %105, ptr %106, align 8
br label %107
107: ; preds = %104, %52
%108 = load ptr, ptr %15, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %111, label %110
110: ; preds = %107
store i32 -7, ptr @errno, align 4
store i32 -1, ptr %7, align 4
br label %131
111: ; preds = %107
%112 = load ptr, ptr %15, align 8
%113 = load ptr, ptr %10, align 8
%114 = load i32, ptr %113, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
store i8 0, ptr %116, align 1
%117 = load ptr, ptr %15, align 8
%118 = load ptr, ptr %14, align 8
%119 = load i32, ptr %12, align 4
%120 = call i32 @strncat(ptr noundef %117, ptr noundef %118, i32 noundef %119)
%121 = load ptr, ptr %14, align 8
%122 = load i32, ptr %12, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load ptr, ptr %8, align 8
store ptr %124, ptr %125, align 8
%126 = load ptr, ptr %10, align 8
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr %12, align 4
%129 = add nsw i32 %127, %128
%130 = load ptr, ptr %10, align 8
store i32 %129, ptr %130, align 4
store i32 0, ptr %7, align 4
br label %131
131: ; preds = %111, %110, %50
%132 = load i32, ptr %7, align 4
ret i32 %132
}
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strncat(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/tmp5kb_joqm.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_DtHelpCeAddStrToBuf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %50, label %18
18: ; preds = %6
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %50, label %22
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = trunc i64 %25 to i32
%27 = load i32, ptr %12, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %50, label %29
29: ; preds = %22
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %50, label %32
32: ; preds = %29
%33 = load ptr, ptr %10, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %50, label %35
35: ; preds = %32
%36 = load ptr, ptr %11, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %50, label %38
38: ; preds = %35
%39 = load ptr, ptr %9, align 8
%40 = load ptr, ptr %39, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %52
42: ; preds = %38
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %47, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %46, %42, %35, %32, %29, %22, %18, %6
%51 = load i32, ptr @EINVAL, align 4
store i32 %51, ptr @errno, align 4
store i32 -1, ptr %7, align 4
br label %131
52: ; preds = %46, %38
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %53, align 8
store ptr %54, ptr %14, align 8
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %15, align 8
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %58, %59
%61 = add nsw i32 %60, 1
%62 = load ptr, ptr %11, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp sge i32 %61, %63
br i1 %64, label %65, label %107
65: ; preds = %52
%66 = load i32, ptr %13, align 4
%67 = load ptr, ptr %10, align 8
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %68, %69
%71 = add nsw i32 %70, 2
%72 = load ptr, ptr %11, align 8
%73 = load i32, ptr %72, align 4
%74 = sub nsw i32 %71, %73
%75 = icmp sgt i32 %66, %74
br i1 %75, label %76, label %82
76: ; preds = %65
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %13, align 4
%80 = add nsw i32 %78, %79
%81 = load ptr, ptr %11, align 8
store i32 %80, ptr %81, align 4
br label %89
82: ; preds = %65
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %84, %85
%87 = add nsw i32 %86, 2
%88 = load ptr, ptr %11, align 8
store i32 %87, ptr %88, align 4
br label %89
89: ; preds = %82, %76
%90 = load ptr, ptr %15, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %92, label %98
92: ; preds = %89
%93 = load ptr, ptr %15, align 8
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %94, align 4
%96 = call i64 @realloc(ptr noundef %93, i32 noundef %95)
%97 = inttoptr i64 %96 to ptr
store ptr %97, ptr %15, align 8
br label %104
98: ; preds = %89
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %99, align 4
%101 = call i64 @malloc(i32 noundef %100)
%102 = inttoptr i64 %101 to ptr
store ptr %102, ptr %15, align 8
%103 = load ptr, ptr %10, align 8
store i32 0, ptr %103, align 4
br label %104
104: ; preds = %98, %92
%105 = load ptr, ptr %15, align 8
%106 = load ptr, ptr %9, align 8
store ptr %105, ptr %106, align 8
br label %107
107: ; preds = %104, %52
%108 = load ptr, ptr %15, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %111, label %110
110: ; preds = %107
store i32 -7, ptr @errno, align 4
store i32 -1, ptr %7, align 4
br label %131
111: ; preds = %107
%112 = load ptr, ptr %15, align 8
%113 = load ptr, ptr %10, align 8
%114 = load i32, ptr %113, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
store i8 0, ptr %116, align 1
%117 = load ptr, ptr %15, align 8
%118 = load ptr, ptr %14, align 8
%119 = load i32, ptr %12, align 4
%120 = call i32 @strncat(ptr noundef %117, ptr noundef %118, i32 noundef %119)
%121 = load ptr, ptr %14, align 8
%122 = load i32, ptr %12, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load ptr, ptr %8, align 8
store ptr %124, ptr %125, align 8
%126 = load ptr, ptr %10, align 8
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr %12, align 4
%129 = add nsw i32 %127, %128
%130 = load ptr, ptr %10, align 8
store i32 %129, ptr %130, align 4
store i32 0, ptr %7, align 4
br label %131
131: ; preds = %111, %110, %50
%132 = load i32, ptr %7, align 4
ret i32 %132
}
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strncat(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/tmpibjiahz6.c'
source_filename = "/tmp/tmpibjiahz6.c"
target datalayout = "e-m:e-p270: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/tmpibjiahz6.c"
target datalayout = "e-m:e-p270: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/tmpgjy_ye6c.c'
source_filename = "/tmp/tmpgjy_ye6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @intr_wrap_100(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = call signext i16 @h_abs(ptr noundef %2)
ret i16 %3
}
declare signext i16 @h_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgjy_ye6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @intr_wrap_100(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = call signext i16 @h_abs(ptr noundef %2)
ret i16 %3
}
declare signext i16 @h_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsw96lc1q.c'
source_filename = "/tmp/tmpsw96lc1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ObjWrite32(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @ObjWrite8(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = lshr i64 %5, 8
%7 = call i32 @ObjWrite8(i64 noundef %6)
%8 = load i64, ptr %2, align 8
%9 = lshr i64 %8, 16
%10 = call i32 @ObjWrite8(i64 noundef %9)
%11 = load i64, ptr %2, align 8
%12 = lshr i64 %11, 24
%13 = call i32 @ObjWrite8(i64 noundef %12)
ret void
}
declare i32 @ObjWrite8(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/tmpsw96lc1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ObjWrite32(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @ObjWrite8(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = lshr i64 %5, 8
%7 = call i32 @ObjWrite8(i64 noundef %6)
%8 = load i64, ptr %2, align 8
%9 = lshr i64 %8, 16
%10 = call i32 @ObjWrite8(i64 noundef %9)
%11 = load i64, ptr %2, align 8
%12 = lshr i64 %11, 24
%13 = call i32 @ObjWrite8(i64 noundef %12)
ret void
}
declare i32 @ObjWrite8(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/tmpnx1ghrb2.c'
source_filename = "/tmp/tmpnx1ghrb2.c"
target datalayout = "e-m:e-p270: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/tmpnx1ghrb2.c"
target datalayout = "e-m:e-p270: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/tmpxua278rn.c'
source_filename = "/tmp/tmpxua278rn.c"
target datalayout = "e-m:e-p270: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_GETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@TCP_NODELAY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @so_getfl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, 1
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_GETFD, align 4
%14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = icmp ne i32 -1, %14
br i1 %15, label %16, label %25
16: ; preds = %11
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr @FD_CLOEXEC, align 4
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = or i32 %22, 1
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %21, %16
br label %25
25: ; preds = %24, %11, %2
%26 = load i32, ptr %4, align 4
%27 = and i32 %26, 2
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr @F_GETFL, align 4
%32 = call i32 @fcntl(i32 noundef %30, i32 noundef %31)
store i32 %32, ptr %6, align 4
%33 = icmp ne i32 -1, %32
br i1 %33, label %34, label %43
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr @O_NONBLOCK, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr %5, align 4
%41 = or i32 %40, 2
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %39, %34
br label %43
43: ; preds = %42, %29, %25
%44 = load i32, ptr %4, align 4
%45 = and i32 %44, 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %43
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr @SOL_SOCKET, align 4
%50 = load i32, ptr @SO_REUSEADDR, align 4
%51 = call i64 @so_getboolopt(i32 noundef %48, i32 noundef %49, i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %5, align 4
%55 = or i32 %54, 4
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %53, %47, %43
%57 = load i32, ptr %4, align 4
%58 = and i32 %57, 8
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %69
60: ; preds = %56
%61 = load i32, ptr %3, align 4
%62 = load i32, ptr @IPPROTO_TCP, align 4
%63 = load i32, ptr @TCP_NODELAY, align 4
%64 = call i64 @so_getboolopt(i32 noundef %61, i32 noundef %62, i32 noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %60
%67 = load i32, ptr %5, align 4
%68 = or i32 %67, 8
store i32 %68, ptr %5, align 4
br label %69
69: ; preds = %66, %60, %56
%70 = load i32, ptr %5, align 4
ret i32 %70
}
declare i32 @fcntl(i32 noundef, i32 noundef) #1
declare i64 @so_getboolopt(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/tmpxua278rn.c"
target datalayout = "e-m:e-p270: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_GETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@TCP_NODELAY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @so_getfl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, 1
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_GETFD, align 4
%14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = icmp ne i32 -1, %14
br i1 %15, label %16, label %25
16: ; preds = %11
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr @FD_CLOEXEC, align 4
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = or i32 %22, 1
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %21, %16
br label %25
25: ; preds = %24, %11, %2
%26 = load i32, ptr %4, align 4
%27 = and i32 %26, 2
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr @F_GETFL, align 4
%32 = call i32 @fcntl(i32 noundef %30, i32 noundef %31)
store i32 %32, ptr %6, align 4
%33 = icmp ne i32 -1, %32
br i1 %33, label %34, label %43
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr @O_NONBLOCK, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr %5, align 4
%41 = or i32 %40, 2
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %39, %34
br label %43
43: ; preds = %42, %29, %25
%44 = load i32, ptr %4, align 4
%45 = and i32 %44, 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %43
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr @SOL_SOCKET, align 4
%50 = load i32, ptr @SO_REUSEADDR, align 4
%51 = call i64 @so_getboolopt(i32 noundef %48, i32 noundef %49, i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %5, align 4
%55 = or i32 %54, 4
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %53, %47, %43
%57 = load i32, ptr %4, align 4
%58 = and i32 %57, 8
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %69
60: ; preds = %56
%61 = load i32, ptr %3, align 4
%62 = load i32, ptr @IPPROTO_TCP, align 4
%63 = load i32, ptr @TCP_NODELAY, align 4
%64 = call i64 @so_getboolopt(i32 noundef %61, i32 noundef %62, i32 noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %60
%67 = load i32, ptr %5, align 4
%68 = or i32 %67, 8
store i32 %68, ptr %5, align 4
br label %69
69: ; preds = %66, %60, %56
%70 = load i32, ptr %5, align 4
ret i32 %70
}
declare i32 @fcntl(i32 noundef, i32 noundef) #1
declare i64 @so_getboolopt(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/tmpi1fwl8sb.c'
source_filename = "/tmp/tmpi1fwl8sb.c"
target datalayout = "e-m:e-p270: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/tmpi1fwl8sb.c"
target datalayout = "e-m:e-p270: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/tmp1g4rlq8k.c'
source_filename = "/tmp/tmp1g4rlq8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_string2(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 @print_pointer(ptr noundef %3)
ret void
}
declare i32 @print_pointer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1g4rlq8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_string2(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 @print_pointer(ptr noundef %3)
ret void
}
declare i32 @print_pointer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx78sow96.c'
source_filename = "/tmp/tmpx78sow96.c"
target datalayout = "e-m:e-p270: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 }
%struct.dirent = type { ptr }
@get_xio_base.xio_base_address = internal global i32 -1, align 4
@.str = private unnamed_addr constant [16 x i8] c"/sys/class/gpio\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"get_xio_base: could not open '%s' (%s)\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/%s/label\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [28 x i8] c"ASSRT failed at %s:%d (%s)\0A\00", align 1
@.str.6 = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/xtacocorex/CHIP_IO/refs/heads/master/source/common.c\00", align 1
@.str.7 = private unnamed_addr constant [63 x i8] c"strnlen(label_file, sizeof(label_file)) < sizeof(label_file)-1\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.9 = private unnamed_addr constant [63 x i8] c"strnlen(input_line, sizeof(input_line)) < sizeof(input_line)-1\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"pcf8574a\0A\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"%s/%s/base\00", align 1
@.str.12 = private unnamed_addr constant [60 x i8] c"strnlen(base_file, sizeof(base_file)) < sizeof(base_file)-1\00", align 1
@.str.13 = private unnamed_addr constant [39 x i8] c"get_xio_base: could not read '%s' (%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_xio_base() #0 {
%1 = alloca i32, align 4
%2 = alloca [128 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca [128 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [256 x i8], align 16
%10 = alloca [80 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca [256 x i8], align 16
%13 = alloca [256 x i8], align 16
%14 = load i32, ptr @get_xio_base.xio_base_address, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = load i32, ptr @get_xio_base.xio_base_address, align 4
store i32 %17, ptr %1, align 4
br label %188
18: ; preds = %0
%19 = call ptr @opendir(ptr noundef @.str)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%24 = load i32, ptr @errno, align 4
%25 = call ptr @strerror(i32 noundef %24)
%26 = call i32 @snprintf(ptr noundef %23, i32 noundef 256, ptr noundef @.str.1, ptr noundef @.str, ptr noundef %25)
%27 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%28 = call i32 @add_error_msg(ptr noundef %27)
store i32 -1, ptr %1, align 4
br label %188
29: ; preds = %18
br label %30
30: ; preds = %183, %60, %29
%31 = load i32, ptr @get_xio_base.xio_base_address, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = call ptr @readdir(ptr noundef %34)
store ptr %35, ptr %7, align 8
%36 = icmp ne ptr %35, null
br label %37
37: ; preds = %33, %30
%38 = phi i1 [ false, %30 ], [ %36, %33 ]
br i1 %38, label %39, label %184
39: ; preds = %37
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %41, align 8
%43 = call i32 @lstat(ptr noundef %42, ptr noundef %8)
%44 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i64 @S_ISDIR(i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %183
48: ; preds = %39
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds %struct.dirent, ptr %49, i32 0, i32 0
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %51)
%53 = icmp eq i64 %52, 0
br i1 %53, label %60, label %54
54: ; preds = %48
%55 = load ptr, ptr %7, align 8
%56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0
%57 = load ptr, ptr %56, align 8
%58 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %54, %48
br label %30, !llvm.loop !6
61: ; preds = %54
%62 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds %struct.dirent, ptr %63, i32 0, i32 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 @snprintf(ptr noundef %62, i32 noundef 128, ptr noundef @.str.4, ptr noundef @.str, ptr noundef %65)
br label %67
67: ; preds = %61
br label %68
68: ; preds = %67
%69 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%70 = call i32 @strnlen(ptr noundef %69, i32 noundef 128)
%71 = sext i32 %70 to i64
%72 = icmp ult i64 %71, 127
br i1 %72, label %79, label %73
73: ; preds = %68
%74 = load i32, ptr @stderr, align 4
%75 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 194, ptr noundef @.str.7)
%76 = load i32, ptr @stderr, align 4
%77 = call i32 @fflush(i32 noundef %76)
%78 = call i32 (...) @abort() #3
unreachable
79: ; preds = %68
br label %80
80: ; preds = %79
br label %81
81: ; preds = %80
%82 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%83 = call ptr @fopen(ptr noundef %82, ptr noundef @.str.8)
store ptr %83, ptr %3, align 8
%84 = load ptr, ptr %3, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %182
86: ; preds = %81
%87 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
store i8 0, ptr %87, align 16
%88 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%89 = load ptr, ptr %3, align 8
%90 = call ptr @fgets(ptr noundef %88, i32 noundef 80, ptr noundef %89)
store ptr %90, ptr %11, align 8
br label %91
91: ; preds = %86
br label %92
92: ; preds = %91
%93 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%94 = call i32 @strnlen(ptr noundef %93, i32 noundef 80)
%95 = sext i32 %94 to i64
%96 = icmp ult i64 %95, 79
br i1 %96, label %103, label %97
97: ; preds = %92
%98 = load i32, ptr @stderr, align 4
%99 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 198, ptr noundef @.str.9)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 @fflush(i32 noundef %100)
%102 = call i32 (...) @abort() #3
unreachable
103: ; preds = %92
br label %104
104: ; preds = %103
br label %105
105: ; preds = %104
%106 = load ptr, ptr %3, align 8
%107 = call i32 @fclose(ptr noundef %106)
%108 = load ptr, ptr %11, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %110, label %181
110: ; preds = %105
%111 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%112 = call i64 @strcmp(ptr noundef %111, ptr noundef @.str.10)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %181
114: ; preds = %110
%115 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%116 = load ptr, ptr %7, align 8
%117 = getelementptr inbounds %struct.dirent, ptr %116, i32 0, i32 0
%118 = load ptr, ptr %117, align 8
%119 = call i32 @snprintf(ptr noundef %115, i32 noundef 128, ptr noundef @.str.11, ptr noundef @.str, ptr noundef %118)
br label %120
120: ; preds = %114
br label %121
121: ; preds = %120
%122 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%123 = call i32 @strnlen(ptr noundef %122, i32 noundef 128)
%124 = sext i32 %123 to i64
%125 = icmp ult i64 %124, 127
br i1 %125, label %132, label %126
126: ; preds = %121
%127 = load i32, ptr @stderr, align 4
%128 = call i32 @fprintf(i32 noundef %127, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 202, ptr noundef @.str.12)
%129 = load i32, ptr @stderr, align 4
%130 = call i32 @fflush(i32 noundef %129)
%131 = call i32 (...) @abort() #3
unreachable
132: ; preds = %121
br label %133
133: ; preds = %132
br label %134
134: ; preds = %133
%135 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%136 = call ptr @fopen(ptr noundef %135, ptr noundef @.str.8)
store ptr %136, ptr %5, align 8
%137 = load ptr, ptr %5, align 8
%138 = icmp eq ptr %137, null
br i1 %138, label %139, label %147
139: ; preds = %134
%140 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%141 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%142 = load i32, ptr @errno, align 4
%143 = call ptr @strerror(i32 noundef %142)
%144 = call i32 @snprintf(ptr noundef %140, i32 noundef 256, ptr noundef @.str.1, ptr noundef %141, ptr noundef %143)
%145 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%146 = call i32 @add_error_msg(ptr noundef %145)
br label %184
147: ; preds = %134
%148 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%149 = load ptr, ptr %5, align 8
%150 = call ptr @fgets(ptr noundef %148, i32 noundef 80, ptr noundef %149)
store ptr %150, ptr %11, align 8
br label %151
151: ; preds = %147
br label %152
152: ; preds = %151
%153 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%154 = call i32 @strnlen(ptr noundef %153, i32 noundef 80)
%155 = sext i32 %154 to i64
%156 = icmp ult i64 %155, 79
br i1 %156, label %163, label %157
157: ; preds = %152
%158 = load i32, ptr @stderr, align 4
%159 = call i32 @fprintf(i32 noundef %158, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 210, ptr noundef @.str.9)
%160 = load i32, ptr @stderr, align 4
%161 = call i32 @fflush(i32 noundef %160)
%162 = call i32 (...) @abort() #3
unreachable
163: ; preds = %152
br label %164
164: ; preds = %163
br label %165
165: ; preds = %164
%166 = load ptr, ptr %5, align 8
%167 = call i32 @fclose(ptr noundef %166)
%168 = load ptr, ptr %11, align 8
%169 = icmp eq ptr %168, null
br i1 %169, label %170, label %178
170: ; preds = %165
%171 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%172 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%173 = load i32, ptr @errno, align 4
%174 = call ptr @strerror(i32 noundef %173)
%175 = call i32 @snprintf(ptr noundef %171, i32 noundef 256, ptr noundef @.str.13, ptr noundef %172, ptr noundef %174)
%176 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%177 = call i32 @add_error_msg(ptr noundef %176)
br label %184
178: ; preds = %165
%179 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%180 = call i32 @atoi(ptr noundef %179)
store i32 %180, ptr @get_xio_base.xio_base_address, align 4
br label %181
181: ; preds = %178, %110, %105
br label %182
182: ; preds = %181, %81
br label %183
183: ; preds = %182, %39
br label %30, !llvm.loop !6
184: ; preds = %170, %139, %37
%185 = load ptr, ptr %6, align 8
%186 = call i32 @closedir(ptr noundef %185)
%187 = load i32, ptr @get_xio_base.xio_base_address, align 4
store i32 %187, ptr %1, align 4
br label %188
188: ; preds = %184, %22, %16
%189 = load i32, ptr %1, align 4
ret i32 %189
}
declare ptr @opendir(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @add_error_msg(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strnlen(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx78sow96.c"
target datalayout = "e-m:e-p270: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 }
%struct.dirent = type { ptr }
@get_xio_base.xio_base_address = internal global i32 -1, align 4
@.str = private unnamed_addr constant [16 x i8] c"/sys/class/gpio\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"get_xio_base: could not open '%s' (%s)\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/%s/label\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [28 x i8] c"ASSRT failed at %s:%d (%s)\0A\00", align 1
@.str.6 = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/xtacocorex/CHIP_IO/refs/heads/master/source/common.c\00", align 1
@.str.7 = private unnamed_addr constant [63 x i8] c"strnlen(label_file, sizeof(label_file)) < sizeof(label_file)-1\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.9 = private unnamed_addr constant [63 x i8] c"strnlen(input_line, sizeof(input_line)) < sizeof(input_line)-1\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"pcf8574a\0A\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"%s/%s/base\00", align 1
@.str.12 = private unnamed_addr constant [60 x i8] c"strnlen(base_file, sizeof(base_file)) < sizeof(base_file)-1\00", align 1
@.str.13 = private unnamed_addr constant [39 x i8] c"get_xio_base: could not read '%s' (%s)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_xio_base() #0 {
%1 = alloca i32, align 4
%2 = alloca [128 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca [128 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [256 x i8], align 16
%10 = alloca [80 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca [256 x i8], align 16
%13 = alloca [256 x i8], align 16
%14 = load i32, ptr @get_xio_base.xio_base_address, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = load i32, ptr @get_xio_base.xio_base_address, align 4
store i32 %17, ptr %1, align 4
br label %188
18: ; preds = %0
%19 = call ptr @opendir(ptr noundef @.str)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%24 = load i32, ptr @errno, align 4
%25 = call ptr @strerror(i32 noundef %24)
%26 = call i32 @snprintf(ptr noundef %23, i32 noundef 256, ptr noundef @.str.1, ptr noundef @.str, ptr noundef %25)
%27 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%28 = call i32 @add_error_msg(ptr noundef %27)
store i32 -1, ptr %1, align 4
br label %188
29: ; preds = %18
br label %30
30: ; preds = %.backedge, %29
%31 = load i32, ptr @get_xio_base.xio_base_address, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = call ptr @readdir(ptr noundef %34)
store ptr %35, ptr %7, align 8
%36 = icmp ne ptr %35, null
br label %37
37: ; preds = %33, %30
%38 = phi i1 [ false, %30 ], [ %36, %33 ]
br i1 %38, label %39, label %.loopexit
39: ; preds = %37
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %41, align 8
%43 = call i32 @lstat(ptr noundef %42, ptr noundef %8)
%44 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i64 @S_ISDIR(i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %183
48: ; preds = %39
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds %struct.dirent, ptr %49, i32 0, i32 0
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %51)
%53 = icmp eq i64 %52, 0
br i1 %53, label %60, label %54
54: ; preds = %48
%55 = load ptr, ptr %7, align 8
%56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0
%57 = load ptr, ptr %56, align 8
%58 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %54, %48
br label %.backedge
.backedge: ; preds = %60, %183
br label %30, !llvm.loop !6
61: ; preds = %54
%62 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds %struct.dirent, ptr %63, i32 0, i32 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 @snprintf(ptr noundef %62, i32 noundef 128, ptr noundef @.str.4, ptr noundef @.str, ptr noundef %65)
br label %67
67: ; preds = %61
br label %68
68: ; preds = %67
%69 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%70 = call i32 @strnlen(ptr noundef %69, i32 noundef 128)
%71 = sext i32 %70 to i64
%72 = icmp ult i64 %71, 127
br i1 %72, label %79, label %73
73: ; preds = %68
%74 = load i32, ptr @stderr, align 4
%75 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 194, ptr noundef @.str.7)
%76 = load i32, ptr @stderr, align 4
%77 = call i32 @fflush(i32 noundef %76)
%78 = call i32 (...) @abort() #3
unreachable
79: ; preds = %68
br label %80
80: ; preds = %79
br label %81
81: ; preds = %80
%82 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0
%83 = call ptr @fopen(ptr noundef %82, ptr noundef @.str.8)
store ptr %83, ptr %3, align 8
%84 = load ptr, ptr %3, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %182
86: ; preds = %81
%87 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
store i8 0, ptr %87, align 16
%88 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%89 = load ptr, ptr %3, align 8
%90 = call ptr @fgets(ptr noundef %88, i32 noundef 80, ptr noundef %89)
store ptr %90, ptr %11, align 8
br label %91
91: ; preds = %86
br label %92
92: ; preds = %91
%93 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%94 = call i32 @strnlen(ptr noundef %93, i32 noundef 80)
%95 = sext i32 %94 to i64
%96 = icmp ult i64 %95, 79
br i1 %96, label %103, label %97
97: ; preds = %92
%98 = load i32, ptr @stderr, align 4
%99 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 198, ptr noundef @.str.9)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 @fflush(i32 noundef %100)
%102 = call i32 (...) @abort() #3
unreachable
103: ; preds = %92
br label %104
104: ; preds = %103
br label %105
105: ; preds = %104
%106 = load ptr, ptr %3, align 8
%107 = call i32 @fclose(ptr noundef %106)
%108 = load ptr, ptr %11, align 8
%109 = icmp ne ptr %108, null
br i1 %109, label %110, label %181
110: ; preds = %105
%111 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%112 = call i64 @strcmp(ptr noundef %111, ptr noundef @.str.10)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %181
114: ; preds = %110
%115 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%116 = load ptr, ptr %7, align 8
%117 = getelementptr inbounds %struct.dirent, ptr %116, i32 0, i32 0
%118 = load ptr, ptr %117, align 8
%119 = call i32 @snprintf(ptr noundef %115, i32 noundef 128, ptr noundef @.str.11, ptr noundef @.str, ptr noundef %118)
br label %120
120: ; preds = %114
br label %121
121: ; preds = %120
%122 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%123 = call i32 @strnlen(ptr noundef %122, i32 noundef 128)
%124 = sext i32 %123 to i64
%125 = icmp ult i64 %124, 127
br i1 %125, label %132, label %126
126: ; preds = %121
%127 = load i32, ptr @stderr, align 4
%128 = call i32 @fprintf(i32 noundef %127, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 202, ptr noundef @.str.12)
%129 = load i32, ptr @stderr, align 4
%130 = call i32 @fflush(i32 noundef %129)
%131 = call i32 (...) @abort() #3
unreachable
132: ; preds = %121
br label %133
133: ; preds = %132
br label %134
134: ; preds = %133
%135 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%136 = call ptr @fopen(ptr noundef %135, ptr noundef @.str.8)
store ptr %136, ptr %5, align 8
%137 = load ptr, ptr %5, align 8
%138 = icmp eq ptr %137, null
br i1 %138, label %139, label %147
139: ; preds = %134
%140 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%141 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%142 = load i32, ptr @errno, align 4
%143 = call ptr @strerror(i32 noundef %142)
%144 = call i32 @snprintf(ptr noundef %140, i32 noundef 256, ptr noundef @.str.1, ptr noundef %141, ptr noundef %143)
%145 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%146 = call i32 @add_error_msg(ptr noundef %145)
br label %184
147: ; preds = %134
%148 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%149 = load ptr, ptr %5, align 8
%150 = call ptr @fgets(ptr noundef %148, i32 noundef 80, ptr noundef %149)
store ptr %150, ptr %11, align 8
br label %151
151: ; preds = %147
br label %152
152: ; preds = %151
%153 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%154 = call i32 @strnlen(ptr noundef %153, i32 noundef 80)
%155 = sext i32 %154 to i64
%156 = icmp ult i64 %155, 79
br i1 %156, label %163, label %157
157: ; preds = %152
%158 = load i32, ptr @stderr, align 4
%159 = call i32 @fprintf(i32 noundef %158, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 210, ptr noundef @.str.9)
%160 = load i32, ptr @stderr, align 4
%161 = call i32 @fflush(i32 noundef %160)
%162 = call i32 (...) @abort() #3
unreachable
163: ; preds = %152
br label %164
164: ; preds = %163
br label %165
165: ; preds = %164
%166 = load ptr, ptr %5, align 8
%167 = call i32 @fclose(ptr noundef %166)
%168 = load ptr, ptr %11, align 8
%169 = icmp eq ptr %168, null
br i1 %169, label %170, label %178
170: ; preds = %165
%171 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%172 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%173 = load i32, ptr @errno, align 4
%174 = call ptr @strerror(i32 noundef %173)
%175 = call i32 @snprintf(ptr noundef %171, i32 noundef 256, ptr noundef @.str.13, ptr noundef %172, ptr noundef %174)
%176 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%177 = call i32 @add_error_msg(ptr noundef %176)
br label %184
178: ; preds = %165
%179 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%180 = call i32 @atoi(ptr noundef %179)
store i32 %180, ptr @get_xio_base.xio_base_address, align 4
br label %181
181: ; preds = %178, %110, %105
br label %182
182: ; preds = %181, %81
br label %183
183: ; preds = %182, %39
br label %.backedge
.loopexit: ; preds = %37
br label %184
184: ; preds = %.loopexit, %170, %139
%185 = load ptr, ptr %6, align 8
%186 = call i32 @closedir(ptr noundef %185)
%187 = load i32, ptr @get_xio_base.xio_base_address, align 4
store i32 %187, ptr %1, align 4
br label %188
188: ; preds = %184, %22, %16
%189 = load i32, ptr %1, align 4
ret i32 %189
}
declare ptr @opendir(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @add_error_msg(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strnlen(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptpg0_kl1.c'
source_filename = "/tmp/tmptpg0_kl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @foo(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (...) @baz()
br label %12
12: ; preds = %10, %2
ret void
}
declare i32 @foo(i32 noundef, i32 noundef) #1
declare i32 @baz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptpg0_kl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @foo(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (...) @baz()
br label %12
12: ; preds = %10, %2
ret void
}
declare i32 @foo(i32 noundef, i32 noundef) #1
declare i32 @baz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt4dv4n5i.c'
source_filename = "/tmp/tmpt4dv4n5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"ZX7: Optimal LZ77/LZSS compression by Einar Saukas\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-f\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-b\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"Error: Invalid parameter %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".zx7\00", align 1
@.str.5 = private unnamed_addr constant [110 x i8] c"Usage: %s [-f] [-b] input [output.zx7]\0A -f Force overwrite of output file\0A -b Compress backwards\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"Error: Cannot access input file %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [28 x i8] c"Error: Empty input file %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"Error: Skipping entire input file %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Error: Insufficient memory\0A\00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"Error: Cannot read input file %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"Error: Already existing output file %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.14 = private unnamed_addr constant [37 x i8] c"Error: Cannot create output file %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"Error: Cannot write output file %s\0A\00", align 1
@.str.16 = private unnamed_addr constant [55 x i8] c"File%s converted%s from %lu to %lu bytes! (delta %ld)\0A\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c" partially\00", align 1
@.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.19 = private unnamed_addr constant [11 x i8] c" backwards\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %19, align 4
br label %21
21: ; preds = %85, %2
%22 = load i32, ptr %19, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %45
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %19, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %43, label %34
34: ; preds = %25
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %19, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 43
br label %43
43: ; preds = %34, %25
%44 = phi i1 [ true, %25 ], [ %42, %34 ]
br label %45
45: ; preds = %43, %21
%46 = phi i1 [ false, %21 ], [ %44, %43 ]
br i1 %46, label %47, label %88
47: ; preds = %45
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %19, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %47
store i32 1, ptr %7, align 4
br label %84
56: ; preds = %47
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %19, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.2)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %56
store i32 1, ptr %8, align 4
br label %83
65: ; preds = %56
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %19, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call i64 @parse_long(ptr noundef %70)
store i64 %71, ptr %6, align 8
%72 = icmp sle i64 %71, 0
br i1 %72, label %73, label %82
73: ; preds = %65
%74 = load i32, ptr @stderr, align 4
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %19, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.3, ptr noundef %79)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %65
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %55
br label %85
85: ; preds = %84
%86 = load i32, ptr %19, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %19, align 4
br label %21, !llvm.loop !6
88: ; preds = %45
%89 = load i32, ptr %4, align 4
%90 = load i32, ptr %19, align 4
%91 = add nsw i32 %90, 1
%92 = icmp eq i32 %89, %91
br i1 %92, label %93, label %112
93: ; preds = %88
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %19, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds ptr, ptr %94, i64 %96
%98 = load ptr, ptr %97, align 8
%99 = call i64 @strlen(ptr noundef %98)
%100 = add i64 %99, 5
%101 = call i64 @malloc(i64 noundef %100)
%102 = inttoptr i64 %101 to ptr
store ptr %102, ptr %9, align 8
%103 = load ptr, ptr %9, align 8
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %19, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = call i32 @strcpy(ptr noundef %103, ptr noundef %108)
%110 = load ptr, ptr %9, align 8
%111 = call i32 @strcat(ptr noundef %110, ptr noundef @.str.4)
br label %132
112: ; preds = %88
%113 = load i32, ptr %4, align 4
%114 = load i32, ptr %19, align 4
%115 = add nsw i32 %114, 2
%116 = icmp eq i32 %113, %115
br i1 %116, label %117, label %124
117: ; preds = %112
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %19, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %118, i64 %121
%123 = load ptr, ptr %122, align 8
store ptr %123, ptr %9, align 8
br label %131
124: ; preds = %112
%125 = load i32, ptr @stderr, align 4
%126 = load ptr, ptr %5, align 8
%127 = getelementptr inbounds ptr, ptr %126, i64 0
%128 = load ptr, ptr %127, align 8
%129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.5, ptr noundef %128)
%130 = call i32 @exit(i32 noundef 1) #3
unreachable
131: ; preds = %117
br label %132
132: ; preds = %131, %93
%133 = load ptr, ptr %5, align 8
%134 = load i32, ptr %19, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds ptr, ptr %133, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = call ptr @fopen(ptr noundef %137, ptr noundef @.str.6)
store ptr %138, ptr %12, align 8
%139 = load ptr, ptr %12, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %150, label %141
141: ; preds = %132
%142 = load i32, ptr @stderr, align 4
%143 = load ptr, ptr %5, align 8
%144 = load i32, ptr %19, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds ptr, ptr %143, i64 %145
%147 = load ptr, ptr %146, align 8
%148 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %142, ptr noundef @.str.7, ptr noundef %147)
%149 = call i32 @exit(i32 noundef 1) #3
unreachable
150: ; preds = %132
%151 = load ptr, ptr %12, align 8
%152 = load i32, ptr @SEEK_END, align 4
%153 = call i32 @fseek(ptr noundef %151, i64 noundef 0, i32 noundef %152)
%154 = load ptr, ptr %12, align 8
%155 = call i64 @ftell(ptr noundef %154)
store i64 %155, ptr %14, align 8
%156 = load ptr, ptr %12, align 8
%157 = load i32, ptr @SEEK_SET, align 4
%158 = call i32 @fseek(ptr noundef %156, i64 noundef 0, i32 noundef %157)
%159 = load i64, ptr %14, align 8
%160 = icmp ne i64 %159, 0
br i1 %160, label %170, label %161
161: ; preds = %150
%162 = load i32, ptr @stderr, align 4
%163 = load ptr, ptr %5, align 8
%164 = load i32, ptr %19, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %163, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %162, ptr noundef @.str.8, ptr noundef %167)
%169 = call i32 @exit(i32 noundef 1) #3
unreachable
170: ; preds = %150
%171 = load i64, ptr %6, align 8
%172 = load i64, ptr %14, align 8
%173 = icmp uge i64 %171, %172
br i1 %173, label %174, label %183
174: ; preds = %170
%175 = load i32, ptr @stderr, align 4
%176 = load ptr, ptr %5, align 8
%177 = load i32, ptr %19, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %175, ptr noundef @.str.9, ptr noundef %180)
%182 = call i32 @exit(i32 noundef 1) #3
unreachable
183: ; preds = %170
%184 = load i64, ptr %14, align 8
%185 = call i64 @malloc(i64 noundef %184)
%186 = inttoptr i64 %185 to ptr
store ptr %186, ptr %10, align 8
%187 = load ptr, ptr %10, align 8
%188 = icmp ne ptr %187, null
br i1 %188, label %193, label %189
189: ; preds = %183
%190 = load i32, ptr @stderr, align 4
%191 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %190, ptr noundef @.str.10)
%192 = call i32 @exit(i32 noundef 1) #3
unreachable
193: ; preds = %183
store i64 0, ptr %17, align 8
br label %194
194: ; preds = %206, %193
%195 = load ptr, ptr %10, align 8
%196 = load i64, ptr %17, align 8
%197 = getelementptr inbounds i8, ptr %195, i64 %196
%198 = load i64, ptr %14, align 8
%199 = load i64, ptr %17, align 8
%200 = sub i64 %198, %199
%201 = load ptr, ptr %12, align 8
%202 = call i64 @fread(ptr noundef %197, i32 noundef 1, i64 noundef %200, ptr noundef %201)
store i64 %202, ptr %16, align 8
%203 = load i64, ptr %16, align 8
%204 = load i64, ptr %17, align 8
%205 = add i64 %204, %203
store i64 %205, ptr %17, align 8
br label %206
206: ; preds = %194
%207 = load i64, ptr %16, align 8
%208 = icmp ugt i64 %207, 0
br i1 %208, label %194, label %209, !llvm.loop !8
209: ; preds = %206
%210 = load i64, ptr %17, align 8
%211 = load i64, ptr %14, align 8
%212 = icmp ne i64 %210, %211
br i1 %212, label %213, label %222
213: ; preds = %209
%214 = load i32, ptr @stderr, align 4
%215 = load ptr, ptr %5, align 8
%216 = load i32, ptr %19, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds ptr, ptr %215, i64 %217
%219 = load ptr, ptr %218, align 8
%220 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %214, ptr noundef @.str.11, ptr noundef %219)
%221 = call i32 @exit(i32 noundef 1) #3
unreachable
222: ; preds = %209
%223 = load ptr, ptr %12, align 8
%224 = call i32 @fclose(ptr noundef %223)
%225 = load i32, ptr %7, align 4
%226 = icmp ne i32 %225, 0
br i1 %226, label %236, label %227
227: ; preds = %222
%228 = load ptr, ptr %9, align 8
%229 = call ptr @fopen(ptr noundef %228, ptr noundef @.str.6)
%230 = icmp ne ptr %229, null
br i1 %230, label %231, label %236
231: ; preds = %227
%232 = load i32, ptr @stderr, align 4
%233 = load ptr, ptr %9, align 8
%234 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %232, ptr noundef @.str.12, ptr noundef %233)
%235 = call i32 @exit(i32 noundef 1) #3
unreachable
236: ; preds = %227, %222
%237 = load ptr, ptr %9, align 8
%238 = call ptr @fopen(ptr noundef %237, ptr noundef @.str.13)
store ptr %238, ptr %13, align 8
%239 = load ptr, ptr %13, align 8
%240 = icmp ne ptr %239, null
br i1 %240, label %246, label %241
241: ; preds = %236
%242 = load i32, ptr @stderr, align 4
%243 = load ptr, ptr %9, align 8
%244 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %242, ptr noundef @.str.14, ptr noundef %243)
%245 = call i32 @exit(i32 noundef 1) #3
unreachable
246: ; preds = %236
%247 = load i32, ptr %8, align 4
%248 = icmp ne i32 %247, 0
br i1 %248, label %249, label %256
249: ; preds = %246
%250 = load ptr, ptr %10, align 8
%251 = load ptr, ptr %10, align 8
%252 = load i64, ptr %14, align 8
%253 = getelementptr inbounds i8, ptr %251, i64 %252
%254 = getelementptr inbounds i8, ptr %253, i64 -1
%255 = call i32 @reverse(ptr noundef %250, ptr noundef %254)
br label %256
256: ; preds = %249, %246
%257 = load ptr, ptr %10, align 8
%258 = load i64, ptr %14, align 8
%259 = load i64, ptr %6, align 8
%260 = call i32 @optimize(ptr noundef %257, i64 noundef %258, i64 noundef %259)
%261 = load ptr, ptr %10, align 8
%262 = load i64, ptr %14, align 8
%263 = load i64, ptr %6, align 8
%264 = call ptr @compress(i32 noundef %260, ptr noundef %261, i64 noundef %262, i64 noundef %263, ptr noundef %15, ptr noundef %18)
store ptr %264, ptr %11, align 8
%265 = load i32, ptr %8, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %274
267: ; preds = %256
%268 = load ptr, ptr %11, align 8
%269 = load ptr, ptr %11, align 8
%270 = load i64, ptr %15, align 8
%271 = getelementptr inbounds i8, ptr %269, i64 %270
%272 = getelementptr inbounds i8, ptr %271, i64 -1
%273 = call i32 @reverse(ptr noundef %268, ptr noundef %272)
br label %274
274: ; preds = %267, %256
%275 = load ptr, ptr %11, align 8
%276 = load i64, ptr %15, align 8
%277 = load ptr, ptr %13, align 8
%278 = call i64 @fwrite(ptr noundef %275, i32 noundef 1, i64 noundef %276, ptr noundef %277)
%279 = load i64, ptr %15, align 8
%280 = icmp ne i64 %278, %279
br i1 %280, label %281, label %286
281: ; preds = %274
%282 = load i32, ptr @stderr, align 4
%283 = load ptr, ptr %9, align 8
%284 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %282, ptr noundef @.str.15, ptr noundef %283)
%285 = call i32 @exit(i32 noundef 1) #3
unreachable
286: ; preds = %274
%287 = load ptr, ptr %13, align 8
%288 = call i32 @fclose(ptr noundef %287)
%289 = load i64, ptr %6, align 8
%290 = icmp ne i64 %289, 0
%291 = zext i1 %290 to i64
%292 = select i1 %290, ptr @.str.17, ptr @.str.18
%293 = load i32, ptr %8, align 4
%294 = icmp ne i32 %293, 0
%295 = zext i1 %294 to i64
%296 = select i1 %294, ptr @.str.19, ptr @.str.18
%297 = load i64, ptr %14, align 8
%298 = load i64, ptr %6, align 8
%299 = sub i64 %297, %298
%300 = load i64, ptr %15, align 8
%301 = load i64, ptr %18, align 8
%302 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %292, ptr noundef %296, i64 noundef %299, i64 noundef %300, i64 noundef %301)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @parse_long(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @reverse(ptr noundef, ptr noundef) #1
declare ptr @compress(i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @optimize(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4dv4n5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"ZX7: Optimal LZ77/LZSS compression by Einar Saukas\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-f\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-b\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"Error: Invalid parameter %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".zx7\00", align 1
@.str.5 = private unnamed_addr constant [110 x i8] c"Usage: %s [-f] [-b] input [output.zx7]\0A -f Force overwrite of output file\0A -b Compress backwards\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c"Error: Cannot access input file %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [28 x i8] c"Error: Empty input file %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"Error: Skipping entire input file %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Error: Insufficient memory\0A\00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"Error: Cannot read input file %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"Error: Already existing output file %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.14 = private unnamed_addr constant [37 x i8] c"Error: Cannot create output file %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"Error: Cannot write output file %s\0A\00", align 1
@.str.16 = private unnamed_addr constant [55 x i8] c"File%s converted%s from %lu to %lu bytes! (delta %ld)\0A\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c" partially\00", align 1
@.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.19 = private unnamed_addr constant [11 x i8] c" backwards\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %19, align 4
br label %21
21: ; preds = %85, %2
%22 = load i32, ptr %19, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %45
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %19, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %43, label %34
34: ; preds = %25
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %19, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 43
br label %43
43: ; preds = %34, %25
%44 = phi i1 [ true, %25 ], [ %42, %34 ]
br label %45
45: ; preds = %43, %21
%46 = phi i1 [ false, %21 ], [ %44, %43 ]
br i1 %46, label %47, label %88
47: ; preds = %45
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %19, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %47
store i32 1, ptr %7, align 4
br label %84
56: ; preds = %47
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %19, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.2)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %56
store i32 1, ptr %8, align 4
br label %83
65: ; preds = %56
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %19, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call i64 @parse_long(ptr noundef %70)
store i64 %71, ptr %6, align 8
%72 = icmp sle i64 %71, 0
br i1 %72, label %73, label %82
73: ; preds = %65
%74 = load i32, ptr @stderr, align 4
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %19, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.3, ptr noundef %79)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %65
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %55
br label %85
85: ; preds = %84
%86 = load i32, ptr %19, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %19, align 4
br label %21, !llvm.loop !6
88: ; preds = %45
%89 = load i32, ptr %4, align 4
%90 = load i32, ptr %19, align 4
%91 = add nsw i32 %90, 1
%92 = icmp eq i32 %89, %91
br i1 %92, label %93, label %112
93: ; preds = %88
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %19, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds ptr, ptr %94, i64 %96
%98 = load ptr, ptr %97, align 8
%99 = call i64 @strlen(ptr noundef %98)
%100 = add i64 %99, 5
%101 = call i64 @malloc(i64 noundef %100)
%102 = inttoptr i64 %101 to ptr
store ptr %102, ptr %9, align 8
%103 = load ptr, ptr %9, align 8
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %19, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = call i32 @strcpy(ptr noundef %103, ptr noundef %108)
%110 = load ptr, ptr %9, align 8
%111 = call i32 @strcat(ptr noundef %110, ptr noundef @.str.4)
br label %132
112: ; preds = %88
%113 = load i32, ptr %4, align 4
%114 = load i32, ptr %19, align 4
%115 = add nsw i32 %114, 2
%116 = icmp eq i32 %113, %115
br i1 %116, label %117, label %124
117: ; preds = %112
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %19, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %118, i64 %121
%123 = load ptr, ptr %122, align 8
store ptr %123, ptr %9, align 8
br label %131
124: ; preds = %112
%125 = load i32, ptr @stderr, align 4
%126 = load ptr, ptr %5, align 8
%127 = getelementptr inbounds ptr, ptr %126, i64 0
%128 = load ptr, ptr %127, align 8
%129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.5, ptr noundef %128)
%130 = call i32 @exit(i32 noundef 1) #3
unreachable
131: ; preds = %117
br label %132
132: ; preds = %131, %93
%133 = load ptr, ptr %5, align 8
%134 = load i32, ptr %19, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds ptr, ptr %133, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = call ptr @fopen(ptr noundef %137, ptr noundef @.str.6)
store ptr %138, ptr %12, align 8
%139 = load ptr, ptr %12, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %150, label %141
141: ; preds = %132
%142 = load i32, ptr @stderr, align 4
%143 = load ptr, ptr %5, align 8
%144 = load i32, ptr %19, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds ptr, ptr %143, i64 %145
%147 = load ptr, ptr %146, align 8
%148 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %142, ptr noundef @.str.7, ptr noundef %147)
%149 = call i32 @exit(i32 noundef 1) #3
unreachable
150: ; preds = %132
%151 = load ptr, ptr %12, align 8
%152 = load i32, ptr @SEEK_END, align 4
%153 = call i32 @fseek(ptr noundef %151, i64 noundef 0, i32 noundef %152)
%154 = load ptr, ptr %12, align 8
%155 = call i64 @ftell(ptr noundef %154)
store i64 %155, ptr %14, align 8
%156 = load ptr, ptr %12, align 8
%157 = load i32, ptr @SEEK_SET, align 4
%158 = call i32 @fseek(ptr noundef %156, i64 noundef 0, i32 noundef %157)
%159 = load i64, ptr %14, align 8
%160 = icmp ne i64 %159, 0
br i1 %160, label %170, label %161
161: ; preds = %150
%162 = load i32, ptr @stderr, align 4
%163 = load ptr, ptr %5, align 8
%164 = load i32, ptr %19, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %163, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %162, ptr noundef @.str.8, ptr noundef %167)
%169 = call i32 @exit(i32 noundef 1) #3
unreachable
170: ; preds = %150
%171 = load i64, ptr %6, align 8
%172 = load i64, ptr %14, align 8
%173 = icmp uge i64 %171, %172
br i1 %173, label %174, label %183
174: ; preds = %170
%175 = load i32, ptr @stderr, align 4
%176 = load ptr, ptr %5, align 8
%177 = load i32, ptr %19, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %175, ptr noundef @.str.9, ptr noundef %180)
%182 = call i32 @exit(i32 noundef 1) #3
unreachable
183: ; preds = %170
%184 = load i64, ptr %14, align 8
%185 = call i64 @malloc(i64 noundef %184)
%186 = inttoptr i64 %185 to ptr
store ptr %186, ptr %10, align 8
%187 = load ptr, ptr %10, align 8
%188 = icmp ne ptr %187, null
br i1 %188, label %193, label %189
189: ; preds = %183
%190 = load i32, ptr @stderr, align 4
%191 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %190, ptr noundef @.str.10)
%192 = call i32 @exit(i32 noundef 1) #3
unreachable
193: ; preds = %183
store i64 0, ptr %17, align 8
br label %194
194: ; preds = %206, %193
%195 = load ptr, ptr %10, align 8
%196 = load i64, ptr %17, align 8
%197 = getelementptr inbounds i8, ptr %195, i64 %196
%198 = load i64, ptr %14, align 8
%199 = load i64, ptr %17, align 8
%200 = sub i64 %198, %199
%201 = load ptr, ptr %12, align 8
%202 = call i64 @fread(ptr noundef %197, i32 noundef 1, i64 noundef %200, ptr noundef %201)
store i64 %202, ptr %16, align 8
%203 = load i64, ptr %16, align 8
%204 = load i64, ptr %17, align 8
%205 = add i64 %204, %203
store i64 %205, ptr %17, align 8
br label %206
206: ; preds = %194
%207 = load i64, ptr %16, align 8
%208 = icmp ugt i64 %207, 0
br i1 %208, label %194, label %209, !llvm.loop !8
209: ; preds = %206
%210 = load i64, ptr %17, align 8
%211 = load i64, ptr %14, align 8
%212 = icmp ne i64 %210, %211
br i1 %212, label %213, label %222
213: ; preds = %209
%214 = load i32, ptr @stderr, align 4
%215 = load ptr, ptr %5, align 8
%216 = load i32, ptr %19, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds ptr, ptr %215, i64 %217
%219 = load ptr, ptr %218, align 8
%220 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %214, ptr noundef @.str.11, ptr noundef %219)
%221 = call i32 @exit(i32 noundef 1) #3
unreachable
222: ; preds = %209
%223 = load ptr, ptr %12, align 8
%224 = call i32 @fclose(ptr noundef %223)
%225 = load i32, ptr %7, align 4
%226 = icmp ne i32 %225, 0
br i1 %226, label %236, label %227
227: ; preds = %222
%228 = load ptr, ptr %9, align 8
%229 = call ptr @fopen(ptr noundef %228, ptr noundef @.str.6)
%230 = icmp ne ptr %229, null
br i1 %230, label %231, label %236
231: ; preds = %227
%232 = load i32, ptr @stderr, align 4
%233 = load ptr, ptr %9, align 8
%234 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %232, ptr noundef @.str.12, ptr noundef %233)
%235 = call i32 @exit(i32 noundef 1) #3
unreachable
236: ; preds = %227, %222
%237 = load ptr, ptr %9, align 8
%238 = call ptr @fopen(ptr noundef %237, ptr noundef @.str.13)
store ptr %238, ptr %13, align 8
%239 = load ptr, ptr %13, align 8
%240 = icmp ne ptr %239, null
br i1 %240, label %246, label %241
241: ; preds = %236
%242 = load i32, ptr @stderr, align 4
%243 = load ptr, ptr %9, align 8
%244 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %242, ptr noundef @.str.14, ptr noundef %243)
%245 = call i32 @exit(i32 noundef 1) #3
unreachable
246: ; preds = %236
%247 = load i32, ptr %8, align 4
%248 = icmp ne i32 %247, 0
br i1 %248, label %249, label %256
249: ; preds = %246
%250 = load ptr, ptr %10, align 8
%251 = load ptr, ptr %10, align 8
%252 = load i64, ptr %14, align 8
%253 = getelementptr inbounds i8, ptr %251, i64 %252
%254 = getelementptr inbounds i8, ptr %253, i64 -1
%255 = call i32 @reverse(ptr noundef %250, ptr noundef %254)
br label %256
256: ; preds = %249, %246
%257 = load ptr, ptr %10, align 8
%258 = load i64, ptr %14, align 8
%259 = load i64, ptr %6, align 8
%260 = call i32 @optimize(ptr noundef %257, i64 noundef %258, i64 noundef %259)
%261 = load ptr, ptr %10, align 8
%262 = load i64, ptr %14, align 8
%263 = load i64, ptr %6, align 8
%264 = call ptr @compress(i32 noundef %260, ptr noundef %261, i64 noundef %262, i64 noundef %263, ptr noundef %15, ptr noundef %18)
store ptr %264, ptr %11, align 8
%265 = load i32, ptr %8, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %274
267: ; preds = %256
%268 = load ptr, ptr %11, align 8
%269 = load ptr, ptr %11, align 8
%270 = load i64, ptr %15, align 8
%271 = getelementptr inbounds i8, ptr %269, i64 %270
%272 = getelementptr inbounds i8, ptr %271, i64 -1
%273 = call i32 @reverse(ptr noundef %268, ptr noundef %272)
br label %274
274: ; preds = %267, %256
%275 = load ptr, ptr %11, align 8
%276 = load i64, ptr %15, align 8
%277 = load ptr, ptr %13, align 8
%278 = call i64 @fwrite(ptr noundef %275, i32 noundef 1, i64 noundef %276, ptr noundef %277)
%279 = load i64, ptr %15, align 8
%280 = icmp ne i64 %278, %279
br i1 %280, label %281, label %286
281: ; preds = %274
%282 = load i32, ptr @stderr, align 4
%283 = load ptr, ptr %9, align 8
%284 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %282, ptr noundef @.str.15, ptr noundef %283)
%285 = call i32 @exit(i32 noundef 1) #3
unreachable
286: ; preds = %274
%287 = load ptr, ptr %13, align 8
%288 = call i32 @fclose(ptr noundef %287)
%289 = load i64, ptr %6, align 8
%290 = icmp ne i64 %289, 0
%291 = zext i1 %290 to i64
%292 = select i1 %290, ptr @.str.17, ptr @.str.18
%293 = load i32, ptr %8, align 4
%294 = icmp ne i32 %293, 0
%295 = zext i1 %294 to i64
%296 = select i1 %294, ptr @.str.19, ptr @.str.18
%297 = load i64, ptr %14, align 8
%298 = load i64, ptr %6, align 8
%299 = sub i64 %297, %298
%300 = load i64, ptr %15, align 8
%301 = load i64, ptr %18, align 8
%302 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %292, ptr noundef %296, i64 noundef %299, i64 noundef %300, i64 noundef %301)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @parse_long(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @reverse(ptr noundef, ptr noundef) #1
declare ptr @compress(i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @optimize(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6ogw7ecw.c'
source_filename = "/tmp/tmp6ogw7ecw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d %d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %16, %17
%19 = sdiv i32 %15, %18
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sub nsw i32 %20, %23
store i32 %24, ptr %10, align 4
store i32 1, ptr %11, align 4
br label %25
25: ; preds = %38, %0
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %41
29: ; preds = %25
%30 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %10, align 4
%33 = sub nsw i32 %31, %32
%34 = load i32, ptr %9, align 4
%35 = sdiv i32 %33, %34
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %36)
br label %38
38: ; preds = %29
%39 = load i32, ptr %11, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %11, align 4
br label %25, !llvm.loop !6
41: ; preds = %25
%42 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %10, align 4
%45 = sub nsw i32 %43, %44
%46 = load i32, ptr %9, align 4
%47 = sdiv i32 %45, %46
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = call i32 @printf(ptr noundef @.str.3, i32 noundef %48)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ogw7ecw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d %d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %16, %17
%19 = sdiv i32 %15, %18
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sub nsw i32 %20, %23
store i32 %24, ptr %10, align 4
store i32 1, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %43
.lr.ph: ; preds = %0
br label %28
28: ; preds = %.lr.ph, %37
%29 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %10, align 4
%32 = sub nsw i32 %30, %31
%33 = load i32, ptr %9, align 4
%34 = sdiv i32 %32, %33
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %28
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %0
%44 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %10, align 4
%47 = sub nsw i32 %45, %46
%48 = load i32, ptr %9, align 4
%49 = sdiv i32 %47, %48
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = call i32 @printf(ptr noundef @.str.3, i32 noundef %50)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphufh9g9i.c'
source_filename = "/tmp/tmphufh9g9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCIntDisable(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 = icmp eq i32 %5, 1073971200
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1073975296
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ true, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @ASSERT(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
%16 = zext i1 %15 to i32
%17 = call i32 @ASSERT(i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = shl i32 1, %18
%20 = xor i32 %19, -1
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to ptr
%25 = load volatile i32, ptr %24, align 4
%26 = and i32 %25, %20
store volatile i32 %26, ptr %24, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphufh9g9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCIntDisable(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 = icmp eq i32 %5, 1073971200
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1073975296
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ true, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @ASSERT(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
%16 = zext i1 %15 to i32
%17 = call i32 @ASSERT(i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = shl i32 1, %18
%20 = xor i32 %19, -1
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to ptr
%25 = load volatile i32, ptr %24, align 4
%26 = and i32 %25, %20
store volatile i32 %26, ptr %24, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpminq8jmy.c'
source_filename = "/tmp/tmpminq8jmy.c"
target datalayout = "e-m:e-p270: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/tmpminq8jmy.c"
target datalayout = "e-m:e-p270: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/tmpu7mom06c.c'
source_filename = "/tmp/tmpu7mom06c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Novo salario: %0.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Reajuste ganho: %0.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Em percentual: 15 %%\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Em percentual: 12 %%\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Em percentual: 10 %%\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Em percentual: 7 %%\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Em percentual: 4 %%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = fcmp oge float %6, 0.000000e+00
br i1 %7, label %8, label %29
8: ; preds = %0
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fcmp ole double %10, 4.000000e+02
br i1 %11, label %12, label %29
12: ; preds = %8
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = call double @llvm.fmuladd.f64(double %16, double 1.500000e-01, double %14)
%18 = fptrunc double %17 to float
store float %18, ptr %3, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %2, align 4
%21 = fsub float %19, %20
store float %21, ptr %4, align 4
%22 = load float, ptr %3, align 4
%23 = fpext float %22 to double
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23)
%25 = load float, ptr %4, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %125
29: ; preds = %8, %0
%30 = load float, ptr %2, align 4
%31 = fpext float %30 to double
%32 = fcmp oge double %31, 4.000100e+02
br i1 %32, label %33, label %53
33: ; preds = %29
%34 = load float, ptr %2, align 4
%35 = fcmp ole float %34, 8.000000e+02
br i1 %35, label %36, label %53
36: ; preds = %33
%37 = load float, ptr %2, align 4
%38 = fpext float %37 to double
%39 = load float, ptr %2, align 4
%40 = fpext float %39 to double
%41 = call double @llvm.fmuladd.f64(double %40, double 1.200000e-01, double %38)
%42 = fptrunc double %41 to float
store float %42, ptr %3, align 4
%43 = load float, ptr %3, align 4
%44 = load float, ptr %2, align 4
%45 = fsub float %43, %44
store float %45, ptr %4, align 4
%46 = load float, ptr %3, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %47)
%49 = load float, ptr %4, align 4
%50 = fpext float %49 to double
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %124
53: ; preds = %33, %29
%54 = load float, ptr %2, align 4
%55 = fpext float %54 to double
%56 = fcmp oge double %55, 0x408900147AE147AE
br i1 %56, label %57, label %77
57: ; preds = %53
%58 = load float, ptr %2, align 4
%59 = fcmp ole float %58, 1.200000e+03
br i1 %59, label %60, label %77
60: ; preds = %57
%61 = load float, ptr %2, align 4
%62 = fpext float %61 to double
%63 = load float, ptr %2, align 4
%64 = fpext float %63 to double
%65 = call double @llvm.fmuladd.f64(double %64, double 1.000000e-01, double %62)
%66 = fptrunc double %65 to float
store float %66, ptr %3, align 4
%67 = load float, ptr %3, align 4
%68 = load float, ptr %2, align 4
%69 = fsub float %67, %68
store float %69, ptr %4, align 4
%70 = load float, ptr %3, align 4
%71 = fpext float %70 to double
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %71)
%73 = load float, ptr %4, align 4
%74 = fpext float %73 to double
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %74)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %123
77: ; preds = %57, %53
%78 = load float, ptr %2, align 4
%79 = fpext float %78 to double
%80 = fcmp oge double %79, 1.200010e+03
br i1 %80, label %81, label %101
81: ; preds = %77
%82 = load float, ptr %2, align 4
%83 = fcmp ole float %82, 2.000000e+03
br i1 %83, label %84, label %101
84: ; preds = %81
%85 = load float, ptr %2, align 4
%86 = fpext float %85 to double
%87 = load float, ptr %2, align 4
%88 = fpext float %87 to double
%89 = call double @llvm.fmuladd.f64(double %88, double 7.000000e-02, double %86)
%90 = fptrunc double %89 to float
store float %90, ptr %3, align 4
%91 = load float, ptr %3, align 4
%92 = load float, ptr %2, align 4
%93 = fsub float %91, %92
store float %93, ptr %4, align 4
%94 = load float, ptr %3, align 4
%95 = fpext float %94 to double
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %95)
%97 = load float, ptr %4, align 4
%98 = fpext float %97 to double
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %98)
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %122
101: ; preds = %81, %77
%102 = load float, ptr %2, align 4
%103 = fcmp ogt float %102, 2.000000e+03
br i1 %103, label %104, label %121
104: ; preds = %101
%105 = load float, ptr %2, align 4
%106 = fpext float %105 to double
%107 = load float, ptr %2, align 4
%108 = fpext float %107 to double
%109 = call double @llvm.fmuladd.f64(double %108, double 4.000000e-02, double %106)
%110 = fptrunc double %109 to float
store float %110, ptr %3, align 4
%111 = load float, ptr %3, align 4
%112 = load float, ptr %2, align 4
%113 = fsub float %111, %112
store float %113, ptr %4, align 4
%114 = load float, ptr %3, align 4
%115 = fpext float %114 to double
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %115)
%117 = load float, ptr %4, align 4
%118 = fpext float %117 to double
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %118)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %121
121: ; preds = %104, %101
br label %122
122: ; preds = %121, %84
br label %123
123: ; preds = %122, %60
br label %124
124: ; preds = %123, %36
br label %125
125: ; preds = %124, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7mom06c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Novo salario: %0.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Reajuste ganho: %0.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Em percentual: 15 %%\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Em percentual: 12 %%\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Em percentual: 10 %%\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Em percentual: 7 %%\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Em percentual: 4 %%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = fcmp oge float %6, 0.000000e+00
br i1 %7, label %8, label %29
8: ; preds = %0
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fcmp ole double %10, 4.000000e+02
br i1 %11, label %12, label %29
12: ; preds = %8
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = call double @llvm.fmuladd.f64(double %16, double 1.500000e-01, double %14)
%18 = fptrunc double %17 to float
store float %18, ptr %3, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %2, align 4
%21 = fsub float %19, %20
store float %21, ptr %4, align 4
%22 = load float, ptr %3, align 4
%23 = fpext float %22 to double
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23)
%25 = load float, ptr %4, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %125
29: ; preds = %8, %0
%30 = load float, ptr %2, align 4
%31 = fpext float %30 to double
%32 = fcmp oge double %31, 4.000100e+02
br i1 %32, label %33, label %53
33: ; preds = %29
%34 = load float, ptr %2, align 4
%35 = fcmp ole float %34, 8.000000e+02
br i1 %35, label %36, label %53
36: ; preds = %33
%37 = load float, ptr %2, align 4
%38 = fpext float %37 to double
%39 = load float, ptr %2, align 4
%40 = fpext float %39 to double
%41 = call double @llvm.fmuladd.f64(double %40, double 1.200000e-01, double %38)
%42 = fptrunc double %41 to float
store float %42, ptr %3, align 4
%43 = load float, ptr %3, align 4
%44 = load float, ptr %2, align 4
%45 = fsub float %43, %44
store float %45, ptr %4, align 4
%46 = load float, ptr %3, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %47)
%49 = load float, ptr %4, align 4
%50 = fpext float %49 to double
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %124
53: ; preds = %33, %29
%54 = load float, ptr %2, align 4
%55 = fpext float %54 to double
%56 = fcmp oge double %55, 0x408900147AE147AE
br i1 %56, label %57, label %77
57: ; preds = %53
%58 = load float, ptr %2, align 4
%59 = fcmp ole float %58, 1.200000e+03
br i1 %59, label %60, label %77
60: ; preds = %57
%61 = load float, ptr %2, align 4
%62 = fpext float %61 to double
%63 = load float, ptr %2, align 4
%64 = fpext float %63 to double
%65 = call double @llvm.fmuladd.f64(double %64, double 1.000000e-01, double %62)
%66 = fptrunc double %65 to float
store float %66, ptr %3, align 4
%67 = load float, ptr %3, align 4
%68 = load float, ptr %2, align 4
%69 = fsub float %67, %68
store float %69, ptr %4, align 4
%70 = load float, ptr %3, align 4
%71 = fpext float %70 to double
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %71)
%73 = load float, ptr %4, align 4
%74 = fpext float %73 to double
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %74)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %123
77: ; preds = %57, %53
%78 = load float, ptr %2, align 4
%79 = fpext float %78 to double
%80 = fcmp oge double %79, 1.200010e+03
br i1 %80, label %81, label %101
81: ; preds = %77
%82 = load float, ptr %2, align 4
%83 = fcmp ole float %82, 2.000000e+03
br i1 %83, label %84, label %101
84: ; preds = %81
%85 = load float, ptr %2, align 4
%86 = fpext float %85 to double
%87 = load float, ptr %2, align 4
%88 = fpext float %87 to double
%89 = call double @llvm.fmuladd.f64(double %88, double 7.000000e-02, double %86)
%90 = fptrunc double %89 to float
store float %90, ptr %3, align 4
%91 = load float, ptr %3, align 4
%92 = load float, ptr %2, align 4
%93 = fsub float %91, %92
store float %93, ptr %4, align 4
%94 = load float, ptr %3, align 4
%95 = fpext float %94 to double
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %95)
%97 = load float, ptr %4, align 4
%98 = fpext float %97 to double
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %98)
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %122
101: ; preds = %81, %77
%102 = load float, ptr %2, align 4
%103 = fcmp ogt float %102, 2.000000e+03
br i1 %103, label %104, label %121
104: ; preds = %101
%105 = load float, ptr %2, align 4
%106 = fpext float %105 to double
%107 = load float, ptr %2, align 4
%108 = fpext float %107 to double
%109 = call double @llvm.fmuladd.f64(double %108, double 4.000000e-02, double %106)
%110 = fptrunc double %109 to float
store float %110, ptr %3, align 4
%111 = load float, ptr %3, align 4
%112 = load float, ptr %2, align 4
%113 = fsub float %111, %112
store float %113, ptr %4, align 4
%114 = load float, ptr %3, align 4
%115 = fpext float %114 to double
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %115)
%117 = load float, ptr %4, align 4
%118 = fpext float %117 to double
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %118)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %121
121: ; preds = %104, %101
br label %122
122: ; preds = %121, %84
br label %123
123: ; preds = %122, %60
br label %124
124: ; preds = %123, %36
br label %125
125: ; preds = %124, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwv9sj20a.c'
source_filename = "/tmp/tmpwv9sj20a.c"
target datalayout = "e-m:e-p270: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 [73 x i8] c"Usage:\0Anandlogical <mtd char device> READ|WRITE <start> <length> <file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmpwv9sj20a.c"
target datalayout = "e-m:e-p270: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 [73 x i8] c"Usage:\0Anandlogical <mtd char device> READ|WRITE <start> <length> <file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmp788tt3yx.c'
source_filename = "/tmp/tmp788tt3yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_TRANSPARENT_INDEX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @s2_menu(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
switch i32 %4, label %23 [
i32 1, label %5
i32 2, label %7
i32 666, label %21
]
5: ; preds = %1
%6 = call i32 (...) @glutRemoveOverlay()
br label %23
7: ; preds = %1
%8 = call i32 (...) @glutEstablishOverlay()
%9 = load i32, ptr @GLUT_TRANSPARENT_INDEX, align 4
%10 = call i32 @glutLayerGet(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @glClearIndex(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
%15 = srem i32 %14, 2
%16 = call i32 @glutSetColor(i32 noundef %15, double noundef 0.000000e+00, double noundef 2.500000e-01, double noundef 0.000000e+00)
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
%19 = srem i32 %18, 2
%20 = call i32 @glIndexi(i32 noundef %19)
br label %23
21: ; preds = %1
%22 = call i32 @exit(i32 noundef 0) #3
unreachable
23: ; preds = %1, %7, %5
ret void
}
declare i32 @glutRemoveOverlay(...) #1
declare i32 @glutEstablishOverlay(...) #1
declare i32 @glutLayerGet(i32 noundef) #1
declare i32 @glClearIndex(i32 noundef) #1
declare i32 @glutSetColor(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glIndexi(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp788tt3yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_TRANSPARENT_INDEX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @s2_menu(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
switch i32 %4, label %23 [
i32 1, label %5
i32 2, label %7
i32 666, label %21
]
5: ; preds = %1
%6 = call i32 (...) @glutRemoveOverlay()
br label %23
7: ; preds = %1
%8 = call i32 (...) @glutEstablishOverlay()
%9 = load i32, ptr @GLUT_TRANSPARENT_INDEX, align 4
%10 = call i32 @glutLayerGet(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @glClearIndex(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
%15 = srem i32 %14, 2
%16 = call i32 @glutSetColor(i32 noundef %15, double noundef 0.000000e+00, double noundef 2.500000e-01, double noundef 0.000000e+00)
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
%19 = srem i32 %18, 2
%20 = call i32 @glIndexi(i32 noundef %19)
br label %23
21: ; preds = %1
%22 = call i32 @exit(i32 noundef 0) #3
unreachable
23: ; preds = %7, %5, %1
ret void
}
declare i32 @glutRemoveOverlay(...) #1
declare i32 @glutEstablishOverlay(...) #1
declare i32 @glutLayerGet(i32 noundef) #1
declare i32 @glClearIndex(i32 noundef) #1
declare i32 @glutSetColor(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glIndexi(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp3iz4az7.c'
source_filename = "/tmp/tmpp3iz4az7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"calling test_show_bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"calling show_twocomp\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Calling simple_show\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Calling float_eg\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Calling string_eg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 12345, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %40
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 48
br i1 %16, label %17, label %31
17: ; preds = %9
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, 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 eq i32 %23, 120
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 2
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %6)
br label %36
31: ; preds = %17, %9
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %6)
br label %36
36: ; preds = %31, %25
%37 = call i32 @printf(ptr noundef @.str.2)
%38 = load i32, ptr %6, align 4
%39 = call i32 @test_show_bytes(i32 noundef %38)
br label %49
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.3)
%42 = call i32 (...) @show_twocomp()
%43 = call i32 @printf(ptr noundef @.str.4)
%44 = call i32 (...) @simple_show()
%45 = call i32 @printf(ptr noundef @.str.5)
%46 = call i32 (...) @float_eg()
%47 = call i32 @printf(ptr noundef @.str.6)
%48 = call i32 (...) @string_eg()
br label %49
49: ; preds = %40, %36
ret i32 0
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @test_show_bytes(i32 noundef) #1
declare i32 @show_twocomp(...) #1
declare i32 @simple_show(...) #1
declare i32 @float_eg(...) #1
declare i32 @string_eg(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3iz4az7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"calling test_show_bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"calling show_twocomp\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Calling simple_show\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Calling float_eg\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Calling string_eg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 12345, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %40
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 48
br i1 %16, label %17, label %31
17: ; preds = %9
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, 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 eq i32 %23, 120
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 2
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %6)
br label %36
31: ; preds = %17, %9
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %6)
br label %36
36: ; preds = %31, %25
%37 = call i32 @printf(ptr noundef @.str.2)
%38 = load i32, ptr %6, align 4
%39 = call i32 @test_show_bytes(i32 noundef %38)
br label %49
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.3)
%42 = call i32 (...) @show_twocomp()
%43 = call i32 @printf(ptr noundef @.str.4)
%44 = call i32 (...) @simple_show()
%45 = call i32 @printf(ptr noundef @.str.5)
%46 = call i32 (...) @float_eg()
%47 = call i32 @printf(ptr noundef @.str.6)
%48 = call i32 (...) @string_eg()
br label %49
49: ; preds = %40, %36
ret i32 0
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @test_show_bytes(i32 noundef) #1
declare i32 @show_twocomp(...) #1
declare i32 @simple_show(...) #1
declare i32 @float_eg(...) #1
declare i32 @string_eg(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcozrlfor.c'
source_filename = "/tmp/tmpcozrlfor.c"
target datalayout = "e-m:e-p270: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/tmpcozrlfor.c"
target datalayout = "e-m:e-p270: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/tmp60k0lnhd.c'
source_filename = "/tmp/tmp60k0lnhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @verifica_primo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 3
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = call i32 @pow(i32 noundef %12, i32 noundef 2)
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %8, %2
store i8 80, ptr %3, align 1
br label %31
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %25, label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = srem i32 %21, %22
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %20, %17
store i8 78, ptr %3, align 1
br label %31
26: ; preds = %20
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = call signext i8 @verifica_primo(i32 noundef %27, i32 noundef %29)
store i8 %30, ptr %3, align 1
br label %31
31: ; preds = %26, %25, %16
%32 = load i8, ptr %3, align 1
ret i8 %32
}
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp60k0lnhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @verifica_primo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 3
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = call i32 @pow(i32 noundef %12, i32 noundef 2)
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %8, %2
store i8 80, ptr %3, align 1
br label %31
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %25, label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = srem i32 %21, %22
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %20, %17
store i8 78, ptr %3, align 1
br label %31
26: ; preds = %20
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = call signext i8 @verifica_primo(i32 noundef %27, i32 noundef %29)
store i8 %30, ptr %3, align 1
br label %31
31: ; preds = %26, %25, %16
%32 = load i8, ptr %3, align 1
ret i8 %32
}
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqkhm0nf_.c'
source_filename = "/tmp/tmpqkhm0nf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @syscall(i32 noundef 147, i32 noundef %3)
ret i32 %4
}
declare i32 @syscall(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/tmpqkhm0nf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @syscall(i32 noundef 147, i32 noundef %3)
ret i32 %4
}
declare i32 @syscall(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/tmpwkerpy0e.c'
source_filename = "/tmp/tmpwkerpy0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"|%s|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca [12 x i8], align 1
%2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @inttostr(i32 noundef 1, ptr noundef %2)
%4 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @inttostr(i32 noundef 12, ptr noundef %6)
%8 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @inttostr(i32 noundef 123, ptr noundef %10)
%12 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%15 = call i32 @inttostr(i32 noundef 1234, ptr noundef %14)
%16 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @inttostr(i32 noundef 1234567890, ptr noundef %18)
%20 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
%22 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%23 = call i32 @inttostr(i32 noundef 0, ptr noundef %22)
%24 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%27 = call i32 @inttostr(i32 noundef -1, ptr noundef %26)
%28 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%31 = call i32 @inttostr(i32 noundef -12, ptr noundef %30)
%32 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
%34 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%35 = call i32 @inttostr(i32 noundef -123, ptr noundef %34)
%36 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %36)
%38 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @inttostr(i32 noundef -1234, ptr noundef %38)
%40 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%41 = call i32 @printf(ptr noundef @.str, ptr noundef %40)
%42 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%43 = call i32 @inttostr(i32 noundef -1234567890, ptr noundef %42)
%44 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%45 = call i32 @printf(ptr noundef @.str, ptr noundef %44)
ret void
}
declare i32 @inttostr(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwkerpy0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"|%s|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca [12 x i8], align 1
%2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @inttostr(i32 noundef 1, ptr noundef %2)
%4 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @inttostr(i32 noundef 12, ptr noundef %6)
%8 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @inttostr(i32 noundef 123, ptr noundef %10)
%12 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%15 = call i32 @inttostr(i32 noundef 1234, ptr noundef %14)
%16 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @inttostr(i32 noundef 1234567890, ptr noundef %18)
%20 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
%22 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%23 = call i32 @inttostr(i32 noundef 0, ptr noundef %22)
%24 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%27 = call i32 @inttostr(i32 noundef -1, ptr noundef %26)
%28 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%31 = call i32 @inttostr(i32 noundef -12, ptr noundef %30)
%32 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
%34 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%35 = call i32 @inttostr(i32 noundef -123, ptr noundef %34)
%36 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %36)
%38 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @inttostr(i32 noundef -1234, ptr noundef %38)
%40 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%41 = call i32 @printf(ptr noundef @.str, ptr noundef %40)
%42 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%43 = call i32 @inttostr(i32 noundef -1234567890, ptr noundef %42)
%44 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%45 = call i32 @printf(ptr noundef @.str, ptr noundef %44)
ret void
}
declare i32 @inttostr(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp87j0n_2h.c'
source_filename = "/tmp/tmp87j0n_2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0A\0AToo many iterations in tqli.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @eigenvalue_tqli(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 2, ptr %10, align 4
br label %19
19: ; preds = %34, %3
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %37
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %29, i64 %32
store double %28, ptr %33, align 8
br label %34
34: ; preds = %23
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
store double 0.000000e+00, ptr %41, align 8
store i32 1, ptr %8, align 4
br label %42
42: ; preds = %269, %37
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %272
46: ; preds = %42
store i32 0, ptr %9, align 4
br label %47
47: ; preds = %264, %46
%48 = load i32, ptr %8, align 4
store i32 %48, ptr %7, align 4
br label %49
49: ; preds = %81, %47
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = icmp sle i32 %50, %52
br i1 %53, label %54, label %84
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = call double @llvm.fabs.f64(double %59)
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %61, i64 %64
%66 = load double, ptr %65, align 8
%67 = call double @llvm.fabs.f64(double %66)
%68 = fadd double %60, %67
store double %68, ptr %16, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = call double @llvm.fabs.f64(double %73)
%75 = load double, ptr %16, align 8
%76 = fadd double %74, %75
%77 = load double, ptr %16, align 8
%78 = fcmp oeq double %76, %77
br i1 %78, label %79, label %80
79: ; preds = %54
br label %84
80: ; preds = %54
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
br label %49, !llvm.loop !8
84: ; preds = %79, %49
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp ne i32 %85, %86
br i1 %87, label %88, label %263
88: ; preds = %84
%89 = load i32, ptr %9, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %9, align 4
%91 = icmp eq i32 %89, 30
br i1 %91, label %92, label %95
92: ; preds = %88
%93 = call i32 @printf(ptr noundef @.str)
%94 = call i32 @exit(i32 noundef 1) #4
unreachable
95: ; preds = %88
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %96, i64 %99
%101 = load double, ptr %100, align 8
%102 = load ptr, ptr %4, align 8
%103 = load i32, ptr %8, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
%106 = load double, ptr %105, align 8
%107 = fsub double %101, %106
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %8, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = fmul double 2.000000e+00, %112
%114 = fdiv double %107, %113
store double %114, ptr %14, align 8
%115 = load double, ptr %14, align 8
%116 = call double @pythag(double noundef %115, double noundef 1.000000e+00)
store double %116, ptr %12, align 8
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %7, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
%121 = load double, ptr %120, align 8
%122 = load ptr, ptr %4, align 8
%123 = load i32, ptr %8, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %122, i64 %124
%126 = load double, ptr %125, align 8
%127 = fsub double %121, %126
%128 = load ptr, ptr %5, align 8
%129 = load i32, ptr %8, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds double, ptr %128, i64 %130
%132 = load double, ptr %131, align 8
%133 = load double, ptr %14, align 8
%134 = load double, ptr %14, align 8
%135 = fcmp olt double %134, 0.000000e+00
br i1 %135, label %136, label %140
136: ; preds = %95
%137 = load double, ptr %12, align 8
%138 = call double @llvm.fabs.f64(double %137)
%139 = fneg double %138
br label %143
140: ; preds = %95
%141 = load double, ptr %12, align 8
%142 = call double @llvm.fabs.f64(double %141)
br label %143
143: ; preds = %140, %136
%144 = phi double [ %139, %136 ], [ %142, %140 ]
%145 = fadd double %133, %144
%146 = fdiv double %132, %145
%147 = fadd double %127, %146
store double %147, ptr %14, align 8
store double 1.000000e+00, ptr %17, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %13, align 8
%148 = load i32, ptr %7, align 4
%149 = sub nsw i32 %148, 1
store i32 %149, ptr %10, align 4
br label %150
150: ; preds = %235, %143
%151 = load i32, ptr %10, align 4
%152 = load i32, ptr %8, align 4
%153 = icmp sge i32 %151, %152
br i1 %153, label %154, label %238
154: ; preds = %150
%155 = load double, ptr %11, align 8
%156 = load ptr, ptr %5, align 8
%157 = load i32, ptr %10, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %156, i64 %158
%160 = load double, ptr %159, align 8
%161 = fmul double %155, %160
store double %161, ptr %15, align 8
%162 = load double, ptr %17, align 8
%163 = load ptr, ptr %5, align 8
%164 = load i32, ptr %10, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %163, i64 %165
%167 = load double, ptr %166, align 8
%168 = fmul double %162, %167
store double %168, ptr %18, align 8
%169 = load double, ptr %15, align 8
%170 = load double, ptr %14, align 8
%171 = call double @pythag(double noundef %169, double noundef %170)
store double %171, ptr %12, align 8
%172 = load ptr, ptr %5, align 8
%173 = load i32, ptr %10, align 4
%174 = add nsw i32 %173, 1
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %172, i64 %175
store double %171, ptr %176, align 8
%177 = load double, ptr %12, align 8
%178 = fcmp oeq double %177, 0.000000e+00
br i1 %178, label %179, label %192
179: ; preds = %154
%180 = load double, ptr %13, align 8
%181 = load ptr, ptr %4, align 8
%182 = load i32, ptr %10, align 4
%183 = add nsw i32 %182, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, ptr %181, i64 %184
%186 = load double, ptr %185, align 8
%187 = fsub double %186, %180
store double %187, ptr %185, align 8
%188 = load ptr, ptr %5, align 8
%189 = load i32, ptr %7, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, ptr %188, i64 %190
store double 0.000000e+00, ptr %191, align 8
br label %238
192: ; preds = %154
%193 = load double, ptr %15, align 8
%194 = load double, ptr %12, align 8
%195 = fdiv double %193, %194
store double %195, ptr %11, align 8
%196 = load double, ptr %14, align 8
%197 = load double, ptr %12, align 8
%198 = fdiv double %196, %197
store double %198, ptr %17, align 8
%199 = load ptr, ptr %4, align 8
%200 = load i32, ptr %10, align 4
%201 = add nsw i32 %200, 1
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds double, ptr %199, i64 %202
%204 = load double, ptr %203, align 8
%205 = load double, ptr %13, align 8
%206 = fsub double %204, %205
store double %206, ptr %14, align 8
%207 = load ptr, ptr %4, align 8
%208 = load i32, ptr %10, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
%211 = load double, ptr %210, align 8
%212 = load double, ptr %14, align 8
%213 = fsub double %211, %212
%214 = load double, ptr %11, align 8
%215 = load double, ptr %17, align 8
%216 = fmul double 2.000000e+00, %215
%217 = load double, ptr %18, align 8
%218 = fmul double %216, %217
%219 = call double @llvm.fmuladd.f64(double %213, double %214, double %218)
store double %219, ptr %12, align 8
%220 = load double, ptr %14, align 8
%221 = load double, ptr %11, align 8
%222 = load double, ptr %12, align 8
%223 = fmul double %221, %222
store double %223, ptr %13, align 8
%224 = fadd double %220, %223
%225 = load ptr, ptr %4, align 8
%226 = load i32, ptr %10, align 4
%227 = add nsw i32 %226, 1
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds double, ptr %225, i64 %228
store double %224, ptr %229, align 8
%230 = load double, ptr %17, align 8
%231 = load double, ptr %12, align 8
%232 = load double, ptr %18, align 8
%233 = fneg double %232
%234 = call double @llvm.fmuladd.f64(double %230, double %231, double %233)
store double %234, ptr %14, align 8
br label %235
235: ; preds = %192
%236 = load i32, ptr %10, align 4
%237 = add nsw i32 %236, -1
store i32 %237, ptr %10, align 4
br label %150, !llvm.loop !9
238: ; preds = %179, %150
%239 = load double, ptr %12, align 8
%240 = fcmp oeq double %239, 0.000000e+00
br i1 %240, label %241, label %246
241: ; preds = %238
%242 = load i32, ptr %10, align 4
%243 = load i32, ptr %8, align 4
%244 = icmp sge i32 %242, %243
br i1 %244, label %245, label %246
245: ; preds = %241
br label %264
246: ; preds = %241, %238
%247 = load double, ptr %13, align 8
%248 = load ptr, ptr %4, align 8
%249 = load i32, ptr %8, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
%252 = load double, ptr %251, align 8
%253 = fsub double %252, %247
store double %253, ptr %251, align 8
%254 = load double, ptr %14, align 8
%255 = load ptr, ptr %5, align 8
%256 = load i32, ptr %8, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds double, ptr %255, i64 %257
store double %254, ptr %258, align 8
%259 = load ptr, ptr %5, align 8
%260 = load i32, ptr %7, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds double, ptr %259, i64 %261
store double 0.000000e+00, ptr %262, align 8
br label %263
263: ; preds = %246, %84
br label %264
264: ; preds = %263, %245
%265 = load i32, ptr %7, align 4
%266 = load i32, ptr %8, align 4
%267 = icmp ne i32 %265, %266
br i1 %267, label %47, label %268, !llvm.loop !10
268: ; preds = %264
br label %269
269: ; preds = %268
%270 = load i32, ptr %8, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %8, align 4
br label %42, !llvm.loop !11
272: ; preds = %42
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare double @pythag(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87j0n_2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0A\0AToo many iterations in tqli.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @eigenvalue_tqli(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 2, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %33
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %10, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %28, i64 %31
store double %27, ptr %32, align 8
br label %33
33: ; preds = %22
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %3
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
store double 0.000000e+00, ptr %43, align 8
store i32 1, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %.lr.ph7, label %281
.lr.ph7: ; preds = %39
br label %47
47: ; preds = %.lr.ph7, %275
store i32 0, ptr %9, align 4
br label %48
48: ; preds = %270, %47
%49 = load i32, ptr %8, align 4
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = icmp sle i32 %50, %52
br i1 %53, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %48
br label %54
54: ; preds = %.lr.ph3, %81
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = call double @llvm.fabs.f64(double %59)
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %61, i64 %64
%66 = load double, ptr %65, align 8
%67 = call double @llvm.fabs.f64(double %66)
%68 = fadd double %60, %67
store double %68, ptr %16, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = call double @llvm.fabs.f64(double %73)
%75 = load double, ptr %16, align 8
%76 = fadd double %74, %75
%77 = load double, ptr %16, align 8
%78 = fcmp oeq double %76, %77
br i1 %78, label %79, label %80
79: ; preds = %54
br label %88
80: ; preds = %54
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
%84 = load i32, ptr %7, align 4
%85 = load i32, ptr %6, align 4
%86 = sub nsw i32 %85, 1
%87 = icmp sle i32 %84, %86
br i1 %87, label %54, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %81
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %48
br label %88
88: ; preds = %.loopexit1, %79
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp ne i32 %89, %90
br i1 %91, label %92, label %269
92: ; preds = %88
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
%95 = icmp eq i32 %93, 30
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = call i32 @printf(ptr noundef @.str)
%98 = call i32 @exit(i32 noundef 1) #4
unreachable
99: ; preds = %92
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %8, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %100, i64 %103
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %8, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = fsub double %105, %110
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %8, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = fmul double 2.000000e+00, %116
%118 = fdiv double %111, %117
store double %118, ptr %14, align 8
%119 = load double, ptr %14, align 8
%120 = call double @pythag(double noundef %119, double noundef 1.000000e+00)
store double %120, ptr %12, align 8
%121 = load ptr, ptr %4, align 8
%122 = load i32, ptr %7, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = load ptr, ptr %4, align 8
%127 = load i32, ptr %8, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
%131 = fsub double %125, %130
%132 = load ptr, ptr %5, align 8
%133 = load i32, ptr %8, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = load double, ptr %14, align 8
%138 = load double, ptr %14, align 8
%139 = fcmp olt double %138, 0.000000e+00
br i1 %139, label %140, label %144
140: ; preds = %99
%141 = load double, ptr %12, align 8
%142 = call double @llvm.fabs.f64(double %141)
%143 = fneg double %142
br label %147
144: ; preds = %99
%145 = load double, ptr %12, align 8
%146 = call double @llvm.fabs.f64(double %145)
br label %147
147: ; preds = %144, %140
%148 = phi double [ %143, %140 ], [ %146, %144 ]
%149 = fadd double %137, %148
%150 = fdiv double %136, %149
%151 = fadd double %131, %150
store double %151, ptr %14, align 8
store double 1.000000e+00, ptr %17, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %13, align 8
%152 = load i32, ptr %7, align 4
%153 = sub nsw i32 %152, 1
store i32 %153, ptr %10, align 4
%154 = load i32, ptr %10, align 4
%155 = load i32, ptr %8, align 4
%156 = icmp sge i32 %154, %155
br i1 %156, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %147
br label %157
157: ; preds = %.lr.ph5, %238
%158 = load double, ptr %11, align 8
%159 = load ptr, ptr %5, align 8
%160 = load i32, ptr %10, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, ptr %159, i64 %161
%163 = load double, ptr %162, align 8
%164 = fmul double %158, %163
store double %164, ptr %15, align 8
%165 = load double, ptr %17, align 8
%166 = load ptr, ptr %5, align 8
%167 = load i32, ptr %10, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %166, i64 %168
%170 = load double, ptr %169, align 8
%171 = fmul double %165, %170
store double %171, ptr %18, align 8
%172 = load double, ptr %15, align 8
%173 = load double, ptr %14, align 8
%174 = call double @pythag(double noundef %172, double noundef %173)
store double %174, ptr %12, align 8
%175 = load ptr, ptr %5, align 8
%176 = load i32, ptr %10, align 4
%177 = add nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %175, i64 %178
store double %174, ptr %179, align 8
%180 = load double, ptr %12, align 8
%181 = fcmp oeq double %180, 0.000000e+00
br i1 %181, label %182, label %195
182: ; preds = %157
%183 = load double, ptr %13, align 8
%184 = load ptr, ptr %4, align 8
%185 = load i32, ptr %10, align 4
%186 = add nsw i32 %185, 1
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %184, i64 %187
%189 = load double, ptr %188, align 8
%190 = fsub double %189, %183
store double %190, ptr %188, align 8
%191 = load ptr, ptr %5, align 8
%192 = load i32, ptr %7, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, ptr %191, i64 %193
store double 0.000000e+00, ptr %194, align 8
br label %244
195: ; preds = %157
%196 = load double, ptr %15, align 8
%197 = load double, ptr %12, align 8
%198 = fdiv double %196, %197
store double %198, ptr %11, align 8
%199 = load double, ptr %14, align 8
%200 = load double, ptr %12, align 8
%201 = fdiv double %199, %200
store double %201, ptr %17, align 8
%202 = load ptr, ptr %4, align 8
%203 = load i32, ptr %10, align 4
%204 = add nsw i32 %203, 1
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %202, i64 %205
%207 = load double, ptr %206, align 8
%208 = load double, ptr %13, align 8
%209 = fsub double %207, %208
store double %209, ptr %14, align 8
%210 = load ptr, ptr %4, align 8
%211 = load i32, ptr %10, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
%214 = load double, ptr %213, align 8
%215 = load double, ptr %14, align 8
%216 = fsub double %214, %215
%217 = load double, ptr %11, align 8
%218 = load double, ptr %17, align 8
%219 = fmul double 2.000000e+00, %218
%220 = load double, ptr %18, align 8
%221 = fmul double %219, %220
%222 = call double @llvm.fmuladd.f64(double %216, double %217, double %221)
store double %222, ptr %12, align 8
%223 = load double, ptr %14, align 8
%224 = load double, ptr %11, align 8
%225 = load double, ptr %12, align 8
%226 = fmul double %224, %225
store double %226, ptr %13, align 8
%227 = fadd double %223, %226
%228 = load ptr, ptr %4, align 8
%229 = load i32, ptr %10, align 4
%230 = add nsw i32 %229, 1
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, ptr %228, i64 %231
store double %227, ptr %232, align 8
%233 = load double, ptr %17, align 8
%234 = load double, ptr %12, align 8
%235 = load double, ptr %18, align 8
%236 = fneg double %235
%237 = call double @llvm.fmuladd.f64(double %233, double %234, double %236)
store double %237, ptr %14, align 8
br label %238
238: ; preds = %195
%239 = load i32, ptr %10, align 4
%240 = add nsw i32 %239, -1
store i32 %240, ptr %10, align 4
%241 = load i32, ptr %10, align 4
%242 = load i32, ptr %8, align 4
%243 = icmp sge i32 %241, %242
br i1 %243, label %157, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %238
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %147
br label %244
244: ; preds = %.loopexit, %182
%245 = load double, ptr %12, align 8
%246 = fcmp oeq double %245, 0.000000e+00
br i1 %246, label %247, label %252
247: ; preds = %244
%248 = load i32, ptr %10, align 4
%249 = load i32, ptr %8, align 4
%250 = icmp sge i32 %248, %249
br i1 %250, label %251, label %252
251: ; preds = %247
br label %270
252: ; preds = %247, %244
%253 = load double, ptr %13, align 8
%254 = load ptr, ptr %4, align 8
%255 = load i32, ptr %8, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %254, i64 %256
%258 = load double, ptr %257, align 8
%259 = fsub double %258, %253
store double %259, ptr %257, align 8
%260 = load double, ptr %14, align 8
%261 = load ptr, ptr %5, align 8
%262 = load i32, ptr %8, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds double, ptr %261, i64 %263
store double %260, ptr %264, align 8
%265 = load ptr, ptr %5, align 8
%266 = load i32, ptr %7, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds double, ptr %265, i64 %267
store double 0.000000e+00, ptr %268, align 8
br label %269
269: ; preds = %252, %88
br label %270
270: ; preds = %269, %251
%271 = load i32, ptr %7, align 4
%272 = load i32, ptr %8, align 4
%273 = icmp ne i32 %271, %272
br i1 %273, label %48, label %274, !llvm.loop !10
274: ; preds = %270
br label %275
275: ; preds = %274
%276 = load i32, ptr %8, align 4
%277 = add nsw i32 %276, 1
store i32 %277, ptr %8, align 4
%278 = load i32, ptr %8, align 4
%279 = load i32, ptr %6, align 4
%280 = icmp sle i32 %278, %279
br i1 %280, label %47, label %._crit_edge8, !llvm.loop !11
._crit_edge8: ; preds = %275
br label %281
281: ; preds = %._crit_edge8, %39
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare double @pythag(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp_pdvqp7e.c'
source_filename = "/tmp/tmp_pdvqp7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @findenv(ptr noundef %4, ptr noundef %3)
ret ptr %5
}
declare ptr @findenv(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/tmp_pdvqp7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @findenv(ptr noundef %4, ptr noundef %3)
ret ptr %5
}
declare ptr @findenv(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/tmpp0l0hkv1.c'
source_filename = "/tmp/tmpp0l0hkv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Program started\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"main2\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Program exited\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp0l0hkv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Program started\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"main2\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Program exited\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwuxvxy8p.c'
source_filename = "/tmp/tmpwuxvxy8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcrypto_init() #0 {
%1 = call i32 (...) @SSLeay_add_all_algorithms()
ret void
}
declare i32 @SSLeay_add_all_algorithms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwuxvxy8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcrypto_init() #0 {
%1 = call i32 (...) @SSLeay_add_all_algorithms()
ret void
}
declare i32 @SSLeay_add_all_algorithms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgizrgebk.c'
source_filename = "/tmp/tmpgizrgebk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 @_exit(i32 noundef 255) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgizrgebk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 @_exit(i32 noundef 255) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ghhmmdm.c'
source_filename = "/tmp/tmp6ghhmmdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ghhmmdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd22rwp39.c'
source_filename = "/tmp/tmpd22rwp39.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"ewfinfo version: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"20060505-1\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @EXIT_SUCCESS, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd22rwp39.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"ewfinfo version: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"20060505-1\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @EXIT_SUCCESS, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4d5uwk18.c'
source_filename = "/tmp/tmp4d5uwk18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_ppc_restart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %23
17: ; preds = %7
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load i32, ptr %12, align 4
%21 = load ptr, ptr %13, align 8
%22 = call i32 @print_dbppc_restart(ptr noundef %18, ptr noundef %19, i32 noundef %20, i8 noundef signext 9, ptr noundef %21)
br label %23
23: ; preds = %17, %7
ret void
}
declare i32 @print_dbppc_restart(ptr noundef, ptr noundef, i32 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4d5uwk18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_ppc_restart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %23
17: ; preds = %7
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load i32, ptr %12, align 4
%21 = load ptr, ptr %13, align 8
%22 = call i32 @print_dbppc_restart(ptr noundef %18, ptr noundef %19, i32 noundef %20, i8 noundef signext 9, ptr noundef %21)
br label %23
23: ; preds = %17, %7
ret void
}
declare i32 @print_dbppc_restart(ptr noundef, ptr noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmpube0devs.c'
source_filename = "/tmp/tmpube0devs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_error_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
call void @appaserver_output_error_message(ptr noundef null, ptr noundef %5, ptr noundef %6)
ret void
}
declare void @appaserver_output_error_message(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/tmpube0devs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_error_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
call void @appaserver_output_error_message(ptr noundef null, ptr noundef %5, ptr noundef %6)
ret void
}
declare void @appaserver_output_error_message(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.