llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpbz4mchev.c'
source_filename = "/tmp/tmpbz4mchev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vertex2fv(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 @glVertex2fv(ptr noundef %3)
ret void
}
declare i32 @glVertex2fv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbz4mchev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vertex2fv(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 @glVertex2fv(ptr noundef %3)
ret void
}
declare i32 @glVertex2fv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp15r09olm.c'
source_filename = "/tmp/tmp15r09olm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__errno_portable() #0 {
%1 = call ptr (...) @__errno()
ret ptr %1
}
declare ptr @__errno(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15r09olm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__errno_portable() #0 {
%1 = call ptr (...) @__errno()
ret ptr %1
}
declare ptr @__errno(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp770y9bk1.c'
source_filename = "/tmp/tmp770y9bk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flush() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @rowInLow()
%4 = call i32 (...) @colInLow()
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %10, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = call i32 (...) @rowclk()
br label %10
10: ; preds = %8
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
br label %5, !llvm.loop !6
13: ; preds = %5
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %19, %13
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 76
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = call i32 (...) @colclk()
br label %19
19: ; preds = %17
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %14, !llvm.loop !8
22: ; preds = %14
ret void
}
declare i32 @rowInLow(...) #1
declare i32 @colInLow(...) #1
declare i32 @rowclk(...) #1
declare i32 @colclk(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp770y9bk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flush() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @rowInLow()
%4 = call i32 (...) @colInLow()
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %9
%8 = call i32 (...) @rowclk()
br label %9
9: ; preds = %7
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 8
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 76
br i1 %16, label %.lr.ph2, label %24
.lr.ph2: ; preds = %14
br label %17
17: ; preds = %.lr.ph2, %19
%18 = call i32 (...) @colclk()
br label %19
19: ; preds = %17
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 76
br i1 %23, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %19
br label %24
24: ; preds = %._crit_edge3, %14
ret void
}
declare i32 @rowInLow(...) #1
declare i32 @colInLow(...) #1
declare i32 @rowclk(...) #1
declare i32 @colclk(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp73wjipm4.c'
source_filename = "/tmp/tmp73wjipm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f15(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, -529465344
%5 = icmp sgt i32 %4, -1339031552
br i1 %5, label %6, label %128
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %126, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 7359
br i1 %11, label %126, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 7360
br i1 %14, label %126, label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp eq i32 %16, 8191
br i1 %17, label %126, label %18
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 8192
br i1 %20, label %126, label %21
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 32
br i1 %23, label %126, label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 15551
br i1 %26, label %126, label %27
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 15552
br i1 %29, label %126, label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 63
br i1 %32, label %126, label %33
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, -268435457
br i1 %35, label %126, label %36
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, -1073741824
br i1 %38, label %126, label %39
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, -268435456
br i1 %41, label %126, label %42
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = icmp eq i32 %43, -1073741823
br i1 %44, label %126, label %45
45: ; preds = %42
%46 = load i32, ptr %2, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %126, label %48
48: ; preds = %45
%49 = load i32, ptr %2, align 4
%50 = icmp eq i32 %49, -1
br i1 %50, label %126, label %51
51: ; preds = %48
%52 = load i32, ptr %2, align 4
%53 = icmp eq i32 %52, -15
br i1 %53, label %126, label %54
54: ; preds = %51
%55 = load i32, ptr %2, align 4
%56 = icmp eq i32 %55, -15550
br i1 %56, label %126, label %57
57: ; preds = %54
%58 = load i32, ptr %2, align 4
%59 = icmp eq i32 %58, -15552
br i1 %59, label %126, label %60
60: ; preds = %57
%61 = load i32, ptr %2, align 4
%62 = icmp eq i32 %61, 1879048191
br i1 %62, label %126, label %63
63: ; preds = %60
%64 = load i32, ptr %2, align 4
%65 = icmp eq i32 %64, 1879048192
br i1 %65, label %126, label %66
66: ; preds = %63
%67 = load i32, ptr %2, align 4
%68 = icmp eq i32 %67, 536870912
br i1 %68, label %126, label %69
69: ; preds = %66
%70 = load i32, ptr %2, align 4
%71 = icmp eq i32 %70, 536870911
br i1 %71, label %126, label %72
72: ; preds = %69
%73 = load i32, ptr %2, align 4
%74 = icmp eq i32 %73, 2
br i1 %74, label %126, label %75
75: ; preds = %72
%76 = load i32, ptr %2, align 4
%77 = icmp eq i32 %76, 24
br i1 %77, label %126, label %78
78: ; preds = %75
%79 = load i32, ptr %2, align 4
%80 = icmp eq i32 %79, -32
br i1 %80, label %126, label %81
81: ; preds = %78
%82 = load i32, ptr %2, align 4
%83 = icmp eq i32 %82, 1610612738
br i1 %83, label %126, label %84
84: ; preds = %81
%85 = load i32, ptr %2, align 4
%86 = icmp eq i32 %85, 5
br i1 %86, label %126, label %87
87: ; preds = %84
%88 = load i32, ptr %2, align 4
%89 = icmp eq i32 %88, -5
br i1 %89, label %126, label %90
90: ; preds = %87
%91 = load i32, ptr %2, align 4
%92 = icmp eq i32 %91, -63
br i1 %92, label %126, label %93
93: ; preds = %90
%94 = load i32, ptr %2, align 4
%95 = icmp eq i32 %94, -64
br i1 %95, label %126, label %96
96: ; preds = %93
%97 = load i32, ptr %2, align 4
%98 = icmp eq i32 %97, -65
br i1 %98, label %126, label %99
99: ; preds = %96
%100 = load i32, ptr %2, align 4
%101 = icmp eq i32 %100, -8189
br i1 %101, label %126, label %102
102: ; preds = %99
%103 = load i32, ptr %2, align 4
%104 = icmp eq i32 %103, -8191
br i1 %104, label %126, label %105
105: ; preds = %102
%106 = load i32, ptr %2, align 4
%107 = icmp eq i32 %106, -8192
br i1 %107, label %126, label %108
108: ; preds = %105
%109 = load i32, ptr %2, align 4
%110 = icmp eq i32 %109, -8193
br i1 %110, label %126, label %111
111: ; preds = %108
%112 = load i32, ptr %2, align 4
%113 = icmp eq i32 %112, -8250
br i1 %113, label %126, label %114
114: ; preds = %111
%115 = load i32, ptr %2, align 4
%116 = icmp eq i32 %115, -8255
br i1 %116, label %126, label %117
117: ; preds = %114
%118 = load i32, ptr %2, align 4
%119 = icmp eq i32 %118, -8256
br i1 %119, label %126, label %120
120: ; preds = %117
%121 = load i32, ptr %2, align 4
%122 = icmp eq i32 %121, -8257
br i1 %122, label %126, label %123
123: ; preds = %120
%124 = load i32, ptr %2, align 4
%125 = icmp eq i32 %124, 2147483647
br i1 %125, label %126, label %127
126: ; preds = %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
br label %156
127: ; preds = %123
br label %154
128: ; preds = %1
%129 = load i32, ptr %2, align 4
%130 = icmp eq i32 %129, -1073741825
br i1 %130, label %152, label %131
131: ; preds = %128
%132 = load i32, ptr %2, align 4
%133 = icmp eq i32 %132, -1879048193
br i1 %133, label %152, label %134
134: ; preds = %131
%135 = load i32, ptr %2, align 4
%136 = icmp eq i32 %135, -1607401473
br i1 %136, label %152, label %137
137: ; preds = %134
%138 = load i32, ptr %2, align 4
%139 = icmp eq i32 %138, -1078001664
br i1 %139, label %152, label %140
140: ; preds = %137
%141 = load i32, ptr %2, align 4
%142 = icmp eq i32 %141, -1879048192
br i1 %142, label %152, label %143
143: ; preds = %140
%144 = load i32, ptr %2, align 4
%145 = icmp eq i32 %144, -2147483648
br i1 %145, label %152, label %146
146: ; preds = %143
%147 = load i32, ptr %2, align 4
%148 = icmp eq i32 %147, -2147483643
br i1 %148, label %152, label %149
149: ; preds = %146
%150 = load i32, ptr %2, align 4
%151 = icmp eq i32 %150, -2147483640
br i1 %151, label %152, label %153
152: ; preds = %149, %146, %143, %140, %137, %134, %131, %128
br label %156
153: ; preds = %149
br label %154
154: ; preds = %153, %127
%155 = call i32 (...) @abort() #2
unreachable
156: ; preds = %152, %126
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73wjipm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f15(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, -529465344
%5 = icmp sgt i32 %4, -1339031552
br i1 %5, label %6, label %128
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %126, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 7359
br i1 %11, label %126, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 7360
br i1 %14, label %126, label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp eq i32 %16, 8191
br i1 %17, label %126, label %18
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 8192
br i1 %20, label %126, label %21
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 32
br i1 %23, label %126, label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 15551
br i1 %26, label %126, label %27
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 15552
br i1 %29, label %126, label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 63
br i1 %32, label %126, label %33
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, -268435457
br i1 %35, label %126, label %36
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, -1073741824
br i1 %38, label %126, label %39
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, -268435456
br i1 %41, label %126, label %42
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = icmp eq i32 %43, -1073741823
br i1 %44, label %126, label %45
45: ; preds = %42
%46 = load i32, ptr %2, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %126, label %48
48: ; preds = %45
%49 = load i32, ptr %2, align 4
%50 = icmp eq i32 %49, -1
br i1 %50, label %126, label %51
51: ; preds = %48
%52 = load i32, ptr %2, align 4
%53 = icmp eq i32 %52, -15
br i1 %53, label %126, label %54
54: ; preds = %51
%55 = load i32, ptr %2, align 4
%56 = icmp eq i32 %55, -15550
br i1 %56, label %126, label %57
57: ; preds = %54
%58 = load i32, ptr %2, align 4
%59 = icmp eq i32 %58, -15552
br i1 %59, label %126, label %60
60: ; preds = %57
%61 = load i32, ptr %2, align 4
%62 = icmp eq i32 %61, 1879048191
br i1 %62, label %126, label %63
63: ; preds = %60
%64 = load i32, ptr %2, align 4
%65 = icmp eq i32 %64, 1879048192
br i1 %65, label %126, label %66
66: ; preds = %63
%67 = load i32, ptr %2, align 4
%68 = icmp eq i32 %67, 536870912
br i1 %68, label %126, label %69
69: ; preds = %66
%70 = load i32, ptr %2, align 4
%71 = icmp eq i32 %70, 536870911
br i1 %71, label %126, label %72
72: ; preds = %69
%73 = load i32, ptr %2, align 4
%74 = icmp eq i32 %73, 2
br i1 %74, label %126, label %75
75: ; preds = %72
%76 = load i32, ptr %2, align 4
%77 = icmp eq i32 %76, 24
br i1 %77, label %126, label %78
78: ; preds = %75
%79 = load i32, ptr %2, align 4
%80 = icmp eq i32 %79, -32
br i1 %80, label %126, label %81
81: ; preds = %78
%82 = load i32, ptr %2, align 4
%83 = icmp eq i32 %82, 1610612738
br i1 %83, label %126, label %84
84: ; preds = %81
%85 = load i32, ptr %2, align 4
%86 = icmp eq i32 %85, 5
br i1 %86, label %126, label %87
87: ; preds = %84
%88 = load i32, ptr %2, align 4
%89 = icmp eq i32 %88, -5
br i1 %89, label %126, label %90
90: ; preds = %87
%91 = load i32, ptr %2, align 4
%92 = icmp eq i32 %91, -63
br i1 %92, label %126, label %93
93: ; preds = %90
%94 = load i32, ptr %2, align 4
%95 = icmp eq i32 %94, -64
br i1 %95, label %126, label %96
96: ; preds = %93
%97 = load i32, ptr %2, align 4
%98 = icmp eq i32 %97, -65
br i1 %98, label %126, label %99
99: ; preds = %96
%100 = load i32, ptr %2, align 4
%101 = icmp eq i32 %100, -8189
br i1 %101, label %126, label %102
102: ; preds = %99
%103 = load i32, ptr %2, align 4
%104 = icmp eq i32 %103, -8191
br i1 %104, label %126, label %105
105: ; preds = %102
%106 = load i32, ptr %2, align 4
%107 = icmp eq i32 %106, -8192
br i1 %107, label %126, label %108
108: ; preds = %105
%109 = load i32, ptr %2, align 4
%110 = icmp eq i32 %109, -8193
br i1 %110, label %126, label %111
111: ; preds = %108
%112 = load i32, ptr %2, align 4
%113 = icmp eq i32 %112, -8250
br i1 %113, label %126, label %114
114: ; preds = %111
%115 = load i32, ptr %2, align 4
%116 = icmp eq i32 %115, -8255
br i1 %116, label %126, label %117
117: ; preds = %114
%118 = load i32, ptr %2, align 4
%119 = icmp eq i32 %118, -8256
br i1 %119, label %126, label %120
120: ; preds = %117
%121 = load i32, ptr %2, align 4
%122 = icmp eq i32 %121, -8257
br i1 %122, label %126, label %123
123: ; preds = %120
%124 = load i32, ptr %2, align 4
%125 = icmp eq i32 %124, 2147483647
br i1 %125, label %126, label %127
126: ; preds = %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
br label %156
127: ; preds = %123
br label %154
128: ; preds = %1
%129 = load i32, ptr %2, align 4
%130 = icmp eq i32 %129, -1073741825
br i1 %130, label %152, label %131
131: ; preds = %128
%132 = load i32, ptr %2, align 4
%133 = icmp eq i32 %132, -1879048193
br i1 %133, label %152, label %134
134: ; preds = %131
%135 = load i32, ptr %2, align 4
%136 = icmp eq i32 %135, -1607401473
br i1 %136, label %152, label %137
137: ; preds = %134
%138 = load i32, ptr %2, align 4
%139 = icmp eq i32 %138, -1078001664
br i1 %139, label %152, label %140
140: ; preds = %137
%141 = load i32, ptr %2, align 4
%142 = icmp eq i32 %141, -1879048192
br i1 %142, label %152, label %143
143: ; preds = %140
%144 = load i32, ptr %2, align 4
%145 = icmp eq i32 %144, -2147483648
br i1 %145, label %152, label %146
146: ; preds = %143
%147 = load i32, ptr %2, align 4
%148 = icmp eq i32 %147, -2147483643
br i1 %148, label %152, label %149
149: ; preds = %146
%150 = load i32, ptr %2, align 4
%151 = icmp eq i32 %150, -2147483640
br i1 %151, label %152, label %153
152: ; preds = %149, %146, %143, %140, %137, %134, %131, %128
br label %156
153: ; preds = %149
br label %154
154: ; preds = %153, %127
%155 = call i32 (...) @abort() #2
unreachable
156: ; preds = %152, %126
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8gkuul9.c'
source_filename = "/tmp/tmps8gkuul9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_put_nbr_uns(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %5, align 8
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %11, %1
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %4, align 4
%9 = udiv i32 %7, %8
%10 = icmp uge i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i32, ptr %4, align 4
%13 = mul nsw i32 %12, 10
store i32 %13, ptr %4, align 4
br label %6, !llvm.loop !6
14: ; preds = %6
br label %15
15: ; preds = %18, %14
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %4, align 4
%22 = udiv i32 %20, %21
%23 = urem i32 %22, 10
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %19, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i32 @my_putchar(i8 noundef signext %26)
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = sdiv i32 %30, 10
store i32 %31, ptr %4, align 4
br label %15, !llvm.loop !8
32: ; preds = %15
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @my_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8gkuul9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_put_nbr_uns(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %5, align 8
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %4, align 4
%8 = udiv i32 %6, %7
%9 = icmp uge i32 %8, 10
br i1 %9, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 %11, 10
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = udiv i32 %13, %14
%16 = icmp uge i32 %15, 10
br i1 %16, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %.lr.ph2, label %36
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %20
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %4, align 4
%24 = udiv i32 %22, %23
%25 = urem i32 %24, 10
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %21, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i32 @my_putchar(i8 noundef signext %28)
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sdiv i32 %32, 10
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %20
br label %36
36: ; preds = %._crit_edge3, %17
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @my_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjeb6g59p.c'
source_filename = "/tmp/tmpjeb6g59p.c"
target datalayout = "e-m:e-p270: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_MARK = 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/tmpjeb6g59p.c"
target datalayout = "e-m:e-p270: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_MARK = 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/tmpvpbk0_6a.c'
source_filename = "/tmp/tmpvpbk0_6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"HTTP_COOKIE\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"MWS=\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"REQUEST_URI\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"Content-Type: text/plain;charset=us-ascii\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [94 x i8] c"<script>$(location).attr('href', 'https://www.marionsworkshop.com/maintenance.html')</script>\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"http://rest:9000/newSession?ip=%s&cycles=%llu\00", align 1
@.str.6 = private unnamed_addr constant [81 x i8] c"<script type=\22text/javascript\22>document.cookie=\22MWS=%s;max-age=14400\22;</script>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca [128 x i8], align 16
%10 = alloca [16 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca i64, align 8
%13 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%14 = call ptr @getenv(ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %43
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %42
22: ; preds = %17
%23 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 128)
%25 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %27, i32 noundef 64)
%29 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 128)
%31 = call ptr @getenv(ptr noundef @.str.2)
%32 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%33 = call i32 @getDocumentName(ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%35 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%36 = call i64 @checkBackendRepairAndSet(ptr noundef %34, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %72
41: ; preds = %22
store i32 0, ptr %3, align 4
br label %72
42: ; preds = %17
br label %43
43: ; preds = %42, %2
%44 = call i64 (...) @rdtsc()
store i64 %44, ptr %12, align 8
%45 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%46 = call i32 @memset(ptr noundef %45, i32 noundef 0, i32 noundef 32)
%47 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%48 = call i32 @getIP(ptr noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%50 = call i64 (...) @checkBackend()
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %43
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %72
55: ; preds = %43
%56 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 256)
%58 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i32 noundef 0, i32 noundef 128)
%60 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%62 = load i64, ptr %12, align 8
%63 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.5, ptr noundef %61, i64 noundef %62)
%64 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%65 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%66 = call i32 @curlGetValue(ptr noundef %64, ptr noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %71, label %68
68: ; preds = %55
%69 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %69)
br label %71
71: ; preds = %68, %55
store i32 0, ptr %3, align 4
br label %72
72: ; preds = %71, %52, %41, %38
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare ptr @getenv(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getDocumentName(ptr noundef, ptr noundef) #1
declare i64 @checkBackendRepairAndSet(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @rdtsc(...) #1
declare i32 @getIP(ptr noundef) #1
declare i64 @checkBackend(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @curlGetValue(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/tmpvpbk0_6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"HTTP_COOKIE\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"MWS=\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"REQUEST_URI\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"Content-Type: text/plain;charset=us-ascii\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [94 x i8] c"<script>$(location).attr('href', 'https://www.marionsworkshop.com/maintenance.html')</script>\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"http://rest:9000/newSession?ip=%s&cycles=%llu\00", align 1
@.str.6 = private unnamed_addr constant [81 x i8] c"<script type=\22text/javascript\22>document.cookie=\22MWS=%s;max-age=14400\22;</script>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca [128 x i8], align 16
%10 = alloca [16 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca i64, align 8
%13 = alloca [32 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%14 = call ptr @getenv(ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %43
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %42
22: ; preds = %17
%23 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 128)
%25 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %27, i32 noundef 64)
%29 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 128)
%31 = call ptr @getenv(ptr noundef @.str.2)
%32 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%33 = call i32 @getDocumentName(ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%35 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%36 = call i64 @checkBackendRepairAndSet(ptr noundef %34, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %72
41: ; preds = %22
store i32 0, ptr %3, align 4
br label %72
42: ; preds = %17
br label %43
43: ; preds = %42, %2
%44 = call i64 (...) @rdtsc()
store i64 %44, ptr %12, align 8
%45 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%46 = call i32 @memset(ptr noundef %45, i32 noundef 0, i32 noundef 32)
%47 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%48 = call i32 @getIP(ptr noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%50 = call i64 (...) @checkBackend()
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %43
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %72
55: ; preds = %43
%56 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 256)
%58 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i32 noundef 0, i32 noundef 128)
%60 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%62 = load i64, ptr %12, align 8
%63 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.5, ptr noundef %61, i64 noundef %62)
%64 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%65 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%66 = call i32 @curlGetValue(ptr noundef %64, ptr noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %71, label %68
68: ; preds = %55
%69 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %69)
br label %71
71: ; preds = %68, %55
store i32 0, ptr %3, align 4
br label %72
72: ; preds = %71, %52, %41, %38
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare ptr @getenv(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getDocumentName(ptr noundef, ptr noundef) #1
declare i64 @checkBackendRepairAndSet(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @rdtsc(...) #1
declare i32 @getIP(ptr noundef) #1
declare i64 @checkBackend(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @curlGetValue(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/tmplp_p76qo.c'
source_filename = "/tmp/tmplp_p76qo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%4d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %35, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %38
14: ; preds = %10
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %30, %14
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %33
19: ; preds = %15
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = mul nsw i32 %21, %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %20, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %19
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %10, !llvm.loop !8
38: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplp_p76qo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%4d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %13
13: ; preds = %.lr.ph2, %36
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %5, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %18, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26)
br label %28
28: ; preds = %17
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %13
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8xa4xx8x.c'
source_filename = "/tmp/tmp8xa4xx8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@ENOENT = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@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/tmp8xa4xx8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@ENOENT = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@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/tmpytnl9i8n.c'
source_filename = "/tmp/tmpytnl9i8n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @header_end_field(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 1
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 10)
store ptr %6, ptr %3, align 8
br label %7
7: ; preds = %26, %1
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %22, label %16
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 9
br label %22
22: ; preds = %16, %10
%23 = phi i1 [ true, %10 ], [ %21, %16 ]
br label %24
24: ; preds = %22, %7
%25 = phi i1 [ false, %7 ], [ %23, %22 ]
br i1 %25, label %26, label %30
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 10)
store ptr %29, ptr %3, align 8
br label %7, !llvm.loop !6
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpytnl9i8n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @header_end_field(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 1
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 10)
store ptr %6, ptr %3, align 8
br label %7
7: ; preds = %26, %1
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %22, label %16
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 9
br label %22
22: ; preds = %16, %10
%23 = phi i1 [ true, %10 ], [ %21, %16 ]
br label %24
24: ; preds = %22, %7
%25 = phi i1 [ false, %7 ], [ %23, %22 ]
br i1 %25, label %26, label %30
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 10)
store ptr %29, ptr %3, align 8
br label %7, !llvm.loop !6
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpag91pe5j.c'
source_filename = "/tmp/tmpag91pe5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"This demoprogram inspects WarCraft III replays.\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"usage: %s [HELP/OPTIONS] FILE\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"HELP: -h\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1
@.str.4 = private unnamed_addr constant [143 x i8] c"-a\09all stuff\0A-b\09build version\0A-c\09chat messages\0A-j\09every joiner info\0A-l\09replay length\0A-m\09map location path\0A-p\09patch version\0A-r\09release version\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpag91pe5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"This demoprogram inspects WarCraft III replays.\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"usage: %s [HELP/OPTIONS] FILE\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"HELP: -h\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1
@.str.4 = private unnamed_addr constant [143 x i8] c"-a\09all stuff\0A-b\09build version\0A-c\09chat messages\0A-j\09every joiner info\0A-l\09replay length\0A-m\09map location path\0A-p\09patch version\0A-r\09release version\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5l5vma7t.c'
source_filename = "/tmp/tmp5l5vma7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmp5l5vma7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpn6i21vxg.c'
source_filename = "/tmp/tmpn6i21vxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcasecmp(ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @strcasecmp(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/tmpn6i21vxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcasecmp(ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @strcasecmp(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/tmp96tc3pp4.c'
source_filename = "/tmp/tmp96tc3pp4.c"
target datalayout = "e-m:e-p270: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/tmp96tc3pp4.c"
target datalayout = "e-m:e-p270: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/tmpg4846ybi.c'
source_filename = "/tmp/tmpg4846ybi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %8
8: ; preds = %26, %3
%9 = load i64, ptr %7, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %19, %22
br label %24
24: ; preds = %16, %11, %8
%25 = phi i1 [ false, %11 ], [ false, %8 ], [ %23, %16 ]
br i1 %25, label %26, label %33
26: ; preds = %24
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %7, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %6, align 8
br label %8, !llvm.loop !6
33: ; preds = %24
%34 = load i64, ptr %7, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 0, ptr %4, align 4
br label %45
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = load ptr, ptr %6, align 8
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = sub nsw i32 %40, %43
store i32 %44, ptr %4, align 4
br label %45
45: ; preds = %37, %36
%46 = load i32, ptr %4, align 4
ret i32 %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpg4846ybi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %8
8: ; preds = %26, %3
%9 = load i64, ptr %7, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %19, %22
br label %24
24: ; preds = %16, %11, %8
%25 = phi i1 [ false, %11 ], [ false, %8 ], [ %23, %16 ]
br i1 %25, label %26, label %33
26: ; preds = %24
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %7, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %6, align 8
br label %8, !llvm.loop !6
33: ; preds = %24
%34 = load i64, ptr %7, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 0, ptr %4, align 4
br label %45
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = load ptr, ptr %6, align 8
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = sub nsw i32 %40, %43
store i32 %44, ptr %4, align 4
br label %45
45: ; preds = %37, %36
%46 = load i32, ptr %4, align 4
ret i32 %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpkv2tokwg.c'
source_filename = "/tmp/tmpkv2tokwg.c"
target datalayout = "e-m:e-p270: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/tmpkv2tokwg.c"
target datalayout = "e-m:e-p270: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/tmp9rrcz7ll.c'
source_filename = "/tmp/tmp9rrcz7ll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @getpid()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9rrcz7ll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @getpid()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpflt5v97h.c'
source_filename = "/tmp/tmpflt5v97h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"__stack_chk_fail()\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @__stack_chk_fail() #0 {
%1 = call i32 @panic(ptr noundef @.str)
unreachable
}
declare i32 @panic(ptr 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflt5v97h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"__stack_chk_fail()\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @__stack_chk_fail() #0 {
%1 = call i32 @panic(ptr noundef @.str)
unreachable
}
declare i32 @panic(ptr 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpacl21at9.c'
source_filename = "/tmp/tmpacl21at9.c"
target datalayout = "e-m:e-p270: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/tmpacl21at9.c"
target datalayout = "e-m:e-p270: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/tmpuxtheq7i.c'
source_filename = "/tmp/tmpuxtheq7i.c"
target datalayout = "e-m:e-p270: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/tmpuxtheq7i.c"
target datalayout = "e-m:e-p270: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/tmpla0p_40a.c'
source_filename = "/tmp/tmpla0p_40a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dunno_dec1(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = ashr i32 %8, 11
%10 = and i32 %9, 1
%11 = xor i32 %7, %10
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %35
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 20
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 21
%18 = xor i32 %15, %17
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 16
%21 = xor i32 %18, %20
%22 = load i32, ptr %4, align 4
%23 = ashr i32 %22, 12
%24 = xor i32 %21, %23
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = shl i32 %25, 1
%27 = and i32 %26, 4194303
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %6, align 4
%29 = and i32 %28, 1
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %13
%32 = load i32, ptr %4, align 4
%33 = xor i32 %32, 1
store i32 %33, ptr %3, align 4
br label %37
34: ; preds = %13
br label %35
35: ; preds = %34, %2
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %35, %31
%38 = load i32, ptr %3, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpla0p_40a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dunno_dec1(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = ashr i32 %8, 11
%10 = and i32 %9, 1
%11 = xor i32 %7, %10
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %35
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 20
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 21
%18 = xor i32 %15, %17
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 16
%21 = xor i32 %18, %20
%22 = load i32, ptr %4, align 4
%23 = ashr i32 %22, 12
%24 = xor i32 %21, %23
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = shl i32 %25, 1
%27 = and i32 %26, 4194303
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %6, align 4
%29 = and i32 %28, 1
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %13
%32 = load i32, ptr %4, align 4
%33 = xor i32 %32, 1
store i32 %33, ptr %3, align 4
br label %37
34: ; preds = %13
br label %35
35: ; preds = %34, %2
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %35, %31
%38 = load i32, ptr %3, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9xnwundx.c'
source_filename = "/tmp/tmp9xnwundx.c"
target datalayout = "e-m:e-p270: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/tmp9xnwundx.c"
target datalayout = "e-m:e-p270: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/tmpz1ad9p2w.c'
source_filename = "/tmp/tmpz1ad9p2w.c"
target datalayout = "e-m:e-p270: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/tmpz1ad9p2w.c"
target datalayout = "e-m:e-p270: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/tmp08cqkz8l.c'
source_filename = "/tmp/tmp08cqkz8l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCompare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %38
9: ; preds = %2
br label %10
10: ; preds = %25, %9
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %13, %16
br i1 %17, label %18, label %30
18: ; preds = %10
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %3, align 4
br label %38
24: ; preds = %18
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
br label %10, !llvm.loop !6
30: ; preds = %10
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = sub nsw i32 %33, %36
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %30, %23, %8
%39 = load i32, ptr %3, align 4
ret i32 %39
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp08cqkz8l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCompare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %44
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %12, %15
br i1 %16, label %.lr.ph, label %36
.lr.ph: ; preds = %9
br label %17
17: ; preds = %.lr.ph, %24
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %3, align 4
br label %44
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %31, %34
br i1 %35, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %36
36: ; preds = %._crit_edge, %9
%37 = load ptr, ptr %4, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = sub nsw i32 %39, %42
store i32 %43, ptr %3, align 4
br label %44
44: ; preds = %36, %22, %8
%45 = load i32, ptr %3, align 4
ret i32 %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpjb6dojgp.c'
source_filename = "/tmp/tmpjb6dojgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%3 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%4 = or i32 %2, %3
%5 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%6 = or i32 %4, %5
ret i32 %6
}
declare i32 @signbit(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjb6dojgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%3 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%4 = or i32 %2, %3
%5 = call i32 @signbit(x86_fp80 noundef 0xK3FFF8000000000000000)
%6 = or i32 %4, %5
ret i32 %6
}
declare i32 @signbit(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoirk__rm.c'
source_filename = "/tmp/tmpoirk__rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setPixel(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 @setPixel_24064(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @setPixel_24064(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/tmpoirk__rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setPixel(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 @setPixel_24064(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @setPixel_24064(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/tmpx8le_d_9.c'
source_filename = "/tmp/tmpx8le_d_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"l()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @turtle_left() #0 {
%1 = call i32 @turtle_add_action(ptr noundef @.str)
ret void
}
declare i32 @turtle_add_action(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx8le_d_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"l()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @turtle_left() #0 {
%1 = call i32 @turtle_add_action(ptr noundef @.str)
ret void
}
declare i32 @turtle_add_action(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdz4z7vxv.c'
source_filename = "/tmp/tmpdz4z7vxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NAN(%s)\00", align 1
@NAN = dso_local global x86_fp80 0xK00000000000000000000, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__nanl(ptr noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = add nsw i32 6, %13
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %4, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %5, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = call x86_fp80 @strtold(ptr noundef %17, ptr noundef null)
store x86_fp80 %20, ptr %2, align 16
%21 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %21)
br label %24
22: ; preds = %1
%23 = load x86_fp80, ptr @NAN, align 16
store x86_fp80 %23, ptr %2, align 16
br label %24
24: ; preds = %22, %11
%25 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %25
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare x86_fp80 @strtold(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdz4z7vxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NAN(%s)\00", align 1
@NAN = dso_local global x86_fp80 0xK00000000000000000000, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__nanl(ptr noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = add nsw i32 6, %13
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %4, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %5, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = call x86_fp80 @strtold(ptr noundef %17, ptr noundef null)
store x86_fp80 %20, ptr %2, align 16
%21 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %21)
br label %24
22: ; preds = %1
%23 = load x86_fp80, ptr @NAN, align 16
store x86_fp80 %23, ptr %2, align 16
br label %24
24: ; preds = %22, %11
%25 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %25
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare x86_fp80 @strtold(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta4i8ncr.c'
source_filename = "/tmp/tmpta4i8ncr.c"
target datalayout = "e-m:e-p270: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/tmpta4i8ncr.c"
target datalayout = "e-m:e-p270: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/tmpd0en5qb8.c'
source_filename = "/tmp/tmpd0en5qb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @string_to_ld(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 x86_fp80 @strtold(ptr noundef %5, ptr noundef %6)
ret x86_fp80 %7
}
declare x86_fp80 @strtold(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/tmpd0en5qb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @string_to_ld(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 x86_fp80 @strtold(ptr noundef %5, ptr noundef %6)
ret x86_fp80 %7
}
declare x86_fp80 @strtold(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/tmpqtfv91lr.c'
source_filename = "/tmp/tmpqtfv91lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringAndString(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %15, %17
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load ptr, ptr %5, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %9, align 4
%25 = xor i32 %23, %24
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %55
29: ; preds = %3
%30 = load i32, ptr %9, align 4
%31 = ashr i32 %30, 1
%32 = load i32, ptr %9, align 4
%33 = or i32 %32, %31
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = ashr i32 %34, 2
%36 = load i32, ptr %9, align 4
%37 = or i32 %36, %35
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = ashr i32 %38, 4
%40 = load i32, ptr %9, align 4
%41 = or i32 %40, %39
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = ashr i32 %42, 8
%44 = load i32, ptr %9, align 4
%45 = or i32 %44, %43
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = ashr i32 %46, 16
%48 = load i32, ptr %9, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %9, align 4
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %9, align 4
%52 = call ptr @reallocMem(ptr noundef %50, i32 noundef %51)
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load ptr, ptr %4, align 8
store ptr %53, ptr %54, align 8
br label %55
55: ; preds = %29, %3
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load ptr, ptr %6, align 8
%61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @reallocMem(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtfv91lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringAndString(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %15, %17
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load ptr, ptr %5, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %9, align 4
%25 = xor i32 %23, %24
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %55
29: ; preds = %3
%30 = load i32, ptr %9, align 4
%31 = ashr i32 %30, 1
%32 = load i32, ptr %9, align 4
%33 = or i32 %32, %31
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = ashr i32 %34, 2
%36 = load i32, ptr %9, align 4
%37 = or i32 %36, %35
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = ashr i32 %38, 4
%40 = load i32, ptr %9, align 4
%41 = or i32 %40, %39
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = ashr i32 %42, 8
%44 = load i32, ptr %9, align 4
%45 = or i32 %44, %43
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = ashr i32 %46, 16
%48 = load i32, ptr %9, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %9, align 4
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %9, align 4
%52 = call ptr @reallocMem(ptr noundef %50, i32 noundef %51)
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load ptr, ptr %4, align 8
store ptr %53, ptr %54, align 8
br label %55
55: ; preds = %29, %3
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load ptr, ptr %6, align 8
%61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @reallocMem(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpziqjh13e.c'
source_filename = "/tmp/tmpziqjh13e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
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 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %7, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %18, %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fscanf(ptr noundef %9, ptr noundef @.str.4, ptr noundef %4)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 100
br label %15
15: ; preds = %12, %8
%16 = phi i1 [ false, %8 ], [ %14, %12 ]
br i1 %16, label %17, label %21
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %8, !llvm.loop !6
21: ; preds = %15
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fclose(ptr noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.5, i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = call i32 @fclose(ptr noundef %27)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpziqjh13e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
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 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %7, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %18, %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fscanf(ptr noundef %9, ptr noundef @.str.4, ptr noundef %4)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 100
br label %15
15: ; preds = %12, %8
%16 = phi i1 [ false, %8 ], [ %14, %12 ]
br i1 %16, label %17, label %21
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %8, !llvm.loop !6
21: ; preds = %15
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fclose(ptr noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.5, i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = call i32 @fclose(ptr noundef %27)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4k455ssu.c'
source_filename = "/tmp/tmp4k455ssu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"%.4f is positive.\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%.4f is negative.\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"input is zero.\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
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 0.000000e+00
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, float noundef %7)
br label %19
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = fcmp olt float %10, 0.000000e+00
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load float, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.2, float noundef %13)
br label %18
15: ; preds = %9
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.3, float noundef %16)
br label %18
18: ; preds = %15, %12
br label %19
19: ; preds = %18, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4k455ssu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"%.4f is positive.\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%.4f is negative.\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"input is zero.\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
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 0.000000e+00
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, float noundef %7)
br label %19
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = fcmp olt float %10, 0.000000e+00
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load float, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.2, float noundef %13)
br label %18
15: ; preds = %9
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.3, float noundef %16)
br label %18
18: ; preds = %15, %12
br label %19
19: ; preds = %18, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3puc4yyx.c'
source_filename = "/tmp/tmp3puc4yyx.c"
target datalayout = "e-m:e-p270: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/tmp3puc4yyx.c"
target datalayout = "e-m:e-p270: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/tmpgmh9x15f.c'
source_filename = "/tmp/tmpgmh9x15f.c"
target datalayout = "e-m:e-p270: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/tmpgmh9x15f.c"
target datalayout = "e-m:e-p270: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/tmpfvqcwszs.c'
source_filename = "/tmp/tmpfvqcwszs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PEM_SignInit(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 i32 @EVP_DigestInit_ex(ptr noundef %5, ptr noundef %6, ptr noundef null)
ret i32 %7
}
declare i32 @EVP_DigestInit_ex(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/tmpfvqcwszs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PEM_SignInit(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 i32 @EVP_DigestInit_ex(ptr noundef %5, ptr noundef %6, ptr noundef null)
ret i32 %7
}
declare i32 @EVP_DigestInit_ex(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqd6snjqz.c'
source_filename = "/tmp/tmpqd6snjqz.c"
target datalayout = "e-m:e-p270: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/tmpqd6snjqz.c"
target datalayout = "e-m:e-p270: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/tmprkjedt71.c'
source_filename = "/tmp/tmprkjedt71.c"
target datalayout = "e-m:e-p270: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/tmprkjedt71.c"
target datalayout = "e-m:e-p270: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/tmpclh07yhh.c'
source_filename = "/tmp/tmpclh07yhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"triangles.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d,%d,%d,%d,%d,%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [55 x i8] c"\0AThe number of triangles containing the center is %d\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Couldn't read the file...\0A\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %9, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %62
14: ; preds = %0
br label %15
15: ; preds = %56, %14
%16 = load ptr, ptr %10, align 8
%17 = call i64 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%18 = load i64, ptr @EOF, align 8
%19 = icmp ne i64 %17, %18
br i1 %19, label %20, label %57
20: ; preds = %15
store i32 0, ptr %8, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = call i64 @intersects_x(i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %27, %20
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = call i64 @intersects_x(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
br label %40
40: ; preds = %37, %30
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = call i64 @intersects_x(i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %40
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
br label %50
50: ; preds = %47, %40
%51 = load i32, ptr %8, align 4
%52 = icmp eq i32 %51, 1
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %56
56: ; preds = %53, %50
br label %15, !llvm.loop !6
57: ; preds = %15
%58 = load ptr, ptr %10, align 8
%59 = call i32 @fclose(ptr noundef %58)
%60 = load i32, ptr %9, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %60)
store i32 0, ptr %1, align 4
br label %64
62: ; preds = %0
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %64
64: ; preds = %62, %57
%65 = load i32, ptr %1, align 4
ret i32 %65
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @intersects_x(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(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/tmpclh07yhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"triangles.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d,%d,%d,%d,%d,%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [55 x i8] c"\0AThe number of triangles containing the center is %d\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Couldn't read the file...\0A\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %9, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %65
14: ; preds = %0
%15 = load ptr, ptr %10, align 8
%16 = call i64 @fscanf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%17 = load i64, ptr @EOF, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %.lr.ph, label %60
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %55
store i32 0, ptr %8, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = call i64 @intersects_x(i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %19
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %29
29: ; preds = %26, %19
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %7, align 4
%34 = call i64 @intersects_x(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %29
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %36, %29
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %7, align 4
%44 = call i64 @intersects_x(i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
br label %49
49: ; preds = %46, %39
%50 = load i32, ptr %8, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %55
55: ; preds = %52, %49
%56 = load ptr, ptr %10, align 8
%57 = call i64 @fscanf(ptr noundef %56, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%58 = load i64, ptr @EOF, align 8
%59 = icmp ne i64 %57, %58
br i1 %59, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %60
60: ; preds = %._crit_edge, %14
%61 = load ptr, ptr %10, align 8
%62 = call i32 @fclose(ptr noundef %61)
%63 = load i32, ptr %9, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %63)
store i32 0, ptr %1, align 4
br label %67
65: ; preds = %0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %67
67: ; preds = %65, %60
%68 = load i32, ptr %1, align 4
ret i32 %68
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @intersects_x(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(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/tmp_kk1yy6w.c'
source_filename = "/tmp/tmp_kk1yy6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"{\22\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\22,\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @C_mkKindTabEntry(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 i64, align 8
%9 = 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
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call ptr @C_mkOneLineComments(ptr noundef %13)
br label %16
15: ; preds = %3
br label %16
16: ; preds = %15, %12
%17 = phi ptr [ %14, %12 ], [ null, %15 ]
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = call i32 @strlen(ptr noundef @.str)
%24 = add nsw i32 %22, %23
br label %26
25: ; preds = %16
br label %26
26: ; preds = %25, %20
%27 = phi i32 [ %24, %20 ], [ 0, %25 ]
%28 = load ptr, ptr %4, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = add nsw i32 %27, %29
%31 = load ptr, ptr %5, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %30, %32
%34 = call i32 @strlen(ptr noundef @.str)
%35 = mul nsw i32 %34, 2
%36 = add nsw i32 %33, %35
%37 = add nsw i32 %36, 10
%38 = sext i32 %37 to i64
store i64 %38, ptr %8, align 8
%39 = load i64, ptr %8, align 8
%40 = call ptr @UTIL_mallocStr(i64 noundef %39)
store ptr %40, ptr %9, align 8
%41 = load ptr, ptr %9, align 8
%42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str)
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %55
45: ; preds = %26
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @strcat(ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %9, align 8
%50 = call i32 @strcat(ptr noundef %49, ptr noundef @.str.1)
%51 = load ptr, ptr %9, align 8
%52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str)
%53 = load ptr, ptr %7, align 8
%54 = call i32 @free(ptr noundef %53)
br label %55
55: ; preds = %45, %26
%56 = load ptr, ptr %9, align 8
%57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.2)
%58 = load ptr, ptr %9, align 8
%59 = load ptr, ptr %4, align 8
%60 = call i32 @strcat(ptr noundef %58, ptr noundef %59)
%61 = load ptr, ptr %9, align 8
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.3)
%63 = load ptr, ptr %9, align 8
%64 = call i32 @strcat(ptr noundef %63, ptr noundef @.str)
%65 = load ptr, ptr %9, align 8
%66 = load ptr, ptr %5, align 8
%67 = call i32 @strcat(ptr noundef %65, ptr noundef %66)
%68 = load ptr, ptr %9, align 8
%69 = call i32 @strcat(ptr noundef %68, ptr noundef @.str.4)
%70 = load ptr, ptr %9, align 8
ret ptr %70
}
declare ptr @C_mkOneLineComments(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @UTIL_mallocStr(i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kk1yy6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"{\22\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\22,\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @C_mkKindTabEntry(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 i64, align 8
%9 = 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
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call ptr @C_mkOneLineComments(ptr noundef %13)
br label %16
15: ; preds = %3
br label %16
16: ; preds = %15, %12
%17 = phi ptr [ %14, %12 ], [ null, %15 ]
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = call i32 @strlen(ptr noundef @.str)
%24 = add nsw i32 %22, %23
br label %26
25: ; preds = %16
br label %26
26: ; preds = %25, %20
%27 = phi i32 [ %24, %20 ], [ 0, %25 ]
%28 = load ptr, ptr %4, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = add nsw i32 %27, %29
%31 = load ptr, ptr %5, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %30, %32
%34 = call i32 @strlen(ptr noundef @.str)
%35 = mul nsw i32 %34, 2
%36 = add nsw i32 %33, %35
%37 = add nsw i32 %36, 10
%38 = sext i32 %37 to i64
store i64 %38, ptr %8, align 8
%39 = load i64, ptr %8, align 8
%40 = call ptr @UTIL_mallocStr(i64 noundef %39)
store ptr %40, ptr %9, align 8
%41 = load ptr, ptr %9, align 8
%42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str)
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %55
45: ; preds = %26
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @strcat(ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %9, align 8
%50 = call i32 @strcat(ptr noundef %49, ptr noundef @.str.1)
%51 = load ptr, ptr %9, align 8
%52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str)
%53 = load ptr, ptr %7, align 8
%54 = call i32 @free(ptr noundef %53)
br label %55
55: ; preds = %45, %26
%56 = load ptr, ptr %9, align 8
%57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.2)
%58 = load ptr, ptr %9, align 8
%59 = load ptr, ptr %4, align 8
%60 = call i32 @strcat(ptr noundef %58, ptr noundef %59)
%61 = load ptr, ptr %9, align 8
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.3)
%63 = load ptr, ptr %9, align 8
%64 = call i32 @strcat(ptr noundef %63, ptr noundef @.str)
%65 = load ptr, ptr %9, align 8
%66 = load ptr, ptr %5, align 8
%67 = call i32 @strcat(ptr noundef %65, ptr noundef %66)
%68 = load ptr, ptr %9, align 8
%69 = call i32 @strcat(ptr noundef %68, ptr noundef @.str.4)
%70 = load ptr, ptr %9, align 8
ret ptr %70
}
declare ptr @C_mkOneLineComments(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @UTIL_mallocStr(i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkm0pnt3n.c'
source_filename = "/tmp/tmpkm0pnt3n.c"
target datalayout = "e-m:e-p270: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/tmpkm0pnt3n.c"
target datalayout = "e-m:e-p270: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/tmpob7lx0yb.c'
source_filename = "/tmp/tmpob7lx0yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pcapack_is_symmetric(i32 noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %5, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %6, align 4
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ %15, %14 ], [ %17, %16 ]
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %22, %18
store i32 0, ptr %4, align 4
br label %66
26: ; preds = %22
store i32 0, ptr %9, align 4
br label %27
27: ; preds = %62, %26
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %65
31: ; preds = %27
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %58, %31
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %61
36: ; preds = %32
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %8, align 4
%41 = mul nsw i32 %39, %40
%42 = add nsw i32 %38, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %37, i64 %43
%45 = load double, ptr %44, align 8
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %9, align 4
%50 = mul nsw i32 %48, %49
%51 = add nsw i32 %47, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %46, i64 %52
%54 = load double, ptr %53, align 8
%55 = fcmp une double %45, %54
br i1 %55, label %56, label %57
56: ; preds = %36
store i32 0, ptr %4, align 4
br label %66
57: ; preds = %36
br label %58
58: ; preds = %57
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
br label %32, !llvm.loop !6
61: ; preds = %32
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %27, !llvm.loop !8
65: ; preds = %27
store i32 1, ptr %4, align 4
br label %66
66: ; preds = %65, %56, %25
%67 = load i32, ptr %4, align 4
ret i32 %67
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpob7lx0yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pcapack_is_symmetric(i32 noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %5, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %6, align 4
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ %15, %14 ], [ %17, %16 ]
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %22, %18
store i32 0, ptr %4, align 4
br label %70
26: ; preds = %22
store i32 0, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph2, label %69
.lr.ph2: ; preds = %26
br label %30
30: ; preds = %.lr.ph2, %63
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %62
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %56
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %8, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %36, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %35, i64 %41
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %9, align 4
%48 = mul nsw i32 %46, %47
%49 = add nsw i32 %45, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %44, i64 %50
%52 = load double, ptr %51, align 8
%53 = fcmp une double %43, %52
br i1 %53, label %54, label %55
54: ; preds = %34
store i32 0, ptr %4, align 4
br label %70
55: ; preds = %34
br label %56
56: ; preds = %55
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %30
br label %63
63: ; preds = %62
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %26
store i32 1, ptr %4, align 4
br label %70
70: ; preds = %69, %54, %25
%71 = load i32, ptr %4, align 4
ret i32 %71
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4a0o_bfc.c'
source_filename = "/tmp/tmp4a0o_bfc.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [21 x i8] c"%-2d copies of %-19s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%-32s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" %qd bytes\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" ??? bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ldump(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 %struct.stat, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 @putchar(i8 noundef signext 9)
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %13)
br label %18
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %11
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = call i32 @stat(ptr noundef %24, ptr noundef %7)
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %27
27: ; preds = %23
%28 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %29)
br label %33
31: ; preds = %23, %18
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %27
%34 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @stat(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/tmp4a0o_bfc.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [21 x i8] c"%-2d copies of %-19s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%-32s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" %qd bytes\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" ??? bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ldump(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 %struct.stat, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 @putchar(i8 noundef signext 9)
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %13)
br label %18
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %11
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = call i32 @stat(ptr noundef %24, ptr noundef %7)
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %27
27: ; preds = %23
%28 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %29)
br label %33
31: ; preds = %23, %18
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %27
%34 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @stat(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/tmpgk72vz2v.c'
source_filename = "/tmp/tmpgk72vz2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.dat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"opening input.dat\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"lseek error\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"read error\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"\0A=======\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"lseek error when testing relace\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"HIJKLMN\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"write error while replacing\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"lseek error while rewinding\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"read error while testing final text\00", align 1
@.str.11 = private unnamed_addr constant [37 x i8] c"write error while testing final text\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [128 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @O_RDWR, align 4
%10 = load i32, ptr @O_APPEND, align 4
%11 = or i32 %9, %10
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @err_sys(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %2
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr @SEEK_CUR, align 4
%19 = call i32 @lseek(i32 noundef %17, i64 noundef 10, i32 noundef %18)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @err_sys(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %16
%24 = load i32, ptr %6, align 4
%25 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 10)
store i32 %26, ptr %7, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @err_sys(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %23
%31 = load i32, ptr @STDOUT_FILENO, align 4
%32 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%33 = load i32, ptr %7, align 4
%34 = call i32 @write(i32 noundef %31, ptr noundef %32, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %30
%38 = call i32 @err_sys(ptr noundef @.str.4)
br label %39
39: ; preds = %37, %30
%40 = call i32 @printf(ptr noundef @.str.5)
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr @SEEK_SET, align 4
%43 = call i32 @lseek(i32 noundef %41, i64 noundef 16, i32 noundef %42)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %39
%46 = call i32 @err_sys(ptr noundef @.str.6)
br label %47
47: ; preds = %45, %39
%48 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%49 = call i32 @strcpy(ptr noundef %48, ptr noundef @.str.7)
%50 = load i32, ptr %6, align 4
%51 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%52 = call i32 @write(i32 noundef %50, ptr noundef %51, i32 noundef 8)
%53 = icmp ne i32 %52, 8
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = call i32 @err_sys(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %47
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr @SEEK_SET, align 4
%59 = call i32 @lseek(i32 noundef %57, i64 noundef 0, i32 noundef %58)
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = call i32 @err_sys(ptr noundef @.str.9)
br label %63
63: ; preds = %61, %56
%64 = load i32, ptr %6, align 4
%65 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%66 = call i32 @read(i32 noundef %64, ptr noundef %65, i32 noundef 64)
store i32 %66, ptr %7, align 4
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %63
%69 = call i32 @err_sys(ptr noundef @.str.10)
br label %70
70: ; preds = %68, %63
%71 = load i32, ptr @STDOUT_FILENO, align 4
%72 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%73 = load i32, ptr %7, align 4
%74 = call i32 @write(i32 noundef %71, ptr noundef %72, i32 noundef %73)
%75 = load i32, ptr %7, align 4
%76 = icmp ne i32 %74, %75
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = call i32 @err_sys(ptr noundef @.str.11)
br label %79
79: ; preds = %77, %70
%80 = load i32, ptr %6, align 4
%81 = call i32 @close(i32 noundef %80)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgk72vz2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.dat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"opening input.dat\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"lseek error\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"read error\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"\0A=======\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"lseek error when testing relace\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"HIJKLMN\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"write error while replacing\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"lseek error while rewinding\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"read error while testing final text\00", align 1
@.str.11 = private unnamed_addr constant [37 x i8] c"write error while testing final text\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [128 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @O_RDWR, align 4
%10 = load i32, ptr @O_APPEND, align 4
%11 = or i32 %9, %10
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @err_sys(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %2
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr @SEEK_CUR, align 4
%19 = call i32 @lseek(i32 noundef %17, i64 noundef 10, i32 noundef %18)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @err_sys(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %16
%24 = load i32, ptr %6, align 4
%25 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 10)
store i32 %26, ptr %7, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @err_sys(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %23
%31 = load i32, ptr @STDOUT_FILENO, align 4
%32 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%33 = load i32, ptr %7, align 4
%34 = call i32 @write(i32 noundef %31, ptr noundef %32, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %30
%38 = call i32 @err_sys(ptr noundef @.str.4)
br label %39
39: ; preds = %37, %30
%40 = call i32 @printf(ptr noundef @.str.5)
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr @SEEK_SET, align 4
%43 = call i32 @lseek(i32 noundef %41, i64 noundef 16, i32 noundef %42)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %39
%46 = call i32 @err_sys(ptr noundef @.str.6)
br label %47
47: ; preds = %45, %39
%48 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%49 = call i32 @strcpy(ptr noundef %48, ptr noundef @.str.7)
%50 = load i32, ptr %6, align 4
%51 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%52 = call i32 @write(i32 noundef %50, ptr noundef %51, i32 noundef 8)
%53 = icmp ne i32 %52, 8
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = call i32 @err_sys(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %47
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr @SEEK_SET, align 4
%59 = call i32 @lseek(i32 noundef %57, i64 noundef 0, i32 noundef %58)
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = call i32 @err_sys(ptr noundef @.str.9)
br label %63
63: ; preds = %61, %56
%64 = load i32, ptr %6, align 4
%65 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%66 = call i32 @read(i32 noundef %64, ptr noundef %65, i32 noundef 64)
store i32 %66, ptr %7, align 4
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %63
%69 = call i32 @err_sys(ptr noundef @.str.10)
br label %70
70: ; preds = %68, %63
%71 = load i32, ptr @STDOUT_FILENO, align 4
%72 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%73 = load i32, ptr %7, align 4
%74 = call i32 @write(i32 noundef %71, ptr noundef %72, i32 noundef %73)
%75 = load i32, ptr %7, align 4
%76 = icmp ne i32 %74, %75
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = call i32 @err_sys(ptr noundef @.str.11)
br label %79
79: ; preds = %77, %70
%80 = load i32, ptr %6, align 4
%81 = call i32 @close(i32 noundef %80)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzsatpq35.c'
source_filename = "/tmp/tmpzsatpq35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Insira a temperatura (C\C2\B0)\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"A temperatura em F\C2\B0 \C3\A9: %.2f\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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = fmul float 9.000000e+00, %6
%8 = fdiv float %7, 5.000000e+00
%9 = fadd float %8, 3.200000e+01
store float %9, ptr %3, align 4
%10 = load float, ptr %3, align 4
%11 = fpext float %10 to double
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11)
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/tmpzsatpq35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Insira a temperatura (C\C2\B0)\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"A temperatura em F\C2\B0 \C3\A9: %.2f\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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = fmul float 9.000000e+00, %6
%8 = fdiv float %7, 5.000000e+00
%9 = fadd float %8, 3.200000e+01
store float %9, ptr %3, align 4
%10 = load float, ptr %3, align 4
%11 = fpext float %10 to double
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11)
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/tmptecntjwd.c'
source_filename = "/tmp/tmptecntjwd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @prodbg_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @prodbg_main(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/tmptecntjwd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @prodbg_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @prodbg_main(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/tmpv9mok6hj.c'
source_filename = "/tmp/tmpv9mok6hj.c"
target datalayout = "e-m:e-p270: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/tmpv9mok6hj.c"
target datalayout = "e-m:e-p270: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/tmpjv57bnlz.c'
source_filename = "/tmp/tmpjv57bnlz.c"
target datalayout = "e-m:e-p270: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/tmpjv57bnlz.c"
target datalayout = "e-m:e-p270: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/tmpkscqmy86.c'
source_filename = "/tmp/tmpkscqmy86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_set_3(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %16, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp slt i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i64, ptr %5, align 8
%12 = add nsw i64 97, %11
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i64, ptr %13, i64 %14
store i64 %12, ptr %15, align 8
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add nsw i64 %17, 1
store i64 %18, ptr %5, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkscqmy86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_set_3(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i64, ptr %5, align 8
%11 = add nsw i64 97, %10
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
store i64 %11, ptr %14, align 8
br label %15
15: ; preds = %9
%16 = load i64, ptr %5, align 8
%17 = add nsw i64 %16, 1
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptazt8x4j.c'
source_filename = "/tmp/tmptazt8x4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACRxDMAPollDemand(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 3080
%5 = inttoptr i64 %4 to ptr
store volatile i64 0, ptr %5, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptazt8x4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACRxDMAPollDemand(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 3080
%5 = inttoptr i64 %4 to ptr
store volatile i64 0, ptr %5, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpilya6d1t.c'
source_filename = "/tmp/tmpilya6d1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[%dm\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Welcome %s, nice to see you ;)\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 [7 x i8], align 1
%7 = alloca [7 x i8], align 1
%8 = alloca [7 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %33
12: ; preds = %2
%13 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef 46)
%15 = load i32, ptr @stderr, align 4
%16 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef 30)
%20 = load i32, ptr @stderr, align 4
%21 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %26)
%28 = getelementptr inbounds [7 x i8], ptr %8, i64 0, i64 0
%29 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i32 noundef 0)
%30 = load i32, ptr @stderr, align 4
%31 = getelementptr inbounds [7 x i8], ptr %8, i64 0, i64 0
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef %31)
br label %33
33: ; preds = %12, %11
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilya6d1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[%dm\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Welcome %s, nice to see you ;)\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 [7 x i8], align 1
%7 = alloca [7 x i8], align 1
%8 = alloca [7 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %33
12: ; preds = %2
%13 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef 46)
%15 = load i32, ptr @stderr, align 4
%16 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef 30)
%20 = load i32, ptr @stderr, align 4
%21 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %26)
%28 = getelementptr inbounds [7 x i8], ptr %8, i64 0, i64 0
%29 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i32 noundef 0)
%30 = load i32, ptr @stderr, align 4
%31 = getelementptr inbounds [7 x i8], ptr %8, i64 0, i64 0
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef %31)
br label %33
33: ; preds = %12, %11
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwabj38v9.c'
source_filename = "/tmp/tmpwabj38v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @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/tmpwabj38v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @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/tmpc_lxq6y0.c'
source_filename = "/tmp/tmpc_lxq6y0.c"
target datalayout = "e-m:e-p270: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/tmpc_lxq6y0.c"
target datalayout = "e-m:e-p270: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/tmplmvqevdf.c'
source_filename = "/tmp/tmplmvqevdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\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 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 100
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 400
%14 = icmp ne i32 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %11, %7, %0
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 100
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 400
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19, %11
%24 = call i32 @printf(ptr noundef @.str.1)
br label %27
25: ; preds = %19, %15
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %25, %23
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplmvqevdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\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 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 100
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 400
%14 = icmp ne i32 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %11, %7, %0
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 100
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 400
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19, %11
%24 = call i32 @printf(ptr noundef @.str.1)
br label %27
25: ; preds = %19, %15
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %25, %23
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"}
|
; ModuleID = '/tmp/tmp4jtbn57p.c'
source_filename = "/tmp/tmp4jtbn57p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gfx_pci_config_read(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 4294967295, ptr %3, align 8
%4 = load i64, ptr %2, align 8
%5 = call i32 @gfx_outd(i32 noundef 3320, i64 noundef %4)
%6 = call i64 @gfx_ind(i32 noundef 3324)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
ret i64 %7
}
declare i32 @gfx_outd(i32 noundef, i64 noundef) #1
declare i64 @gfx_ind(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/tmp4jtbn57p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gfx_pci_config_read(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 4294967295, ptr %3, align 8
%4 = load i64, ptr %2, align 8
%5 = call i32 @gfx_outd(i32 noundef 3320, i64 noundef %4)
%6 = call i64 @gfx_ind(i32 noundef 3324)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
ret i64 %7
}
declare i32 @gfx_outd(i32 noundef, i64 noundef) #1
declare i64 @gfx_ind(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/tmpc4ew_hod.c'
source_filename = "/tmp/tmpc4ew_hod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCopyNoBlanks(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
br label %5
5: ; preds = %18, %2
%6 = load ptr, ptr %3, align 8
%7 = call i32 @IsBlank(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = load ptr, ptr %4, align 8
store i8 %11, ptr %12, align 1
%13 = sext i8 %11 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %9, %5
%16 = phi i1 [ false, %5 ], [ %14, %9 ]
br i1 %16, label %17, label %23
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %5, !llvm.loop !6
23: ; preds = %15
ret void
}
declare i32 @IsBlank(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpc4ew_hod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCopyNoBlanks(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
br label %5
5: ; preds = %18, %2
%6 = load ptr, ptr %3, align 8
%7 = call i32 @IsBlank(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = load ptr, ptr %4, align 8
store i8 %11, ptr %12, align 1
%13 = sext i8 %11 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %9, %5
%16 = phi i1 [ false, %5 ], [ %14, %9 ]
br i1 %16, label %17, label %23
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %5, !llvm.loop !6
23: ; preds = %15
ret void
}
declare i32 @IsBlank(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4c8nqygp.c'
source_filename = "/tmp/tmp4c8nqygp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"The power library is not included in this build\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_power() #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/tmp4c8nqygp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"The power library is not included in this build\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_power() #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/tmpvemiz7i_.c'
source_filename = "/tmp/tmpvemiz7i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chapter_1() #0 {
%1 = call i32 (...) @doublet()
%2 = call i32 (...) @doublet()
%3 = call i32 (...) @doublet()
%4 = call i32 (...) @doublet()
%5 = call i32 (...) @doublet()
%6 = call i32 (...) @doublet()
%7 = call i32 (...) @doublet()
%8 = call i32 (...) @doublet()
%9 = call i32 (...) @doublet()
%10 = call i32 (...) @singlet()
%11 = call i32 (...) @triplet()
%12 = call i32 (...) @doublet()
%13 = call i32 (...) @singlet()
%14 = call i32 (...) @doublet()
%15 = call i32 (...) @triplet()
%16 = call i32 (...) @singlet()
%17 = call i32 (...) @doublet()
%18 = call i32 (...) @doublet()
%19 = call i32 (...) @doublet()
%20 = call i32 (...) @triplet()
%21 = call i32 (...) @doublet()
%22 = call i32 (...) @singlet()
%23 = call i32 (...) @triplet()
%24 = call i32 (...) @singlet()
%25 = call i32 (...) @triplet()
%26 = call i32 (...) @doublet()
%27 = call i32 (...) @doublet()
%28 = call i32 (...) @singlet()
%29 = call i32 (...) @triplet()
%30 = call i32 (...) @doublet()
%31 = call i32 (...) @singlet()
%32 = call i32 (...) @triplet()
%33 = call i32 (...) @singlet()
ret void
}
declare i32 @doublet(...) #1
declare i32 @singlet(...) #1
declare i32 @triplet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvemiz7i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chapter_1() #0 {
%1 = call i32 (...) @doublet()
%2 = call i32 (...) @doublet()
%3 = call i32 (...) @doublet()
%4 = call i32 (...) @doublet()
%5 = call i32 (...) @doublet()
%6 = call i32 (...) @doublet()
%7 = call i32 (...) @doublet()
%8 = call i32 (...) @doublet()
%9 = call i32 (...) @doublet()
%10 = call i32 (...) @singlet()
%11 = call i32 (...) @triplet()
%12 = call i32 (...) @doublet()
%13 = call i32 (...) @singlet()
%14 = call i32 (...) @doublet()
%15 = call i32 (...) @triplet()
%16 = call i32 (...) @singlet()
%17 = call i32 (...) @doublet()
%18 = call i32 (...) @doublet()
%19 = call i32 (...) @doublet()
%20 = call i32 (...) @triplet()
%21 = call i32 (...) @doublet()
%22 = call i32 (...) @singlet()
%23 = call i32 (...) @triplet()
%24 = call i32 (...) @singlet()
%25 = call i32 (...) @triplet()
%26 = call i32 (...) @doublet()
%27 = call i32 (...) @doublet()
%28 = call i32 (...) @singlet()
%29 = call i32 (...) @triplet()
%30 = call i32 (...) @doublet()
%31 = call i32 (...) @singlet()
%32 = call i32 (...) @triplet()
%33 = call i32 (...) @singlet()
ret void
}
declare i32 @doublet(...) #1
declare i32 @singlet(...) #1
declare i32 @triplet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwpey655v.c'
source_filename = "/tmp/tmpwpey655v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwpey655v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeut7ofay.c'
source_filename = "/tmp/tmpeut7ofay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*.*f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 6, i32 noundef 2, double noundef 1.200000e+01)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeut7ofay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*.*f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 6, i32 noundef 2, double noundef 1.200000e+01)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0oz8g93f.c'
source_filename = "/tmp/tmp0oz8g93f.c"
target datalayout = "e-m:e-p270: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/tmp0oz8g93f.c"
target datalayout = "e-m:e-p270: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/tmp623sj0h2.c'
source_filename = "/tmp/tmp623sj0h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wattr_off(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %35
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @wattr_off(ptr noundef %31, i32 noundef %32, ptr noundef null)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @wattr_off(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/tmp623sj0h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wattr_off(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %35
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @wattr_off(ptr noundef %31, i32 noundef %32, ptr noundef null)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @wattr_off(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/tmp531e8hey.c'
source_filename = "/tmp/tmp531e8hey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Server: jdbhttpd/0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"<HTML><TITLE>Not Found</TITLE>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"<BODY><P>The server could not fulfill\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"your request because the resource specified\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"is unavailable or nonexistent.\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"</BODY></HTML>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @not_found(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
%60 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%61 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.8)
%62 = load i32, ptr %2, align 4
%63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @send(i32 noundef %62, ptr noundef %63, i32 noundef %65, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 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/tmp531e8hey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Server: jdbhttpd/0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"<HTML><TITLE>Not Found</TITLE>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"<BODY><P>The server could not fulfill\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"your request because the resource specified\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"is unavailable or nonexistent.\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"</BODY></HTML>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @not_found(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
%60 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%61 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.8)
%62 = load i32, ptr %2, align 4
%63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @send(i32 noundef %62, ptr noundef %63, i32 noundef %65, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 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/tmp5tv2fmbt.c'
source_filename = "/tmp/tmp5tv2fmbt.c"
target datalayout = "e-m:e-p270: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/tmp5tv2fmbt.c"
target datalayout = "e-m:e-p270: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/tmp11w6rpkt.c'
source_filename = "/tmp/tmp11w6rpkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Door: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"CLOSED\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"OPENING\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"OPEN\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"CLOSING\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"STOPPED_WHILE_CLOSING\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"STOPPED_WHILE_OPENING\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
switch i32 %4, label %17 [
i32 0, label %5
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str.1)
br label %17
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.2)
br label %17
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
br label %17
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.4)
br label %17
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.5)
br label %17
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.6)
br label %17
17: ; preds = %5, %7, %9, %11, %13, %15, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp11w6rpkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Door: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"CLOSED\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"OPENING\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"OPEN\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"CLOSING\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"STOPPED_WHILE_CLOSING\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"STOPPED_WHILE_OPENING\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
switch i32 %4, label %17 [
i32 0, label %5
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str.1)
br label %17
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.2)
br label %17
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
br label %17
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.4)
br label %17
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.5)
br label %17
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.6)
br label %17
17: ; preds = %15, %13, %11, %9, %7, %5, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_c5h2vfp.c'
source_filename = "/tmp/tmp_c5h2vfp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%3.0f%6.1f\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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
br label %8
8: ; preds = %20, %2
%9 = load float, ptr %6, align 4
%10 = fcmp ole float %9, 3.000000e+02
br i1 %10, label %11, label %23
11: ; preds = %8
%12 = load float, ptr %6, align 4
%13 = fsub float %12, 3.200000e+01
%14 = fpext float %13 to double
%15 = fmul double 0x3FE1C71C71C71C72, %14
%16 = fptrunc double %15 to float
store float %16, ptr %7, align 4
%17 = load float, ptr %6, align 4
%18 = load float, ptr %7, align 4
%19 = call i32 @printf(ptr noundef @.str, float noundef %17, float noundef %18)
br label %20
20: ; preds = %11
%21 = load float, ptr %6, align 4
%22 = fadd float %21, 2.000000e+01
store float %22, ptr %6, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_c5h2vfp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%3.0f%6.1f\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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
%8 = load float, ptr %6, align 4
%9 = fcmp ole float %8, 3.000000e+02
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load float, ptr %6, align 4
%12 = fsub float %11, 3.200000e+01
%13 = fpext float %12 to double
%14 = fmul double 0x3FE1C71C71C71C72, %13
%15 = fptrunc double %14 to float
store float %15, ptr %7, align 4
%16 = load float, ptr %6, align 4
%17 = load float, ptr %7, align 4
%18 = call i32 @printf(ptr noundef @.str, float noundef %16, float noundef %17)
br label %19
19: ; preds = %10
%20 = load float, ptr %6, align 4
%21 = fadd float %20, 2.000000e+01
store float %21, ptr %6, align 4
%22 = load float, ptr %6, align 4
%23 = fcmp ole float %22, 3.000000e+02
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpisogtoe6.c'
source_filename = "/tmp/tmpisogtoe6.c"
target datalayout = "e-m:e-p270: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/tmpisogtoe6.c"
target datalayout = "e-m:e-p270: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/tmp2kp6rps3.c'
source_filename = "/tmp/tmp2kp6rps3.c"
target datalayout = "e-m:e-p270: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/tmp2kp6rps3.c"
target datalayout = "e-m:e-p270: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/tmpk8pxfe7o.c'
source_filename = "/tmp/tmpk8pxfe7o.c"
target datalayout = "e-m:e-p270: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/tmpk8pxfe7o.c"
target datalayout = "e-m:e-p270: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/tmpbtyvyobt.c'
source_filename = "/tmp/tmpbtyvyobt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"All tests passed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @testForEmtpyQueue()
%3 = call i32 (...) @testQueueNotEmptyOnEnque()
%4 = call i32 (...) @testQueueEmptyOnEnqueueDequeue()
%5 = call i32 (...) @testQueueCommutativeEnDeQueue()
%6 = call i32 (...) @testQueueEnqueueFrontOnEmpty()
%7 = call i32 (...) @testQueueEnqueueFrontOnNonEmpty()
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @testForEmtpyQueue(...) #1
declare i32 @testQueueNotEmptyOnEnque(...) #1
declare i32 @testQueueEmptyOnEnqueueDequeue(...) #1
declare i32 @testQueueCommutativeEnDeQueue(...) #1
declare i32 @testQueueEnqueueFrontOnEmpty(...) #1
declare i32 @testQueueEnqueueFrontOnNonEmpty(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtyvyobt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"All tests passed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @testForEmtpyQueue()
%3 = call i32 (...) @testQueueNotEmptyOnEnque()
%4 = call i32 (...) @testQueueEmptyOnEnqueueDequeue()
%5 = call i32 (...) @testQueueCommutativeEnDeQueue()
%6 = call i32 (...) @testQueueEnqueueFrontOnEmpty()
%7 = call i32 (...) @testQueueEnqueueFrontOnNonEmpty()
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @testForEmtpyQueue(...) #1
declare i32 @testQueueNotEmptyOnEnque(...) #1
declare i32 @testQueueEmptyOnEnqueueDequeue(...) #1
declare i32 @testQueueCommutativeEnDeQueue(...) #1
declare i32 @testQueueEnqueueFrontOnEmpty(...) #1
declare i32 @testQueueEnqueueFrontOnNonEmpty(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9qhpfqfh.c'
source_filename = "/tmp/tmp9qhpfqfh.c"
target datalayout = "e-m:e-p270: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/tmp9qhpfqfh.c"
target datalayout = "e-m:e-p270: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/tmpbgmwcnvp.c'
source_filename = "/tmp/tmpbgmwcnvp.c"
target datalayout = "e-m:e-p270: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/tmpbgmwcnvp.c"
target datalayout = "e-m:e-p270: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/tmps_op60l9.c'
source_filename = "/tmp/tmps_op60l9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumNumbers(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 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @treeSum(ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @treeSum(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/tmps_op60l9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumNumbers(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 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @treeSum(ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @treeSum(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_up6bhk0.c'
source_filename = "/tmp/tmp_up6bhk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @ft_strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
br label %8
8: ; preds = %16, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = sub nsw i32 %22, 48
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %24, %25
%27 = sub nsw i32 %26, 1
%28 = call signext i8 @ft_pow(i32 noundef 10, i32 noundef %27)
%29 = sext i8 %28 to i32
%30 = mul nsw i32 %23, %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %8, !llvm.loop !6
35: ; preds = %8
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @ft_strlen(ptr noundef) #1
declare signext i8 @ft_pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_up6bhk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @ft_strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %41
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 48
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %23, %24
%26 = sub nsw i32 %25, 1
%27 = call signext i8 @ft_pow(i32 noundef 10, i32 noundef %26)
%28 = sext i8 %27 to i32
%29 = mul nsw i32 %22, %28
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %41
41: ; preds = %._crit_edge, %1
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @ft_strlen(ptr noundef) #1
declare signext i8 @ft_pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyoqqp1sm.c'
source_filename = "/tmp/tmpyoqqp1sm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [93 x i8] c"\0A\0AEnter '1' for convertion from UTF-8 to UTF-32 or '2' for convertion from UTF-32 to UTF-8: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A\0ADigite o nome do arquivo de entrada: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"ERROR: File %s cannot be opened.\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"ConvertedFile.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [55 x i8] c"\0A\0AChoose 'L' for Little Endian or 'B' for Big Endian: \00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"\0A\0AERROR: invalid option.\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"\0A\0AConvertedFile created successfully.\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [88 x i8] c"\0A\0AConvertedFile created full of errors. Read report of errors above for more detail. \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 48, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %10)
%12 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.4)
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %0
%21 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 49
br i1 %31, label %32, label %39
32: ; preds = %28
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%34 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %5, align 1
%38 = call i32 @conv8_32(ptr noundef %35, ptr noundef %36, i8 noundef signext %37)
store i32 %38, ptr %6, align 4
br label %54
39: ; preds = %28
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 50
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load ptr, ptr %2, align 8
%45 = load ptr, ptr %3, align 8
%46 = call i32 @conv32_8(ptr noundef %44, ptr noundef %45)
store i32 %46, ptr %6, align 4
br label %53
47: ; preds = %39
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%49 = load ptr, ptr %2, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %3, align 8
%52 = call i32 @fclose(ptr noundef %51)
store i32 0, ptr %1, align 4
br label %70
53: ; preds = %43
br label %54
54: ; preds = %53, %32
%55 = load ptr, ptr %2, align 8
%56 = call i32 @fclose(ptr noundef %55)
%57 = load ptr, ptr %3, align 8
%58 = call i32 @fclose(ptr noundef %57)
%59 = load i32, ptr %6, align 4
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %54
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %69
63: ; preds = %54
%64 = load i32, ptr %6, align 4
%65 = icmp eq i32 %64, -1
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %68
68: ; preds = %66, %63
br label %69
69: ; preds = %68, %61
store i32 0, ptr %1, align 4
br label %70
70: ; preds = %69, %47
%71 = load i32, ptr %1, align 4
ret i32 %71
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @conv8_32(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @conv32_8(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpyoqqp1sm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [93 x i8] c"\0A\0AEnter '1' for convertion from UTF-8 to UTF-32 or '2' for convertion from UTF-32 to UTF-8: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A\0ADigite o nome do arquivo de entrada: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"ERROR: File %s cannot be opened.\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"ConvertedFile.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [55 x i8] c"\0A\0AChoose 'L' for Little Endian or 'B' for Big Endian: \00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"\0A\0AERROR: invalid option.\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"\0A\0AConvertedFile created successfully.\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [88 x i8] c"\0A\0AConvertedFile created full of errors. Read report of errors above for more detail. \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 48, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %10)
%12 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.4)
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %0
%21 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 49
br i1 %31, label %32, label %39
32: ; preds = %28
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%34 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %5, align 1
%38 = call i32 @conv8_32(ptr noundef %35, ptr noundef %36, i8 noundef signext %37)
store i32 %38, ptr %6, align 4
br label %54
39: ; preds = %28
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 50
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load ptr, ptr %2, align 8
%45 = load ptr, ptr %3, align 8
%46 = call i32 @conv32_8(ptr noundef %44, ptr noundef %45)
store i32 %46, ptr %6, align 4
br label %53
47: ; preds = %39
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%49 = load ptr, ptr %2, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %3, align 8
%52 = call i32 @fclose(ptr noundef %51)
store i32 0, ptr %1, align 4
br label %70
53: ; preds = %43
br label %54
54: ; preds = %53, %32
%55 = load ptr, ptr %2, align 8
%56 = call i32 @fclose(ptr noundef %55)
%57 = load ptr, ptr %3, align 8
%58 = call i32 @fclose(ptr noundef %57)
%59 = load i32, ptr %6, align 4
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %54
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %69
63: ; preds = %54
%64 = load i32, ptr %6, align 4
%65 = icmp eq i32 %64, -1
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %68
68: ; preds = %66, %63
br label %69
69: ; preds = %68, %61
store i32 0, ptr %1, align 4
br label %70
70: ; preds = %69, %47
%71 = load i32, ptr %1, align 4
ret i32 %71
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @conv8_32(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @conv32_8(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpclhdzugp.c'
source_filename = "/tmp/tmpclhdzugp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c".local/etc/mfm/bookmarks\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mfm_read_bookmarks() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = call i32 @getenv(ptr noundef @.str)
%10 = call ptr @mfm_append_paths(i32 noundef %9, ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.2)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %0
store ptr null, ptr %1, align 8
br label %86
18: ; preds = %0
store i32 0, ptr %4, align 4
store i32 10, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 8, %20
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %72, %42, %34, %18
%25 = load ptr, ptr %3, align 8
%26 = call i32 @feof(ptr noundef %25)
%27 = icmp ne i32 %26, 0
%28 = xor i1 %27, true
br i1 %28, label %29, label %73
29: ; preds = %24
%30 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%31 = load ptr, ptr %3, align 8
%32 = call i32 @fgets(ptr noundef %30, i32 noundef 256, ptr noundef %31)
%33 = icmp ne i32 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %29
br label %24, !llvm.loop !6
35: ; preds = %29
%36 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @mfm_cut_1310(ptr noundef %36)
%38 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @strlen(ptr noundef %38)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %35
br label %24, !llvm.loop !6
43: ; preds = %35
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
%46 = call ptr @malloc(i32 noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
store ptr %46, ptr %50, align 8
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
%58 = load i32, ptr %4, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %72
63: ; preds = %43
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 10
store i32 %65, ptr %5, align 4
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 8, %68
%70 = trunc i64 %69 to i32
%71 = call ptr @realloc(ptr noundef %66, i32 noundef %70)
store ptr %71, ptr %6, align 8
br label %72
72: ; preds = %63, %43
br label %24, !llvm.loop !6
73: ; preds = %24
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = mul i64 8, %77
%79 = trunc i64 %78 to i32
%80 = call ptr @realloc(ptr noundef %74, i32 noundef %79)
store ptr %80, ptr %6, align 8
%81 = load ptr, ptr %6, align 8
%82 = load i32, ptr %4, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
store ptr null, ptr %84, align 8
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %1, align 8
br label %86
86: ; preds = %73, %17
%87 = load ptr, ptr %1, align 8
ret ptr %87
}
declare ptr @mfm_append_paths(i32 noundef, ptr noundef) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @mfm_cut_1310(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpclhdzugp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c".local/etc/mfm/bookmarks\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mfm_read_bookmarks() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = call i32 @getenv(ptr noundef @.str)
%10 = call ptr @mfm_append_paths(i32 noundef %9, ptr noundef @.str.1)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.2)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %0
store ptr null, ptr %1, align 8
br label %89
18: ; preds = %0
store i32 0, ptr %4, align 4
store i32 10, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 8, %20
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 @feof(ptr noundef %24)
%26 = icmp ne i32 %25, 0
%27 = xor i1 %26, true
br i1 %27, label %.lr.ph, label %76
.lr.ph: ; preds = %18
br label %28
28: ; preds = %.lr.ph, %.backedge
%29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fgets(ptr noundef %29, i32 noundef 256, ptr noundef %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %38, label %33
33: ; preds = %28
br label %.backedge
.backedge: ; preds = %33, %45, %75
%34 = load ptr, ptr %3, align 8
%35 = call i32 @feof(ptr noundef %34)
%36 = icmp ne i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %28, label %._crit_edge, !llvm.loop !6
38: ; preds = %28
%39 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @mfm_cut_1310(ptr noundef %39)
%41 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%42 = call i32 @strlen(ptr noundef %41)
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %46, label %45
45: ; preds = %38
br label %.backedge
46: ; preds = %38
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
%49 = call ptr @malloc(i32 noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
store ptr %49, ptr %53, align 8
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59)
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp eq i32 %63, %64
br i1 %65, label %66, label %75
66: ; preds = %46
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 10
store i32 %68, ptr %5, align 4
%69 = load ptr, ptr %6, align 8
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = mul i64 8, %71
%73 = trunc i64 %72 to i32
%74 = call ptr @realloc(ptr noundef %69, i32 noundef %73)
store ptr %74, ptr %6, align 8
br label %75
75: ; preds = %66, %46
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %76
76: ; preds = %._crit_edge, %18
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = mul i64 8, %80
%82 = trunc i64 %81 to i32
%83 = call ptr @realloc(ptr noundef %77, i32 noundef %82)
store ptr %83, ptr %6, align 8
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %4, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds ptr, ptr %84, i64 %86
store ptr null, ptr %87, align 8
%88 = load ptr, ptr %6, align 8
store ptr %88, ptr %1, align 8
br label %89
89: ; preds = %76, %17
%90 = load ptr, ptr %1, align 8
ret ptr %90
}
declare ptr @mfm_append_paths(i32 noundef, ptr noundef) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @mfm_cut_1310(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmppsr35bv3.c'
source_filename = "/tmp/tmppsr35bv3.c"
target datalayout = "e-m:e-p270: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/tmppsr35bv3.c"
target datalayout = "e-m:e-p270: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/tmp6du18clv.c'
source_filename = "/tmp/tmp6du18clv.c"
target datalayout = "e-m:e-p270: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/tmp6du18clv.c"
target datalayout = "e-m:e-p270: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/tmpbov0r94e.c'
source_filename = "/tmp/tmpbov0r94e.c"
target datalayout = "e-m:e-p270: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/tmpbov0r94e.c"
target datalayout = "e-m:e-p270: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/tmpe2sgl63k.c'
source_filename = "/tmp/tmpe2sgl63k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"Usage : %s <port> \0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"UDP socket error\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"bind() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [30 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @PF_INET, align 4
%22 = load i32, ptr @SOCK_DGRAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i32 @error_handling(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %20
%29 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12)
%30 = load i32, ptr @AF_INET, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %30, ptr %31, align 4
%32 = load i32, ptr @INADDR_ANY, align 4
%33 = call i32 @htonl(i32 noundef %32)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0
store i32 %33, ptr %35, align 4
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
%40 = call i32 @htons(i32 noundef %39)
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @bind(i32 noundef %42, ptr noundef %10, i32 noundef 12)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %28
%46 = call i32 @error_handling(ptr noundef @.str.2)
br label %47
47: ; preds = %45, %28
br label %48
48: ; preds = %47, %48
store i32 12, ptr %9, align 4
%49 = load i32, ptr %6, align 4
%50 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%51 = call i32 @recvfrom(i32 noundef %49, ptr noundef %50, i32 noundef 30, i32 noundef 0, ptr noundef %11, ptr noundef %9)
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = call i32 @sendto(i32 noundef %52, ptr noundef %53, i32 noundef %54, i32 noundef 0, ptr noundef %11, i32 noundef %55)
br label %48
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error_handling(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpe2sgl63k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"Usage : %s <port> \0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"UDP socket error\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"bind() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [30 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @PF_INET, align 4
%22 = load i32, ptr @SOCK_DGRAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i32 @error_handling(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %20
%29 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12)
%30 = load i32, ptr @AF_INET, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %30, ptr %31, align 4
%32 = load i32, ptr @INADDR_ANY, align 4
%33 = call i32 @htonl(i32 noundef %32)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0
store i32 %33, ptr %35, align 4
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
%40 = call i32 @htons(i32 noundef %39)
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @bind(i32 noundef %42, ptr noundef %10, i32 noundef 12)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %28
%46 = call i32 @error_handling(ptr noundef @.str.2)
br label %47
47: ; preds = %45, %28
br label %48
48: ; preds = %48, %47
store i32 12, ptr %9, align 4
%49 = load i32, ptr %6, align 4
%50 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%51 = call i32 @recvfrom(i32 noundef %49, ptr noundef %50, i32 noundef 30, i32 noundef 0, ptr noundef %11, ptr noundef %9)
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = call i32 @sendto(i32 noundef %52, ptr noundef %53, i32 noundef %54, i32 noundef 0, ptr noundef %11, i32 noundef %55)
br label %48
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error_handling(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpamaa00_8.c'
source_filename = "/tmp/tmpamaa00_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cras_make_fd_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %25
12: ; preds = %1
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = and i32 %13, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 0, ptr %2, align 4
br label %25
18: ; preds = %12
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr @O_NONBLOCK, align 4
%23 = or i32 %21, %22
%24 = call i32 (i32, i32, ...) @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %23)
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %18, %17, %10
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @fcntl(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/tmpamaa00_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cras_make_fd_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %25
12: ; preds = %1
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = and i32 %13, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 0, ptr %2, align 4
br label %25
18: ; preds = %12
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr @O_NONBLOCK, align 4
%23 = or i32 %21, %22
%24 = call i32 (i32, i32, ...) @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %23)
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %18, %17, %10
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @fcntl(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/tmpavss9yae.c'
source_filename = "/tmp/tmpavss9yae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_cycle_length(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 1, ptr %5, align 4
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %7, align 4
br label %9
9: ; preds = %23, %2
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %26
14: ; preds = %9
%15 = load i32, ptr %7, align 4
%16 = call i32 @cycle_length(i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp sgt i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = load i32, ptr %6, align 4
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %20, %14
br label %23
23: ; preds = %22
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
%27 = load i32, ptr %5, align 4
ret i32 %27
}
declare i32 @cycle_length(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/tmpavss9yae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_cycle_length(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 1, ptr %5, align 4
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %7, align 4
%15 = call i32 @cycle_length(i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %19, %13
br label %22
22: ; preds = %21
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
%28 = icmp slt i32 %25, %27
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i32, ptr %5, align 4
ret i32 %30
}
declare i32 @cycle_length(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/tmp438nms_u.c'
source_filename = "/tmp/tmp438nms_u.c"
target datalayout = "e-m:e-p270: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/tmp438nms_u.c"
target datalayout = "e-m:e-p270: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/tmpz8ndrrdp.c'
source_filename = "/tmp/tmpz8ndrrdp.c"
target datalayout = "e-m:e-p270: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/tmpz8ndrrdp.c"
target datalayout = "e-m:e-p270: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/tmpq_gwj0we.c'
source_filename = "/tmp/tmpq_gwj0we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(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 @_putchar(i32 noundef %3)
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq_gwj0we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(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 @_putchar(i32 noundef %3)
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfuh2jrqi.c'
source_filename = "/tmp/tmpfuh2jrqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkstring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %631, %1
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %634
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, 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, 65
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = call i32 (...) @blinkA()
br label %21
21: ; preds = %19, %11
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 66
br i1 %28, label %29, label %31
29: ; preds = %21
%30 = call i32 (...) @blinkB()
br label %31
31: ; preds = %29, %21
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 67
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 (...) @blinkC()
br label %41
41: ; preds = %39, %31
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 68
br i1 %48, label %49, label %51
49: ; preds = %41
%50 = call i32 (...) @blinkD()
br label %51
51: ; preds = %49, %41
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 69
br i1 %58, label %59, label %61
59: ; preds = %51
%60 = call i32 (...) @blinkE()
br label %61
61: ; preds = %59, %51
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 70
br i1 %68, label %69, label %71
69: ; preds = %61
%70 = call i32 (...) @blinkF()
br label %71
71: ; preds = %69, %61
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 71
br i1 %78, label %79, label %81
79: ; preds = %71
%80 = call i32 (...) @blinkG()
br label %81
81: ; preds = %79, %71
%82 = load ptr, ptr %2, align 8
%83 = load i32, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 72
br i1 %88, label %89, label %91
89: ; preds = %81
%90 = call i32 (...) @blinkH()
br label %91
91: ; preds = %89, %81
%92 = load ptr, ptr %2, align 8
%93 = load i32, ptr %4, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 73
br i1 %98, label %99, label %101
99: ; preds = %91
%100 = call i32 (...) @blinkI()
br label %101
101: ; preds = %99, %91
%102 = load ptr, ptr %2, align 8
%103 = load i32, ptr %4, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 74
br i1 %108, label %109, label %111
109: ; preds = %101
%110 = call i32 (...) @blinkJ()
br label %111
111: ; preds = %109, %101
%112 = load ptr, ptr %2, align 8
%113 = load i32, ptr %4, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 75
br i1 %118, label %119, label %121
119: ; preds = %111
%120 = call i32 (...) @blinkK()
br label %121
121: ; preds = %119, %111
%122 = load ptr, ptr %2, align 8
%123 = load i32, ptr %4, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i8, ptr %122, i64 %124
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 76
br i1 %128, label %129, label %131
129: ; preds = %121
%130 = call i32 (...) @blinkL()
br label %131
131: ; preds = %129, %121
%132 = load ptr, ptr %2, align 8
%133 = load i32, ptr %4, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 77
br i1 %138, label %139, label %141
139: ; preds = %131
%140 = call i32 (...) @blinkM()
br label %141
141: ; preds = %139, %131
%142 = load ptr, ptr %2, align 8
%143 = load i32, ptr %4, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 78
br i1 %148, label %149, label %151
149: ; preds = %141
%150 = call i32 (...) @blinkN()
br label %151
151: ; preds = %149, %141
%152 = load ptr, ptr %2, align 8
%153 = load i32, ptr %4, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i8, ptr %152, i64 %154
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 79
br i1 %158, label %159, label %161
159: ; preds = %151
%160 = call i32 (...) @blinkO()
br label %161
161: ; preds = %159, %151
%162 = load ptr, ptr %2, align 8
%163 = load i32, ptr %4, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 80
br i1 %168, label %169, label %171
169: ; preds = %161
%170 = call i32 (...) @blinkP()
br label %171
171: ; preds = %169, %161
%172 = load ptr, ptr %2, align 8
%173 = load i32, ptr %4, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i8, ptr %172, i64 %174
%176 = load i8, ptr %175, align 1
%177 = sext i8 %176 to i32
%178 = icmp eq i32 %177, 81
br i1 %178, label %179, label %181
179: ; preds = %171
%180 = call i32 (...) @blinkQ()
br label %181
181: ; preds = %179, %171
%182 = load ptr, ptr %2, align 8
%183 = load i32, ptr %4, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8, ptr %182, i64 %184
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 82
br i1 %188, label %189, label %191
189: ; preds = %181
%190 = call i32 (...) @blinkR()
br label %191
191: ; preds = %189, %181
%192 = load ptr, ptr %2, align 8
%193 = load i32, ptr %4, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i8, ptr %192, i64 %194
%196 = load i8, ptr %195, align 1
%197 = sext i8 %196 to i32
%198 = icmp eq i32 %197, 83
br i1 %198, label %199, label %201
199: ; preds = %191
%200 = call i32 (...) @blinkS()
br label %201
201: ; preds = %199, %191
%202 = load ptr, ptr %2, align 8
%203 = load i32, ptr %4, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, ptr %202, i64 %204
%206 = load i8, ptr %205, align 1
%207 = sext i8 %206 to i32
%208 = icmp eq i32 %207, 84
br i1 %208, label %209, label %211
209: ; preds = %201
%210 = call i32 (...) @blinkT()
br label %211
211: ; preds = %209, %201
%212 = load ptr, ptr %2, align 8
%213 = load i32, ptr %4, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i8, ptr %212, i64 %214
%216 = load i8, ptr %215, align 1
%217 = sext i8 %216 to i32
%218 = icmp eq i32 %217, 85
br i1 %218, label %219, label %221
219: ; preds = %211
%220 = call i32 (...) @blinkU()
br label %221
221: ; preds = %219, %211
%222 = load ptr, ptr %2, align 8
%223 = load i32, ptr %4, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %222, i64 %224
%226 = load i8, ptr %225, align 1
%227 = sext i8 %226 to i32
%228 = icmp eq i32 %227, 86
br i1 %228, label %229, label %231
229: ; preds = %221
%230 = call i32 (...) @blinkV()
br label %231
231: ; preds = %229, %221
%232 = load ptr, ptr %2, align 8
%233 = load i32, ptr %4, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i8, ptr %232, i64 %234
%236 = load i8, ptr %235, align 1
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 87
br i1 %238, label %239, label %241
239: ; preds = %231
%240 = call i32 (...) @blinkW()
br label %241
241: ; preds = %239, %231
%242 = load ptr, ptr %2, align 8
%243 = load i32, ptr %4, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i8, ptr %242, i64 %244
%246 = load i8, ptr %245, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 88
br i1 %248, label %249, label %251
249: ; preds = %241
%250 = call i32 (...) @blinkX()
br label %251
251: ; preds = %249, %241
%252 = load ptr, ptr %2, align 8
%253 = load i32, ptr %4, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i8, ptr %252, i64 %254
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 89
br i1 %258, label %259, label %261
259: ; preds = %251
%260 = call i32 (...) @blinkY()
br label %261
261: ; preds = %259, %251
%262 = load ptr, ptr %2, align 8
%263 = load i32, ptr %4, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i8, ptr %262, i64 %264
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 90
br i1 %268, label %269, label %271
269: ; preds = %261
%270 = call i32 (...) @blinkZ()
br label %271
271: ; preds = %269, %261
%272 = load ptr, ptr %2, align 8
%273 = load i32, ptr %4, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds i8, ptr %272, i64 %274
%276 = load i8, ptr %275, align 1
%277 = sext i8 %276 to i32
%278 = icmp eq i32 %277, 97
br i1 %278, label %279, label %281
279: ; preds = %271
%280 = call i32 (...) @blinkA()
br label %281
281: ; preds = %279, %271
%282 = load ptr, ptr %2, align 8
%283 = load i32, ptr %4, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds i8, ptr %282, i64 %284
%286 = load i8, ptr %285, align 1
%287 = sext i8 %286 to i32
%288 = icmp eq i32 %287, 98
br i1 %288, label %289, label %291
289: ; preds = %281
%290 = call i32 (...) @blinkB()
br label %291
291: ; preds = %289, %281
%292 = load ptr, ptr %2, align 8
%293 = load i32, ptr %4, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds i8, ptr %292, i64 %294
%296 = load i8, ptr %295, align 1
%297 = sext i8 %296 to i32
%298 = icmp eq i32 %297, 99
br i1 %298, label %299, label %301
299: ; preds = %291
%300 = call i32 (...) @blinkC()
br label %301
301: ; preds = %299, %291
%302 = load ptr, ptr %2, align 8
%303 = load i32, ptr %4, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds i8, ptr %302, i64 %304
%306 = load i8, ptr %305, align 1
%307 = sext i8 %306 to i32
%308 = icmp eq i32 %307, 100
br i1 %308, label %309, label %311
309: ; preds = %301
%310 = call i32 (...) @blinkD()
br label %311
311: ; preds = %309, %301
%312 = load ptr, ptr %2, align 8
%313 = load i32, ptr %4, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds i8, ptr %312, i64 %314
%316 = load i8, ptr %315, align 1
%317 = sext i8 %316 to i32
%318 = icmp eq i32 %317, 101
br i1 %318, label %319, label %321
319: ; preds = %311
%320 = call i32 (...) @blinkE()
br label %321
321: ; preds = %319, %311
%322 = load ptr, ptr %2, align 8
%323 = load i32, ptr %4, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds i8, ptr %322, i64 %324
%326 = load i8, ptr %325, align 1
%327 = sext i8 %326 to i32
%328 = icmp eq i32 %327, 102
br i1 %328, label %329, label %331
329: ; preds = %321
%330 = call i32 (...) @blinkF()
br label %331
331: ; preds = %329, %321
%332 = load ptr, ptr %2, align 8
%333 = load i32, ptr %4, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds i8, ptr %332, i64 %334
%336 = load i8, ptr %335, align 1
%337 = sext i8 %336 to i32
%338 = icmp eq i32 %337, 103
br i1 %338, label %339, label %341
339: ; preds = %331
%340 = call i32 (...) @blinkG()
br label %341
341: ; preds = %339, %331
%342 = load ptr, ptr %2, align 8
%343 = load i32, ptr %4, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds i8, ptr %342, i64 %344
%346 = load i8, ptr %345, align 1
%347 = sext i8 %346 to i32
%348 = icmp eq i32 %347, 104
br i1 %348, label %349, label %351
349: ; preds = %341
%350 = call i32 (...) @blinkH()
br label %351
351: ; preds = %349, %341
%352 = load ptr, ptr %2, align 8
%353 = load i32, ptr %4, align 4
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds i8, ptr %352, i64 %354
%356 = load i8, ptr %355, align 1
%357 = sext i8 %356 to i32
%358 = icmp eq i32 %357, 105
br i1 %358, label %359, label %361
359: ; preds = %351
%360 = call i32 (...) @blinkI()
br label %361
361: ; preds = %359, %351
%362 = load ptr, ptr %2, align 8
%363 = load i32, ptr %4, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds i8, ptr %362, i64 %364
%366 = load i8, ptr %365, align 1
%367 = sext i8 %366 to i32
%368 = icmp eq i32 %367, 106
br i1 %368, label %369, label %371
369: ; preds = %361
%370 = call i32 (...) @blinkJ()
br label %371
371: ; preds = %369, %361
%372 = load ptr, ptr %2, align 8
%373 = load i32, ptr %4, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds i8, ptr %372, i64 %374
%376 = load i8, ptr %375, align 1
%377 = sext i8 %376 to i32
%378 = icmp eq i32 %377, 107
br i1 %378, label %379, label %381
379: ; preds = %371
%380 = call i32 (...) @blinkK()
br label %381
381: ; preds = %379, %371
%382 = load ptr, ptr %2, align 8
%383 = load i32, ptr %4, align 4
%384 = sext i32 %383 to i64
%385 = getelementptr inbounds i8, ptr %382, i64 %384
%386 = load i8, ptr %385, align 1
%387 = sext i8 %386 to i32
%388 = icmp eq i32 %387, 108
br i1 %388, label %389, label %391
389: ; preds = %381
%390 = call i32 (...) @blinkL()
br label %391
391: ; preds = %389, %381
%392 = load ptr, ptr %2, align 8
%393 = load i32, ptr %4, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds i8, ptr %392, i64 %394
%396 = load i8, ptr %395, align 1
%397 = sext i8 %396 to i32
%398 = icmp eq i32 %397, 109
br i1 %398, label %399, label %401
399: ; preds = %391
%400 = call i32 (...) @blinkM()
br label %401
401: ; preds = %399, %391
%402 = load ptr, ptr %2, align 8
%403 = load i32, ptr %4, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds i8, ptr %402, i64 %404
%406 = load i8, ptr %405, align 1
%407 = sext i8 %406 to i32
%408 = icmp eq i32 %407, 110
br i1 %408, label %409, label %411
409: ; preds = %401
%410 = call i32 (...) @blinkN()
br label %411
411: ; preds = %409, %401
%412 = load ptr, ptr %2, align 8
%413 = load i32, ptr %4, align 4
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds i8, ptr %412, i64 %414
%416 = load i8, ptr %415, align 1
%417 = sext i8 %416 to i32
%418 = icmp eq i32 %417, 111
br i1 %418, label %419, label %421
419: ; preds = %411
%420 = call i32 (...) @blinkO()
br label %421
421: ; preds = %419, %411
%422 = load ptr, ptr %2, align 8
%423 = load i32, ptr %4, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds i8, ptr %422, i64 %424
%426 = load i8, ptr %425, align 1
%427 = sext i8 %426 to i32
%428 = icmp eq i32 %427, 112
br i1 %428, label %429, label %431
429: ; preds = %421
%430 = call i32 (...) @blinkP()
br label %431
431: ; preds = %429, %421
%432 = load ptr, ptr %2, align 8
%433 = load i32, ptr %4, align 4
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds i8, ptr %432, i64 %434
%436 = load i8, ptr %435, align 1
%437 = sext i8 %436 to i32
%438 = icmp eq i32 %437, 113
br i1 %438, label %439, label %441
439: ; preds = %431
%440 = call i32 (...) @blinkQ()
br label %441
441: ; preds = %439, %431
%442 = load ptr, ptr %2, align 8
%443 = load i32, ptr %4, align 4
%444 = sext i32 %443 to i64
%445 = getelementptr inbounds i8, ptr %442, i64 %444
%446 = load i8, ptr %445, align 1
%447 = sext i8 %446 to i32
%448 = icmp eq i32 %447, 114
br i1 %448, label %449, label %451
449: ; preds = %441
%450 = call i32 (...) @blinkR()
br label %451
451: ; preds = %449, %441
%452 = load ptr, ptr %2, align 8
%453 = load i32, ptr %4, align 4
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds i8, ptr %452, i64 %454
%456 = load i8, ptr %455, align 1
%457 = sext i8 %456 to i32
%458 = icmp eq i32 %457, 115
br i1 %458, label %459, label %461
459: ; preds = %451
%460 = call i32 (...) @blinkS()
br label %461
461: ; preds = %459, %451
%462 = load ptr, ptr %2, align 8
%463 = load i32, ptr %4, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds i8, ptr %462, i64 %464
%466 = load i8, ptr %465, align 1
%467 = sext i8 %466 to i32
%468 = icmp eq i32 %467, 116
br i1 %468, label %469, label %471
469: ; preds = %461
%470 = call i32 (...) @blinkT()
br label %471
471: ; preds = %469, %461
%472 = load ptr, ptr %2, align 8
%473 = load i32, ptr %4, align 4
%474 = sext i32 %473 to i64
%475 = getelementptr inbounds i8, ptr %472, i64 %474
%476 = load i8, ptr %475, align 1
%477 = sext i8 %476 to i32
%478 = icmp eq i32 %477, 117
br i1 %478, label %479, label %481
479: ; preds = %471
%480 = call i32 (...) @blinkU()
br label %481
481: ; preds = %479, %471
%482 = load ptr, ptr %2, align 8
%483 = load i32, ptr %4, align 4
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds i8, ptr %482, i64 %484
%486 = load i8, ptr %485, align 1
%487 = sext i8 %486 to i32
%488 = icmp eq i32 %487, 118
br i1 %488, label %489, label %491
489: ; preds = %481
%490 = call i32 (...) @blinkV()
br label %491
491: ; preds = %489, %481
%492 = load ptr, ptr %2, align 8
%493 = load i32, ptr %4, align 4
%494 = sext i32 %493 to i64
%495 = getelementptr inbounds i8, ptr %492, i64 %494
%496 = load i8, ptr %495, align 1
%497 = sext i8 %496 to i32
%498 = icmp eq i32 %497, 119
br i1 %498, label %499, label %501
499: ; preds = %491
%500 = call i32 (...) @blinkW()
br label %501
501: ; preds = %499, %491
%502 = load ptr, ptr %2, align 8
%503 = load i32, ptr %4, align 4
%504 = sext i32 %503 to i64
%505 = getelementptr inbounds i8, ptr %502, i64 %504
%506 = load i8, ptr %505, align 1
%507 = sext i8 %506 to i32
%508 = icmp eq i32 %507, 120
br i1 %508, label %509, label %511
509: ; preds = %501
%510 = call i32 (...) @blinkX()
br label %511
511: ; preds = %509, %501
%512 = load ptr, ptr %2, align 8
%513 = load i32, ptr %4, align 4
%514 = sext i32 %513 to i64
%515 = getelementptr inbounds i8, ptr %512, i64 %514
%516 = load i8, ptr %515, align 1
%517 = sext i8 %516 to i32
%518 = icmp eq i32 %517, 121
br i1 %518, label %519, label %521
519: ; preds = %511
%520 = call i32 (...) @blinkY()
br label %521
521: ; preds = %519, %511
%522 = load ptr, ptr %2, align 8
%523 = load i32, ptr %4, align 4
%524 = sext i32 %523 to i64
%525 = getelementptr inbounds i8, ptr %522, i64 %524
%526 = load i8, ptr %525, align 1
%527 = sext i8 %526 to i32
%528 = icmp eq i32 %527, 122
br i1 %528, label %529, label %531
529: ; preds = %521
%530 = call i32 (...) @blinkZ()
br label %531
531: ; preds = %529, %521
%532 = load ptr, ptr %2, align 8
%533 = load i32, ptr %4, align 4
%534 = sext i32 %533 to i64
%535 = getelementptr inbounds i8, ptr %532, i64 %534
%536 = load i8, ptr %535, align 1
%537 = sext i8 %536 to i32
%538 = icmp eq i32 %537, 46
br i1 %538, label %539, label %541
539: ; preds = %531
%540 = call i32 (...) @blinkperiod()
br label %541
541: ; preds = %539, %531
%542 = load ptr, ptr %2, align 8
%543 = load i32, ptr %4, align 4
%544 = sext i32 %543 to i64
%545 = getelementptr inbounds i8, ptr %542, i64 %544
%546 = load i8, ptr %545, align 1
%547 = sext i8 %546 to i32
%548 = icmp eq i32 %547, 49
br i1 %548, label %549, label %551
549: ; preds = %541
%550 = call i32 (...) @blink1()
br label %551
551: ; preds = %549, %541
%552 = load ptr, ptr %2, align 8
%553 = load i32, ptr %4, align 4
%554 = sext i32 %553 to i64
%555 = getelementptr inbounds i8, ptr %552, i64 %554
%556 = load i8, ptr %555, align 1
%557 = sext i8 %556 to i32
%558 = icmp eq i32 %557, 50
br i1 %558, label %559, label %561
559: ; preds = %551
%560 = call i32 (...) @blink2()
br label %561
561: ; preds = %559, %551
%562 = load ptr, ptr %2, align 8
%563 = load i32, ptr %4, align 4
%564 = sext i32 %563 to i64
%565 = getelementptr inbounds i8, ptr %562, i64 %564
%566 = load i8, ptr %565, align 1
%567 = sext i8 %566 to i32
%568 = icmp eq i32 %567, 51
br i1 %568, label %569, label %571
569: ; preds = %561
%570 = call i32 (...) @blink3()
br label %571
571: ; preds = %569, %561
%572 = load ptr, ptr %2, align 8
%573 = load i32, ptr %4, align 4
%574 = sext i32 %573 to i64
%575 = getelementptr inbounds i8, ptr %572, i64 %574
%576 = load i8, ptr %575, align 1
%577 = sext i8 %576 to i32
%578 = icmp eq i32 %577, 52
br i1 %578, label %579, label %581
579: ; preds = %571
%580 = call i32 (...) @blink4()
br label %581
581: ; preds = %579, %571
%582 = load ptr, ptr %2, align 8
%583 = load i32, ptr %4, align 4
%584 = sext i32 %583 to i64
%585 = getelementptr inbounds i8, ptr %582, i64 %584
%586 = load i8, ptr %585, align 1
%587 = sext i8 %586 to i32
%588 = icmp eq i32 %587, 53
br i1 %588, label %589, label %591
589: ; preds = %581
%590 = call i32 (...) @blink5()
br label %591
591: ; preds = %589, %581
%592 = load ptr, ptr %2, align 8
%593 = load i32, ptr %4, align 4
%594 = sext i32 %593 to i64
%595 = getelementptr inbounds i8, ptr %592, i64 %594
%596 = load i8, ptr %595, align 1
%597 = sext i8 %596 to i32
%598 = icmp eq i32 %597, 54
br i1 %598, label %599, label %601
599: ; preds = %591
%600 = call i32 (...) @blink6()
br label %601
601: ; preds = %599, %591
%602 = load ptr, ptr %2, align 8
%603 = load i32, ptr %4, align 4
%604 = sext i32 %603 to i64
%605 = getelementptr inbounds i8, ptr %602, i64 %604
%606 = load i8, ptr %605, align 1
%607 = sext i8 %606 to i32
%608 = icmp eq i32 %607, 55
br i1 %608, label %609, label %611
609: ; preds = %601
%610 = call i32 (...) @blink7()
br label %611
611: ; preds = %609, %601
%612 = load ptr, ptr %2, align 8
%613 = load i32, ptr %4, align 4
%614 = sext i32 %613 to i64
%615 = getelementptr inbounds i8, ptr %612, i64 %614
%616 = load i8, ptr %615, align 1
%617 = sext i8 %616 to i32
%618 = icmp eq i32 %617, 56
br i1 %618, label %619, label %621
619: ; preds = %611
%620 = call i32 (...) @blink8()
br label %621
621: ; preds = %619, %611
%622 = load ptr, ptr %2, align 8
%623 = load i32, ptr %4, align 4
%624 = sext i32 %623 to i64
%625 = getelementptr inbounds i8, ptr %622, i64 %624
%626 = load i8, ptr %625, align 1
%627 = sext i8 %626 to i32
%628 = icmp eq i32 %627, 57
br i1 %628, label %629, label %631
629: ; preds = %621
%630 = call i32 (...) @blink9()
br label %631
631: ; preds = %629, %621
%632 = load i32, ptr %4, align 4
%633 = add nsw i32 %632, 1
store i32 %633, ptr %4, align 4
br label %7, !llvm.loop !6
634: ; preds = %7
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @blinkA(...) #1
declare i32 @blinkB(...) #1
declare i32 @blinkC(...) #1
declare i32 @blinkD(...) #1
declare i32 @blinkE(...) #1
declare i32 @blinkF(...) #1
declare i32 @blinkG(...) #1
declare i32 @blinkH(...) #1
declare i32 @blinkI(...) #1
declare i32 @blinkJ(...) #1
declare i32 @blinkK(...) #1
declare i32 @blinkL(...) #1
declare i32 @blinkM(...) #1
declare i32 @blinkN(...) #1
declare i32 @blinkO(...) #1
declare i32 @blinkP(...) #1
declare i32 @blinkQ(...) #1
declare i32 @blinkR(...) #1
declare i32 @blinkS(...) #1
declare i32 @blinkT(...) #1
declare i32 @blinkU(...) #1
declare i32 @blinkV(...) #1
declare i32 @blinkW(...) #1
declare i32 @blinkX(...) #1
declare i32 @blinkY(...) #1
declare i32 @blinkZ(...) #1
declare i32 @blinkperiod(...) #1
declare i32 @blink1(...) #1
declare i32 @blink2(...) #1
declare i32 @blink3(...) #1
declare i32 @blink4(...) #1
declare i32 @blink5(...) #1
declare i32 @blink6(...) #1
declare i32 @blink7(...) #1
declare i32 @blink8(...) #1
declare i32 @blink9(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpfuh2jrqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkstring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %636
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %630
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, 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, 65
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 (...) @blinkA()
br label %20
20: ; preds = %18, %10
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 66
br i1 %27, label %28, label %30
28: ; preds = %20
%29 = call i32 (...) @blinkB()
br label %30
30: ; preds = %28, %20
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 67
br i1 %37, label %38, label %40
38: ; preds = %30
%39 = call i32 (...) @blinkC()
br label %40
40: ; preds = %38, %30
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 68
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = call i32 (...) @blinkD()
br label %50
50: ; preds = %48, %40
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 69
br i1 %57, label %58, label %60
58: ; preds = %50
%59 = call i32 (...) @blinkE()
br label %60
60: ; preds = %58, %50
%61 = load ptr, ptr %2, align 8
%62 = load i32, ptr %4, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 70
br i1 %67, label %68, label %70
68: ; preds = %60
%69 = call i32 (...) @blinkF()
br label %70
70: ; preds = %68, %60
%71 = load ptr, ptr %2, align 8
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 71
br i1 %77, label %78, label %80
78: ; preds = %70
%79 = call i32 (...) @blinkG()
br label %80
80: ; preds = %78, %70
%81 = load ptr, ptr %2, align 8
%82 = load i32, ptr %4, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 72
br i1 %87, label %88, label %90
88: ; preds = %80
%89 = call i32 (...) @blinkH()
br label %90
90: ; preds = %88, %80
%91 = load ptr, ptr %2, align 8
%92 = load i32, ptr %4, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 73
br i1 %97, label %98, label %100
98: ; preds = %90
%99 = call i32 (...) @blinkI()
br label %100
100: ; preds = %98, %90
%101 = load ptr, ptr %2, align 8
%102 = load i32, ptr %4, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 74
br i1 %107, label %108, label %110
108: ; preds = %100
%109 = call i32 (...) @blinkJ()
br label %110
110: ; preds = %108, %100
%111 = load ptr, ptr %2, align 8
%112 = load i32, ptr %4, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 75
br i1 %117, label %118, label %120
118: ; preds = %110
%119 = call i32 (...) @blinkK()
br label %120
120: ; preds = %118, %110
%121 = load ptr, ptr %2, align 8
%122 = load i32, ptr %4, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp eq i32 %126, 76
br i1 %127, label %128, label %130
128: ; preds = %120
%129 = call i32 (...) @blinkL()
br label %130
130: ; preds = %128, %120
%131 = load ptr, ptr %2, align 8
%132 = load i32, ptr %4, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %131, i64 %133
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 77
br i1 %137, label %138, label %140
138: ; preds = %130
%139 = call i32 (...) @blinkM()
br label %140
140: ; preds = %138, %130
%141 = load ptr, ptr %2, align 8
%142 = load i32, ptr %4, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i8, ptr %141, i64 %143
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp eq i32 %146, 78
br i1 %147, label %148, label %150
148: ; preds = %140
%149 = call i32 (...) @blinkN()
br label %150
150: ; preds = %148, %140
%151 = load ptr, ptr %2, align 8
%152 = load i32, ptr %4, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i8, ptr %151, i64 %153
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 79
br i1 %157, label %158, label %160
158: ; preds = %150
%159 = call i32 (...) @blinkO()
br label %160
160: ; preds = %158, %150
%161 = load ptr, ptr %2, align 8
%162 = load i32, ptr %4, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i8, ptr %161, i64 %163
%165 = load i8, ptr %164, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 80
br i1 %167, label %168, label %170
168: ; preds = %160
%169 = call i32 (...) @blinkP()
br label %170
170: ; preds = %168, %160
%171 = load ptr, ptr %2, align 8
%172 = load i32, ptr %4, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i8, ptr %171, i64 %173
%175 = load i8, ptr %174, align 1
%176 = sext i8 %175 to i32
%177 = icmp eq i32 %176, 81
br i1 %177, label %178, label %180
178: ; preds = %170
%179 = call i32 (...) @blinkQ()
br label %180
180: ; preds = %178, %170
%181 = load ptr, ptr %2, align 8
%182 = load i32, ptr %4, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 82
br i1 %187, label %188, label %190
188: ; preds = %180
%189 = call i32 (...) @blinkR()
br label %190
190: ; preds = %188, %180
%191 = load ptr, ptr %2, align 8
%192 = load i32, ptr %4, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds i8, ptr %191, i64 %193
%195 = load i8, ptr %194, align 1
%196 = sext i8 %195 to i32
%197 = icmp eq i32 %196, 83
br i1 %197, label %198, label %200
198: ; preds = %190
%199 = call i32 (...) @blinkS()
br label %200
200: ; preds = %198, %190
%201 = load ptr, ptr %2, align 8
%202 = load i32, ptr %4, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i8, ptr %201, i64 %203
%205 = load i8, ptr %204, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %206, 84
br i1 %207, label %208, label %210
208: ; preds = %200
%209 = call i32 (...) @blinkT()
br label %210
210: ; preds = %208, %200
%211 = load ptr, ptr %2, align 8
%212 = load i32, ptr %4, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds i8, ptr %211, i64 %213
%215 = load i8, ptr %214, align 1
%216 = sext i8 %215 to i32
%217 = icmp eq i32 %216, 85
br i1 %217, label %218, label %220
218: ; preds = %210
%219 = call i32 (...) @blinkU()
br label %220
220: ; preds = %218, %210
%221 = load ptr, ptr %2, align 8
%222 = load i32, ptr %4, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, ptr %221, i64 %223
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 86
br i1 %227, label %228, label %230
228: ; preds = %220
%229 = call i32 (...) @blinkV()
br label %230
230: ; preds = %228, %220
%231 = load ptr, ptr %2, align 8
%232 = load i32, ptr %4, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i8, ptr %231, i64 %233
%235 = load i8, ptr %234, align 1
%236 = sext i8 %235 to i32
%237 = icmp eq i32 %236, 87
br i1 %237, label %238, label %240
238: ; preds = %230
%239 = call i32 (...) @blinkW()
br label %240
240: ; preds = %238, %230
%241 = load ptr, ptr %2, align 8
%242 = load i32, ptr %4, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds i8, ptr %241, i64 %243
%245 = load i8, ptr %244, align 1
%246 = sext i8 %245 to i32
%247 = icmp eq i32 %246, 88
br i1 %247, label %248, label %250
248: ; preds = %240
%249 = call i32 (...) @blinkX()
br label %250
250: ; preds = %248, %240
%251 = load ptr, ptr %2, align 8
%252 = load i32, ptr %4, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds i8, ptr %251, i64 %253
%255 = load i8, ptr %254, align 1
%256 = sext i8 %255 to i32
%257 = icmp eq i32 %256, 89
br i1 %257, label %258, label %260
258: ; preds = %250
%259 = call i32 (...) @blinkY()
br label %260
260: ; preds = %258, %250
%261 = load ptr, ptr %2, align 8
%262 = load i32, ptr %4, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i8, ptr %261, i64 %263
%265 = load i8, ptr %264, align 1
%266 = sext i8 %265 to i32
%267 = icmp eq i32 %266, 90
br i1 %267, label %268, label %270
268: ; preds = %260
%269 = call i32 (...) @blinkZ()
br label %270
270: ; preds = %268, %260
%271 = load ptr, ptr %2, align 8
%272 = load i32, ptr %4, 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, 97
br i1 %277, label %278, label %280
278: ; preds = %270
%279 = call i32 (...) @blinkA()
br label %280
280: ; preds = %278, %270
%281 = load ptr, ptr %2, align 8
%282 = load i32, ptr %4, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds i8, ptr %281, i64 %283
%285 = load i8, ptr %284, align 1
%286 = sext i8 %285 to i32
%287 = icmp eq i32 %286, 98
br i1 %287, label %288, label %290
288: ; preds = %280
%289 = call i32 (...) @blinkB()
br label %290
290: ; preds = %288, %280
%291 = load ptr, ptr %2, align 8
%292 = load i32, ptr %4, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i8, ptr %291, i64 %293
%295 = load i8, ptr %294, align 1
%296 = sext i8 %295 to i32
%297 = icmp eq i32 %296, 99
br i1 %297, label %298, label %300
298: ; preds = %290
%299 = call i32 (...) @blinkC()
br label %300
300: ; preds = %298, %290
%301 = load ptr, ptr %2, align 8
%302 = load i32, ptr %4, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i8, ptr %301, i64 %303
%305 = load i8, ptr %304, align 1
%306 = sext i8 %305 to i32
%307 = icmp eq i32 %306, 100
br i1 %307, label %308, label %310
308: ; preds = %300
%309 = call i32 (...) @blinkD()
br label %310
310: ; preds = %308, %300
%311 = load ptr, ptr %2, align 8
%312 = load i32, ptr %4, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i8, ptr %311, i64 %313
%315 = load i8, ptr %314, align 1
%316 = sext i8 %315 to i32
%317 = icmp eq i32 %316, 101
br i1 %317, label %318, label %320
318: ; preds = %310
%319 = call i32 (...) @blinkE()
br label %320
320: ; preds = %318, %310
%321 = load ptr, ptr %2, align 8
%322 = load i32, ptr %4, align 4
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds i8, ptr %321, i64 %323
%325 = load i8, ptr %324, align 1
%326 = sext i8 %325 to i32
%327 = icmp eq i32 %326, 102
br i1 %327, label %328, label %330
328: ; preds = %320
%329 = call i32 (...) @blinkF()
br label %330
330: ; preds = %328, %320
%331 = load ptr, ptr %2, align 8
%332 = load i32, ptr %4, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds i8, ptr %331, i64 %333
%335 = load i8, ptr %334, align 1
%336 = sext i8 %335 to i32
%337 = icmp eq i32 %336, 103
br i1 %337, label %338, label %340
338: ; preds = %330
%339 = call i32 (...) @blinkG()
br label %340
340: ; preds = %338, %330
%341 = load ptr, ptr %2, align 8
%342 = load i32, ptr %4, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i8, ptr %341, i64 %343
%345 = load i8, ptr %344, align 1
%346 = sext i8 %345 to i32
%347 = icmp eq i32 %346, 104
br i1 %347, label %348, label %350
348: ; preds = %340
%349 = call i32 (...) @blinkH()
br label %350
350: ; preds = %348, %340
%351 = load ptr, ptr %2, align 8
%352 = load i32, ptr %4, align 4
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds i8, ptr %351, i64 %353
%355 = load i8, ptr %354, align 1
%356 = sext i8 %355 to i32
%357 = icmp eq i32 %356, 105
br i1 %357, label %358, label %360
358: ; preds = %350
%359 = call i32 (...) @blinkI()
br label %360
360: ; preds = %358, %350
%361 = load ptr, ptr %2, align 8
%362 = load i32, ptr %4, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds i8, ptr %361, i64 %363
%365 = load i8, ptr %364, align 1
%366 = sext i8 %365 to i32
%367 = icmp eq i32 %366, 106
br i1 %367, label %368, label %370
368: ; preds = %360
%369 = call i32 (...) @blinkJ()
br label %370
370: ; preds = %368, %360
%371 = load ptr, ptr %2, align 8
%372 = load i32, ptr %4, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds i8, ptr %371, i64 %373
%375 = load i8, ptr %374, align 1
%376 = sext i8 %375 to i32
%377 = icmp eq i32 %376, 107
br i1 %377, label %378, label %380
378: ; preds = %370
%379 = call i32 (...) @blinkK()
br label %380
380: ; preds = %378, %370
%381 = load ptr, ptr %2, align 8
%382 = load i32, ptr %4, align 4
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds i8, ptr %381, i64 %383
%385 = load i8, ptr %384, align 1
%386 = sext i8 %385 to i32
%387 = icmp eq i32 %386, 108
br i1 %387, label %388, label %390
388: ; preds = %380
%389 = call i32 (...) @blinkL()
br label %390
390: ; preds = %388, %380
%391 = load ptr, ptr %2, align 8
%392 = load i32, ptr %4, align 4
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds i8, ptr %391, i64 %393
%395 = load i8, ptr %394, align 1
%396 = sext i8 %395 to i32
%397 = icmp eq i32 %396, 109
br i1 %397, label %398, label %400
398: ; preds = %390
%399 = call i32 (...) @blinkM()
br label %400
400: ; preds = %398, %390
%401 = load ptr, ptr %2, align 8
%402 = load i32, ptr %4, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds i8, ptr %401, i64 %403
%405 = load i8, ptr %404, align 1
%406 = sext i8 %405 to i32
%407 = icmp eq i32 %406, 110
br i1 %407, label %408, label %410
408: ; preds = %400
%409 = call i32 (...) @blinkN()
br label %410
410: ; preds = %408, %400
%411 = load ptr, ptr %2, align 8
%412 = load i32, ptr %4, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds i8, ptr %411, i64 %413
%415 = load i8, ptr %414, align 1
%416 = sext i8 %415 to i32
%417 = icmp eq i32 %416, 111
br i1 %417, label %418, label %420
418: ; preds = %410
%419 = call i32 (...) @blinkO()
br label %420
420: ; preds = %418, %410
%421 = load ptr, ptr %2, align 8
%422 = load i32, ptr %4, align 4
%423 = sext i32 %422 to i64
%424 = getelementptr inbounds i8, ptr %421, i64 %423
%425 = load i8, ptr %424, align 1
%426 = sext i8 %425 to i32
%427 = icmp eq i32 %426, 112
br i1 %427, label %428, label %430
428: ; preds = %420
%429 = call i32 (...) @blinkP()
br label %430
430: ; preds = %428, %420
%431 = load ptr, ptr %2, align 8
%432 = load i32, ptr %4, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds i8, ptr %431, i64 %433
%435 = load i8, ptr %434, align 1
%436 = sext i8 %435 to i32
%437 = icmp eq i32 %436, 113
br i1 %437, label %438, label %440
438: ; preds = %430
%439 = call i32 (...) @blinkQ()
br label %440
440: ; preds = %438, %430
%441 = load ptr, ptr %2, align 8
%442 = load i32, ptr %4, align 4
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds i8, ptr %441, i64 %443
%445 = load i8, ptr %444, align 1
%446 = sext i8 %445 to i32
%447 = icmp eq i32 %446, 114
br i1 %447, label %448, label %450
448: ; preds = %440
%449 = call i32 (...) @blinkR()
br label %450
450: ; preds = %448, %440
%451 = load ptr, ptr %2, align 8
%452 = load i32, ptr %4, align 4
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds i8, ptr %451, i64 %453
%455 = load i8, ptr %454, align 1
%456 = sext i8 %455 to i32
%457 = icmp eq i32 %456, 115
br i1 %457, label %458, label %460
458: ; preds = %450
%459 = call i32 (...) @blinkS()
br label %460
460: ; preds = %458, %450
%461 = load ptr, ptr %2, align 8
%462 = load i32, ptr %4, align 4
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds i8, ptr %461, i64 %463
%465 = load i8, ptr %464, align 1
%466 = sext i8 %465 to i32
%467 = icmp eq i32 %466, 116
br i1 %467, label %468, label %470
468: ; preds = %460
%469 = call i32 (...) @blinkT()
br label %470
470: ; preds = %468, %460
%471 = load ptr, ptr %2, align 8
%472 = load i32, ptr %4, align 4
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds i8, ptr %471, i64 %473
%475 = load i8, ptr %474, align 1
%476 = sext i8 %475 to i32
%477 = icmp eq i32 %476, 117
br i1 %477, label %478, label %480
478: ; preds = %470
%479 = call i32 (...) @blinkU()
br label %480
480: ; preds = %478, %470
%481 = load ptr, ptr %2, align 8
%482 = load i32, ptr %4, align 4
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds i8, ptr %481, i64 %483
%485 = load i8, ptr %484, align 1
%486 = sext i8 %485 to i32
%487 = icmp eq i32 %486, 118
br i1 %487, label %488, label %490
488: ; preds = %480
%489 = call i32 (...) @blinkV()
br label %490
490: ; preds = %488, %480
%491 = load ptr, ptr %2, align 8
%492 = load i32, ptr %4, align 4
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds i8, ptr %491, i64 %493
%495 = load i8, ptr %494, align 1
%496 = sext i8 %495 to i32
%497 = icmp eq i32 %496, 119
br i1 %497, label %498, label %500
498: ; preds = %490
%499 = call i32 (...) @blinkW()
br label %500
500: ; preds = %498, %490
%501 = load ptr, ptr %2, align 8
%502 = load i32, ptr %4, align 4
%503 = sext i32 %502 to i64
%504 = getelementptr inbounds i8, ptr %501, i64 %503
%505 = load i8, ptr %504, align 1
%506 = sext i8 %505 to i32
%507 = icmp eq i32 %506, 120
br i1 %507, label %508, label %510
508: ; preds = %500
%509 = call i32 (...) @blinkX()
br label %510
510: ; preds = %508, %500
%511 = load ptr, ptr %2, align 8
%512 = load i32, ptr %4, align 4
%513 = sext i32 %512 to i64
%514 = getelementptr inbounds i8, ptr %511, i64 %513
%515 = load i8, ptr %514, align 1
%516 = sext i8 %515 to i32
%517 = icmp eq i32 %516, 121
br i1 %517, label %518, label %520
518: ; preds = %510
%519 = call i32 (...) @blinkY()
br label %520
520: ; preds = %518, %510
%521 = load ptr, ptr %2, align 8
%522 = load i32, ptr %4, align 4
%523 = sext i32 %522 to i64
%524 = getelementptr inbounds i8, ptr %521, i64 %523
%525 = load i8, ptr %524, align 1
%526 = sext i8 %525 to i32
%527 = icmp eq i32 %526, 122
br i1 %527, label %528, label %530
528: ; preds = %520
%529 = call i32 (...) @blinkZ()
br label %530
530: ; preds = %528, %520
%531 = load ptr, ptr %2, align 8
%532 = load i32, ptr %4, align 4
%533 = sext i32 %532 to i64
%534 = getelementptr inbounds i8, ptr %531, i64 %533
%535 = load i8, ptr %534, align 1
%536 = sext i8 %535 to i32
%537 = icmp eq i32 %536, 46
br i1 %537, label %538, label %540
538: ; preds = %530
%539 = call i32 (...) @blinkperiod()
br label %540
540: ; preds = %538, %530
%541 = load ptr, ptr %2, align 8
%542 = load i32, ptr %4, align 4
%543 = sext i32 %542 to i64
%544 = getelementptr inbounds i8, ptr %541, i64 %543
%545 = load i8, ptr %544, align 1
%546 = sext i8 %545 to i32
%547 = icmp eq i32 %546, 49
br i1 %547, label %548, label %550
548: ; preds = %540
%549 = call i32 (...) @blink1()
br label %550
550: ; preds = %548, %540
%551 = load ptr, ptr %2, align 8
%552 = load i32, ptr %4, align 4
%553 = sext i32 %552 to i64
%554 = getelementptr inbounds i8, ptr %551, i64 %553
%555 = load i8, ptr %554, align 1
%556 = sext i8 %555 to i32
%557 = icmp eq i32 %556, 50
br i1 %557, label %558, label %560
558: ; preds = %550
%559 = call i32 (...) @blink2()
br label %560
560: ; preds = %558, %550
%561 = load ptr, ptr %2, align 8
%562 = load i32, ptr %4, align 4
%563 = sext i32 %562 to i64
%564 = getelementptr inbounds i8, ptr %561, i64 %563
%565 = load i8, ptr %564, align 1
%566 = sext i8 %565 to i32
%567 = icmp eq i32 %566, 51
br i1 %567, label %568, label %570
568: ; preds = %560
%569 = call i32 (...) @blink3()
br label %570
570: ; preds = %568, %560
%571 = load ptr, ptr %2, align 8
%572 = load i32, ptr %4, align 4
%573 = sext i32 %572 to i64
%574 = getelementptr inbounds i8, ptr %571, i64 %573
%575 = load i8, ptr %574, align 1
%576 = sext i8 %575 to i32
%577 = icmp eq i32 %576, 52
br i1 %577, label %578, label %580
578: ; preds = %570
%579 = call i32 (...) @blink4()
br label %580
580: ; preds = %578, %570
%581 = load ptr, ptr %2, align 8
%582 = load i32, ptr %4, align 4
%583 = sext i32 %582 to i64
%584 = getelementptr inbounds i8, ptr %581, i64 %583
%585 = load i8, ptr %584, align 1
%586 = sext i8 %585 to i32
%587 = icmp eq i32 %586, 53
br i1 %587, label %588, label %590
588: ; preds = %580
%589 = call i32 (...) @blink5()
br label %590
590: ; preds = %588, %580
%591 = load ptr, ptr %2, align 8
%592 = load i32, ptr %4, align 4
%593 = sext i32 %592 to i64
%594 = getelementptr inbounds i8, ptr %591, i64 %593
%595 = load i8, ptr %594, align 1
%596 = sext i8 %595 to i32
%597 = icmp eq i32 %596, 54
br i1 %597, label %598, label %600
598: ; preds = %590
%599 = call i32 (...) @blink6()
br label %600
600: ; preds = %598, %590
%601 = load ptr, ptr %2, align 8
%602 = load i32, ptr %4, align 4
%603 = sext i32 %602 to i64
%604 = getelementptr inbounds i8, ptr %601, i64 %603
%605 = load i8, ptr %604, align 1
%606 = sext i8 %605 to i32
%607 = icmp eq i32 %606, 55
br i1 %607, label %608, label %610
608: ; preds = %600
%609 = call i32 (...) @blink7()
br label %610
610: ; preds = %608, %600
%611 = load ptr, ptr %2, align 8
%612 = load i32, ptr %4, align 4
%613 = sext i32 %612 to i64
%614 = getelementptr inbounds i8, ptr %611, i64 %613
%615 = load i8, ptr %614, align 1
%616 = sext i8 %615 to i32
%617 = icmp eq i32 %616, 56
br i1 %617, label %618, label %620
618: ; preds = %610
%619 = call i32 (...) @blink8()
br label %620
620: ; preds = %618, %610
%621 = load ptr, ptr %2, align 8
%622 = load i32, ptr %4, align 4
%623 = sext i32 %622 to i64
%624 = getelementptr inbounds i8, ptr %621, i64 %623
%625 = load i8, ptr %624, align 1
%626 = sext i8 %625 to i32
%627 = icmp eq i32 %626, 57
br i1 %627, label %628, label %630
628: ; preds = %620
%629 = call i32 (...) @blink9()
br label %630
630: ; preds = %628, %620
%631 = load i32, ptr %4, align 4
%632 = add nsw i32 %631, 1
store i32 %632, ptr %4, align 4
%633 = load i32, ptr %4, align 4
%634 = load i32, ptr %3, align 4
%635 = icmp sle i32 %633, %634
br i1 %635, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %630
br label %636
636: ; preds = %._crit_edge, %1
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @blinkA(...) #1
declare i32 @blinkB(...) #1
declare i32 @blinkC(...) #1
declare i32 @blinkD(...) #1
declare i32 @blinkE(...) #1
declare i32 @blinkF(...) #1
declare i32 @blinkG(...) #1
declare i32 @blinkH(...) #1
declare i32 @blinkI(...) #1
declare i32 @blinkJ(...) #1
declare i32 @blinkK(...) #1
declare i32 @blinkL(...) #1
declare i32 @blinkM(...) #1
declare i32 @blinkN(...) #1
declare i32 @blinkO(...) #1
declare i32 @blinkP(...) #1
declare i32 @blinkQ(...) #1
declare i32 @blinkR(...) #1
declare i32 @blinkS(...) #1
declare i32 @blinkT(...) #1
declare i32 @blinkU(...) #1
declare i32 @blinkV(...) #1
declare i32 @blinkW(...) #1
declare i32 @blinkX(...) #1
declare i32 @blinkY(...) #1
declare i32 @blinkZ(...) #1
declare i32 @blinkperiod(...) #1
declare i32 @blink1(...) #1
declare i32 @blink2(...) #1
declare i32 @blink3(...) #1
declare i32 @blink4(...) #1
declare i32 @blink5(...) #1
declare i32 @blink6(...) #1
declare i32 @blink7(...) #1
declare i32 @blink8(...) #1
declare i32 @blink9(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmplsz2a9yv.c'
source_filename = "/tmp/tmplsz2a9yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync_wait_child(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 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @sync_wait(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @sync_wait(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/tmplsz2a9yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync_wait_child(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 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @sync_wait(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @sync_wait(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/tmpyg30zgyw.c'
source_filename = "/tmp/tmpyg30zgyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdio_puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyg30zgyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdio_puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz0uv_1m1.c'
source_filename = "/tmp/tmpz0uv_1m1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runcmd_cmd2strv(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %13, align 8
%19 = load i64, ptr %13, align 8
%20 = add i64 %19, 10
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %14, align 8
store i32 0, ptr %10, align 4
br label %22
22: ; preds = %270, %3
%23 = load i32, ptr %10, align 4
%24 = zext i32 %23 to i64
%25 = load i64, ptr %13, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %27, label %273
27: ; preds = %22
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %10, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store ptr %31, ptr %15, align 8
%32 = load ptr, ptr %15, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
switch i32 %34, label %243 [
i32 0, label %35
i32 32, label %37
i32 9, label %37
i32 13, label %37
i32 10, label %37
i32 92, label %52
i32 39, label %81
i32 34, label %114
i32 124, label %147
i32 38, label %155
i32 59, label %155
i32 96, label %193
i32 40, label %205
i32 41, label %205
i32 36, label %213
i32 42, label %235
i32 63, label %235
]
35: ; preds = %27
%36 = load i32, ptr %12, align 4
store i32 %36, ptr %4, align 4
br label %296
37: ; preds = %27, %27, %27, %27
%38 = load i32, ptr %11, align 4
%39 = icmp eq i32 %38, 2
br i1 %39, label %40, label %46
40: ; preds = %37
store i32 0, ptr %11, align 4
%41 = load ptr, ptr %14, align 8
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 0, ptr %45, align 1
br label %270
46: ; preds = %37
%47 = load i32, ptr %11, align 4
%48 = and i32 %47, 12
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %46
br label %270
51: ; preds = %46
br label %244
52: ; preds = %27
%53 = load i32, ptr %11, align 4
%54 = and i32 %53, 4
%55 = icmp eq i32 %54, 4
br i1 %55, label %60, label %56
56: ; preds = %52
%57 = load i32, ptr %11, align 4
%58 = and i32 %57, 32
%59 = icmp eq i32 %58, 32
br i1 %59, label %60, label %61
60: ; preds = %56, %52
br label %244
61: ; preds = %56
%62 = load i32, ptr %11, align 4
%63 = and i32 %62, 8
%64 = icmp eq i32 %63, 8
br i1 %64, label %65, label %78
65: ; preds = %61
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %10, align 4
%68 = add i32 %67, 1
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
store i8 %71, ptr %16, align 1
%72 = load i8, ptr %16, align 1
%73 = sext i8 %72 to i32
switch i32 %73, label %77 [
i32 34, label %74
i32 92, label %74
i32 36, label %74
i32 96, label %74
]
74: ; preds = %65, %65, %65, %65
%75 = load i32, ptr %11, align 4
%76 = or i32 %75, 32
store i32 %76, ptr %11, align 4
br label %270
77: ; preds = %65
br label %244
78: ; preds = %61
%79 = load i32, ptr %10, align 4
%80 = add i32 %79, 1
store i32 %80, ptr %10, align 4
br label %244
81: ; preds = %27
%82 = load i32, ptr %11, align 4
%83 = and i32 %82, 8
%84 = icmp eq i32 %83, 8
br i1 %84, label %85, label %86
85: ; preds = %81
br label %244
86: ; preds = %81
%87 = load i32, ptr %11, align 4
%88 = and i32 %87, 4
%89 = icmp eq i32 %88, 4
br i1 %89, label %90, label %93
90: ; preds = %86
%91 = load i32, ptr %11, align 4
%92 = and i32 %91, -5
store i32 %92, ptr %11, align 4
br label %270
93: ; preds = %86
%94 = load i32, ptr %11, align 4
%95 = icmp eq i32 %94, 0
br i1 %95, label %99, label %96
96: ; preds = %93
%97 = load i32, ptr %11, align 4
%98 = icmp eq i32 %97, 2
br i1 %98, label %99, label %113
99: ; preds = %96, %93
%100 = load i32, ptr %11, align 4
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %112
102: ; preds = %99
%103 = load ptr, ptr %14, align 8
%104 = load i32, ptr %9, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load ptr, ptr %7, align 8
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %8, align 4
%110 = sext i32 %108 to i64
%111 = getelementptr inbounds ptr, ptr %107, i64 %110
store ptr %106, ptr %111, align 8
br label %112
112: ; preds = %102, %99
store i32 6, ptr %11, align 4
br label %270
113: ; preds = %96
br label %114
114: ; preds = %27, %113
%115 = load i32, ptr %11, align 4
%116 = and i32 %115, 4
%117 = icmp eq i32 %116, 4
br i1 %117, label %118, label %119
118: ; preds = %114
br label %244
119: ; preds = %114
%120 = load i32, ptr %11, align 4
%121 = and i32 %120, 8
%122 = icmp eq i32 %121, 8
br i1 %122, label %123, label %126
123: ; preds = %119
%124 = load i32, ptr %11, align 4
%125 = and i32 %124, -9
store i32 %125, ptr %11, align 4
br label %270
126: ; preds = %119
%127 = load i32, ptr %11, align 4
%128 = icmp eq i32 %127, 0
br i1 %128, label %132, label %129
129: ; preds = %126
%130 = load i32, ptr %11, align 4
%131 = icmp eq i32 %130, 2
br i1 %131, label %132, label %146
132: ; preds = %129, %126
%133 = load i32, ptr %11, align 4
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %145
135: ; preds = %132
%136 = load ptr, ptr %14, align 8
%137 = load i32, ptr %9, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
%140 = load ptr, ptr %7, align 8
%141 = load i32, ptr %8, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %8, align 4
%143 = sext i32 %141 to i64
%144 = getelementptr inbounds ptr, ptr %140, i64 %143
store ptr %139, ptr %144, align 8
br label %145
145: ; preds = %135, %132
store i32 10, ptr %11, align 4
br label %270
146: ; preds = %129
br label %244
147: ; preds = %27
%148 = load i32, ptr %11, align 4
%149 = and i32 %148, 12
%150 = icmp ne i32 %149, 0
br i1 %150, label %154, label %151
151: ; preds = %147
%152 = load i32, ptr %12, align 4
%153 = or i32 %152, 1
store i32 %153, ptr %12, align 4
br label %154
154: ; preds = %151, %147
br label %244
155: ; preds = %27, %27
%156 = load i32, ptr %11, align 4
%157 = and i32 %156, 12
%158 = icmp ne i32 %157, 0
br i1 %158, label %192, label %159
159: ; preds = %155
store i32 16, ptr %11, align 4
%160 = load i32, ptr %12, align 4
%161 = or i32 %160, 8
store i32 %161, ptr %12, align 4
%162 = load i32, ptr %10, align 4
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %191
164: ; preds = %159
%165 = load ptr, ptr %5, align 8
%166 = load i32, ptr %10, align 4
%167 = sub i32 %166, 1
%168 = zext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %165, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = load ptr, ptr %15, align 8
%173 = load i8, ptr %172, align 1
%174 = sext i8 %173 to i32
%175 = icmp ne i32 %171, %174
br i1 %175, label %176, label %191
176: ; preds = %164
%177 = load ptr, ptr %14, align 8
%178 = load i32, ptr %9, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %9, align 4
%180 = sext i32 %178 to i64
%181 = getelementptr inbounds i8, ptr %177, i64 %180
store i8 0, ptr %181, align 1
%182 = load ptr, ptr %14, align 8
%183 = load i32, ptr %9, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8, ptr %182, i64 %184
%186 = load ptr, ptr %7, align 8
%187 = load i32, ptr %8, align 4
%188 = add nsw i32 %187, 1
store i32 %188, ptr %8, align 4
%189 = sext i32 %187 to i64
%190 = getelementptr inbounds ptr, ptr %186, i64 %189
store ptr %185, ptr %190, align 8
br label %191
191: ; preds = %176, %164, %159
br label %192
192: ; preds = %191, %155
br label %244
193: ; preds = %27
%194 = load i32, ptr %11, align 4
%195 = and i32 %194, 4
%196 = icmp eq i32 %195, 4
br i1 %196, label %204, label %197
197: ; preds = %193
%198 = load i32, ptr %11, align 4
%199 = and i32 %198, 32
%200 = icmp eq i32 %199, 32
br i1 %200, label %204, label %201
201: ; preds = %197
%202 = load i32, ptr %12, align 4
%203 = or i32 %202, 2
store i32 %203, ptr %12, align 4
br label %204
204: ; preds = %201, %197, %193
br label %244
205: ; preds = %27, %27
%206 = load i32, ptr %11, align 4
%207 = and i32 %206, 12
%208 = icmp ne i32 %207, 0
br i1 %208, label %212, label %209
209: ; preds = %205
%210 = load i32, ptr %12, align 4
%211 = or i32 %210, 4
store i32 %211, ptr %12, align 4
br label %212
212: ; preds = %209, %205
br label %244
213: ; preds = %27
%214 = load i32, ptr %11, align 4
%215 = and i32 %214, 4
%216 = icmp eq i32 %215, 4
br i1 %216, label %234, label %217
217: ; preds = %213
%218 = load i32, ptr %11, align 4
%219 = and i32 %218, 32
%220 = icmp eq i32 %219, 32
br i1 %220, label %234, label %221
221: ; preds = %217
%222 = load ptr, ptr %15, align 8
%223 = getelementptr inbounds i8, ptr %222, i64 1
%224 = load i8, ptr %223, align 1
%225 = sext i8 %224 to i32
%226 = icmp eq i32 %225, 40
br i1 %226, label %227, label %230
227: ; preds = %221
%228 = load i32, ptr %12, align 4
%229 = or i32 %228, 2
store i32 %229, ptr %12, align 4
br label %233
230: ; preds = %221
%231 = load i32, ptr %12, align 4
%232 = or i32 %231, 128
store i32 %232, ptr %12, align 4
br label %233
233: ; preds = %230, %227
br label %234
234: ; preds = %233, %217, %213
br label %244
235: ; preds = %27, %27
%236 = load i32, ptr %11, align 4
%237 = and i32 %236, 12
%238 = icmp ne i32 %237, 0
br i1 %238, label %242, label %239
239: ; preds = %235
%240 = load i32, ptr %12, align 4
%241 = or i32 %240, 64
store i32 %241, ptr %12, align 4
br label %242
242: ; preds = %239, %235
br label %243
243: ; preds = %27, %242
br label %244
244: ; preds = %243, %234, %212, %204, %192, %154, %146, %118, %85, %78, %77, %60, %51
%245 = load i32, ptr %11, align 4
%246 = and i32 %245, -33
store i32 %246, ptr %11, align 4
%247 = load i32, ptr %11, align 4
%248 = icmp eq i32 %247, 0
br i1 %248, label %249, label %259
249: ; preds = %244
store i32 2, ptr %11, align 4
%250 = load ptr, ptr %14, align 8
%251 = load i32, ptr %9, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds i8, ptr %250, i64 %252
%254 = load ptr, ptr %7, align 8
%255 = load i32, ptr %8, align 4
%256 = add nsw i32 %255, 1
store i32 %256, ptr %8, align 4
%257 = sext i32 %255 to i64
%258 = getelementptr inbounds ptr, ptr %254, i64 %257
store ptr %253, ptr %258, align 8
br label %259
259: ; preds = %249, %244
%260 = load ptr, ptr %5, align 8
%261 = load i32, ptr %10, align 4
%262 = zext i32 %261 to i64
%263 = getelementptr inbounds i8, ptr %260, i64 %262
%264 = load i8, ptr %263, align 1
%265 = load ptr, ptr %14, align 8
%266 = load i32, ptr %9, align 4
%267 = add nsw i32 %266, 1
store i32 %267, ptr %9, align 4
%268 = sext i32 %266 to i64
%269 = getelementptr inbounds i8, ptr %265, i64 %268
store i8 %264, ptr %269, align 1
br label %270
270: ; preds = %259, %145, %123, %112, %90, %74, %50, %40
%271 = load i32, ptr %10, align 4
%272 = add i32 %271, 1
store i32 %272, ptr %10, align 4
br label %22, !llvm.loop !6
273: ; preds = %22
%274 = load ptr, ptr %14, align 8
%275 = load i32, ptr %9, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %9, align 4
%277 = sext i32 %275 to i64
%278 = getelementptr inbounds i8, ptr %274, i64 %277
store i8 0, ptr %278, align 1
%279 = load i32, ptr %11, align 4
%280 = and i32 %279, 4
%281 = icmp eq i32 %280, 4
br i1 %281, label %282, label %285
282: ; preds = %273
%283 = load i32, ptr %12, align 4
%284 = or i32 %283, 16
store i32 %284, ptr %12, align 4
br label %285
285: ; preds = %282, %273
%286 = load i32, ptr %11, align 4
%287 = and i32 %286, 8
%288 = icmp eq i32 %287, 8
br i1 %288, label %289, label %292
289: ; preds = %285
%290 = load i32, ptr %12, align 4
%291 = or i32 %290, 32
store i32 %291, ptr %12, align 4
br label %292
292: ; preds = %289, %285
%293 = load i32, ptr %8, align 4
%294 = load ptr, ptr %6, align 8
store i32 %293, ptr %294, align 4
%295 = load i32, ptr %12, align 4
store i32 %295, ptr %4, align 4
br label %296
296: ; preds = %292, %35
%297 = load i32, ptr %4, align 4
ret i32 %297
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz0uv_1m1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runcmd_cmd2strv(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %13, align 8
%19 = load i64, ptr %13, align 8
%20 = add i64 %19, 10
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %14, align 8
store i32 0, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = zext i32 %22 to i64
%24 = load i64, ptr %13, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %.lr.ph, label %276
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %269
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %10, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store ptr %30, ptr %15, align 8
%31 = load ptr, ptr %15, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
switch i32 %33, label %242 [
i32 0, label %34
i32 32, label %36
i32 9, label %36
i32 13, label %36
i32 10, label %36
i32 92, label %51
i32 39, label %80
i32 34, label %113
i32 124, label %146
i32 38, label %154
i32 59, label %154
i32 96, label %192
i32 40, label %204
i32 41, label %204
i32 36, label %212
i32 42, label %234
i32 63, label %234
]
34: ; preds = %26
%35 = load i32, ptr %12, align 4
store i32 %35, ptr %4, align 4
br label %299
36: ; preds = %26, %26, %26, %26
%37 = load i32, ptr %11, align 4
%38 = icmp eq i32 %37, 2
br i1 %38, label %39, label %45
39: ; preds = %36
store i32 0, ptr %11, align 4
%40 = load ptr, ptr %14, align 8
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 0, ptr %44, align 1
br label %269
45: ; preds = %36
%46 = load i32, ptr %11, align 4
%47 = and i32 %46, 12
%48 = icmp ne i32 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %45
br label %269
50: ; preds = %45
br label %243
51: ; preds = %26
%52 = load i32, ptr %11, align 4
%53 = and i32 %52, 4
%54 = icmp eq i32 %53, 4
br i1 %54, label %59, label %55
55: ; preds = %51
%56 = load i32, ptr %11, align 4
%57 = and i32 %56, 32
%58 = icmp eq i32 %57, 32
br i1 %58, label %59, label %60
59: ; preds = %55, %51
br label %243
60: ; preds = %55
%61 = load i32, ptr %11, align 4
%62 = and i32 %61, 8
%63 = icmp eq i32 %62, 8
br i1 %63, label %64, label %77
64: ; preds = %60
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %10, align 4
%67 = add i32 %66, 1
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
%70 = load i8, ptr %69, align 1
store i8 %70, ptr %16, align 1
%71 = load i8, ptr %16, align 1
%72 = sext i8 %71 to i32
switch i32 %72, label %76 [
i32 34, label %73
i32 92, label %73
i32 36, label %73
i32 96, label %73
]
73: ; preds = %64, %64, %64, %64
%74 = load i32, ptr %11, align 4
%75 = or i32 %74, 32
store i32 %75, ptr %11, align 4
br label %269
76: ; preds = %64
br label %243
77: ; preds = %60
%78 = load i32, ptr %10, align 4
%79 = add i32 %78, 1
store i32 %79, ptr %10, align 4
br label %243
80: ; preds = %26
%81 = load i32, ptr %11, align 4
%82 = and i32 %81, 8
%83 = icmp eq i32 %82, 8
br i1 %83, label %84, label %85
84: ; preds = %80
br label %243
85: ; preds = %80
%86 = load i32, ptr %11, align 4
%87 = and i32 %86, 4
%88 = icmp eq i32 %87, 4
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, ptr %11, align 4
%91 = and i32 %90, -5
store i32 %91, ptr %11, align 4
br label %269
92: ; preds = %85
%93 = load i32, ptr %11, align 4
%94 = icmp eq i32 %93, 0
br i1 %94, label %98, label %95
95: ; preds = %92
%96 = load i32, ptr %11, align 4
%97 = icmp eq i32 %96, 2
br i1 %97, label %98, label %112
98: ; preds = %95, %92
%99 = load i32, ptr %11, align 4
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %111
101: ; preds = %98
%102 = load ptr, ptr %14, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %8, align 4
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds ptr, ptr %106, i64 %109
store ptr %105, ptr %110, align 8
br label %111
111: ; preds = %101, %98
store i32 6, ptr %11, align 4
br label %269
112: ; preds = %95
br label %113
113: ; preds = %112, %26
%114 = load i32, ptr %11, align 4
%115 = and i32 %114, 4
%116 = icmp eq i32 %115, 4
br i1 %116, label %117, label %118
117: ; preds = %113
br label %243
118: ; preds = %113
%119 = load i32, ptr %11, align 4
%120 = and i32 %119, 8
%121 = icmp eq i32 %120, 8
br i1 %121, label %122, label %125
122: ; preds = %118
%123 = load i32, ptr %11, align 4
%124 = and i32 %123, -9
store i32 %124, ptr %11, align 4
br label %269
125: ; preds = %118
%126 = load i32, ptr %11, align 4
%127 = icmp eq i32 %126, 0
br i1 %127, label %131, label %128
128: ; preds = %125
%129 = load i32, ptr %11, align 4
%130 = icmp eq i32 %129, 2
br i1 %130, label %131, label %145
131: ; preds = %128, %125
%132 = load i32, ptr %11, align 4
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %144
134: ; preds = %131
%135 = load ptr, ptr %14, align 8
%136 = load i32, ptr %9, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i8, ptr %135, i64 %137
%139 = load ptr, ptr %7, align 8
%140 = load i32, ptr %8, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %8, align 4
%142 = sext i32 %140 to i64
%143 = getelementptr inbounds ptr, ptr %139, i64 %142
store ptr %138, ptr %143, align 8
br label %144
144: ; preds = %134, %131
store i32 10, ptr %11, align 4
br label %269
145: ; preds = %128
br label %243
146: ; preds = %26
%147 = load i32, ptr %11, align 4
%148 = and i32 %147, 12
%149 = icmp ne i32 %148, 0
br i1 %149, label %153, label %150
150: ; preds = %146
%151 = load i32, ptr %12, align 4
%152 = or i32 %151, 1
store i32 %152, ptr %12, align 4
br label %153
153: ; preds = %150, %146
br label %243
154: ; preds = %26, %26
%155 = load i32, ptr %11, align 4
%156 = and i32 %155, 12
%157 = icmp ne i32 %156, 0
br i1 %157, label %191, label %158
158: ; preds = %154
store i32 16, ptr %11, align 4
%159 = load i32, ptr %12, align 4
%160 = or i32 %159, 8
store i32 %160, ptr %12, align 4
%161 = load i32, ptr %10, align 4
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %190
163: ; preds = %158
%164 = load ptr, ptr %5, align 8
%165 = load i32, ptr %10, align 4
%166 = sub i32 %165, 1
%167 = zext i32 %166 to i64
%168 = getelementptr inbounds i8, ptr %164, i64 %167
%169 = load i8, ptr %168, align 1
%170 = sext i8 %169 to i32
%171 = load ptr, ptr %15, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp ne i32 %170, %173
br i1 %174, label %175, label %190
175: ; preds = %163
%176 = load ptr, ptr %14, align 8
%177 = load i32, ptr %9, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %9, align 4
%179 = sext i32 %177 to i64
%180 = getelementptr inbounds i8, ptr %176, i64 %179
store i8 0, ptr %180, align 1
%181 = load ptr, ptr %14, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
%185 = load ptr, ptr %7, align 8
%186 = load i32, ptr %8, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %8, align 4
%188 = sext i32 %186 to i64
%189 = getelementptr inbounds ptr, ptr %185, i64 %188
store ptr %184, ptr %189, align 8
br label %190
190: ; preds = %175, %163, %158
br label %191
191: ; preds = %190, %154
br label %243
192: ; preds = %26
%193 = load i32, ptr %11, align 4
%194 = and i32 %193, 4
%195 = icmp eq i32 %194, 4
br i1 %195, label %203, label %196
196: ; preds = %192
%197 = load i32, ptr %11, align 4
%198 = and i32 %197, 32
%199 = icmp eq i32 %198, 32
br i1 %199, label %203, label %200
200: ; preds = %196
%201 = load i32, ptr %12, align 4
%202 = or i32 %201, 2
store i32 %202, ptr %12, align 4
br label %203
203: ; preds = %200, %196, %192
br label %243
204: ; preds = %26, %26
%205 = load i32, ptr %11, align 4
%206 = and i32 %205, 12
%207 = icmp ne i32 %206, 0
br i1 %207, label %211, label %208
208: ; preds = %204
%209 = load i32, ptr %12, align 4
%210 = or i32 %209, 4
store i32 %210, ptr %12, align 4
br label %211
211: ; preds = %208, %204
br label %243
212: ; preds = %26
%213 = load i32, ptr %11, align 4
%214 = and i32 %213, 4
%215 = icmp eq i32 %214, 4
br i1 %215, label %233, label %216
216: ; preds = %212
%217 = load i32, ptr %11, align 4
%218 = and i32 %217, 32
%219 = icmp eq i32 %218, 32
br i1 %219, label %233, label %220
220: ; preds = %216
%221 = load ptr, ptr %15, align 8
%222 = getelementptr inbounds i8, ptr %221, i64 1
%223 = load i8, ptr %222, align 1
%224 = sext i8 %223 to i32
%225 = icmp eq i32 %224, 40
br i1 %225, label %226, label %229
226: ; preds = %220
%227 = load i32, ptr %12, align 4
%228 = or i32 %227, 2
store i32 %228, ptr %12, align 4
br label %232
229: ; preds = %220
%230 = load i32, ptr %12, align 4
%231 = or i32 %230, 128
store i32 %231, ptr %12, align 4
br label %232
232: ; preds = %229, %226
br label %233
233: ; preds = %232, %216, %212
br label %243
234: ; preds = %26, %26
%235 = load i32, ptr %11, align 4
%236 = and i32 %235, 12
%237 = icmp ne i32 %236, 0
br i1 %237, label %241, label %238
238: ; preds = %234
%239 = load i32, ptr %12, align 4
%240 = or i32 %239, 64
store i32 %240, ptr %12, align 4
br label %241
241: ; preds = %238, %234
br label %242
242: ; preds = %241, %26
br label %243
243: ; preds = %242, %233, %211, %203, %191, %153, %145, %117, %84, %77, %76, %59, %50
%244 = load i32, ptr %11, align 4
%245 = and i32 %244, -33
store i32 %245, ptr %11, align 4
%246 = load i32, ptr %11, align 4
%247 = icmp eq i32 %246, 0
br i1 %247, label %248, label %258
248: ; preds = %243
store i32 2, ptr %11, align 4
%249 = load ptr, ptr %14, align 8
%250 = load i32, ptr %9, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i8, ptr %249, i64 %251
%253 = load ptr, ptr %7, align 8
%254 = load i32, ptr %8, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %8, align 4
%256 = sext i32 %254 to i64
%257 = getelementptr inbounds ptr, ptr %253, i64 %256
store ptr %252, ptr %257, align 8
br label %258
258: ; preds = %248, %243
%259 = load ptr, ptr %5, align 8
%260 = load i32, ptr %10, align 4
%261 = zext i32 %260 to i64
%262 = getelementptr inbounds i8, ptr %259, i64 %261
%263 = load i8, ptr %262, align 1
%264 = load ptr, ptr %14, align 8
%265 = load i32, ptr %9, align 4
%266 = add nsw i32 %265, 1
store i32 %266, ptr %9, align 4
%267 = sext i32 %265 to i64
%268 = getelementptr inbounds i8, ptr %264, i64 %267
store i8 %263, ptr %268, align 1
br label %269
269: ; preds = %258, %144, %122, %111, %89, %73, %49, %39
%270 = load i32, ptr %10, align 4
%271 = add i32 %270, 1
store i32 %271, ptr %10, align 4
%272 = load i32, ptr %10, align 4
%273 = zext i32 %272 to i64
%274 = load i64, ptr %13, align 8
%275 = icmp ult i64 %273, %274
br i1 %275, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %269
br label %276
276: ; preds = %._crit_edge, %3
%277 = load ptr, ptr %14, align 8
%278 = load i32, ptr %9, align 4
%279 = add nsw i32 %278, 1
store i32 %279, ptr %9, align 4
%280 = sext i32 %278 to i64
%281 = getelementptr inbounds i8, ptr %277, i64 %280
store i8 0, ptr %281, align 1
%282 = load i32, ptr %11, align 4
%283 = and i32 %282, 4
%284 = icmp eq i32 %283, 4
br i1 %284, label %285, label %288
285: ; preds = %276
%286 = load i32, ptr %12, align 4
%287 = or i32 %286, 16
store i32 %287, ptr %12, align 4
br label %288
288: ; preds = %285, %276
%289 = load i32, ptr %11, align 4
%290 = and i32 %289, 8
%291 = icmp eq i32 %290, 8
br i1 %291, label %292, label %295
292: ; preds = %288
%293 = load i32, ptr %12, align 4
%294 = or i32 %293, 32
store i32 %294, ptr %12, align 4
br label %295
295: ; preds = %292, %288
%296 = load i32, ptr %8, align 4
%297 = load ptr, ptr %6, align 8
store i32 %296, ptr %297, align 4
%298 = load i32, ptr %12, align 4
store i32 %298, ptr %4, align 4
br label %299
299: ; preds = %295, %34
%300 = load i32, ptr %4, align 4
ret i32 %300
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiwnhgmut.c'
source_filename = "/tmp/tmpiwnhgmut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"PowerNow Daemon v%s, (c) 2003-2008 John Clemens\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"1.00\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Daemon to control the speed and voltage of cpus.\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c"This is a simple client to the CPUFreq driver, and uses\0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c"linux kernel v2.5+ sysfs interface. You need a supported\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"cpu, and a kernel that supports sysfs to run this daemon.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"\0AAvailable Options:\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c" \09-h\09Print this help message\0A\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c"\09-d\09Don't detach from terminal (default is to\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"\09\09detach and run in the background)\0A\00", align 1
@.str.10 = private unnamed_addr constant [60 x i8] c"\09-v\09Increase output verbosity, can be used more than once.\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"\09-q\09Quiet mode, only emergency output.\0A\00", align 1
@.str.12 = private unnamed_addr constant [47 x i8] c"\09-n\09Include 'nice'd processes in calculations\0A\00", align 1
@.str.13 = private unnamed_addr constant [49 x i8] c"\09-m #\09Modes of operation, can be 0, 1, 2, or 3:\0A\00", align 1
@.str.14 = private unnamed_addr constant [39 x i8] c"\09\090 = SINE, 1 = AGGRESSIVE (default),\0A\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"\09\092 = PASSIVE, 3 = LEAPS\0A\00", align 1
@.str.16 = private unnamed_addr constant [48 x i8] c"\09-s #\09Frequency step in kHz (default = 100000)\0A\00", align 1
@.str.17 = private unnamed_addr constant [51 x i8] c"\09-p #\09Polling frequency in msecs (default = 1000)\0A\00", align 1
@.str.18 = private unnamed_addr constant [56 x i8] c"\09-c #\09Specify number of threads per power-managed core\0A\00", align 1
@.str.19 = private unnamed_addr constant [63 x i8] c"\09-u #\09CPU usage upper limit percentage [0 .. 100, default 80]\0A\00", align 1
@.str.20 = private unnamed_addr constant [66 x i8] c"\09-l # CPU usage lower limit percentage [0 .. 100, default 20]\0A\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwnhgmut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"PowerNow Daemon v%s, (c) 2003-2008 John Clemens\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"1.00\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Daemon to control the speed and voltage of cpus.\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c"This is a simple client to the CPUFreq driver, and uses\0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c"linux kernel v2.5+ sysfs interface. You need a supported\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"cpu, and a kernel that supports sysfs to run this daemon.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"\0AAvailable Options:\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c" \09-h\09Print this help message\0A\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c"\09-d\09Don't detach from terminal (default is to\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"\09\09detach and run in the background)\0A\00", align 1
@.str.10 = private unnamed_addr constant [60 x i8] c"\09-v\09Increase output verbosity, can be used more than once.\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"\09-q\09Quiet mode, only emergency output.\0A\00", align 1
@.str.12 = private unnamed_addr constant [47 x i8] c"\09-n\09Include 'nice'd processes in calculations\0A\00", align 1
@.str.13 = private unnamed_addr constant [49 x i8] c"\09-m #\09Modes of operation, can be 0, 1, 2, or 3:\0A\00", align 1
@.str.14 = private unnamed_addr constant [39 x i8] c"\09\090 = SINE, 1 = AGGRESSIVE (default),\0A\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"\09\092 = PASSIVE, 3 = LEAPS\0A\00", align 1
@.str.16 = private unnamed_addr constant [48 x i8] c"\09-s #\09Frequency step in kHz (default = 100000)\0A\00", align 1
@.str.17 = private unnamed_addr constant [51 x i8] c"\09-p #\09Polling frequency in msecs (default = 1000)\0A\00", align 1
@.str.18 = private unnamed_addr constant [56 x i8] c"\09-c #\09Specify number of threads per power-managed core\0A\00", align 1
@.str.19 = private unnamed_addr constant [63 x i8] c"\09-u #\09CPU usage upper limit percentage [0 .. 100, default 80]\0A\00", align 1
@.str.20 = private unnamed_addr constant [66 x i8] c"\09-l # CPU usage lower limit percentage [0 .. 100, default 20]\0A\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyc2rf0na.c'
source_filename = "/tmp/tmpyc2rf0na.c"
target datalayout = "e-m:e-p270: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/tmpyc2rf0na.c"
target datalayout = "e-m:e-p270: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/tmp9x5ftr7g.c'
source_filename = "/tmp/tmp9x5ftr7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Read File Error\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Can't send file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendfile(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 4096, i1 false)
br label %7
7: ; preds = %31, %2
%8 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 4096, ptr noundef %9)
store i32 %10, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %34
12: ; preds = %7
%13 = load i32, ptr %5, align 4
%14 = icmp ne i32 %13, 4096
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = call i64 @ferror(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = call i32 @perror(ptr noundef @.str)
%21 = call i32 @exit(i32 noundef 1) #4
unreachable
22: ; preds = %15, %12
%23 = load i32, ptr %4, align 4
%24 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%25 = load i32, ptr %5, align 4
%26 = call i32 @send(i32 noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef 0)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = call i32 @perror(ptr noundef @.str.1)
%30 = call i32 @exit(i32 noundef 1) #4
unreachable
31: ; preds = %22
%32 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%33 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef 4096)
br label %7, !llvm.loop !6
34: ; preds = %7
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9x5ftr7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Read File Error\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Can't send file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendfile(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 4096, i1 false)
%7 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 4096, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %30
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 4096
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = call i64 @ferror(ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = call i32 @perror(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #4
unreachable
21: ; preds = %14, %11
%22 = load i32, ptr %4, align 4
%23 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%24 = load i32, ptr %5, align 4
%25 = call i32 @send(i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef 0)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 1) #4
unreachable
30: ; preds = %21
%31 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @memset(ptr noundef %31, i32 noundef 0, i32 noundef 4096)
%33 = load ptr, ptr %3, align 8
%34 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 4096, ptr noundef %33)
store i32 %34, ptr %5, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkk2es8ah.c'
source_filename = "/tmp/tmpkk2es8ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @first()
%3 = sub nsw i32 %2, 1001
ret i32 %3
}
declare i32 @first(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkk2es8ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @first()
%3 = sub nsw i32 %2, 1001
ret i32 %3
}
declare i32 @first(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcgoljzk4.c'
source_filename = "/tmp/tmpcgoljzk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"msggen\00", align 1
@LOG_LOCAL0 = dso_local global i32 0, align 4
@LOG_NOTICE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"This is message number %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 @LOG_LOCAL0, align 4
%8 = call i32 @openlog(ptr noundef @.str, i32 noundef 0, i32 noundef %7)
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %16, %2
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr @LOG_NOTICE, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @syslog(i32 noundef %13, ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpcgoljzk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"msggen\00", align 1
@LOG_LOCAL0 = dso_local global i32 0, align 4
@LOG_NOTICE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"This is message number %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 @LOG_LOCAL0, align 4
%8 = call i32 @openlog(ptr noundef @.str, i32 noundef 0, i32 noundef %7)
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr @LOG_NOTICE, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @syslog(i32 noundef %12, ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %2
%21 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp36lyyv6g.c'
source_filename = "/tmp/tmp36lyyv6g.c"
target datalayout = "e-m:e-p270: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 @add_line(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i64 @get_line(ptr noundef %8, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %7
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @puts(ptr noundef %13)
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = call i32 @puts(ptr noundef %19)
store i32 0, ptr %6, align 4
br label %24
21: ; preds = %12
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %18
br label %7, !llvm.loop !6
25: ; preds = %7
ret i32 1
}
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp36lyyv6g.c"
target datalayout = "e-m:e-p270: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 @add_line(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i64 @get_line(ptr noundef %7, i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %23
%12 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @puts(ptr noundef %12)
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load ptr, ptr %3, align 8
%19 = call i32 @puts(ptr noundef %18)
store i32 0, ptr %6, align 4
br label %23
20: ; preds = %11
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %20, %17
%24 = load i32, ptr @stdin, align 4
%25 = call i64 @get_line(ptr noundef %7, i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %2
ret i32 1
}
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkncox0xo.c'
source_filename = "/tmp/tmpkncox0xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbl_equal_pass() #0 {
%1 = call i32 @assert_dbl_equal_(ptr noundef @.str, i32 noundef 38, double noundef 1.000000e+00, double noundef 1.050000e+00, double noundef 1.000000e-01)
ret void
}
declare i32 @assert_dbl_equal_(ptr noundef, i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkncox0xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbl_equal_pass() #0 {
%1 = call i32 @assert_dbl_equal_(ptr noundef @.str, i32 noundef 38, double noundef 1.000000e+00, double noundef 1.050000e+00, double noundef 1.000000e-01)
ret void
}
declare i32 @assert_dbl_equal_(ptr noundef, i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnyv4rc0x.c'
source_filename = "/tmp/tmpnyv4rc0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalbnf(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call float @ldexp(float noundef %5, i32 noundef %6)
ret float %7
}
declare float @ldexp(float 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/tmpnyv4rc0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalbnf(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call float @ldexp(float noundef %5, i32 noundef %6)
ret float %7
}
declare float @ldexp(float 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/tmpvftv1ckf.c'
source_filename = "/tmp/tmpvftv1ckf.c"
target datalayout = "e-m:e-p270: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/tmpvftv1ckf.c"
target datalayout = "e-m:e-p270: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/tmpy15863wx.c'
source_filename = "/tmp/tmpy15863wx.c"
target datalayout = "e-m:e-p270: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/tmpy15863wx.c"
target datalayout = "e-m:e-p270: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/tmp22lknvqe.c'
source_filename = "/tmp/tmp22lknvqe.c"
target datalayout = "e-m:e-p270: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/tmp22lknvqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.