llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpvt41f_ri.c'
source_filename = "/tmp/tmpvt41f_ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xaf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xaf() #0 {
%1 = call i64 @ispunct(i32 noundef 175)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 880, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvt41f_ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xaf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xaf() #0 {
%1 = call i64 @ispunct(i32 noundef 175)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 880, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu6o9towk.c'
source_filename = "/tmp/tmpu6o9towk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Clear the GPU IRQ flags\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Set the GPU IRQ Mask to all 1s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Mali_clear_and_set_masks_for_gpu_irq() #0 {
%1 = call i32 @printk(ptr noundef @.str)
%2 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 36, i32 noundef -1)
%3 = call i32 @printk(ptr noundef @.str.1)
%4 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 40, i32 noundef -1)
ret void
}
declare i32 @printk(ptr noundef) #1
declare i32 @Mali_WrReg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6o9towk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Clear the GPU IRQ flags\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Set the GPU IRQ Mask to all 1s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Mali_clear_and_set_masks_for_gpu_irq() #0 {
%1 = call i32 @printk(ptr noundef @.str)
%2 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 36, i32 noundef -1)
%3 = call i32 @printk(ptr noundef @.str.1)
%4 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 40, i32 noundef -1)
ret void
}
declare i32 @printk(ptr noundef) #1
declare i32 @Mali_WrReg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7tzrehvi.c'
source_filename = "/tmp/tmp7tzrehvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arg_parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %109, %2
%15 = load ptr, ptr %8, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %110
19: ; preds = %14
%20 = load i32, ptr %9, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %43
22: ; preds = %19
%23 = load i32, ptr %10, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %43
25: ; preds = %22
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
switch i32 %28, label %39 [
i32 32, label %29
i32 34, label %32
]
29: ; preds = %25
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %8, align 8
br label %42
32: ; preds = %25
%33 = load i32, ptr %9, align 4
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %8, align 8
br label %42
39: ; preds = %25
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %8, align 8
br label %42
42: ; preds = %39, %32, %29
br label %109
43: ; preds = %22, %19
%44 = load i32, ptr %9, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %71, label %46
46: ; preds = %43
%47 = load i32, ptr %10, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %71
49: ; preds = %46
%50 = load ptr, ptr %8, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
switch i32 %52, label %67 [
i32 32, label %53
i32 34, label %60
]
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = icmp ne i32 %54, 0
%56 = xor i1 %55, true
%57 = zext i1 %56 to i32
store i32 %57, ptr %10, align 4
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %8, align 8
br label %70
60: ; preds = %49
%61 = load i32, ptr %9, align 4
%62 = icmp ne i32 %61, 0
%63 = xor i1 %62, true
%64 = zext i1 %63 to i32
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %8, align 8
br label %70
67: ; preds = %49
%68 = load ptr, ptr %8, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %8, align 8
br label %70
70: ; preds = %67, %60, %53
br label %108
71: ; preds = %46, %43
%72 = load i32, ptr %9, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %107, label %74
74: ; preds = %71
%75 = load i32, ptr %10, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %107, label %77
77: ; preds = %74
%78 = load ptr, ptr %8, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
switch i32 %80, label %97 [
i32 32, label %81
i32 34, label %84
]
81: ; preds = %77
%82 = load ptr, ptr %8, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %8, align 8
br label %106
84: ; preds = %77
%85 = load i32, ptr %10, align 4
%86 = icmp ne i32 %85, 0
%87 = xor i1 %86, true
%88 = zext i1 %87 to i32
store i32 %88, ptr %10, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp ne i32 %89, 0
%91 = xor i1 %90, true
%92 = zext i1 %91 to i32
store i32 %92, ptr %9, align 4
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %6, align 4
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %8, align 8
br label %106
97: ; preds = %77
%98 = load i32, ptr %10, align 4
%99 = icmp ne i32 %98, 0
%100 = xor i1 %99, true
%101 = zext i1 %100 to i32
store i32 %101, ptr %10, align 4
%102 = load i32, ptr %6, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %6, align 4
%104 = load ptr, ptr %8, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %8, align 8
br label %106
106: ; preds = %97, %84, %81
br label %107
107: ; preds = %106, %74, %71
br label %108
108: ; preds = %107, %70
br label %109
109: ; preds = %108, %42
br label %14, !llvm.loop !6
110: ; preds = %14
%111 = load i32, ptr %6, align 4
%112 = icmp eq i32 %111, 0
br i1 %112, label %113, label %114
113: ; preds = %110
store i32 0, ptr %3, align 4
br label %259
114: ; preds = %110
%115 = load i32, ptr %6, align 4
%116 = add nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = mul i64 %117, 8
%119 = trunc i64 %118 to i32
%120 = call i64 @malloc(i32 noundef %119)
%121 = inttoptr i64 %120 to ptr
store ptr %121, ptr %7, align 8
%122 = load ptr, ptr %7, align 8
store ptr %122, ptr %11, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%123 = load ptr, ptr %4, align 8
store ptr %123, ptr %8, align 8
%124 = load ptr, ptr %4, align 8
store ptr %124, ptr %12, align 8
br label %125
125: ; preds = %247, %114
%126 = load ptr, ptr %8, align 8
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %248
130: ; preds = %125
%131 = load i32, ptr %9, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %164
133: ; preds = %130
%134 = load i32, ptr %10, align 4
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %164
136: ; preds = %133
%137 = load ptr, ptr %8, align 8
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
switch i32 %139, label %155 [
i32 32, label %140
i32 34, label %148
]
140: ; preds = %136
%141 = load ptr, ptr %8, align 8
%142 = load i8, ptr %141, align 1
%143 = load ptr, ptr %12, align 8
store i8 %142, ptr %143, align 1
%144 = load ptr, ptr %12, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %12, align 8
%146 = load ptr, ptr %8, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %8, align 8
br label %163
148: ; preds = %136
%149 = load i32, ptr %9, align 4
%150 = icmp ne i32 %149, 0
%151 = xor i1 %150, true
%152 = zext i1 %151 to i32
store i32 %152, ptr %9, align 4
%153 = load ptr, ptr %8, align 8
%154 = getelementptr inbounds i8, ptr %153, i32 1
store ptr %154, ptr %8, align 8
br label %163
155: ; preds = %136
%156 = load ptr, ptr %8, align 8
%157 = load i8, ptr %156, align 1
%158 = load ptr, ptr %12, align 8
store i8 %157, ptr %158, align 1
%159 = load ptr, ptr %12, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %12, align 8
%161 = load ptr, ptr %8, align 8
%162 = getelementptr inbounds i8, ptr %161, i32 1
store ptr %162, ptr %8, align 8
br label %163
163: ; preds = %155, %148, %140
br label %247
164: ; preds = %133, %130
%165 = load i32, ptr %9, align 4
%166 = icmp ne i32 %165, 0
br i1 %166, label %200, label %167
167: ; preds = %164
%168 = load i32, ptr %10, align 4
%169 = icmp ne i32 %168, 0
br i1 %169, label %170, label %200
170: ; preds = %167
%171 = load ptr, ptr %8, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
switch i32 %173, label %191 [
i32 32, label %174
i32 34, label %184
]
174: ; preds = %170
%175 = load i32, ptr %10, align 4
%176 = icmp ne i32 %175, 0
%177 = xor i1 %176, true
%178 = zext i1 %177 to i32
store i32 %178, ptr %10, align 4
%179 = load ptr, ptr %12, align 8
store i8 0, ptr %179, align 1
%180 = load ptr, ptr %12, align 8
%181 = getelementptr inbounds i8, ptr %180, i32 1
store ptr %181, ptr %12, align 8
%182 = load ptr, ptr %8, align 8
%183 = getelementptr inbounds i8, ptr %182, i32 1
store ptr %183, ptr %8, align 8
br label %199
184: ; preds = %170
%185 = load i32, ptr %9, align 4
%186 = icmp ne i32 %185, 0
%187 = xor i1 %186, true
%188 = zext i1 %187 to i32
store i32 %188, ptr %9, align 4
%189 = load ptr, ptr %8, align 8
%190 = getelementptr inbounds i8, ptr %189, i32 1
store ptr %190, ptr %8, align 8
br label %199
191: ; preds = %170
%192 = load ptr, ptr %8, align 8
%193 = load i8, ptr %192, align 1
%194 = load ptr, ptr %12, align 8
store i8 %193, ptr %194, align 1
%195 = load ptr, ptr %12, align 8
%196 = getelementptr inbounds i8, ptr %195, i32 1
store ptr %196, ptr %12, align 8
%197 = load ptr, ptr %8, align 8
%198 = getelementptr inbounds i8, ptr %197, i32 1
store ptr %198, ptr %8, align 8
br label %199
199: ; preds = %191, %184, %174
br label %246
200: ; preds = %167, %164
%201 = load i32, ptr %9, align 4
%202 = icmp ne i32 %201, 0
br i1 %202, label %245, label %203
203: ; preds = %200
%204 = load i32, ptr %10, align 4
%205 = icmp ne i32 %204, 0
br i1 %205, label %245, label %206
206: ; preds = %203
%207 = load ptr, ptr %8, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
switch i32 %209, label %228 [
i32 32, label %210
i32 34, label %213
]
210: ; preds = %206
%211 = load ptr, ptr %8, align 8
%212 = getelementptr inbounds i8, ptr %211, i32 1
store ptr %212, ptr %8, align 8
br label %244
213: ; preds = %206
%214 = load i32, ptr %10, align 4
%215 = icmp ne i32 %214, 0
%216 = xor i1 %215, true
%217 = zext i1 %216 to i32
store i32 %217, ptr %10, align 4
%218 = load i32, ptr %9, align 4
%219 = icmp ne i32 %218, 0
%220 = xor i1 %219, true
%221 = zext i1 %220 to i32
store i32 %221, ptr %9, align 4
%222 = load ptr, ptr %12, align 8
%223 = load ptr, ptr %7, align 8
store ptr %222, ptr %223, align 8
%224 = load ptr, ptr %7, align 8
%225 = getelementptr inbounds ptr, ptr %224, i32 1
store ptr %225, ptr %7, align 8
%226 = load ptr, ptr %8, align 8
%227 = getelementptr inbounds i8, ptr %226, i32 1
store ptr %227, ptr %8, align 8
br label %244
228: ; preds = %206
%229 = load i32, ptr %10, align 4
%230 = icmp ne i32 %229, 0
%231 = xor i1 %230, true
%232 = zext i1 %231 to i32
store i32 %232, ptr %10, align 4
%233 = load ptr, ptr %8, align 8
%234 = load i8, ptr %233, align 1
%235 = load ptr, ptr %12, align 8
store i8 %234, ptr %235, align 1
%236 = load ptr, ptr %12, align 8
%237 = load ptr, ptr %7, align 8
store ptr %236, ptr %237, align 8
%238 = load ptr, ptr %7, align 8
%239 = getelementptr inbounds ptr, ptr %238, i32 1
store ptr %239, ptr %7, align 8
%240 = load ptr, ptr %12, align 8
%241 = getelementptr inbounds i8, ptr %240, i32 1
store ptr %241, ptr %12, align 8
%242 = load ptr, ptr %8, align 8
%243 = getelementptr inbounds i8, ptr %242, i32 1
store ptr %243, ptr %8, align 8
br label %244
244: ; preds = %228, %213, %210
br label %245
245: ; preds = %244, %203, %200
br label %246
246: ; preds = %245, %199
br label %247
247: ; preds = %246, %163
br label %125, !llvm.loop !8
248: ; preds = %125
%249 = load ptr, ptr %8, align 8
%250 = load i8, ptr %249, align 1
%251 = load ptr, ptr %12, align 8
store i8 %250, ptr %251, align 1
%252 = load ptr, ptr %11, align 8
%253 = load i32, ptr %6, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds ptr, ptr %252, i64 %254
store ptr null, ptr %255, align 8
%256 = load ptr, ptr %11, align 8
%257 = load ptr, ptr %5, align 8
store ptr %256, ptr %257, align 8
%258 = load i32, ptr %6, align 4
store i32 %258, ptr %3, align 4
br label %259
259: ; preds = %248, %113
%260 = load i32, ptr %3, align 4
ret i32 %260
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7tzrehvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arg_parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %113
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %108
%19 = load i32, ptr %9, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %42
21: ; preds = %18
%22 = load i32, ptr %10, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %42
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
switch i32 %27, label %38 [
i32 32, label %28
i32 34, label %31
]
28: ; preds = %24
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %8, align 8
br label %41
31: ; preds = %24
%32 = load i32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
%34 = xor i1 %33, true
%35 = zext i1 %34 to i32
store i32 %35, ptr %9, align 4
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %8, align 8
br label %41
38: ; preds = %24
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %8, align 8
br label %41
41: ; preds = %38, %31, %28
br label %108
42: ; preds = %21, %18
%43 = load i32, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %70, label %45
45: ; preds = %42
%46 = load i32, ptr %10, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %70
48: ; preds = %45
%49 = load ptr, ptr %8, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
switch i32 %51, label %66 [
i32 32, label %52
i32 34, label %59
]
52: ; preds = %48
%53 = load i32, ptr %10, align 4
%54 = icmp ne i32 %53, 0
%55 = xor i1 %54, true
%56 = zext i1 %55 to i32
store i32 %56, ptr %10, align 4
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %8, align 8
br label %69
59: ; preds = %48
%60 = load i32, ptr %9, align 4
%61 = icmp ne i32 %60, 0
%62 = xor i1 %61, true
%63 = zext i1 %62 to i32
store i32 %63, ptr %9, align 4
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %8, align 8
br label %69
66: ; preds = %48
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %8, align 8
br label %69
69: ; preds = %66, %59, %52
br label %107
70: ; preds = %45, %42
%71 = load i32, ptr %9, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %106, label %73
73: ; preds = %70
%74 = load i32, ptr %10, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %106, label %76
76: ; preds = %73
%77 = load ptr, ptr %8, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
switch i32 %79, label %96 [
i32 32, label %80
i32 34, label %83
]
80: ; preds = %76
%81 = load ptr, ptr %8, align 8
%82 = getelementptr inbounds i8, ptr %81, i32 1
store ptr %82, ptr %8, align 8
br label %105
83: ; preds = %76
%84 = load i32, ptr %10, align 4
%85 = icmp ne i32 %84, 0
%86 = xor i1 %85, true
%87 = zext i1 %86 to i32
store i32 %87, ptr %10, align 4
%88 = load i32, ptr %9, align 4
%89 = icmp ne i32 %88, 0
%90 = xor i1 %89, true
%91 = zext i1 %90 to i32
store i32 %91, ptr %9, align 4
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %6, align 4
%94 = load ptr, ptr %8, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %8, align 8
br label %105
96: ; preds = %76
%97 = load i32, ptr %10, align 4
%98 = icmp ne i32 %97, 0
%99 = xor i1 %98, true
%100 = zext i1 %99 to i32
store i32 %100, ptr %10, align 4
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
%103 = load ptr, ptr %8, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %8, align 8
br label %105
105: ; preds = %96, %83, %80
br label %106
106: ; preds = %105, %73, %70
br label %107
107: ; preds = %106, %69
br label %108
108: ; preds = %107, %41
%109 = load ptr, ptr %8, align 8
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = icmp ne i32 %111, 0
br i1 %112, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %108
br label %113
113: ; preds = %._crit_edge, %2
%114 = load i32, ptr %6, align 4
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %113
store i32 0, ptr %3, align 4
br label %265
117: ; preds = %113
%118 = load i32, ptr %6, align 4
%119 = add nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = mul i64 %120, 8
%122 = trunc i64 %121 to i32
%123 = call i64 @malloc(i32 noundef %122)
%124 = inttoptr i64 %123 to ptr
store ptr %124, ptr %7, align 8
%125 = load ptr, ptr %7, align 8
store ptr %125, ptr %11, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%126 = load ptr, ptr %4, align 8
store ptr %126, ptr %8, align 8
%127 = load ptr, ptr %4, align 8
store ptr %127, ptr %12, align 8
%128 = load ptr, ptr %8, align 8
%129 = load i8, ptr %128, align 1
%130 = sext i8 %129 to i32
%131 = icmp ne i32 %130, 0
br i1 %131, label %.lr.ph2, label %254
.lr.ph2: ; preds = %117
br label %132
132: ; preds = %.lr.ph2, %249
%133 = load i32, ptr %9, align 4
%134 = icmp ne i32 %133, 0
br i1 %134, label %135, label %166
135: ; preds = %132
%136 = load i32, ptr %10, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %166
138: ; preds = %135
%139 = load ptr, ptr %8, align 8
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
switch i32 %141, label %157 [
i32 32, label %142
i32 34, label %150
]
142: ; preds = %138
%143 = load ptr, ptr %8, align 8
%144 = load i8, ptr %143, align 1
%145 = load ptr, ptr %12, align 8
store i8 %144, ptr %145, align 1
%146 = load ptr, ptr %12, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %12, align 8
%148 = load ptr, ptr %8, align 8
%149 = getelementptr inbounds i8, ptr %148, i32 1
store ptr %149, ptr %8, align 8
br label %165
150: ; preds = %138
%151 = load i32, ptr %9, align 4
%152 = icmp ne i32 %151, 0
%153 = xor i1 %152, true
%154 = zext i1 %153 to i32
store i32 %154, ptr %9, align 4
%155 = load ptr, ptr %8, align 8
%156 = getelementptr inbounds i8, ptr %155, i32 1
store ptr %156, ptr %8, align 8
br label %165
157: ; preds = %138
%158 = load ptr, ptr %8, align 8
%159 = load i8, ptr %158, align 1
%160 = load ptr, ptr %12, align 8
store i8 %159, ptr %160, align 1
%161 = load ptr, ptr %12, align 8
%162 = getelementptr inbounds i8, ptr %161, i32 1
store ptr %162, ptr %12, align 8
%163 = load ptr, ptr %8, align 8
%164 = getelementptr inbounds i8, ptr %163, i32 1
store ptr %164, ptr %8, align 8
br label %165
165: ; preds = %157, %150, %142
br label %249
166: ; preds = %135, %132
%167 = load i32, ptr %9, align 4
%168 = icmp ne i32 %167, 0
br i1 %168, label %202, label %169
169: ; preds = %166
%170 = load i32, ptr %10, align 4
%171 = icmp ne i32 %170, 0
br i1 %171, label %172, label %202
172: ; preds = %169
%173 = load ptr, ptr %8, align 8
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
switch i32 %175, label %193 [
i32 32, label %176
i32 34, label %186
]
176: ; preds = %172
%177 = load i32, ptr %10, align 4
%178 = icmp ne i32 %177, 0
%179 = xor i1 %178, true
%180 = zext i1 %179 to i32
store i32 %180, ptr %10, align 4
%181 = load ptr, ptr %12, align 8
store i8 0, ptr %181, align 1
%182 = load ptr, ptr %12, align 8
%183 = getelementptr inbounds i8, ptr %182, i32 1
store ptr %183, ptr %12, align 8
%184 = load ptr, ptr %8, align 8
%185 = getelementptr inbounds i8, ptr %184, i32 1
store ptr %185, ptr %8, align 8
br label %201
186: ; preds = %172
%187 = load i32, ptr %9, align 4
%188 = icmp ne i32 %187, 0
%189 = xor i1 %188, true
%190 = zext i1 %189 to i32
store i32 %190, ptr %9, align 4
%191 = load ptr, ptr %8, align 8
%192 = getelementptr inbounds i8, ptr %191, i32 1
store ptr %192, ptr %8, align 8
br label %201
193: ; preds = %172
%194 = load ptr, ptr %8, align 8
%195 = load i8, ptr %194, align 1
%196 = load ptr, ptr %12, align 8
store i8 %195, ptr %196, align 1
%197 = load ptr, ptr %12, align 8
%198 = getelementptr inbounds i8, ptr %197, i32 1
store ptr %198, ptr %12, align 8
%199 = load ptr, ptr %8, align 8
%200 = getelementptr inbounds i8, ptr %199, i32 1
store ptr %200, ptr %8, align 8
br label %201
201: ; preds = %193, %186, %176
br label %248
202: ; preds = %169, %166
%203 = load i32, ptr %9, align 4
%204 = icmp ne i32 %203, 0
br i1 %204, label %247, label %205
205: ; preds = %202
%206 = load i32, ptr %10, align 4
%207 = icmp ne i32 %206, 0
br i1 %207, label %247, label %208
208: ; preds = %205
%209 = load ptr, ptr %8, align 8
%210 = load i8, ptr %209, align 1
%211 = sext i8 %210 to i32
switch i32 %211, label %230 [
i32 32, label %212
i32 34, label %215
]
212: ; preds = %208
%213 = load ptr, ptr %8, align 8
%214 = getelementptr inbounds i8, ptr %213, i32 1
store ptr %214, ptr %8, align 8
br label %246
215: ; preds = %208
%216 = load i32, ptr %10, align 4
%217 = icmp ne i32 %216, 0
%218 = xor i1 %217, true
%219 = zext i1 %218 to i32
store i32 %219, ptr %10, align 4
%220 = load i32, ptr %9, align 4
%221 = icmp ne i32 %220, 0
%222 = xor i1 %221, true
%223 = zext i1 %222 to i32
store i32 %223, ptr %9, align 4
%224 = load ptr, ptr %12, align 8
%225 = load ptr, ptr %7, align 8
store ptr %224, ptr %225, align 8
%226 = load ptr, ptr %7, align 8
%227 = getelementptr inbounds ptr, ptr %226, i32 1
store ptr %227, ptr %7, align 8
%228 = load ptr, ptr %8, align 8
%229 = getelementptr inbounds i8, ptr %228, i32 1
store ptr %229, ptr %8, align 8
br label %246
230: ; preds = %208
%231 = load i32, ptr %10, align 4
%232 = icmp ne i32 %231, 0
%233 = xor i1 %232, true
%234 = zext i1 %233 to i32
store i32 %234, ptr %10, align 4
%235 = load ptr, ptr %8, align 8
%236 = load i8, ptr %235, align 1
%237 = load ptr, ptr %12, align 8
store i8 %236, ptr %237, align 1
%238 = load ptr, ptr %12, align 8
%239 = load ptr, ptr %7, align 8
store ptr %238, ptr %239, align 8
%240 = load ptr, ptr %7, align 8
%241 = getelementptr inbounds ptr, ptr %240, i32 1
store ptr %241, ptr %7, align 8
%242 = load ptr, ptr %12, align 8
%243 = getelementptr inbounds i8, ptr %242, i32 1
store ptr %243, ptr %12, align 8
%244 = load ptr, ptr %8, align 8
%245 = getelementptr inbounds i8, ptr %244, i32 1
store ptr %245, ptr %8, align 8
br label %246
246: ; preds = %230, %215, %212
br label %247
247: ; preds = %246, %205, %202
br label %248
248: ; preds = %247, %201
br label %249
249: ; preds = %248, %165
%250 = load ptr, ptr %8, align 8
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp ne i32 %252, 0
br i1 %253, label %132, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %249
br label %254
254: ; preds = %._crit_edge3, %117
%255 = load ptr, ptr %8, align 8
%256 = load i8, ptr %255, align 1
%257 = load ptr, ptr %12, align 8
store i8 %256, ptr %257, align 1
%258 = load ptr, ptr %11, align 8
%259 = load i32, ptr %6, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds ptr, ptr %258, i64 %260
store ptr null, ptr %261, align 8
%262 = load ptr, ptr %11, align 8
%263 = load ptr, ptr %5, align 8
store ptr %262, ptr %263, align 8
%264 = load i32, ptr %6, align 4
store i32 %264, ptr %3, align 4
br label %265
265: ; preds = %254, %116
%266 = load i32, ptr %3, align 4
ret i32 %266
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpeg6816zf.c'
source_filename = "/tmp/tmpeg6816zf.c"
target datalayout = "e-m:e-p270: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/tmpeg6816zf.c"
target datalayout = "e-m:e-p270: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/tmpxxcnpx_r.c'
source_filename = "/tmp/tmpxxcnpx_r.c"
target datalayout = "e-m:e-p270: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/tmpxxcnpx_r.c"
target datalayout = "e-m:e-p270: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/tmp3j1z_p_8.c'
source_filename = "/tmp/tmp3j1z_p_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ldc2l(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 @__builtin_arm_ldc2l(i32 noundef 1, i32 noundef 2, ptr noundef %3)
ret void
}
declare i32 @__builtin_arm_ldc2l(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3j1z_p_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ldc2l(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 @__builtin_arm_ldc2l(i32 noundef 1, i32 noundef 2, ptr noundef %3)
ret void
}
declare i32 @__builtin_arm_ldc2l(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbapwfeun.c'
source_filename = "/tmp/tmpbapwfeun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @econfig_getUnsignedInt(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 @strtoul(ptr noundef %3, ptr noundef null, i32 noundef 10)
ret i32 %4
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbapwfeun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @econfig_getUnsignedInt(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 @strtoul(ptr noundef %3, ptr noundef null, i32 noundef 10)
ret i32 %4
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpje21ylq8.c'
source_filename = "/tmp/tmpje21ylq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @in_chksum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %12, %2
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i32 1
store ptr %14, ptr %3, align 8
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, 2
store i32 %19, ptr %5, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %24, align 4
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %23, %20
%30 = load i32, ptr %6, align 4
%31 = ashr i32 %30, 16
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 65535
%34 = add nsw i32 %31, %33
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = ashr i32 %35, 16
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, %36
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = xor i32 %39, -1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = trunc i32 %41 to i16
ret i16 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpje21ylq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @in_chksum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %3, align 8
%14 = load i32, ptr %12, align 4
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %17, 2
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp sgt i32 %19, 1
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %5, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %24, %21
%31 = load i32, ptr %6, align 4
%32 = ashr i32 %31, 16
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 65535
%35 = add nsw i32 %32, %34
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = ashr i32 %36, 16
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = xor i32 %40, -1
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = trunc i32 %42 to i16
ret i16 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpa4234tbo.c'
source_filename = "/tmp/tmpa4234tbo.c"
target datalayout = "e-m:e-p270: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/tmpa4234tbo.c"
target datalayout = "e-m:e-p270: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/tmpmm4o_t90.c'
source_filename = "/tmp/tmpmm4o_t90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_asin_f32(float noundef %3)
ret float %4
}
declare float @__ocml_asin_f32(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/tmpmm4o_t90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_asin_f32(float noundef %3)
ret float %4
}
declare float @__ocml_asin_f32(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/tmpgmwmnnjw.c'
source_filename = "/tmp/tmpgmwmnnjw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ounces cost\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%5d $%4.2f\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
store i32 0, ptr %1, align 4
store i32 37, ptr %2, align 4
store i32 23, ptr %3, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %4, align 4
store i32 37, ptr %5, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %8, 16
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sitofp i32 %12 to double
%14 = fdiv double %13, 1.000000e+02
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, double noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 23
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmwmnnjw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ounces cost\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%5d $%4.2f\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
store i32 0, ptr %1, align 4
store i32 37, ptr %2, align 4
store i32 23, ptr %3, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %4, align 4
store i32 37, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 16
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = sitofp i32 %11 to double
%13 = fdiv double %12, 1.000000e+02
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, double noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 23
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sle i32 %20, 16
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %22
22: ; preds = %._crit_edge, %0
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph98lmis2.c'
source_filename = "/tmp/tmph98lmis2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Astart :%d end :%d T :%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c" returned 1\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c" returned zero\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c" going for more recursion\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SUBSET_SUM_R(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %9, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %9, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
br label %53
18: ; preds = %4
%19 = load i32, ptr %9, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21, %18
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %53
26: ; preds = %21
br label %27
27: ; preds = %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %8, align 4
%32 = sub nsw i32 %31, 1
%33 = load i32, ptr %9, align 4
%34 = call i32 @SUBSET_SUM_R(ptr noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33)
%35 = icmp ne i32 %34, 0
br i1 %35, label %50, label %36
36: ; preds = %27
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 %39, 1
%41 = load i32, ptr %9, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = sub nsw i32 %41, %46
%48 = call i32 @SUBSET_SUM_R(ptr noundef %37, i32 noundef %38, i32 noundef %40, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br label %50
50: ; preds = %36, %27
%51 = phi i1 [ true, %27 ], [ %49, %36 ]
%52 = zext i1 %51 to i32
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %50, %24, %16
%54 = load i32, ptr %5, align 4
ret i32 %54
}
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/tmph98lmis2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Astart :%d end :%d T :%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c" returned 1\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c" returned zero\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c" going for more recursion\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SUBSET_SUM_R(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %9, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %9, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
br label %53
18: ; preds = %4
%19 = load i32, ptr %9, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21, %18
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %53
26: ; preds = %21
br label %27
27: ; preds = %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %8, align 4
%32 = sub nsw i32 %31, 1
%33 = load i32, ptr %9, align 4
%34 = call i32 @SUBSET_SUM_R(ptr noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33)
%35 = icmp ne i32 %34, 0
br i1 %35, label %50, label %36
36: ; preds = %27
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 %39, 1
%41 = load i32, ptr %9, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = sub nsw i32 %41, %46
%48 = call i32 @SUBSET_SUM_R(ptr noundef %37, i32 noundef %38, i32 noundef %40, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br label %50
50: ; preds = %36, %27
%51 = phi i1 [ true, %27 ], [ %49, %36 ]
%52 = zext i1 %51 to i32
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %50, %24, %16
%54 = load i32, ptr %5, align 4
ret i32 %54
}
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/tmpskj03ayc.c'
source_filename = "/tmp/tmpskj03ayc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_field_buf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %8, align 4
%12 = call ptr @get_field(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %40, %4
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 59
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %43
26: ; preds = %24
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %5, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = load i64, ptr %6, align 8
%33 = sub i64 %32, 1
%34 = icmp ult i64 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %26
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %9, align 8
store i8 %37, ptr %38, align 1
br label %40
40: ; preds = %35, %26
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %7, align 8
br label %14, !llvm.loop !6
43: ; preds = %24
%44 = load ptr, ptr %9, align 8
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
ret ptr %45
}
declare ptr @get_field(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/tmpskj03ayc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_field_buf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %8, align 4
%12 = call ptr @get_field(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %40, %4
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 59
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %43
26: ; preds = %24
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %5, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = load i64, ptr %6, align 8
%33 = sub i64 %32, 1
%34 = icmp ult i64 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %26
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %9, align 8
store i8 %37, ptr %38, align 1
br label %40
40: ; preds = %35, %26
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %7, align 8
br label %14, !llvm.loop !6
43: ; preds = %24
%44 = load ptr, ptr %9, align 8
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
ret ptr %45
}
declare ptr @get_field(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/tmpmvxtclfg.c'
source_filename = "/tmp/tmpmvxtclfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %44, %0
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %4, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 48
br i1 %8, label %9, label %46
9: ; preds = %5
%10 = call signext i8 (...) @getchar()
store i8 0, ptr %3, align 1
br label %11
11: ; preds = %37, %9
%12 = call signext i8 (...) @getchar()
store i8 %12, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 10
br i1 %14, label %15, label %38
15: ; preds = %11
%16 = load i8, ptr %2, align 1
%17 = sext i8 %16 to i32
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %17, %19
br i1 %20, label %21, label %37
21: ; preds = %15
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 48
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = add nsw i32 %26, %24
%28 = trunc i32 %27 to i8
store i8 %28, ptr %3, align 1
%29 = load i8, ptr %3, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %21
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34)
br label %36
36: ; preds = %32, %21
br label %37
37: ; preds = %36, %15
br label %11, !llvm.loop !6
38: ; preds = %11
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 0)
br label %44
44: ; preds = %42, %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5, !llvm.loop !8
46: ; preds = %5
ret i32 0
}
declare signext i8 @getchar(...) #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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmvxtclfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 48
br i1 %7, label %.lr.ph2, label %50
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %45
%9 = call signext i8 (...) @getchar()
store i8 0, ptr %3, align 1
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %2, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 10
br i1 %12, label %.lr.ph, label %39
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %35
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %15, %17
br i1 %18, label %19, label %35
19: ; preds = %13
%20 = load i8, ptr %2, align 1
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 48
%23 = load i8, ptr %3, align 1
%24 = sext i8 %23 to i32
%25 = add nsw i32 %24, %22
%26 = trunc i32 %25 to i8
store i8 %26, ptr %3, align 1
%27 = load i8, ptr %3, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %19
%31 = load i8, ptr %2, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32)
br label %34
34: ; preds = %30, %19
br label %35
35: ; preds = %34, %13
%36 = call signext i8 (...) @getchar()
store i8 %36, ptr %2, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 10
br i1 %38, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %39
39: ; preds = %._crit_edge, %8
%40 = load i8, ptr %3, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 0)
br label %45
45: ; preds = %43, %39
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%47 = call signext i8 (...) @getchar()
store i8 %47, ptr %4, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 48
br i1 %49, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %0
ret i32 0
}
declare signext i8 @getchar(...) #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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4cq083oi.c'
source_filename = "/tmp/tmp4cq083oi.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ReadInt(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fread(ptr noundef %10, i32 noundef 4, i32 noundef 1, ptr noundef %11)
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %43
15: ; preds = %3
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %9, align 1
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
store i8 %25, ptr %27, align 1
%28 = load i8, ptr %9, align 1
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 3
store i8 %28, ptr %30, align 1
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
store i8 %33, ptr %9, align 1
%34 = load ptr, ptr %8, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 2
%36 = load i8, ptr %35, align 1
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
store i8 %36, ptr %38, align 1
%39 = load i8, ptr %9, align 1
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 2
store i8 %39, ptr %41, align 1
br label %42
42: ; preds = %18, %15
store i32 1, ptr %4, align 4
br label %43
43: ; preds = %42, %14
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cq083oi.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ReadInt(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fread(ptr noundef %10, i32 noundef 4, i32 noundef 1, ptr noundef %11)
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %43
15: ; preds = %3
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %9, align 1
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
store i8 %25, ptr %27, align 1
%28 = load i8, ptr %9, align 1
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 3
store i8 %28, ptr %30, align 1
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
store i8 %33, ptr %9, align 1
%34 = load ptr, ptr %8, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 2
%36 = load i8, ptr %35, align 1
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
store i8 %36, ptr %38, align 1
%39 = load i8, ptr %9, align 1
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 2
store i8 %39, ptr %41, align 1
br label %42
42: ; preds = %18, %15
store i32 1, ptr %4, align 4
br label %43
43: ; preds = %42, %14
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjaqn75h3.c'
source_filename = "/tmp/tmpjaqn75h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"The station nr is %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gasstation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %33, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = sub nsw i32 %19, %24
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %14
%31 = load i32, ptr %7, align 4
store i32 %31, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %30, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
%39 = call i32 @printf(ptr noundef @.str, i32 noundef %38)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjaqn75h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"The station nr is %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gasstation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = sub nsw i32 %18, %23
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %13
%30 = load i32, ptr %7, align 4
store i32 %30, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %29, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %3
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %40)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphmm18zyg.c'
source_filename = "/tmp/tmphmm18zyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftg_bzero(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @explicit_bzero(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @explicit_bzero(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmm18zyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftg_bzero(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @explicit_bzero(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @explicit_bzero(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphqg_8ayb.c'
source_filename = "/tmp/tmphqg_8ayb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %0, %66
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 16
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %27
11: ; preds = %4
%12 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 84
br i1 %15, label %16, label %27
16: ; preds = %11
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2
%18 = load i8, ptr %17, align 2
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 79
br i1 %20, label %21, label %27
21: ; preds = %16
%22 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 80
br i1 %25, label %26, label %27
26: ; preds = %21
ret i32 0
27: ; preds = %21, %16, %11, %4
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %63, %27
%29 = load i32, ptr %3, align 4
%30 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = icmp slt i32 %29, %31
br i1 %32, label %33, label %66
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 97
br i1 %39, label %40, label %54
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 122
br i1 %46, label %47, label %54
47: ; preds = %40
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = add nsw i32 %52, -32
br label %60
54: ; preds = %40, %33
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
br label %60
60: ; preds = %54, %47
%61 = phi i32 [ %53, %47 ], [ %59, %54 ]
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61)
br label %63
63: ; preds = %60
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
br label %28, !llvm.loop !6
66: ; preds = %28
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %4
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(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/tmphqg_8ayb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3
br label %5
5: ; preds = %68, %0
%6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i8, ptr %8, align 16
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 83
br i1 %11, label %12, label %27
12: ; preds = %5
%13 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 84
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2
%19 = load i8, ptr %18, align 2
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 79
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 80
br i1 %25, label %26, label %27
26: ; preds = %22
ret i32 0
27: ; preds = %22, %17, %12, %5
store i32 0, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp slt i32 %28, %30
br i1 %31, label %.lr.ph, label %68
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %62
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp sge i32 %37, 97
br i1 %38, label %39, label %53
39: ; preds = %32
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sle i32 %44, 122
br i1 %45, label %46, label %53
46: ; preds = %39
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = add nsw i32 %51, -32
br label %59
53: ; preds = %39, %32
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
br label %59
59: ; preds = %53, %46
%60 = phi i32 [ %52, %46 ], [ %58, %53 ]
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %60)
br label %62
62: ; preds = %59
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = call i32 @strlen(ptr noundef %29)
%67 = icmp slt i32 %65, %66
br i1 %67, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %27
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(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/tmpzbrs3cxp.c'
source_filename = "/tmp/tmpzbrs3cxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"/sbin/ifconfig eth0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"inet addr\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Your IP address: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Port eth0 is down.\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 [128 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %2, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %36, %0
%10 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%11 = load ptr, ptr %2, align 8
%12 = call ptr @fgets(ptr noundef %10, i32 noundef 128, ptr noundef %11)
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %37
14: ; preds = %9
%15 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %36
18: ; preds = %14
store i32 1, ptr %5, align 4
%19 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str.3)
store ptr %21, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %31, %18
%23 = load ptr, ptr %4, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load ptr, ptr %4, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29)
br label %35
31: ; preds = %25
%32 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
store ptr %32, ptr %4, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %22, !llvm.loop !6
35: ; preds = %28, %22
br label %37
36: ; preds = %14
br label %9, !llvm.loop !8
37: ; preds = %35, %9
%38 = load i32, ptr %5, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
42: ; preds = %40, %37
%43 = load ptr, ptr %2, align 8
%44 = call i32 @pclose(ptr noundef %43)
ret i32 0
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzbrs3cxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"/sbin/ifconfig eth0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"inet addr\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Your IP address: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Port eth0 is down.\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 [128 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %2, align 8
store i32 0, ptr %5, align 4
%9 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fgets(ptr noundef %9, i32 noundef 128, ptr noundef %10)
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %0
br label %17
13: ; preds = %17
%14 = load ptr, ptr %2, align 8
%15 = call ptr @fgets(ptr noundef %9, i32 noundef 128, ptr noundef %14)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %..loopexit1_crit_edge, !llvm.loop !6
17: ; preds = %.lr.ph, %13
%18 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str.2)
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %13
21: ; preds = %17
store i32 1, ptr %5, align 4
%22 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = call ptr @strtok(ptr noundef %23, ptr noundef @.str.3)
store ptr %24, ptr %4, align 8
store i32 0, ptr %7, align 4
%25 = load ptr, ptr %4, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %21
br label %27
27: ; preds = %.lr.ph2, %33
%28 = load i32, ptr %7, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load ptr, ptr %4, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %31)
br label %39
33: ; preds = %27
%34 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
store ptr %34, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %4, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %27, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %33
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %39
39: ; preds = %.loopexit, %30
br label %40
..loopexit1_crit_edge: ; preds = %13
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %0
br label %40
40: ; preds = %.loopexit1, %39
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43, %40
%46 = load ptr, ptr %2, align 8
%47 = call i32 @pclose(ptr noundef %46)
ret i32 0
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphsuajnel.c'
source_filename = "/tmp/tmphsuajnel.c"
target datalayout = "e-m:e-p270: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/tmphsuajnel.c"
target datalayout = "e-m:e-p270: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/tmpoa48p3ei.c'
source_filename = "/tmp/tmpoa48p3ei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_mq_attr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %7, align 4
%19 = add i32 %18, 4
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %7, align 4
%21 = add i32 %20, 8
store i32 %21, ptr %13, align 4
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 12
store i32 %23, ptr %14, align 4
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 16
store i32 %25, ptr %15, align 4
store i32 0, ptr %16, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %4
%29 = call ptr @malloc(i32 noundef 0)
%30 = load ptr, ptr %8, align 8
store ptr %29, ptr %30, align 8
%31 = load i32, ptr %16, align 4
store i32 %31, ptr %5, align 4
br label %89
32: ; preds = %4
%33 = call ptr @malloc(i32 noundef 40)
store ptr %33, ptr %10, align 8
%34 = load i32, ptr %6, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %82
36: ; preds = %32
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 0
%40 = load ptr, ptr %9, align 8
%41 = call i64 @dump_long_int_from_mem(i32 noundef %37, ptr noundef %39, ptr noundef %40)
%42 = load i32, ptr %16, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %43, %41
%45 = trunc i64 %44 to i32
store i32 %45, ptr %16, align 4
%46 = load i32, ptr %12, align 4
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %9, align 8
%50 = call i64 @dump_long_int_from_mem(i32 noundef %46, ptr noundef %48, ptr noundef %49)
%51 = load i32, ptr %16, align 4
%52 = sext i32 %51 to i64
%53 = add nsw i64 %52, %50
%54 = trunc i64 %53 to i32
store i32 %54, ptr %16, align 4
%55 = load i32, ptr %13, align 4
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 2
%58 = load ptr, ptr %9, align 8
%59 = call i64 @dump_long_int_from_mem(i32 noundef %55, ptr noundef %57, ptr noundef %58)
%60 = load i32, ptr %16, align 4
%61 = sext i32 %60 to i64
%62 = add nsw i64 %61, %59
%63 = trunc i64 %62 to i32
store i32 %63, ptr %16, align 4
%64 = load i32, ptr %14, align 4
%65 = load ptr, ptr %10, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 3
%67 = load ptr, ptr %9, align 8
%68 = call i64 @dump_long_int_from_mem(i32 noundef %64, ptr noundef %66, ptr noundef %67)
%69 = load i32, ptr %16, align 4
%70 = sext i32 %69 to i64
%71 = add nsw i64 %70, %68
%72 = trunc i64 %71 to i32
store i32 %72, ptr %16, align 4
%73 = load i32, ptr %15, align 4
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 4
%76 = load ptr, ptr %9, align 8
%77 = call i64 @dump_long_int_from_mem(i32 noundef %73, ptr noundef %75, ptr noundef %76)
%78 = load i32, ptr %16, align 4
%79 = sext i32 %78 to i64
%80 = add nsw i64 %79, %77
%81 = trunc i64 %80 to i32
store i32 %81, ptr %16, align 4
br label %82
82: ; preds = %36, %32
%83 = load ptr, ptr %10, align 8
%84 = call ptr @copy_params(ptr noundef %83, i32 noundef 5, ptr noundef %16)
%85 = load ptr, ptr %8, align 8
store ptr %84, ptr %85, align 8
%86 = load ptr, ptr %10, align 8
%87 = call i32 @free_dumped_params(ptr noundef %86, i32 noundef 5)
%88 = load i32, ptr %16, align 4
store i32 %88, ptr %5, align 4
br label %89
89: ; preds = %82, %28
%90 = load i32, ptr %5, align 4
ret i32 %90
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_long_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmpoa48p3ei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_mq_attr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %7, align 4
%19 = add i32 %18, 4
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %7, align 4
%21 = add i32 %20, 8
store i32 %21, ptr %13, align 4
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 12
store i32 %23, ptr %14, align 4
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 16
store i32 %25, ptr %15, align 4
store i32 0, ptr %16, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %4
%29 = call ptr @malloc(i32 noundef 0)
%30 = load ptr, ptr %8, align 8
store ptr %29, ptr %30, align 8
%31 = load i32, ptr %16, align 4
store i32 %31, ptr %5, align 4
br label %89
32: ; preds = %4
%33 = call ptr @malloc(i32 noundef 40)
store ptr %33, ptr %10, align 8
%34 = load i32, ptr %6, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %82
36: ; preds = %32
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 0
%40 = load ptr, ptr %9, align 8
%41 = call i64 @dump_long_int_from_mem(i32 noundef %37, ptr noundef %39, ptr noundef %40)
%42 = load i32, ptr %16, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %43, %41
%45 = trunc i64 %44 to i32
store i32 %45, ptr %16, align 4
%46 = load i32, ptr %12, align 4
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %9, align 8
%50 = call i64 @dump_long_int_from_mem(i32 noundef %46, ptr noundef %48, ptr noundef %49)
%51 = load i32, ptr %16, align 4
%52 = sext i32 %51 to i64
%53 = add nsw i64 %52, %50
%54 = trunc i64 %53 to i32
store i32 %54, ptr %16, align 4
%55 = load i32, ptr %13, align 4
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 2
%58 = load ptr, ptr %9, align 8
%59 = call i64 @dump_long_int_from_mem(i32 noundef %55, ptr noundef %57, ptr noundef %58)
%60 = load i32, ptr %16, align 4
%61 = sext i32 %60 to i64
%62 = add nsw i64 %61, %59
%63 = trunc i64 %62 to i32
store i32 %63, ptr %16, align 4
%64 = load i32, ptr %14, align 4
%65 = load ptr, ptr %10, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 3
%67 = load ptr, ptr %9, align 8
%68 = call i64 @dump_long_int_from_mem(i32 noundef %64, ptr noundef %66, ptr noundef %67)
%69 = load i32, ptr %16, align 4
%70 = sext i32 %69 to i64
%71 = add nsw i64 %70, %68
%72 = trunc i64 %71 to i32
store i32 %72, ptr %16, align 4
%73 = load i32, ptr %15, align 4
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 4
%76 = load ptr, ptr %9, align 8
%77 = call i64 @dump_long_int_from_mem(i32 noundef %73, ptr noundef %75, ptr noundef %76)
%78 = load i32, ptr %16, align 4
%79 = sext i32 %78 to i64
%80 = add nsw i64 %79, %77
%81 = trunc i64 %80 to i32
store i32 %81, ptr %16, align 4
br label %82
82: ; preds = %36, %32
%83 = load ptr, ptr %10, align 8
%84 = call ptr @copy_params(ptr noundef %83, i32 noundef 5, ptr noundef %16)
%85 = load ptr, ptr %8, align 8
store ptr %84, ptr %85, align 8
%86 = load ptr, ptr %10, align 8
%87 = call i32 @free_dumped_params(ptr noundef %86, i32 noundef 5)
%88 = load i32, ptr %16, align 4
store i32 %88, ptr %5, align 4
br label %89
89: ; preds = %82, %28
%90 = load i32, ptr %5, align 4
ret i32 %90
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_long_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmp98yqenb_.c'
source_filename = "/tmp/tmp98yqenb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @func(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 0x400921FB53C8D4F1, ptr %3, align 8
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %21, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %24
8: ; preds = %5
%9 = load double, ptr %2, align 8
%10 = fmul double %9, 2.000000e+00
%11 = fmul double %10, 0x400921FB53C8D4F1
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to double
%14 = fmul double %11, %13
%15 = fdiv double %14, 2.000000e+00
%16 = fmul double %15, 0x400921FB53C8D4F1
%17 = call i32 @cos(double noundef %16)
%18 = sitofp i32 %17 to double
%19 = load double, ptr %3, align 8
%20 = call double @llvm.fmuladd.f64(double 0x400921FB53C8D4F1, double %18, double %19)
store double %20, ptr %3, align 8
br label %21
21: ; preds = %8
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %5, !llvm.loop !6
24: ; preds = %5
%25 = load double, ptr %3, align 8
ret double %25
}
declare i32 @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98yqenb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @func(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 0x400921FB53C8D4F1, ptr %3, align 8
store i32 1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %20
%8 = load double, ptr %2, align 8
%9 = fmul double %8, 2.000000e+00
%10 = fmul double %9, 0x400921FB53C8D4F1
%11 = load i32, ptr %4, align 4
%12 = sitofp i32 %11 to double
%13 = fmul double %10, %12
%14 = fdiv double %13, 2.000000e+00
%15 = fmul double %14, 0x400921FB53C8D4F1
%16 = call i32 @cos(double noundef %15)
%17 = sitofp i32 %16 to double
%18 = load double, ptr %3, align 8
%19 = call double @llvm.fmuladd.f64(double 0x400921FB53C8D4F1, double %17, double %18)
store double %19, ptr %3, align 8
br label %20
20: ; preds = %7
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %1
%26 = load double, ptr %3, align 8
ret double %26
}
declare i32 @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqg1761gb.c'
source_filename = "/tmp/tmpqg1761gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Svcmd_StartMatch_f() #0 {
%1 = call i32 @G_refAllReady_cmd(ptr noundef null)
ret void
}
declare i32 @G_refAllReady_cmd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg1761gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Svcmd_StartMatch_f() #0 {
%1 = call i32 @G_refAllReady_cmd(ptr noundef null)
ret void
}
declare i32 @G_refAllReady_cmd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2kky0te.c'
source_filename = "/tmp/tmpw2kky0te.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cerrf(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca [33 x double], align 16
%31 = alloca [33 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 0x3FF20DD750429B61, ptr %12, align 8
store double 5.330000e+00, ptr %13, align 8
store double 4.290000e+00, ptr %14, align 8
%32 = load double, ptr %5, align 8
%33 = call double @llvm.fabs.f64(double %32)
store double %33, ptr %27, align 8
%34 = load double, ptr %6, align 8
%35 = call double @llvm.fabs.f64(double %34)
store double %35, ptr %29, align 8
%36 = load double, ptr %29, align 8
%37 = load double, ptr %14, align 8
%38 = fcmp olt double %36, %37
br i1 %38, label %39, label %183
39: ; preds = %4
%40 = load double, ptr %27, align 8
%41 = load double, ptr %13, align 8
%42 = fcmp olt double %40, %41
br i1 %42, label %43, label %183
43: ; preds = %39
%44 = load double, ptr %29, align 8
%45 = load double, ptr %14, align 8
%46 = fdiv double %44, %45
%47 = fsub double 1.000000e+00, %46
%48 = load double, ptr %27, align 8
%49 = load double, ptr %13, align 8
%50 = fdiv double %48, %49
%51 = load double, ptr %27, align 8
%52 = load double, ptr %13, align 8
%53 = fdiv double %51, %52
%54 = fneg double %50
%55 = call double @llvm.fmuladd.f64(double %54, double %53, double 1.000000e+00)
%56 = call double @sqrt(double noundef %55) #3
%57 = fmul double %47, %56
store double %57, ptr %16, align 8
%58 = load double, ptr %16, align 8
%59 = fmul double 3.200000e+00, %58
%60 = fdiv double 1.000000e+00, %59
store double %60, ptr %15, align 8
%61 = load double, ptr %16, align 8
%62 = fmul double 2.300000e+01, %61
%63 = fptosi double %62 to i32
%64 = add nsw i32 7, %63
store i32 %64, ptr %10, align 4
%65 = load double, ptr %15, align 8
%66 = load i32, ptr %10, align 4
%67 = sub nsw i32 1, %66
%68 = sitofp i32 %67 to double
%69 = call double @pow(double noundef %65, double noundef %68) #3
store double %69, ptr %26, align 8
%70 = load double, ptr %29, align 8
%71 = load double, ptr %15, align 8
%72 = fdiv double 5.000000e-01, %71
%73 = fadd double %70, %72
store double %73, ptr %25, align 8
%74 = load double, ptr %27, align 8
store double %74, ptr %28, align 8
%75 = load double, ptr %16, align 8
%76 = fmul double 2.100000e+01, %75
%77 = fptosi double %76 to i32
%78 = add nsw i32 10, %77
store i32 %78, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %80
store double 0.000000e+00, ptr %81, align 8
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %83
store double 0.000000e+00, ptr %84, align 8
%85 = load i32, ptr %11, align 4
store i32 %85, ptr %9, align 4
br label %86
86: ; preds = %129, %43
%87 = load i32, ptr %9, align 4
%88 = icmp sgt i32 %87, 0
br i1 %88, label %89, label %132
89: ; preds = %86
%90 = load double, ptr %25, align 8
%91 = load i32, ptr %9, align 4
%92 = sitofp i32 %91 to double
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %94
%96 = load double, ptr %95, align 8
%97 = call double @llvm.fmuladd.f64(double %92, double %96, double %90)
store double %97, ptr %21, align 8
%98 = load double, ptr %28, align 8
%99 = load i32, ptr %9, align 4
%100 = sitofp i32 %99 to double
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %102
%104 = load double, ptr %103, align 8
%105 = fneg double %100
%106 = call double @llvm.fmuladd.f64(double %105, double %104, double %98)
store double %106, ptr %22, align 8
%107 = load double, ptr %21, align 8
%108 = load double, ptr %21, align 8
%109 = load double, ptr %22, align 8
%110 = load double, ptr %22, align 8
%111 = fmul double %109, %110
%112 = call double @llvm.fmuladd.f64(double %107, double %108, double %111)
store double %112, ptr %20, align 8
%113 = load double, ptr %21, align 8
%114 = fmul double 5.000000e-01, %113
%115 = load double, ptr %20, align 8
%116 = fdiv double %114, %115
%117 = load i32, ptr %9, align 4
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %119
store double %116, ptr %120, align 8
%121 = load double, ptr %22, align 8
%122 = fmul double 5.000000e-01, %121
%123 = load double, ptr %20, align 8
%124 = fdiv double %122, %123
%125 = load i32, ptr %9, align 4
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %127
store double %124, ptr %128, align 8
br label %129
129: ; preds = %89
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, -1
store i32 %131, ptr %9, align 4
br label %86, !llvm.loop !6
132: ; preds = %86
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %19, align 8
%133 = load i32, ptr %10, align 4
store i32 %133, ptr %9, align 4
br label %134
134: ; preds = %173, %132
%135 = load i32, ptr %9, align 4
%136 = icmp sgt i32 %135, 0
br i1 %136, label %137, label %176
137: ; preds = %134
%138 = load double, ptr %18, align 8
%139 = load double, ptr %26, align 8
%140 = fadd double %138, %139
store double %140, ptr %17, align 8
%141 = load i32, ptr %9, align 4
%142 = sub nsw i32 %141, 1
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %143
%145 = load double, ptr %144, align 8
%146 = load double, ptr %17, align 8
%147 = load i32, ptr %9, align 4
%148 = sub nsw i32 %147, 1
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %149
%151 = load double, ptr %150, align 8
%152 = load double, ptr %19, align 8
%153 = fmul double %151, %152
%154 = fneg double %153
%155 = call double @llvm.fmuladd.f64(double %145, double %146, double %154)
store double %155, ptr %18, align 8
%156 = load i32, ptr %9, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %158
%160 = load double, ptr %159, align 8
%161 = load double, ptr %19, align 8
%162 = load i32, ptr %9, align 4
%163 = sub nsw i32 %162, 1
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %164
%166 = load double, ptr %165, align 8
%167 = load double, ptr %17, align 8
%168 = fmul double %166, %167
%169 = call double @llvm.fmuladd.f64(double %160, double %161, double %168)
store double %169, ptr %19, align 8
%170 = load double, ptr %15, align 8
%171 = load double, ptr %26, align 8
%172 = fmul double %170, %171
store double %172, ptr %26, align 8
br label %173
173: ; preds = %137
%174 = load i32, ptr %9, align 4
%175 = add nsw i32 %174, -1
store i32 %175, ptr %9, align 4
br label %134, !llvm.loop !8
176: ; preds = %134
%177 = load double, ptr %12, align 8
%178 = load double, ptr %18, align 8
%179 = fmul double %177, %178
store double %179, ptr %23, align 8
%180 = load double, ptr %12, align 8
%181 = load double, ptr %19, align 8
%182 = fmul double %180, %181
store double %182, ptr %24, align 8
br label %233
183: ; preds = %39, %4
%184 = load double, ptr %29, align 8
store double %184, ptr %25, align 8
%185 = load double, ptr %27, align 8
store double %185, ptr %28, align 8
%186 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
store double 0.000000e+00, ptr %186, align 16
%187 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
store double 0.000000e+00, ptr %187, align 16
store i32 9, ptr %9, align 4
br label %188
188: ; preds = %221, %183
%189 = load i32, ptr %9, align 4
%190 = icmp sgt i32 %189, 0
br i1 %190, label %191, label %224
191: ; preds = %188
%192 = load double, ptr %25, align 8
%193 = load i32, ptr %9, align 4
%194 = sitofp i32 %193 to double
%195 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
%196 = load double, ptr %195, align 16
%197 = call double @llvm.fmuladd.f64(double %194, double %196, double %192)
store double %197, ptr %21, align 8
%198 = load double, ptr %28, align 8
%199 = load i32, ptr %9, align 4
%200 = sitofp i32 %199 to double
%201 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
%202 = load double, ptr %201, align 16
%203 = fneg double %200
%204 = call double @llvm.fmuladd.f64(double %203, double %202, double %198)
store double %204, ptr %22, align 8
%205 = load double, ptr %21, align 8
%206 = load double, ptr %21, align 8
%207 = load double, ptr %22, align 8
%208 = load double, ptr %22, align 8
%209 = fmul double %207, %208
%210 = call double @llvm.fmuladd.f64(double %205, double %206, double %209)
store double %210, ptr %20, align 8
%211 = load double, ptr %21, align 8
%212 = fmul double 5.000000e-01, %211
%213 = load double, ptr %20, align 8
%214 = fdiv double %212, %213
%215 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
store double %214, ptr %215, align 16
%216 = load double, ptr %22, align 8
%217 = fmul double 5.000000e-01, %216
%218 = load double, ptr %20, align 8
%219 = fdiv double %217, %218
%220 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
store double %219, ptr %220, align 16
br label %221
221: ; preds = %191
%222 = load i32, ptr %9, align 4
%223 = add nsw i32 %222, -1
store i32 %223, ptr %9, align 4
br label %188, !llvm.loop !9
224: ; preds = %188
%225 = load double, ptr %12, align 8
%226 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
%227 = load double, ptr %226, align 16
%228 = fmul double %225, %227
store double %228, ptr %23, align 8
%229 = load double, ptr %12, align 8
%230 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
%231 = load double, ptr %230, align 16
%232 = fmul double %229, %231
store double %232, ptr %24, align 8
br label %233
233: ; preds = %224, %176
%234 = load double, ptr %29, align 8
%235 = fcmp oeq double %234, 0.000000e+00
br i1 %235, label %236, label %242
236: ; preds = %233
%237 = load double, ptr %27, align 8
%238 = fneg double %237
%239 = load double, ptr %27, align 8
%240 = fmul double %238, %239
%241 = call double @exp(double noundef %240) #3
store double %241, ptr %23, align 8
br label %242
242: ; preds = %236, %233
%243 = load double, ptr %6, align 8
%244 = fcmp olt double %243, 0.000000e+00
br i1 %244, label %245, label %286
245: ; preds = %242
%246 = load double, ptr %29, align 8
%247 = load double, ptr %29, align 8
%248 = load double, ptr %27, align 8
%249 = load double, ptr %27, align 8
%250 = fmul double %248, %249
%251 = fneg double %250
%252 = call double @llvm.fmuladd.f64(double %246, double %247, double %251)
%253 = call double @exp(double noundef %252) #3
%254 = fmul double 2.000000e+00, %253
%255 = load double, ptr %27, align 8
%256 = fmul double 2.000000e+00, %255
%257 = load double, ptr %29, align 8
%258 = fmul double %256, %257
%259 = call double @cos(double noundef %258) #3
%260 = load double, ptr %23, align 8
%261 = fneg double %260
%262 = call double @llvm.fmuladd.f64(double %254, double %259, double %261)
store double %262, ptr %23, align 8
%263 = load double, ptr %29, align 8
%264 = load double, ptr %29, align 8
%265 = load double, ptr %27, align 8
%266 = load double, ptr %27, align 8
%267 = fmul double %265, %266
%268 = fneg double %267
%269 = call double @llvm.fmuladd.f64(double %263, double %264, double %268)
%270 = call double @exp(double noundef %269) #3
%271 = fmul double -2.000000e+00, %270
%272 = load double, ptr %27, align 8
%273 = fmul double 2.000000e+00, %272
%274 = load double, ptr %29, align 8
%275 = fmul double %273, %274
%276 = call double @sin(double noundef %275) #3
%277 = load double, ptr %24, align 8
%278 = fneg double %277
%279 = call double @llvm.fmuladd.f64(double %271, double %276, double %278)
store double %279, ptr %24, align 8
%280 = load double, ptr %5, align 8
%281 = fcmp ogt double %280, 0.000000e+00
br i1 %281, label %282, label %285
282: ; preds = %245
%283 = load double, ptr %24, align 8
%284 = fneg double %283
store double %284, ptr %24, align 8
br label %285
285: ; preds = %282, %245
br label %293
286: ; preds = %242
%287 = load double, ptr %5, align 8
%288 = fcmp olt double %287, 0.000000e+00
br i1 %288, label %289, label %292
289: ; preds = %286
%290 = load double, ptr %24, align 8
%291 = fneg double %290
store double %291, ptr %24, align 8
br label %292
292: ; preds = %289, %286
br label %293
293: ; preds = %292, %285
%294 = load double, ptr %23, align 8
%295 = load ptr, ptr %7, align 8
store double %294, ptr %295, align 8
%296 = load double, ptr %24, align 8
%297 = load ptr, ptr %8, align 8
store double %296, ptr %297, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double 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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2kky0te.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cerrf(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca [33 x double], align 16
%31 = alloca [33 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 0x3FF20DD750429B61, ptr %12, align 8
store double 5.330000e+00, ptr %13, align 8
store double 4.290000e+00, ptr %14, align 8
%32 = load double, ptr %5, align 8
%33 = call double @llvm.fabs.f64(double %32)
store double %33, ptr %27, align 8
%34 = load double, ptr %6, align 8
%35 = call double @llvm.fabs.f64(double %34)
store double %35, ptr %29, align 8
%36 = load double, ptr %29, align 8
%37 = load double, ptr %14, align 8
%38 = fcmp olt double %36, %37
br i1 %38, label %39, label %185
39: ; preds = %4
%40 = load double, ptr %27, align 8
%41 = load double, ptr %13, align 8
%42 = fcmp olt double %40, %41
br i1 %42, label %43, label %185
43: ; preds = %39
%44 = load double, ptr %29, align 8
%45 = load double, ptr %14, align 8
%46 = fdiv double %44, %45
%47 = fsub double 1.000000e+00, %46
%48 = load double, ptr %27, align 8
%49 = load double, ptr %13, align 8
%50 = fdiv double %48, %49
%51 = load double, ptr %27, align 8
%52 = load double, ptr %13, align 8
%53 = fdiv double %51, %52
%54 = fneg double %50
%55 = call double @llvm.fmuladd.f64(double %54, double %53, double 1.000000e+00)
%56 = call double @sqrt(double noundef %55) #3
%57 = fmul double %47, %56
store double %57, ptr %16, align 8
%58 = load double, ptr %16, align 8
%59 = fmul double 3.200000e+00, %58
%60 = fdiv double 1.000000e+00, %59
store double %60, ptr %15, align 8
%61 = load double, ptr %16, align 8
%62 = fmul double 2.300000e+01, %61
%63 = fptosi double %62 to i32
%64 = add nsw i32 7, %63
store i32 %64, ptr %10, align 4
%65 = load double, ptr %15, align 8
%66 = load i32, ptr %10, align 4
%67 = sub nsw i32 1, %66
%68 = sitofp i32 %67 to double
%69 = call double @pow(double noundef %65, double noundef %68) #3
store double %69, ptr %26, align 8
%70 = load double, ptr %29, align 8
%71 = load double, ptr %15, align 8
%72 = fdiv double 5.000000e-01, %71
%73 = fadd double %70, %72
store double %73, ptr %25, align 8
%74 = load double, ptr %27, align 8
store double %74, ptr %28, align 8
%75 = load double, ptr %16, align 8
%76 = fmul double 2.100000e+01, %75
%77 = fptosi double %76 to i32
%78 = add nsw i32 10, %77
store i32 %78, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %80
store double 0.000000e+00, ptr %81, align 8
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %83
store double 0.000000e+00, ptr %84, align 8
%85 = load i32, ptr %11, align 4
store i32 %85, ptr %9, align 4
%86 = load i32, ptr %9, align 4
%87 = icmp sgt i32 %86, 0
br i1 %87, label %.lr.ph2, label %133
.lr.ph2: ; preds = %43
br label %88
88: ; preds = %.lr.ph2, %128
%89 = load double, ptr %25, align 8
%90 = load i32, ptr %9, align 4
%91 = sitofp i32 %90 to double
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %93
%95 = load double, ptr %94, align 8
%96 = call double @llvm.fmuladd.f64(double %91, double %95, double %89)
store double %96, ptr %21, align 8
%97 = load double, ptr %28, align 8
%98 = load i32, ptr %9, align 4
%99 = sitofp i32 %98 to double
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %101
%103 = load double, ptr %102, align 8
%104 = fneg double %99
%105 = call double @llvm.fmuladd.f64(double %104, double %103, double %97)
store double %105, ptr %22, align 8
%106 = load double, ptr %21, align 8
%107 = load double, ptr %21, align 8
%108 = load double, ptr %22, align 8
%109 = load double, ptr %22, align 8
%110 = fmul double %108, %109
%111 = call double @llvm.fmuladd.f64(double %106, double %107, double %110)
store double %111, ptr %20, align 8
%112 = load double, ptr %21, align 8
%113 = fmul double 5.000000e-01, %112
%114 = load double, ptr %20, align 8
%115 = fdiv double %113, %114
%116 = load i32, ptr %9, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %118
store double %115, ptr %119, align 8
%120 = load double, ptr %22, align 8
%121 = fmul double 5.000000e-01, %120
%122 = load double, ptr %20, align 8
%123 = fdiv double %121, %122
%124 = load i32, ptr %9, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %126
store double %123, ptr %127, align 8
br label %128
128: ; preds = %88
%129 = load i32, ptr %9, align 4
%130 = add nsw i32 %129, -1
store i32 %130, ptr %9, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp sgt i32 %131, 0
br i1 %132, label %88, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %128
br label %133
133: ; preds = %._crit_edge3, %43
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %19, align 8
%134 = load i32, ptr %10, align 4
store i32 %134, ptr %9, align 4
%135 = load i32, ptr %9, align 4
%136 = icmp sgt i32 %135, 0
br i1 %136, label %.lr.ph5, label %178
.lr.ph5: ; preds = %133
br label %137
137: ; preds = %.lr.ph5, %173
%138 = load double, ptr %18, align 8
%139 = load double, ptr %26, align 8
%140 = fadd double %138, %139
store double %140, ptr %17, align 8
%141 = load i32, ptr %9, align 4
%142 = sub nsw i32 %141, 1
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %143
%145 = load double, ptr %144, align 8
%146 = load double, ptr %17, align 8
%147 = load i32, ptr %9, align 4
%148 = sub nsw i32 %147, 1
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %149
%151 = load double, ptr %150, align 8
%152 = load double, ptr %19, align 8
%153 = fmul double %151, %152
%154 = fneg double %153
%155 = call double @llvm.fmuladd.f64(double %145, double %146, double %154)
store double %155, ptr %18, align 8
%156 = load i32, ptr %9, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 %158
%160 = load double, ptr %159, align 8
%161 = load double, ptr %19, align 8
%162 = load i32, ptr %9, align 4
%163 = sub nsw i32 %162, 1
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 %164
%166 = load double, ptr %165, align 8
%167 = load double, ptr %17, align 8
%168 = fmul double %166, %167
%169 = call double @llvm.fmuladd.f64(double %160, double %161, double %168)
store double %169, ptr %19, align 8
%170 = load double, ptr %15, align 8
%171 = load double, ptr %26, align 8
%172 = fmul double %170, %171
store double %172, ptr %26, align 8
br label %173
173: ; preds = %137
%174 = load i32, ptr %9, align 4
%175 = add nsw i32 %174, -1
store i32 %175, ptr %9, align 4
%176 = load i32, ptr %9, align 4
%177 = icmp sgt i32 %176, 0
br i1 %177, label %137, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %173
br label %178
178: ; preds = %._crit_edge6, %133
%179 = load double, ptr %12, align 8
%180 = load double, ptr %18, align 8
%181 = fmul double %179, %180
store double %181, ptr %23, align 8
%182 = load double, ptr %12, align 8
%183 = load double, ptr %19, align 8
%184 = fmul double %182, %183
store double %184, ptr %24, align 8
br label %236
185: ; preds = %39, %4
%186 = load double, ptr %29, align 8
store double %186, ptr %25, align 8
%187 = load double, ptr %27, align 8
store double %187, ptr %28, align 8
%188 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
store double 0.000000e+00, ptr %188, align 16
%189 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
store double 0.000000e+00, ptr %189, align 16
store i32 9, ptr %9, align 4
%190 = load i32, ptr %9, align 4
%191 = icmp sgt i32 %190, 0
br i1 %191, label %.lr.ph, label %227
.lr.ph: ; preds = %185
br label %192
192: ; preds = %.lr.ph, %222
%193 = load double, ptr %25, align 8
%194 = load i32, ptr %9, align 4
%195 = sitofp i32 %194 to double
%196 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
%197 = load double, ptr %196, align 16
%198 = call double @llvm.fmuladd.f64(double %195, double %197, double %193)
store double %198, ptr %21, align 8
%199 = load double, ptr %28, align 8
%200 = load i32, ptr %9, align 4
%201 = sitofp i32 %200 to double
%202 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
%203 = load double, ptr %202, align 16
%204 = fneg double %201
%205 = call double @llvm.fmuladd.f64(double %204, double %203, double %199)
store double %205, ptr %22, align 8
%206 = load double, ptr %21, align 8
%207 = load double, ptr %21, align 8
%208 = load double, ptr %22, align 8
%209 = load double, ptr %22, align 8
%210 = fmul double %208, %209
%211 = call double @llvm.fmuladd.f64(double %206, double %207, double %210)
store double %211, ptr %20, align 8
%212 = load double, ptr %21, align 8
%213 = fmul double 5.000000e-01, %212
%214 = load double, ptr %20, align 8
%215 = fdiv double %213, %214
%216 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
store double %215, ptr %216, align 16
%217 = load double, ptr %22, align 8
%218 = fmul double 5.000000e-01, %217
%219 = load double, ptr %20, align 8
%220 = fdiv double %218, %219
%221 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
store double %220, ptr %221, align 16
br label %222
222: ; preds = %192
%223 = load i32, ptr %9, align 4
%224 = add nsw i32 %223, -1
store i32 %224, ptr %9, align 4
%225 = load i32, ptr %9, align 4
%226 = icmp sgt i32 %225, 0
br i1 %226, label %192, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %222
br label %227
227: ; preds = %._crit_edge, %185
%228 = load double, ptr %12, align 8
%229 = getelementptr inbounds [33 x double], ptr %30, i64 0, i64 0
%230 = load double, ptr %229, align 16
%231 = fmul double %228, %230
store double %231, ptr %23, align 8
%232 = load double, ptr %12, align 8
%233 = getelementptr inbounds [33 x double], ptr %31, i64 0, i64 0
%234 = load double, ptr %233, align 16
%235 = fmul double %232, %234
store double %235, ptr %24, align 8
br label %236
236: ; preds = %227, %178
%237 = load double, ptr %29, align 8
%238 = fcmp oeq double %237, 0.000000e+00
br i1 %238, label %239, label %245
239: ; preds = %236
%240 = load double, ptr %27, align 8
%241 = fneg double %240
%242 = load double, ptr %27, align 8
%243 = fmul double %241, %242
%244 = call double @exp(double noundef %243) #3
store double %244, ptr %23, align 8
br label %245
245: ; preds = %239, %236
%246 = load double, ptr %6, align 8
%247 = fcmp olt double %246, 0.000000e+00
br i1 %247, label %248, label %289
248: ; preds = %245
%249 = load double, ptr %29, align 8
%250 = load double, ptr %29, align 8
%251 = load double, ptr %27, align 8
%252 = load double, ptr %27, align 8
%253 = fmul double %251, %252
%254 = fneg double %253
%255 = call double @llvm.fmuladd.f64(double %249, double %250, double %254)
%256 = call double @exp(double noundef %255) #3
%257 = fmul double 2.000000e+00, %256
%258 = load double, ptr %27, align 8
%259 = fmul double 2.000000e+00, %258
%260 = load double, ptr %29, align 8
%261 = fmul double %259, %260
%262 = call double @cos(double noundef %261) #3
%263 = load double, ptr %23, align 8
%264 = fneg double %263
%265 = call double @llvm.fmuladd.f64(double %257, double %262, double %264)
store double %265, ptr %23, align 8
%266 = load double, ptr %29, align 8
%267 = load double, ptr %29, align 8
%268 = load double, ptr %27, align 8
%269 = load double, ptr %27, align 8
%270 = fmul double %268, %269
%271 = fneg double %270
%272 = call double @llvm.fmuladd.f64(double %266, double %267, double %271)
%273 = call double @exp(double noundef %272) #3
%274 = fmul double -2.000000e+00, %273
%275 = load double, ptr %27, align 8
%276 = fmul double 2.000000e+00, %275
%277 = load double, ptr %29, align 8
%278 = fmul double %276, %277
%279 = call double @sin(double noundef %278) #3
%280 = load double, ptr %24, align 8
%281 = fneg double %280
%282 = call double @llvm.fmuladd.f64(double %274, double %279, double %281)
store double %282, ptr %24, align 8
%283 = load double, ptr %5, align 8
%284 = fcmp ogt double %283, 0.000000e+00
br i1 %284, label %285, label %288
285: ; preds = %248
%286 = load double, ptr %24, align 8
%287 = fneg double %286
store double %287, ptr %24, align 8
br label %288
288: ; preds = %285, %248
br label %296
289: ; preds = %245
%290 = load double, ptr %5, align 8
%291 = fcmp olt double %290, 0.000000e+00
br i1 %291, label %292, label %295
292: ; preds = %289
%293 = load double, ptr %24, align 8
%294 = fneg double %293
store double %294, ptr %24, align 8
br label %295
295: ; preds = %292, %289
br label %296
296: ; preds = %295, %288
%297 = load double, ptr %23, align 8
%298 = load ptr, ptr %7, align 8
store double %297, ptr %298, align 8
%299 = load double, ptr %24, align 8
%300 = load ptr, ptr %8, align 8
store double %299, ptr %300, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double 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 nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpejc3vl6h.c'
source_filename = "/tmp/tmpejc3vl6h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_BansheeIf_cond_equality_constraint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @Cyc_BansheeIf_internal_equality_constraint(ptr noundef %6, ptr noundef %7, i32 noundef 1)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @Cyc_BansheeIf_internal_equality_constraint(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpejc3vl6h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_BansheeIf_cond_equality_constraint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @Cyc_BansheeIf_internal_equality_constraint(ptr noundef %6, ptr noundef %7, i32 noundef 1)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @Cyc_BansheeIf_internal_equality_constraint(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfhu87xj6.c'
source_filename = "/tmp/tmpfhu87xj6.c"
target datalayout = "e-m:e-p270: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/tmpfhu87xj6.c"
target datalayout = "e-m:e-p270: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/tmp090r8khd.c'
source_filename = "/tmp/tmp090r8khd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"../\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @allow_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 47
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
store i32 0, ptr %13, align 4
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %12, %2
br label %17
17: ; preds = %77, %16
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %78
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = call i32 @strncmp(ptr noundef %22, ptr noundef @.str, i32 noundef 3)
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load ptr, ptr %6, align 8
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.1)
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %25, %21
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %30, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %30, align 4
br label %37
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %34, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %34, align 4
br label %37
37: ; preds = %33, %29
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %38, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 0, ptr %3, align 4
br label %79
42: ; preds = %37
br label %43
43: ; preds = %61, %42
%44 = load ptr, ptr %6, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %43
%49 = load ptr, ptr %6, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 10
br i1 %52, label %53, label %58
53: ; preds = %48
%54 = load ptr, ptr %6, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 47
br label %58
58: ; preds = %53, %48, %43
%59 = phi i1 [ false, %48 ], [ false, %43 ], [ %57, %53 ]
br i1 %59, label %60, label %64
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %6, align 8
br label %43, !llvm.loop !6
64: ; preds = %58
%65 = load ptr, ptr %6, align 8
%66 = load i8, ptr %65, align 1
%67 = icmp ne i8 %66, 0
br i1 %67, label %69, label %68
68: ; preds = %64
br label %78
69: ; preds = %64
br label %70
70: ; preds = %76, %69
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %6, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 47
br i1 %75, label %76, label %77
76: ; preds = %70
br label %70, !llvm.loop !8
77: ; preds = %70
br label %17, !llvm.loop !9
78: ; preds = %68, %17
store i32 1, ptr %3, align 4
br label %79
79: ; preds = %78, %41
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp090r8khd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"../\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @allow_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 47
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
store i32 0, ptr %13, align 4
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %6, align 8
br label %16
16: ; preds = %12, %2
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %75
%21 = load ptr, ptr %6, align 8
%22 = call i32 @strncmp(ptr noundef %21, ptr noundef @.str, i32 noundef 3)
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp ne i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %24, %20
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %29, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %29, align 4
br label %36
32: ; preds = %24
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %33, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %33, align 4
br label %36
36: ; preds = %32, %28
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
store i32 0, ptr %3, align 4
br label %80
41: ; preds = %36
br label %42
42: ; preds = %60, %41
%43 = load ptr, ptr %6, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %57
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 10
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load ptr, ptr %6, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 47
br label %57
57: ; preds = %52, %47, %42
%58 = phi i1 [ false, %47 ], [ false, %42 ], [ %56, %52 ]
br i1 %58, label %59, label %63
59: ; preds = %57
br label %60
60: ; preds = %59
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %6, align 8
br label %42, !llvm.loop !6
63: ; preds = %57
%64 = load ptr, ptr %6, align 8
%65 = load i8, ptr %64, align 1
%66 = icmp ne i8 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %63
br label %79
68: ; preds = %63
br label %69
69: ; preds = %69, %68
%70 = load ptr, ptr %6, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %6, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 47
br i1 %74, label %69, label %75, !llvm.loop !8
75: ; preds = %69
%76 = load ptr, ptr %6, align 8
%77 = load i8, ptr %76, align 1
%78 = icmp ne i8 %77, 0
br i1 %78, label %20, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %75
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %79
79: ; preds = %.loopexit, %67
store i32 1, ptr %3, align 4
br label %80
80: ; preds = %79, %40
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpnqnq7un1.c'
source_filename = "/tmp/tmpnqnq7un1.c"
target datalayout = "e-m:e-p270: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/tmpnqnq7un1.c"
target datalayout = "e-m:e-p270: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/tmpzgjvg89e.c'
source_filename = "/tmp/tmpzgjvg89e.c"
target datalayout = "e-m:e-p270: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/tmpzgjvg89e.c"
target datalayout = "e-m:e-p270: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/tmpcdf324mh.c'
source_filename = "/tmp/tmpcdf324mh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Abs: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c".\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Sqrt: \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Recip: \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"Rsqrt: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmipsmath() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store float 0xC094B07E00000000, ptr %1, align 4
store float 2.500000e+01, ptr %2, align 4
store float 0x3F847AE140000000, ptr %3, align 4
%4 = call i32 @writeString(ptr noundef @.str)
%5 = load float, ptr %1, align 4
%6 = call i64 @absf(float noundef %5)
%7 = trunc i64 %6 to i32
%8 = call i32 @writeDigit(i32 noundef %7)
%9 = call i32 @writeString(ptr noundef @.str.1)
%10 = call i32 @writeString(ptr noundef @.str.2)
%11 = load float, ptr %2, align 4
%12 = call i64 @sqrtf(float noundef %11)
%13 = trunc i64 %12 to i32
%14 = call i32 @writeDigit(i32 noundef %13)
%15 = call i32 @writeString(ptr noundef @.str.1)
%16 = call i32 @writeString(ptr noundef @.str.3)
%17 = load float, ptr %3, align 4
%18 = call i64 @recipf(float noundef %17)
%19 = trunc i64 %18 to i32
%20 = call i32 @writeDigit(i32 noundef %19)
%21 = call i32 @writeString(ptr noundef @.str.1)
%22 = call i32 @writeString(ptr noundef @.str.4)
%23 = load float, ptr %3, align 4
%24 = call i64 @rsqrtf(float noundef %23)
%25 = trunc i64 %24 to i32
%26 = call i32 @writeDigit(i32 noundef %25)
%27 = call i32 @writeString(ptr noundef @.str.1)
ret void
}
declare i32 @writeString(ptr noundef) #1
declare i32 @writeDigit(i32 noundef) #1
declare i64 @absf(float noundef) #1
declare i64 @sqrtf(float noundef) #1
declare i64 @recipf(float noundef) #1
declare i64 @rsqrtf(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/tmpcdf324mh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Abs: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c".\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Sqrt: \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Recip: \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"Rsqrt: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmipsmath() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store float 0xC094B07E00000000, ptr %1, align 4
store float 2.500000e+01, ptr %2, align 4
store float 0x3F847AE140000000, ptr %3, align 4
%4 = call i32 @writeString(ptr noundef @.str)
%5 = load float, ptr %1, align 4
%6 = call i64 @absf(float noundef %5)
%7 = trunc i64 %6 to i32
%8 = call i32 @writeDigit(i32 noundef %7)
%9 = call i32 @writeString(ptr noundef @.str.1)
%10 = call i32 @writeString(ptr noundef @.str.2)
%11 = load float, ptr %2, align 4
%12 = call i64 @sqrtf(float noundef %11)
%13 = trunc i64 %12 to i32
%14 = call i32 @writeDigit(i32 noundef %13)
%15 = call i32 @writeString(ptr noundef @.str.1)
%16 = call i32 @writeString(ptr noundef @.str.3)
%17 = load float, ptr %3, align 4
%18 = call i64 @recipf(float noundef %17)
%19 = trunc i64 %18 to i32
%20 = call i32 @writeDigit(i32 noundef %19)
%21 = call i32 @writeString(ptr noundef @.str.1)
%22 = call i32 @writeString(ptr noundef @.str.4)
%23 = load float, ptr %3, align 4
%24 = call i64 @rsqrtf(float noundef %23)
%25 = trunc i64 %24 to i32
%26 = call i32 @writeDigit(i32 noundef %25)
%27 = call i32 @writeString(ptr noundef @.str.1)
ret void
}
declare i32 @writeString(ptr noundef) #1
declare i32 @writeDigit(i32 noundef) #1
declare i64 @absf(float noundef) #1
declare i64 @sqrtf(float noundef) #1
declare i64 @recipf(float noundef) #1
declare i64 @rsqrtf(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/tmpu7l2numz.c'
source_filename = "/tmp/tmpu7l2numz.c"
target datalayout = "e-m:e-p270: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/tmpu7l2numz.c"
target datalayout = "e-m:e-p270: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/tmpsbkokcf4.c'
source_filename = "/tmp/tmpsbkokcf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark_stop() #0 {
%1 = call double (...) @benchmark_get_counter()
ret double %1
}
declare double @benchmark_get_counter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbkokcf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark_stop() #0 {
%1 = call double (...) @benchmark_get_counter()
ret double %1
}
declare double @benchmark_get_counter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzan9e9x3.c'
source_filename = "/tmp/tmpzan9e9x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutex_lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzan9e9x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutex_lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5n3v58qd.c'
source_filename = "/tmp/tmp5n3v58qd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"NO MAJOR\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 ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %10
10: ; preds = %50, %0
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %14, label %52
14: ; preds = %10
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%16 = load i32, ptr %3, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %6, align 8
%19 = alloca i32, i64 %17, align 16
store i64 %17, ptr %7, align 8
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %29, %14
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %19, i64 %26
%28 = call i32 @scanf(ptr noundef @.str, ptr noundef %27)
br label %29
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %20, !llvm.loop !6
32: ; preds = %20
%33 = mul nuw i64 4, %17
%34 = udiv i64 %33, 4
%35 = trunc i64 %34 to i32
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = call i32 @sortByFrequency(ptr noundef %19, i32 noundef %36)
%38 = load i32, ptr %8, align 4
%39 = call i32 @printArray(ptr noundef %19, i32 noundef %38)
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %3, align 4
%42 = sdiv i32 %41, 2
%43 = icmp sgt i32 %40, %42
br i1 %43, label %44, label %48
44: ; preds = %32
%45 = getelementptr inbounds i32, ptr %19, i64 0
%46 = load i32, ptr %45, align 16
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46)
br label %50
48: ; preds = %32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %44
%51 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %51)
br label %10, !llvm.loop !8
52: ; preds = %10
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sortByFrequency(ptr noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5n3v58qd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"NO MAJOR\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 ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %5, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %.lr.ph2, label %56
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %51
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%15 = load i32, ptr %3, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %6, align 8
%18 = alloca i32, i64 %16, align 16
store i64 %16, ptr %7, align 8
store i32 0, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %27
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %18, i64 %24
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %13
%34 = mul nuw i64 4, %16
%35 = udiv i64 %34, 4
%36 = trunc i64 %35 to i32
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = call i32 @sortByFrequency(ptr noundef %18, i32 noundef %37)
%39 = load i32, ptr %8, align 4
%40 = call i32 @printArray(ptr noundef %18, i32 noundef %39)
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = sdiv i32 %42, 2
%44 = icmp sgt i32 %41, %43
br i1 %44, label %45, label %49
45: ; preds = %33
%46 = getelementptr inbounds i32, ptr %18, i64 0
%47 = load i32, ptr %46, align 16
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47)
br label %51
49: ; preds = %33
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %45
%52 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %52)
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %5, align 4
%55 = icmp ne i32 %53, 0
br i1 %55, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %56
56: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sortByFrequency(ptr noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzhuvi1_u.c'
source_filename = "/tmp/tmpzhuvi1_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/tmpzhuvi1_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/tmp6ul0k29r.c'
source_filename = "/tmp/tmp6ul0k29r.c"
target datalayout = "e-m:e-p270: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/tmp6ul0k29r.c"
target datalayout = "e-m:e-p270: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/tmpsz6kzepa.c'
source_filename = "/tmp/tmpsz6kzepa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"PANDORA_TEST_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alip/pandora/refs/heads/master/tests/t004_creat.c\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"PANDORA_TEST_EEXIST\00", align 1
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [19 x i8] c"PANDORA_TEST_EPERM\00", align 1
@EPERM = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 125, ptr %3, align 4
br label %59
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @creat(ptr noundef %13, i32 noundef 420)
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %39
16: ; preds = %10
%17 = call i64 @getenv(ptr noundef @.str)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %59
21: ; preds = %16
%22 = call i64 @getenv(ptr noundef @.str.2)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i64, ptr @errno, align 8
%26 = load i64, ptr @EEXIST, align 8
%27 = icmp eq i64 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 0, ptr %3, align 4
br label %59
29: ; preds = %24, %21
%30 = call i64 @getenv(ptr noundef @.str.3)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load i64, ptr @errno, align 8
%34 = load i64, ptr @EPERM, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 0, ptr %3, align 4
br label %59
37: ; preds = %32, %29
%38 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %59
39: ; preds = %10
%40 = load i32, ptr %4, align 4
%41 = icmp sgt i32 %40, 2
br i1 %41, label %42, label %52
42: ; preds = %39
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 2
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = call i32 @write(i32 noundef %43, ptr noundef %46, i32 noundef %50)
br label %52
52: ; preds = %42, %39
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = call i64 @getenv(ptr noundef @.str)
%56 = icmp ne i64 %55, 0
%57 = zext i1 %56 to i64
%58 = select i1 %56, i32 0, i32 2
store i32 %58, ptr %3, align 4
br label %59
59: ; preds = %52, %37, %36, %28, %19, %9
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i64 @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmpsz6kzepa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"PANDORA_TEST_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alip/pandora/refs/heads/master/tests/t004_creat.c\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"PANDORA_TEST_EEXIST\00", align 1
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [19 x i8] c"PANDORA_TEST_EPERM\00", align 1
@EPERM = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 125, ptr %3, align 4
br label %59
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @creat(ptr noundef %13, i32 noundef 420)
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %39
16: ; preds = %10
%17 = call i64 @getenv(ptr noundef @.str)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %59
21: ; preds = %16
%22 = call i64 @getenv(ptr noundef @.str.2)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i64, ptr @errno, align 8
%26 = load i64, ptr @EEXIST, align 8
%27 = icmp eq i64 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 0, ptr %3, align 4
br label %59
29: ; preds = %24, %21
%30 = call i64 @getenv(ptr noundef @.str.3)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load i64, ptr @errno, align 8
%34 = load i64, ptr @EPERM, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 0, ptr %3, align 4
br label %59
37: ; preds = %32, %29
%38 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %59
39: ; preds = %10
%40 = load i32, ptr %4, align 4
%41 = icmp sgt i32 %40, 2
br i1 %41, label %42, label %52
42: ; preds = %39
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 2
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = call i32 @write(i32 noundef %43, ptr noundef %46, i32 noundef %50)
br label %52
52: ; preds = %42, %39
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = call i64 @getenv(ptr noundef @.str)
%56 = icmp ne i64 %55, 0
%57 = zext i1 %56 to i64
%58 = select i1 %56, i32 0, i32 2
store i32 %58, ptr %3, align 4
br label %59
59: ; preds = %52, %37, %36, %28, %19, %9
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i64 @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmpydhndai0.c'
source_filename = "/tmp/tmpydhndai0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Your hand: \00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Dealer's hand: \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"You may: \00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c" s) stand. h) hit.\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c" d) double down. /) split.\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"^R) Redraw the screen. v) view the rules. \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bj__display_bj_game() #0 {
%1 = call i32 @clear_rc(i32 noundef 21, i32 noundef 1)
%2 = call i32 @Prt(ptr noundef @.str, i32 noundef 4, i32 noundef 0)
%3 = call i32 @Prt(ptr noundef @.str.1, i32 noundef 11, i32 noundef 0)
%4 = call i32 (...) @c__display_gold()
%5 = call i32 @Prt(ptr noundef @.str.2, i32 noundef 20, i32 noundef 0)
%6 = call i32 @Prt(ptr noundef @.str.3, i32 noundef 21, i32 noundef 1)
%7 = call i32 @Prt(ptr noundef @.str.4, i32 noundef 22, i32 noundef 1)
%8 = call i32 @Prt(ptr noundef @.str.5, i32 noundef 23, i32 noundef 1)
ret void
}
declare i32 @clear_rc(i32 noundef, i32 noundef) #1
declare i32 @Prt(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @c__display_gold(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydhndai0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Your hand: \00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Dealer's hand: \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"You may: \00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c" s) stand. h) hit.\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c" d) double down. /) split.\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"^R) Redraw the screen. v) view the rules. \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bj__display_bj_game() #0 {
%1 = call i32 @clear_rc(i32 noundef 21, i32 noundef 1)
%2 = call i32 @Prt(ptr noundef @.str, i32 noundef 4, i32 noundef 0)
%3 = call i32 @Prt(ptr noundef @.str.1, i32 noundef 11, i32 noundef 0)
%4 = call i32 (...) @c__display_gold()
%5 = call i32 @Prt(ptr noundef @.str.2, i32 noundef 20, i32 noundef 0)
%6 = call i32 @Prt(ptr noundef @.str.3, i32 noundef 21, i32 noundef 1)
%7 = call i32 @Prt(ptr noundef @.str.4, i32 noundef 22, i32 noundef 1)
%8 = call i32 @Prt(ptr noundef @.str.5, i32 noundef 23, i32 noundef 1)
ret void
}
declare i32 @clear_rc(i32 noundef, i32 noundef) #1
declare i32 @Prt(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @c__display_gold(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0qpv_t53.c'
source_filename = "/tmp/tmp0qpv_t53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rpdu() #0 {
%1 = call i32 (...) @test_o_rpdata_submit()
ret void
}
declare i32 @test_o_rpdata_submit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qpv_t53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rpdu() #0 {
%1 = call i32 (...) @test_o_rpdata_submit()
ret void
}
declare i32 @test_o_rpdata_submit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbvvgw2z2.c'
source_filename = "/tmp/tmpbvvgw2z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modele_gravite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call double @cos(double noundef %9) #3
store double %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fadd double %13, %16
%18 = call double @cos(double noundef %17) #3
store double %18, ptr %6, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fmul double 1.471500e+02, %20
%22 = call double @llvm.fmuladd.f64(double 0x4048866666666667, double %19, double %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
store double %22, ptr %24, align 8
%25 = load double, ptr %6, align 8
%26 = fmul double 0x4048866666666667, %25
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds double, ptr %27, i64 1
store double %26, ptr %28, align 8
ret void
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbvvgw2z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modele_gravite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call double @cos(double noundef %9) #3
store double %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fadd double %13, %16
%18 = call double @cos(double noundef %17) #3
store double %18, ptr %6, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fmul double 1.471500e+02, %20
%22 = call double @llvm.fmuladd.f64(double 0x4048866666666667, double %19, double %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
store double %22, ptr %24, align 8
%25 = load double, ptr %6, align 8
%26 = fmul double 0x4048866666666667, %25
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds double, ptr %27, i64 1
store double %26, ptr %28, align 8
ret void
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7ggyx_ij.c'
source_filename = "/tmp/tmp7ggyx_ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_transmit_empty() #0 {
%1 = call i32 @inportb(i32 noundef 1021)
%2 = and i32 %1, 32
ret i32 %2
}
declare i32 @inportb(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/tmp7ggyx_ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_transmit_empty() #0 {
%1 = call i32 @inportb(i32 noundef 1021)
%2 = and i32 %1, 32
ret i32 %2
}
declare i32 @inportb(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/tmp0ds96fa0.c'
source_filename = "/tmp/tmp0ds96fa0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mean_DWTAnlz(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca float, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @sum_DWTAnlz(ptr noundef %8, i32 noundef %9, ptr noundef null)
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = sdiv i32 %10, %12
%14 = sitofp i32 %13 to float
store float %14, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %3
%18 = load float, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
store float %18, ptr %19, align 4
br label %20
20: ; preds = %17, %3
%21 = load float, ptr %7, align 4
ret float %21
}
declare i32 @sum_DWTAnlz(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/tmp0ds96fa0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mean_DWTAnlz(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca float, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @sum_DWTAnlz(ptr noundef %8, i32 noundef %9, ptr noundef null)
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = sdiv i32 %10, %12
%14 = sitofp i32 %13 to float
store float %14, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %3
%18 = load float, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
store float %18, ptr %19, align 4
br label %20
20: ; preds = %17, %3
%21 = load float, ptr %7, align 4
ret float %21
}
declare i32 @sum_DWTAnlz(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/tmpusz9rg66.c'
source_filename = "/tmp/tmpusz9rg66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 239 should be 15\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_239() #0 {
%1 = call i32 @isqrt(i32 noundef 239)
%2 = icmp eq i32 %1, 15
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1200, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpusz9rg66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 239 should be 15\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_239() #0 {
%1 = call i32 @isqrt(i32 noundef 239)
%2 = icmp eq i32 %1, 15
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1200, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpl7vv41ce.c'
source_filename = "/tmp/tmpl7vv41ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cavity100.dat\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"ERROR: Input parameters potentially corrupt!\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"res=%f, it=%u \00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"End of simulation...hooray! \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 i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store double 0.000000e+00, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
store double 0.000000e+00, ptr %25, align 8
store double 0.000000e+00, ptr %26, align 8
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store double 0.000000e+00, ptr %31, align 8
store ptr null, ptr %32, align 8
store ptr null, ptr %33, align 8
store ptr null, ptr %34, align 8
store ptr null, ptr %35, align 8
store ptr null, ptr %36, align 8
store ptr null, ptr %37, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @read_parameters(ptr noundef %38, ptr noundef %26, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %27, ptr noundef %28, ptr noundef %15, ptr noundef %8, ptr noundef %9, ptr noundef %16, ptr noundef %12, ptr noundef %13, ptr noundef %10, ptr noundef %11, ptr noundef %25, ptr noundef %24, ptr noundef %17, ptr noundef %20, ptr noundef %23, ptr noundef %18)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp ne i32 %40, 1
br i1 %41, label %42, label %44
42: ; preds = %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %187
44: ; preds = %2
%45 = load double, ptr %29, align 8
%46 = load double, ptr %30, align 8
%47 = load double, ptr %31, align 8
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = call i32 @init_uvp(double noundef %45, double noundef %46, double noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %32, ptr noundef %33, ptr noundef %34)
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
%55 = call ptr @matrix(i32 noundef 0, i32 noundef %52, i32 noundef 0, i32 noundef %54)
store ptr %55, ptr %35, align 8
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
%58 = load i32, ptr %11, align 4
%59 = add nsw i32 %58, 1
%60 = call ptr @matrix(i32 noundef 0, i32 noundef %57, i32 noundef 0, i32 noundef %59)
store ptr %60, ptr %36, align 8
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, 1
%65 = call ptr @matrix(i32 noundef 0, i32 noundef %62, i32 noundef 0, i32 noundef %64)
store ptr %65, ptr %37, align 8
br label %66
66: ; preds = %129, %44
%67 = load double, ptr %14, align 8
%68 = load double, ptr %15, align 8
%69 = fcmp olt double %67, %68
br i1 %69, label %70, label %149
70: ; preds = %66
%71 = load double, ptr %26, align 8
%72 = load double, ptr %17, align 8
%73 = load double, ptr %12, align 8
%74 = load double, ptr %13, align 8
%75 = load i32, ptr %10, align 4
%76 = load i32, ptr %11, align 4
%77 = load ptr, ptr %32, align 8
%78 = load ptr, ptr %33, align 8
%79 = call i32 @calculate_dt(double noundef %71, double noundef %72, ptr noundef %16, double noundef %73, double noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %77, ptr noundef %78)
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %11, align 4
%82 = load ptr, ptr %32, align 8
%83 = load ptr, ptr %33, align 8
%84 = call i32 @boundaryvalues(i32 noundef %80, i32 noundef %81, ptr noundef %82, ptr noundef %83)
%85 = load double, ptr %26, align 8
%86 = load double, ptr %27, align 8
%87 = load double, ptr %28, align 8
%88 = load double, ptr %25, align 8
%89 = load double, ptr %16, align 8
%90 = load double, ptr %12, align 8
%91 = load double, ptr %13, align 8
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %11, align 4
%94 = load ptr, ptr %32, align 8
%95 = load ptr, ptr %33, align 8
%96 = load ptr, ptr %36, align 8
%97 = load ptr, ptr %37, align 8
%98 = call i32 @calculate_fg(double noundef %85, double noundef %86, double noundef %87, double noundef %88, double noundef %89, double noundef %90, double noundef %91, i32 noundef %92, i32 noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef %96, ptr noundef %97)
%99 = load double, ptr %16, align 8
%100 = load double, ptr %12, align 8
%101 = load double, ptr %13, align 8
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %11, align 4
%104 = load ptr, ptr %36, align 8
%105 = load ptr, ptr %37, align 8
%106 = load ptr, ptr %35, align 8
%107 = call i32 @calculate_rs(double noundef %99, double noundef %100, double noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106)
store i32 0, ptr %21, align 4
br label %108
108: ; preds = %127, %70
%109 = load double, ptr %24, align 8
%110 = load double, ptr %12, align 8
%111 = load double, ptr %13, align 8
%112 = load i32, ptr %10, align 4
%113 = load i32, ptr %11, align 4
%114 = load ptr, ptr %34, align 8
%115 = load ptr, ptr %35, align 8
%116 = call i32 @sor(double noundef %109, double noundef %110, double noundef %111, i32 noundef %112, i32 noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef %22)
%117 = load i32, ptr %21, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %21, align 4
br label %119
119: ; preds = %108
%120 = load i32, ptr %21, align 4
%121 = load i32, ptr %20, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %123, label %127
123: ; preds = %119
%124 = load double, ptr %22, align 8
%125 = load double, ptr %23, align 8
%126 = fcmp ogt double %124, %125
br label %127
127: ; preds = %123, %119
%128 = phi i1 [ false, %119 ], [ %126, %123 ]
br i1 %128, label %108, label %129, !llvm.loop !6
129: ; preds = %127
%130 = load double, ptr %22, align 8
%131 = load i32, ptr %21, align 4
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %130, i32 noundef %131)
%133 = load double, ptr %16, align 8
%134 = load double, ptr %12, align 8
%135 = load double, ptr %13, align 8
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %11, align 4
%138 = load ptr, ptr %32, align 8
%139 = load ptr, ptr %33, align 8
%140 = load ptr, ptr %36, align 8
%141 = load ptr, ptr %37, align 8
%142 = load ptr, ptr %34, align 8
%143 = call i32 @calculate_uv(double noundef %133, double noundef %134, double noundef %135, i32 noundef %136, i32 noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %142)
%144 = load i32, ptr %19, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %19, align 4
%146 = load double, ptr %16, align 8
%147 = load double, ptr %14, align 8
%148 = fadd double %147, %146
store double %148, ptr %14, align 8
br label %66, !llvm.loop !8
149: ; preds = %66
%150 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%151 = load ptr, ptr %32, align 8
%152 = load i32, ptr %10, align 4
%153 = add nsw i32 %152, 1
%154 = load i32, ptr %11, align 4
%155 = add nsw i32 %154, 1
%156 = call i32 @free_matrix(ptr noundef %151, i32 noundef 0, i32 noundef %153, i32 noundef 0, i32 noundef %155)
%157 = load ptr, ptr %33, align 8
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, 1
%160 = load i32, ptr %11, align 4
%161 = add nsw i32 %160, 1
%162 = call i32 @free_matrix(ptr noundef %157, i32 noundef 0, i32 noundef %159, i32 noundef 0, i32 noundef %161)
%163 = load ptr, ptr %34, align 8
%164 = load i32, ptr %10, align 4
%165 = add nsw i32 %164, 1
%166 = load i32, ptr %11, align 4
%167 = add nsw i32 %166, 1
%168 = call i32 @free_matrix(ptr noundef %163, i32 noundef 0, i32 noundef %165, i32 noundef 0, i32 noundef %167)
%169 = load ptr, ptr %35, align 8
%170 = load i32, ptr %10, align 4
%171 = add nsw i32 %170, 1
%172 = load i32, ptr %11, align 4
%173 = add nsw i32 %172, 1
%174 = call i32 @free_matrix(ptr noundef %169, i32 noundef 0, i32 noundef %171, i32 noundef 0, i32 noundef %173)
%175 = load ptr, ptr %36, align 8
%176 = load i32, ptr %10, align 4
%177 = add nsw i32 %176, 1
%178 = load i32, ptr %11, align 4
%179 = add nsw i32 %178, 1
%180 = call i32 @free_matrix(ptr noundef %175, i32 noundef 0, i32 noundef %177, i32 noundef 0, i32 noundef %179)
%181 = load ptr, ptr %37, align 8
%182 = load i32, ptr %10, align 4
%183 = add nsw i32 %182, 1
%184 = load i32, ptr %11, align 4
%185 = add nsw i32 %184, 1
%186 = call i32 @free_matrix(ptr noundef %181, i32 noundef 0, i32 noundef %183, i32 noundef 0, i32 noundef %185)
store i32 -1, ptr %3, align 4
br label %187
187: ; preds = %149, %42
%188 = load i32, ptr %3, align 4
ret i32 %188
}
declare i32 @read_parameters(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @init_uvp(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @calculate_dt(double noundef, double noundef, ptr noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @boundaryvalues(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_fg(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_rs(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sor(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_uv(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7vv41ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cavity100.dat\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"ERROR: Input parameters potentially corrupt!\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"res=%f, it=%u \00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"End of simulation...hooray! \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 i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store double 0.000000e+00, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
store double 0.000000e+00, ptr %25, align 8
store double 0.000000e+00, ptr %26, align 8
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store double 0.000000e+00, ptr %31, align 8
store ptr null, ptr %32, align 8
store ptr null, ptr %33, align 8
store ptr null, ptr %34, align 8
store ptr null, ptr %35, align 8
store ptr null, ptr %36, align 8
store ptr null, ptr %37, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @read_parameters(ptr noundef %38, ptr noundef %26, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %27, ptr noundef %28, ptr noundef %15, ptr noundef %8, ptr noundef %9, ptr noundef %16, ptr noundef %12, ptr noundef %13, ptr noundef %10, ptr noundef %11, ptr noundef %25, ptr noundef %24, ptr noundef %17, ptr noundef %20, ptr noundef %23, ptr noundef %18)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp ne i32 %40, 1
br i1 %41, label %42, label %44
42: ; preds = %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %189
44: ; preds = %2
%45 = load double, ptr %29, align 8
%46 = load double, ptr %30, align 8
%47 = load double, ptr %31, align 8
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = call i32 @init_uvp(double noundef %45, double noundef %46, double noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %32, ptr noundef %33, ptr noundef %34)
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
%55 = call ptr @matrix(i32 noundef 0, i32 noundef %52, i32 noundef 0, i32 noundef %54)
store ptr %55, ptr %35, align 8
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
%58 = load i32, ptr %11, align 4
%59 = add nsw i32 %58, 1
%60 = call ptr @matrix(i32 noundef 0, i32 noundef %57, i32 noundef 0, i32 noundef %59)
store ptr %60, ptr %36, align 8
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, 1
%65 = call ptr @matrix(i32 noundef 0, i32 noundef %62, i32 noundef 0, i32 noundef %64)
store ptr %65, ptr %37, align 8
%66 = load double, ptr %14, align 8
%67 = load double, ptr %15, align 8
%68 = fcmp olt double %66, %67
br i1 %68, label %.lr.ph, label %151
.lr.ph: ; preds = %44
br label %69
69: ; preds = %.lr.ph, %128
%70 = load double, ptr %26, align 8
%71 = load double, ptr %17, align 8
%72 = load double, ptr %12, align 8
%73 = load double, ptr %13, align 8
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %11, align 4
%76 = load ptr, ptr %32, align 8
%77 = load ptr, ptr %33, align 8
%78 = call i32 @calculate_dt(double noundef %70, double noundef %71, ptr noundef %16, double noundef %72, double noundef %73, i32 noundef %74, i32 noundef %75, ptr noundef %76, ptr noundef %77)
%79 = load i32, ptr %10, align 4
%80 = load i32, ptr %11, align 4
%81 = load ptr, ptr %32, align 8
%82 = load ptr, ptr %33, align 8
%83 = call i32 @boundaryvalues(i32 noundef %79, i32 noundef %80, ptr noundef %81, ptr noundef %82)
%84 = load double, ptr %26, align 8
%85 = load double, ptr %27, align 8
%86 = load double, ptr %28, align 8
%87 = load double, ptr %25, align 8
%88 = load double, ptr %16, align 8
%89 = load double, ptr %12, align 8
%90 = load double, ptr %13, align 8
%91 = load i32, ptr %10, align 4
%92 = load i32, ptr %11, align 4
%93 = load ptr, ptr %32, align 8
%94 = load ptr, ptr %33, align 8
%95 = load ptr, ptr %36, align 8
%96 = load ptr, ptr %37, align 8
%97 = call i32 @calculate_fg(double noundef %84, double noundef %85, double noundef %86, double noundef %87, double noundef %88, double noundef %89, double noundef %90, i32 noundef %91, i32 noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef %96)
%98 = load double, ptr %16, align 8
%99 = load double, ptr %12, align 8
%100 = load double, ptr %13, align 8
%101 = load i32, ptr %10, align 4
%102 = load i32, ptr %11, align 4
%103 = load ptr, ptr %36, align 8
%104 = load ptr, ptr %37, align 8
%105 = load ptr, ptr %35, align 8
%106 = call i32 @calculate_rs(double noundef %98, double noundef %99, double noundef %100, i32 noundef %101, i32 noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105)
store i32 0, ptr %21, align 4
br label %107
107: ; preds = %126, %69
%108 = load double, ptr %24, align 8
%109 = load double, ptr %12, align 8
%110 = load double, ptr %13, align 8
%111 = load i32, ptr %10, align 4
%112 = load i32, ptr %11, align 4
%113 = load ptr, ptr %34, align 8
%114 = load ptr, ptr %35, align 8
%115 = call i32 @sor(double noundef %108, double noundef %109, double noundef %110, i32 noundef %111, i32 noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %22)
%116 = load i32, ptr %21, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %21, align 4
br label %118
118: ; preds = %107
%119 = load i32, ptr %21, align 4
%120 = load i32, ptr %20, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %122, label %126
122: ; preds = %118
%123 = load double, ptr %22, align 8
%124 = load double, ptr %23, align 8
%125 = fcmp ogt double %123, %124
br label %126
126: ; preds = %122, %118
%127 = phi i1 [ false, %118 ], [ %125, %122 ]
br i1 %127, label %107, label %128, !llvm.loop !6
128: ; preds = %126
%129 = load double, ptr %22, align 8
%130 = load i32, ptr %21, align 4
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %129, i32 noundef %130)
%132 = load double, ptr %16, align 8
%133 = load double, ptr %12, align 8
%134 = load double, ptr %13, align 8
%135 = load i32, ptr %10, align 4
%136 = load i32, ptr %11, align 4
%137 = load ptr, ptr %32, align 8
%138 = load ptr, ptr %33, align 8
%139 = load ptr, ptr %36, align 8
%140 = load ptr, ptr %37, align 8
%141 = load ptr, ptr %34, align 8
%142 = call i32 @calculate_uv(double noundef %132, double noundef %133, double noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141)
%143 = load i32, ptr %19, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %19, align 4
%145 = load double, ptr %16, align 8
%146 = load double, ptr %14, align 8
%147 = fadd double %146, %145
store double %147, ptr %14, align 8
%148 = load double, ptr %14, align 8
%149 = load double, ptr %15, align 8
%150 = fcmp olt double %148, %149
br i1 %150, label %69, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %128
br label %151
151: ; preds = %._crit_edge, %44
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%153 = load ptr, ptr %32, align 8
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %154, 1
%156 = load i32, ptr %11, align 4
%157 = add nsw i32 %156, 1
%158 = call i32 @free_matrix(ptr noundef %153, i32 noundef 0, i32 noundef %155, i32 noundef 0, i32 noundef %157)
%159 = load ptr, ptr %33, align 8
%160 = load i32, ptr %10, align 4
%161 = add nsw i32 %160, 1
%162 = load i32, ptr %11, align 4
%163 = add nsw i32 %162, 1
%164 = call i32 @free_matrix(ptr noundef %159, i32 noundef 0, i32 noundef %161, i32 noundef 0, i32 noundef %163)
%165 = load ptr, ptr %34, align 8
%166 = load i32, ptr %10, align 4
%167 = add nsw i32 %166, 1
%168 = load i32, ptr %11, align 4
%169 = add nsw i32 %168, 1
%170 = call i32 @free_matrix(ptr noundef %165, i32 noundef 0, i32 noundef %167, i32 noundef 0, i32 noundef %169)
%171 = load ptr, ptr %35, align 8
%172 = load i32, ptr %10, align 4
%173 = add nsw i32 %172, 1
%174 = load i32, ptr %11, align 4
%175 = add nsw i32 %174, 1
%176 = call i32 @free_matrix(ptr noundef %171, i32 noundef 0, i32 noundef %173, i32 noundef 0, i32 noundef %175)
%177 = load ptr, ptr %36, align 8
%178 = load i32, ptr %10, align 4
%179 = add nsw i32 %178, 1
%180 = load i32, ptr %11, align 4
%181 = add nsw i32 %180, 1
%182 = call i32 @free_matrix(ptr noundef %177, i32 noundef 0, i32 noundef %179, i32 noundef 0, i32 noundef %181)
%183 = load ptr, ptr %37, align 8
%184 = load i32, ptr %10, align 4
%185 = add nsw i32 %184, 1
%186 = load i32, ptr %11, align 4
%187 = add nsw i32 %186, 1
%188 = call i32 @free_matrix(ptr noundef %183, i32 noundef 0, i32 noundef %185, i32 noundef 0, i32 noundef %187)
store i32 -1, ptr %3, align 4
br label %189
189: ; preds = %151, %42
%190 = load i32, ptr %3, align 4
ret i32 %190
}
declare i32 @read_parameters(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @init_uvp(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @calculate_dt(double noundef, double noundef, ptr noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @boundaryvalues(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_fg(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_rs(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sor(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calculate_uv(double noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyk7wcrcy.c'
source_filename = "/tmp/tmpyk7wcrcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawbox(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5) #0 {
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
store i8 %0, ptr %7, align 1
store i8 %1, ptr %8, align 1
store i8 %2, ptr %9, align 1
store i8 %3, ptr %10, align 1
store i8 %4, ptr %11, align 1
store i8 %5, ptr %12, align 1
%14 = load i8, ptr %7, align 1
%15 = load i8, ptr %8, align 1
%16 = load i8, ptr %12, align 1
%17 = call i32 @gotoxy(i8 noundef signext %14, i8 noundef signext %15, i8 noundef signext %16)
%18 = load i8, ptr %11, align 1
%19 = load i8, ptr %12, align 1
%20 = call i32 @cprint(i32 noundef 218, i8 noundef signext %18, i32 noundef 1, i8 noundef signext %19)
%21 = load i8, ptr %7, align 1
%22 = load i8, ptr %8, align 1
%23 = sext i8 %22 to i32
%24 = add nsw i32 %23, 1
%25 = trunc i32 %24 to i8
%26 = load i8, ptr %12, align 1
%27 = call i32 @gotoxy(i8 noundef signext %21, i8 noundef signext %25, i8 noundef signext %26)
%28 = load i8, ptr %11, align 1
%29 = load i8, ptr %10, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr %8, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %30, %32
%34 = load i8, ptr %12, align 1
%35 = call i32 @cprint(i32 noundef 196, i8 noundef signext %28, i32 noundef %33, i8 noundef signext %34)
%36 = load i8, ptr %7, align 1
%37 = load i8, ptr %10, align 1
%38 = load i8, ptr %12, align 1
%39 = call i32 @gotoxy(i8 noundef signext %36, i8 noundef signext %37, i8 noundef signext %38)
%40 = load i8, ptr %11, align 1
%41 = load i8, ptr %12, align 1
%42 = call i32 @cprint(i32 noundef 191, i8 noundef signext %40, i32 noundef 1, i8 noundef signext %41)
%43 = load i8, ptr %9, align 1
%44 = load i8, ptr %8, align 1
%45 = load i8, ptr %12, align 1
%46 = call i32 @gotoxy(i8 noundef signext %43, i8 noundef signext %44, i8 noundef signext %45)
%47 = load i8, ptr %11, align 1
%48 = load i8, ptr %12, align 1
%49 = call i32 @cprint(i32 noundef 192, i8 noundef signext %47, i32 noundef 1, i8 noundef signext %48)
%50 = load i8, ptr %9, align 1
%51 = load i8, ptr %8, align 1
%52 = sext i8 %51 to i32
%53 = add nsw i32 %52, 1
%54 = trunc i32 %53 to i8
%55 = load i8, ptr %12, align 1
%56 = call i32 @gotoxy(i8 noundef signext %50, i8 noundef signext %54, i8 noundef signext %55)
%57 = load i8, ptr %11, align 1
%58 = load i8, ptr %10, align 1
%59 = sext i8 %58 to i32
%60 = load i8, ptr %8, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %59, %61
%63 = load i8, ptr %12, align 1
%64 = call i32 @cprint(i32 noundef 196, i8 noundef signext %57, i32 noundef %62, i8 noundef signext %63)
%65 = load i8, ptr %9, align 1
%66 = load i8, ptr %10, align 1
%67 = load i8, ptr %12, align 1
%68 = call i32 @gotoxy(i8 noundef signext %65, i8 noundef signext %66, i8 noundef signext %67)
%69 = load i8, ptr %11, align 1
%70 = load i8, ptr %12, align 1
%71 = call i32 @cprint(i32 noundef 217, i8 noundef signext %69, i32 noundef 1, i8 noundef signext %70)
%72 = load i8, ptr %7, align 1
%73 = sext i8 %72 to i32
%74 = add nsw i32 %73, 1
%75 = trunc i32 %74 to i8
store i8 %75, ptr %13, align 1
br label %76
76: ; preds = %97, %6
%77 = load i8, ptr %13, align 1
%78 = sext i8 %77 to i32
%79 = load i8, ptr %9, align 1
%80 = sext i8 %79 to i32
%81 = icmp slt i32 %78, %80
br i1 %81, label %82, label %100
82: ; preds = %76
%83 = load i8, ptr %13, align 1
%84 = load i8, ptr %8, align 1
%85 = load i8, ptr %12, align 1
%86 = call i32 @gotoxy(i8 noundef signext %83, i8 noundef signext %84, i8 noundef signext %85)
%87 = load i8, ptr %11, align 1
%88 = load i8, ptr %12, align 1
%89 = call i32 @cprint(i32 noundef 179, i8 noundef signext %87, i32 noundef 1, i8 noundef signext %88)
%90 = load i8, ptr %13, align 1
%91 = load i8, ptr %10, align 1
%92 = load i8, ptr %12, align 1
%93 = call i32 @gotoxy(i8 noundef signext %90, i8 noundef signext %91, i8 noundef signext %92)
%94 = load i8, ptr %11, align 1
%95 = load i8, ptr %12, align 1
%96 = call i32 @cprint(i32 noundef 179, i8 noundef signext %94, i32 noundef 1, i8 noundef signext %95)
br label %97
97: ; preds = %82
%98 = load i8, ptr %13, align 1
%99 = add i8 %98, 1
store i8 %99, ptr %13, align 1
br label %76, !llvm.loop !6
100: ; preds = %76
ret void
}
declare i32 @gotoxy(i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @cprint(i32 noundef, i8 noundef signext, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyk7wcrcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawbox(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5) #0 {
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
store i8 %0, ptr %7, align 1
store i8 %1, ptr %8, align 1
store i8 %2, ptr %9, align 1
store i8 %3, ptr %10, align 1
store i8 %4, ptr %11, align 1
store i8 %5, ptr %12, align 1
%14 = load i8, ptr %7, align 1
%15 = load i8, ptr %8, align 1
%16 = load i8, ptr %12, align 1
%17 = call i32 @gotoxy(i8 noundef signext %14, i8 noundef signext %15, i8 noundef signext %16)
%18 = load i8, ptr %11, align 1
%19 = load i8, ptr %12, align 1
%20 = call i32 @cprint(i32 noundef 218, i8 noundef signext %18, i32 noundef 1, i8 noundef signext %19)
%21 = load i8, ptr %7, align 1
%22 = load i8, ptr %8, align 1
%23 = sext i8 %22 to i32
%24 = add nsw i32 %23, 1
%25 = trunc i32 %24 to i8
%26 = load i8, ptr %12, align 1
%27 = call i32 @gotoxy(i8 noundef signext %21, i8 noundef signext %25, i8 noundef signext %26)
%28 = load i8, ptr %11, align 1
%29 = load i8, ptr %10, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr %8, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %30, %32
%34 = load i8, ptr %12, align 1
%35 = call i32 @cprint(i32 noundef 196, i8 noundef signext %28, i32 noundef %33, i8 noundef signext %34)
%36 = load i8, ptr %7, align 1
%37 = load i8, ptr %10, align 1
%38 = load i8, ptr %12, align 1
%39 = call i32 @gotoxy(i8 noundef signext %36, i8 noundef signext %37, i8 noundef signext %38)
%40 = load i8, ptr %11, align 1
%41 = load i8, ptr %12, align 1
%42 = call i32 @cprint(i32 noundef 191, i8 noundef signext %40, i32 noundef 1, i8 noundef signext %41)
%43 = load i8, ptr %9, align 1
%44 = load i8, ptr %8, align 1
%45 = load i8, ptr %12, align 1
%46 = call i32 @gotoxy(i8 noundef signext %43, i8 noundef signext %44, i8 noundef signext %45)
%47 = load i8, ptr %11, align 1
%48 = load i8, ptr %12, align 1
%49 = call i32 @cprint(i32 noundef 192, i8 noundef signext %47, i32 noundef 1, i8 noundef signext %48)
%50 = load i8, ptr %9, align 1
%51 = load i8, ptr %8, align 1
%52 = sext i8 %51 to i32
%53 = add nsw i32 %52, 1
%54 = trunc i32 %53 to i8
%55 = load i8, ptr %12, align 1
%56 = call i32 @gotoxy(i8 noundef signext %50, i8 noundef signext %54, i8 noundef signext %55)
%57 = load i8, ptr %11, align 1
%58 = load i8, ptr %10, align 1
%59 = sext i8 %58 to i32
%60 = load i8, ptr %8, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %59, %61
%63 = load i8, ptr %12, align 1
%64 = call i32 @cprint(i32 noundef 196, i8 noundef signext %57, i32 noundef %62, i8 noundef signext %63)
%65 = load i8, ptr %9, align 1
%66 = load i8, ptr %10, align 1
%67 = load i8, ptr %12, align 1
%68 = call i32 @gotoxy(i8 noundef signext %65, i8 noundef signext %66, i8 noundef signext %67)
%69 = load i8, ptr %11, align 1
%70 = load i8, ptr %12, align 1
%71 = call i32 @cprint(i32 noundef 217, i8 noundef signext %69, i32 noundef 1, i8 noundef signext %70)
%72 = load i8, ptr %7, align 1
%73 = sext i8 %72 to i32
%74 = add nsw i32 %73, 1
%75 = trunc i32 %74 to i8
store i8 %75, ptr %13, align 1
%76 = load i8, ptr %13, align 1
%77 = sext i8 %76 to i32
%78 = load i8, ptr %9, align 1
%79 = sext i8 %78 to i32
%80 = icmp slt i32 %77, %79
br i1 %80, label %.lr.ph, label %104
.lr.ph: ; preds = %6
br label %81
81: ; preds = %.lr.ph, %96
%82 = load i8, ptr %13, align 1
%83 = load i8, ptr %8, align 1
%84 = load i8, ptr %12, align 1
%85 = call i32 @gotoxy(i8 noundef signext %82, i8 noundef signext %83, i8 noundef signext %84)
%86 = load i8, ptr %11, align 1
%87 = load i8, ptr %12, align 1
%88 = call i32 @cprint(i32 noundef 179, i8 noundef signext %86, i32 noundef 1, i8 noundef signext %87)
%89 = load i8, ptr %13, align 1
%90 = load i8, ptr %10, align 1
%91 = load i8, ptr %12, align 1
%92 = call i32 @gotoxy(i8 noundef signext %89, i8 noundef signext %90, i8 noundef signext %91)
%93 = load i8, ptr %11, align 1
%94 = load i8, ptr %12, align 1
%95 = call i32 @cprint(i32 noundef 179, i8 noundef signext %93, i32 noundef 1, i8 noundef signext %94)
br label %96
96: ; preds = %81
%97 = load i8, ptr %13, align 1
%98 = add i8 %97, 1
store i8 %98, ptr %13, align 1
%99 = load i8, ptr %13, align 1
%100 = sext i8 %99 to i32
%101 = load i8, ptr %9, align 1
%102 = sext i8 %101 to i32
%103 = icmp slt i32 %100, %102
br i1 %103, label %81, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %96
br label %104
104: ; preds = %._crit_edge, %6
ret void
}
declare i32 @gotoxy(i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @cprint(i32 noundef, i8 noundef signext, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzu1zy1oq.c'
source_filename = "/tmp/tmpzu1zy1oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"_Q_qtou\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Q_qtou() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzu1zy1oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"_Q_qtou\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Q_qtou() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp608734mk.c'
source_filename = "/tmp/tmp608734mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"group\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"Unknown database: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
switch i32 %13, label %70 [
i32 103, label %14
i32 112, label %42
]
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %40
20: ; preds = %14
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %33
23: ; preds = %20
%24 = call i32 (...) @setgrent()
br label %25
25: ; preds = %28, %23
%26 = call ptr (...) @getgrent()
store ptr %26, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = call i32 @print_group(ptr noundef %29)
br label %25, !llvm.loop !6
31: ; preds = %25
%32 = call i32 (...) @endgrent()
br label %39
33: ; preds = %20
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 2
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = call i32 @group_keys(i32 noundef %35, ptr noundef %37)
store i32 %38, ptr %3, align 4
br label %78
39: ; preds = %31
br label %41
40: ; preds = %14
br label %71
41: ; preds = %39
br label %77
42: ; preds = %2
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.1)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %68
48: ; preds = %42
%49 = load i32, ptr %4, align 4
%50 = icmp eq i32 %49, 2
br i1 %50, label %51, label %61
51: ; preds = %48
%52 = call i32 (...) @setpwent()
br label %53
53: ; preds = %56, %51
%54 = call ptr (...) @getpwent()
store ptr %54, ptr %7, align 8
%55 = icmp ne ptr %54, null
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load ptr, ptr %7, align 8
%58 = call i32 @print_passwd(ptr noundef %57)
br label %53, !llvm.loop !8
59: ; preds = %53
%60 = call i32 (...) @endpwent()
br label %67
61: ; preds = %48
%62 = load i32, ptr %4, align 4
%63 = sub nsw i32 %62, 2
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 2
%66 = call i32 @passwd_keys(i32 noundef %63, ptr noundef %65)
store i32 %66, ptr %3, align 4
br label %78
67: ; preds = %59
br label %69
68: ; preds = %42
br label %71
69: ; preds = %67
br label %77
70: ; preds = %2
br label %71
71: ; preds = %70, %68, %40
%72 = load i32, ptr @stderr, align 4
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 1
%75 = load ptr, ptr %74, align 8
%76 = call i32 @fprintf(i32 noundef %72, ptr noundef @.str.2, ptr noundef %75)
store i32 1, ptr %3, align 4
br label %78
77: ; preds = %69, %41
store i32 0, ptr %3, align 4
br label %78
78: ; preds = %77, %71, %61, %33
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @setgrent(...) #1
declare ptr @getgrent(...) #1
declare i32 @print_group(ptr noundef) #1
declare i32 @endgrent(...) #1
declare i32 @group_keys(i32 noundef, ptr noundef) #1
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @print_passwd(ptr noundef) #1
declare i32 @endpwent(...) #1
declare i32 @passwd_keys(i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp608734mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"group\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"Unknown database: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
switch i32 %13, label %72 [
i32 103, label %14
i32 112, label %43
]
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %41
20: ; preds = %14
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = call i32 (...) @setgrent()
%25 = call ptr (...) @getgrent()
store ptr %25, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %.lr.ph2, label %32
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %27
%28 = load ptr, ptr %6, align 8
%29 = call i32 @print_group(ptr noundef %28)
%30 = call ptr (...) @getgrent()
store ptr %30, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %27, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %23
%33 = call i32 (...) @endgrent()
br label %40
34: ; preds = %20
%35 = load i32, ptr %4, align 4
%36 = sub nsw i32 %35, 2
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = call i32 @group_keys(i32 noundef %36, ptr noundef %38)
store i32 %39, ptr %3, align 4
br label %80
40: ; preds = %32
br label %42
41: ; preds = %14
br label %73
42: ; preds = %40
br label %79
43: ; preds = %2
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.1)
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %70
49: ; preds = %43
%50 = load i32, ptr %4, align 4
%51 = icmp eq i32 %50, 2
br i1 %51, label %52, label %63
52: ; preds = %49
%53 = call i32 (...) @setpwent()
%54 = call ptr (...) @getpwent()
store ptr %54, ptr %7, align 8
%55 = icmp ne ptr %54, null
br i1 %55, label %.lr.ph, label %61
.lr.ph: ; preds = %52
br label %56
56: ; preds = %.lr.ph, %56
%57 = load ptr, ptr %7, align 8
%58 = call i32 @print_passwd(ptr noundef %57)
%59 = call ptr (...) @getpwent()
store ptr %59, ptr %7, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %56, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %52
%62 = call i32 (...) @endpwent()
br label %69
63: ; preds = %49
%64 = load i32, ptr %4, align 4
%65 = sub nsw i32 %64, 2
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 2
%68 = call i32 @passwd_keys(i32 noundef %65, ptr noundef %67)
store i32 %68, ptr %3, align 4
br label %80
69: ; preds = %61
br label %71
70: ; preds = %43
br label %73
71: ; preds = %69
br label %79
72: ; preds = %2
br label %73
73: ; preds = %72, %70, %41
%74 = load i32, ptr @stderr, align 4
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds ptr, ptr %75, i64 1
%77 = load ptr, ptr %76, align 8
%78 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.2, ptr noundef %77)
store i32 1, ptr %3, align 4
br label %80
79: ; preds = %71, %42
store i32 0, ptr %3, align 4
br label %80
80: ; preds = %79, %73, %63, %34
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @setgrent(...) #1
declare ptr @getgrent(...) #1
declare i32 @print_group(ptr noundef) #1
declare i32 @endgrent(...) #1
declare i32 @group_keys(i32 noundef, ptr noundef) #1
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @print_passwd(ptr noundef) #1
declare i32 @endpwent(...) #1
declare i32 @passwd_keys(i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1bngowvz.c'
source_filename = "/tmp/tmp1bngowvz.c"
target datalayout = "e-m:e-p270: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/tmp1bngowvz.c"
target datalayout = "e-m:e-p270: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/tmpvolla7uu.c'
source_filename = "/tmp/tmpvolla7uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%04x: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %6, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
br label %81
16: ; preds = %3
store i32 0, ptr %9, align 4
br label %17
17: ; preds = %75, %16
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ult i32 %18, %19
br i1 %20, label %21, label %80
21: ; preds = %17
%22 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
store ptr %22, ptr %11, align 8
%23 = load ptr, ptr %11, align 8
%24 = load i32, ptr %9, align 4
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str, i32 noundef %24)
%26 = load ptr, ptr %11, align 8
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store ptr %28, ptr %11, align 8
store i32 0, ptr %10, align 4
br label %29
29: ; preds = %68, %21
%30 = load i32, ptr %10, align 4
%31 = icmp ult i32 %30, 16
br i1 %31, label %32, label %71
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = add i32 %33, %34
%36 = load i32, ptr %6, align 4
%37 = icmp ult i32 %35, %36
br i1 %37, label %38, label %51
38: ; preds = %32
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %10, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = and i32 %45, 255
%47 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.1, i32 noundef %46)
%48 = load ptr, ptr %11, align 8
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %48, i64 %49
store ptr %50, ptr %11, align 8
br label %57
51: ; preds = %32
%52 = load ptr, ptr %11, align 8
%53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %52, ptr noundef @.str.2)
%54 = load ptr, ptr %11, align 8
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, ptr %54, i64 %55
store ptr %56, ptr %11, align 8
br label %57
57: ; preds = %51, %38
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %10, align 4
%60 = urem i32 %59, 2
%61 = icmp ne i32 %60, 0
%62 = zext i1 %61 to i64
%63 = select i1 %61, ptr @.str.3, ptr @.str.4
%64 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %58, ptr noundef %63)
%65 = load ptr, ptr %11, align 8
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds i8, ptr %65, i64 %66
store ptr %67, ptr %11, align 8
br label %68
68: ; preds = %57
%69 = load i32, ptr %10, align 4
%70 = add i32 %69, 1
store i32 %70, ptr %10, align 4
br label %29, !llvm.loop !6
71: ; preds = %29
%72 = load i32, ptr %4, align 4
%73 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%74 = call i32 @syslog(i32 noundef %72, ptr noundef @.str.5, ptr noundef %73)
br label %75
75: ; preds = %71
%76 = load i32, ptr %9, align 4
%77 = add i32 %76, 16
store i32 %77, ptr %9, align 4
%78 = load ptr, ptr %8, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 16
store ptr %79, ptr %8, align 8
br label %17, !llvm.loop !8
80: ; preds = %17
br label %81
81: ; preds = %80, %15
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvolla7uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%04x: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %6, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
br label %84
16: ; preds = %3
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %.lr.ph2, label %83
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %75
%21 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
store ptr %21, ptr %11, align 8
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %9, align 4
%24 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str, i32 noundef %23)
%25 = load ptr, ptr %11, align 8
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %11, align 8
store i32 0, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = icmp ult i32 %28, 16
br i1 %29, label %.lr.ph, label %71
.lr.ph: ; preds = %20
br label %30
30: ; preds = %.lr.ph, %66
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %10, align 4
%33 = add i32 %31, %32
%34 = load i32, ptr %6, align 4
%35 = icmp ult i32 %33, %34
br i1 %35, label %36, label %49
36: ; preds = %30
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %10, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = and i32 %43, 255
%45 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %37, ptr noundef @.str.1, i32 noundef %44)
%46 = load ptr, ptr %11, align 8
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store ptr %48, ptr %11, align 8
br label %55
49: ; preds = %30
%50 = load ptr, ptr %11, align 8
%51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %50, ptr noundef @.str.2)
%52 = load ptr, ptr %11, align 8
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds i8, ptr %52, i64 %53
store ptr %54, ptr %11, align 8
br label %55
55: ; preds = %49, %36
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %10, align 4
%58 = urem i32 %57, 2
%59 = icmp ne i32 %58, 0
%60 = zext i1 %59 to i64
%61 = select i1 %59, ptr @.str.3, ptr @.str.4
%62 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %56, ptr noundef %61)
%63 = load ptr, ptr %11, align 8
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %63, i64 %64
store ptr %65, ptr %11, align 8
br label %66
66: ; preds = %55
%67 = load i32, ptr %10, align 4
%68 = add i32 %67, 1
store i32 %68, ptr %10, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp ult i32 %69, 16
br i1 %70, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %71
71: ; preds = %._crit_edge, %20
%72 = load i32, ptr %4, align 4
%73 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%74 = call i32 @syslog(i32 noundef %72, ptr noundef @.str.5, ptr noundef %73)
br label %75
75: ; preds = %71
%76 = load i32, ptr %9, align 4
%77 = add i32 %76, 16
store i32 %77, ptr %9, align 4
%78 = load ptr, ptr %8, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 16
store ptr %79, ptr %8, align 8
%80 = load i32, ptr %9, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp ult i32 %80, %81
br i1 %82, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %83
83: ; preds = %._crit_edge3, %16
br label %84
84: ; preds = %83, %15
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1x4mxxad.c'
source_filename = "/tmp/tmp1x4mxxad.c"
target datalayout = "e-m:e-p270: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/tmp1x4mxxad.c"
target datalayout = "e-m:e-p270: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/tmp7cvul57p.c'
source_filename = "/tmp/tmp7cvul57p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @nearbyint(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @llvm.trunc.f64(double %3)
ret double %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.trunc.f64(double) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7cvul57p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @nearbyint(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @llvm.trunc.f64(double %3)
ret double %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.trunc.f64(double) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphcnmnntv.c'
source_filename = "/tmp/tmphcnmnntv.c"
target datalayout = "e-m:e-p270: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/tmphcnmnntv.c"
target datalayout = "e-m:e-p270: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/tmpfhs3n0tn.c'
source_filename = "/tmp/tmpfhs3n0tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PQCLEAN_KYBER512_CLEAN_barrett_reduce(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 20159, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 20159, %5
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = ashr i32 %7, 26
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %9, 3329
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %11, %12
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfhs3n0tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PQCLEAN_KYBER512_CLEAN_barrett_reduce(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 20159, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 20159, %5
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = ashr i32 %7, 26
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %9, 3329
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %11, %12
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcxwbjjle.c'
source_filename = "/tmp/tmpcxwbjjle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_api_redroid_buildinfo() #0 {
%1 = call ptr (...) @redroid_buildinfo()
ret ptr %1
}
declare ptr @redroid_buildinfo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcxwbjjle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_api_redroid_buildinfo() #0 {
%1 = call ptr (...) @redroid_buildinfo()
ret ptr %1
}
declare ptr @redroid_buildinfo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdrrmf5c6.c'
source_filename = "/tmp/tmpdrrmf5c6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [48 x i8] c"%s:%d: error opening file '%s' in mode '%s': %s\00", align 1
@.str.1 = private unnamed_addr constant [137 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bmvdgeijn/WASP/refs/heads/master/snp2h5/util.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @util_must_fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr @errno, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr @errno, align 8
%15 = call i32 @strerror(i64 noundef %14)
%16 = call i32 @my_err(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1042, ptr noundef %12, ptr noundef %13, i32 noundef %15)
br label %17
17: ; preds = %11, %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @my_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdrrmf5c6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [48 x i8] c"%s:%d: error opening file '%s' in mode '%s': %s\00", align 1
@.str.1 = private unnamed_addr constant [137 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bmvdgeijn/WASP/refs/heads/master/snp2h5/util.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @util_must_fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr @errno, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr @errno, align 8
%15 = call i32 @strerror(i64 noundef %14)
%16 = call i32 @my_err(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1042, ptr noundef %12, ptr noundef %13, i32 noundef %15)
br label %17
17: ; preds = %11, %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @my_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6vf1yucm.c'
source_filename = "/tmp/tmp6vf1yucm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter dividend: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Enter non-zero divisor: \0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Quotient = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Remainder = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sdiv i32 %8, %9
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %14)
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/tmp6vf1yucm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter dividend: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Enter non-zero divisor: \0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Quotient = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Remainder = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sdiv i32 %8, %9
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %14)
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/tmpgfqxaepq.c'
source_filename = "/tmp/tmpgfqxaepq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findPairPar(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
store i32 -1, ptr %11, align 4
%12 = load ptr, ptr %7, align 8
store i32 -1, ptr %12, align 4
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %74, %4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %77
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %42
31: ; preds = %21
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, 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, 91
br i1 %38, label %39, label %42
39: ; preds = %31
%40 = load i32, ptr %9, align 4
%41 = load ptr, ptr %6, align 8
store i32 %40, ptr %41, align 4
store i32 1, ptr %10, align 4
br label %73
42: ; preds = %31, %21
%43 = load i32, ptr %10, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %56
45: ; preds = %42
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 91
br i1 %52, label %53, label %56
53: ; preds = %45
store ptr null, ptr %8, align 8
%54 = load ptr, ptr %6, align 8
store i32 -1, ptr %54, align 4
%55 = load ptr, ptr %7, align 8
store i32 -1, ptr %55, align 4
br label %77
56: ; preds = %45, %42
%57 = load i32, ptr %10, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %70
59: ; preds = %56
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 93
br i1 %66, label %67, label %70
67: ; preds = %59
%68 = load i32, ptr %9, align 4
%69 = load ptr, ptr %7, align 8
store i32 %68, ptr %69, align 4
store i32 2, ptr %10, align 4
br label %77
70: ; preds = %59, %56
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72, %39
br label %74
74: ; preds = %73
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %9, align 4
br label %13, !llvm.loop !6
77: ; preds = %67, %53, %13
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgfqxaepq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findPairPar(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
store i32 -1, ptr %11, align 4
%12 = load ptr, ptr %7, align 8
store i32 -1, ptr %12, align 4
store i32 0, ptr %9, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %9, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %73
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %9, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %20
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, 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, 91
br i1 %37, label %38, label %41
38: ; preds = %30
%39 = load i32, ptr %9, align 4
%40 = load ptr, ptr %6, align 8
store i32 %39, ptr %40, align 4
store i32 1, ptr %10, align 4
br label %72
41: ; preds = %30, %20
%42 = load i32, ptr %10, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %55
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 91
br i1 %51, label %52, label %55
52: ; preds = %44
store ptr null, ptr %8, align 8
%53 = load ptr, ptr %6, align 8
store i32 -1, ptr %53, align 4
%54 = load ptr, ptr %7, align 8
store i32 -1, ptr %54, align 4
br label %83
55: ; preds = %44, %41
%56 = load i32, ptr %10, align 4
%57 = icmp eq i32 %56, 1
br i1 %57, label %58, label %69
58: ; preds = %55
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 93
br i1 %65, label %66, label %69
66: ; preds = %58
%67 = load i32, ptr %9, align 4
%68 = load ptr, ptr %7, align 8
store i32 %67, ptr %68, align 4
store i32 2, ptr %10, align 4
br label %83
69: ; preds = %58, %55
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71, %38
br label %73
73: ; preds = %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 0
br i1 %82, label %20, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %73
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %83
83: ; preds = %.loopexit, %66, %52
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpux43l5il.c'
source_filename = "/tmp/tmpux43l5il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @divide_power2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @INT_MIN, align 4
%8 = and i32 %6, %7
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = shl i32 1, %13
%15 = add nsw i32 %12, %14
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %11, %2
%19 = phi i1 [ false, %2 ], [ %17, %11 ]
%20 = zext i1 %19 to i32
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = ashr i32 %21, %22
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpux43l5il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @divide_power2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @INT_MIN, align 4
%8 = and i32 %6, %7
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = shl i32 1, %13
%15 = add nsw i32 %12, %14
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %11, %2
%19 = phi i1 [ false, %2 ], [ %17, %11 ]
%20 = zext i1 %19 to i32
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = ashr i32 %21, %22
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3su_bzsx.c'
source_filename = "/tmp/tmp3su_bzsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"vmq-passwd is a tool for managing password files for VerneMQ.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Usage: vmq-passwd [-c | -D] passwordfile username\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" vmq-passwd -U passwordfile\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmp3su_bzsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"vmq-passwd is a tool for managing password files for VerneMQ.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Usage: vmq-passwd [-c | -D] passwordfile username\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" vmq-passwd -U passwordfile\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmp9d1t5ai8.c'
source_filename = "/tmp/tmp9d1t5ai8.c"
target datalayout = "e-m:e-p270: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/tmp9d1t5ai8.c"
target datalayout = "e-m:e-p270: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/tmplo8ve8wa.c'
source_filename = "/tmp/tmplo8ve8wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wipe(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr null, %5
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplo8ve8wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wipe(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr null, %5
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9bwrj866.c'
source_filename = "/tmp/tmp9bwrj866.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"one\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @one() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 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/tmp9bwrj866.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"one\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @one() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 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/tmptr0wbfe1.c'
source_filename = "/tmp/tmptr0wbfe1.c"
target datalayout = "e-m:e-p270: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/tmptr0wbfe1.c"
target datalayout = "e-m:e-p270: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/tmpz_n71d1t.c'
source_filename = "/tmp/tmpz_n71d1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_save_bar() #0 {
%1 = call i64 @menu_save(i32 noundef 0)
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 @reset_all_save(i32 noundef 0)
br label %5
5: ; preds = %3, %0
ret void
}
declare i64 @menu_save(i32 noundef) #1
declare i32 @reset_all_save(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/tmpz_n71d1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_save_bar() #0 {
%1 = call i64 @menu_save(i32 noundef 0)
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 @reset_all_save(i32 noundef 0)
br label %5
5: ; preds = %3, %0
ret void
}
declare i64 @menu_save(i32 noundef) #1
declare i32 @reset_all_save(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/tmp6iqf02wz.c'
source_filename = "/tmp/tmp6iqf02wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"=== Modif program initiated ===\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"asdfg.txt\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"def.txt\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"=== Modif program terminated ===\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @Print(ptr noundef @.str)
%2 = call i32 @MyCopy(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 40, i32 noundef 50)
%3 = call i32 @Print(ptr noundef @.str.3)
%4 = call i32 (...) @Halt()
ret void
}
declare i32 @Print(ptr noundef) #1
declare i32 @MyCopy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6iqf02wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"=== Modif program initiated ===\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"asdfg.txt\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"def.txt\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"=== Modif program terminated ===\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @Print(ptr noundef @.str)
%2 = call i32 @MyCopy(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 40, i32 noundef 50)
%3 = call i32 @Print(ptr noundef @.str.3)
%4 = call i32 (...) @Halt()
ret void
}
declare i32 @Print(ptr noundef) #1
declare i32 @MyCopy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpamfnhnek.c'
source_filename = "/tmp/tmpamfnhnek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm256_zeroupper() #0 {
call void (...) @_mm256_zeroupper()
ret void
}
declare void @_mm256_zeroupper(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamfnhnek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm256_zeroupper() #0 {
call void (...) @_mm256_zeroupper()
ret void
}
declare void @_mm256_zeroupper(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppw53xlhx.c'
source_filename = "/tmp/tmppw53xlhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppw53xlhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3hkxojx2.c'
source_filename = "/tmp/tmp3hkxojx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcall_float(i32 noundef %0, float noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %4, align 4
store float %1, ptr %5, align 4
%6 = load float, ptr %5, align 4
%7 = fcmp oeq float %6, 5.000000e-01
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 7, ptr %3, align 4
br label %17
9: ; preds = %2
%10 = call float (...) @mystery()
%11 = load float, ptr %5, align 4
%12 = fmul float %10, %11
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to float
%15 = fmul float %12, %14
%16 = fptosi float %15 to i32
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %9, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare float @mystery(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hkxojx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libcall_float(i32 noundef %0, float noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %4, align 4
store float %1, ptr %5, align 4
%6 = load float, ptr %5, align 4
%7 = fcmp oeq float %6, 5.000000e-01
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 7, ptr %3, align 4
br label %17
9: ; preds = %2
%10 = call float (...) @mystery()
%11 = load float, ptr %5, align 4
%12 = fmul float %10, %11
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to float
%15 = fmul float %12, %14
%16 = fptosi float %15 to i32
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %9, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare float @mystery(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpprsjumoo.c'
source_filename = "/tmp/tmpprsjumoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_to_infty() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %10, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @zero_or_ten(i32 noundef 0)
%6 = icmp slt i32 %4, %5
br i1 %6, label %7, label %13
7: ; preds = %3
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %3, !llvm.loop !6
13: ; preds = %3
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @zero_or_ten(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/tmpprsjumoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_to_infty() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @zero_or_ten(i32 noundef 0)
%5 = icmp slt i32 %3, %4
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @zero_or_ten(i32 noundef 0)
%14 = icmp slt i32 %12, %13
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @zero_or_ten(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/tmpq3bkczb1.c'
source_filename = "/tmp/tmpq3bkczb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"\E6\95\B0\E6\8D\AE\E4\B8\AA\E6\95\B0: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%d\E5\8F\B7: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [80 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 320, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %19, %0
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = call i32 @putchar(i8 noundef signext 91)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %35, %22
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = sub nsw i32 %26, 1
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %38
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33)
br label %35
35: ; preds = %29
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
br label %24, !llvm.loop !8
38: ; preds = %24
%39 = load i32, ptr %2, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
ret i32 0
}
; 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 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @putchar(i8 noundef signext) #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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq3bkczb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"\E6\95\B0\E6\8D\AE\E4\B8\AA\E6\95\B0: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%d\E5\8F\B7: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [80 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 320, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
%25 = call i32 @putchar(i8 noundef signext 91)
store i32 0, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %.lr.ph2, label %43
.lr.ph2: ; preds = %24
br label %30
30: ; preds = %.lr.ph2, %36
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %43
43: ; preds = %._crit_edge3, %24
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [80 x i32], ptr %4, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %47)
ret i32 0
}
; 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 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @putchar(i8 noundef signext) #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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps122gv1i.c'
source_filename = "/tmp/tmps122gv1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13() #0 {
%1 = call i64 (...) @f2()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %5
4: ; preds = %0
br label %5
5: ; preds = %4, %3
ret void
}
declare i64 @f2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps122gv1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13() #0 {
%1 = call i64 (...) @f2()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %5
4: ; preds = %0
br label %5
5: ; preds = %4, %3
ret void
}
declare i64 @f2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwpb9o7ov.c'
source_filename = "/tmp/tmpwpb9o7ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trigger_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @print_error(ptr noundef %3)
%5 = call i32 (...) @exit_error()
ret void
}
declare i32 @print_error(ptr noundef) #1
declare i32 @exit_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwpb9o7ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trigger_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @print_error(ptr noundef %3)
%5 = call i32 (...) @exit_error()
ret void
}
declare i32 @print_error(ptr noundef) #1
declare i32 @exit_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9312xc3x.c'
source_filename = "/tmp/tmp9312xc3x.c"
target datalayout = "e-m:e-p270: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/tmp9312xc3x.c"
target datalayout = "e-m:e-p270: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/tmpae8wsb_i.c'
source_filename = "/tmp/tmpae8wsb_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"cls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_menu(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %17, %4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %9)
%16 = call i32 @system(ptr noundef @.str.3)
br label %17
17: ; preds = %10
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @is_valid_item(i32 noundef %18, i32 noundef %19, i32 noundef %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %10, label %24, !llvm.loop !6
24: ; preds = %17
%25 = load i32, ptr %9, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @is_valid_item(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpae8wsb_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"cls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_menu(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %17, %4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %9)
%16 = call i32 @system(ptr noundef @.str.3)
br label %17
17: ; preds = %10
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @is_valid_item(i32 noundef %18, i32 noundef %19, i32 noundef %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %10, label %24, !llvm.loop !6
24: ; preds = %17
%25 = load i32, ptr %9, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @is_valid_item(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjszu7wtk.c'
source_filename = "/tmp/tmpjszu7wtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnd_broadcast(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 @__private_cond_signal(ptr noundef %3, i32 noundef -1)
ret i32 %4
}
declare i32 @__private_cond_signal(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/tmpjszu7wtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnd_broadcast(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 @__private_cond_signal(ptr noundef %3, i32 noundef -1)
ret i32 %4
}
declare i32 @__private_cond_signal(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/tmp4mju22xy.c'
source_filename = "/tmp/tmp4mju22xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"\0AInserire vendite in dollari (-1 per uscire): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Il Salario e': $%.02f\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 i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
store i32 -1, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
br label %5
5: ; preds = %19, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to float
%11 = fcmp une float %8, %10
br i1 %11, label %12, label %18
12: ; preds = %5
%13 = load float, ptr %2, align 4
%14 = call float @llvm.fmuladd.f32(float %13, float 0x3FB70A3D80000000, float 2.000000e+02)
store float %14, ptr %4, align 4
%15 = load float, ptr %4, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16)
br label %18
18: ; preds = %12, %5
br label %19
19: ; preds = %18
%20 = load float, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to float
%23 = fcmp une float %20, %22
br i1 %23, label %5, label %24, !llvm.loop !6
24: ; preds = %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4mju22xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"\0AInserire vendite in dollari (-1 per uscire): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Il Salario e': $%.02f\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 i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
store i32 -1, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
br label %5
5: ; preds = %19, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to float
%11 = fcmp une float %8, %10
br i1 %11, label %12, label %18
12: ; preds = %5
%13 = load float, ptr %2, align 4
%14 = call float @llvm.fmuladd.f32(float %13, float 0x3FB70A3D80000000, float 2.000000e+02)
store float %14, ptr %4, align 4
%15 = load float, ptr %4, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16)
br label %18
18: ; preds = %12, %5
br label %19
19: ; preds = %18
%20 = load float, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to float
%23 = fcmp une float %20, %22
br i1 %23, label %5, label %24, !llvm.loop !6
24: ; preds = %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp57hbyk43.c'
source_filename = "/tmp/tmp57hbyk43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TrochaDopredu() #0 {
%1 = call i32 @StartJizdaRovne(i32 noundef 40)
%2 = call i32 @wait1Msec(i32 noundef 250)
%3 = call i32 (...) @StopJizdaRovne()
ret void
}
declare i32 @StartJizdaRovne(i32 noundef) #1
declare i32 @wait1Msec(i32 noundef) #1
declare i32 @StopJizdaRovne(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp57hbyk43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TrochaDopredu() #0 {
%1 = call i32 @StartJizdaRovne(i32 noundef 40)
%2 = call i32 @wait1Msec(i32 noundef 250)
%3 = call i32 (...) @StopJizdaRovne()
ret void
}
declare i32 @StartJizdaRovne(i32 noundef) #1
declare i32 @wait1Msec(i32 noundef) #1
declare i32 @StopJizdaRovne(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3mqnnzij.c'
source_filename = "/tmp/tmp3mqnnzij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionBackInOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionBackInOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionBackInOut(float noundef, i32 noundef, i32 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/tmp3mqnnzij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionBackInOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionBackInOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionBackInOut(float noundef, i32 noundef, i32 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/tmpclz83nzn.c'
source_filename = "/tmp/tmpclz83nzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pi(i32 noundef %0) #0 {
%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 i64, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 1, %12
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = call ptr @malloc(i64 noundef %14)
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %7, align 8
%18 = call i32 @memset(ptr noundef %16, i32 noundef 1, i64 noundef %17)
store i32 3, ptr %3, align 4
br label %19
19: ; preds = %51, %1
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = call i64 @sqrt(i32 noundef %21)
%23 = trunc i64 %22 to i32
%24 = add nsw i32 %23, 1
%25 = icmp sle i32 %20, %24
br i1 %25, label %26, label %54
26: ; preds = %19
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %26
%34 = load i32, ptr %3, align 4
%35 = mul nsw i32 %34, 2
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %45, %33
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %49
40: ; preds = %36
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 0, ptr %44, align 1
br label %45
45: ; preds = %40
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %4, align 4
br label %36, !llvm.loop !6
49: ; preds = %36
br label %50
50: ; preds = %49, %26
br label %51
51: ; preds = %50
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 2
store i32 %53, ptr %3, align 4
br label %19, !llvm.loop !8
54: ; preds = %19
store i32 1, ptr %5, align 4
store i32 3, ptr %3, align 4
br label %55
55: ; preds = %70, %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp sle i32 %56, %57
br i1 %58, label %59, label %73
59: ; preds = %55
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = icmp ne i8 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %59
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
br label %69
69: ; preds = %66, %59
br label %70
70: ; preds = %69
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 2
store i32 %72, ptr %3, align 4
br label %55, !llvm.loop !9
73: ; preds = %55
%74 = load i32, ptr %5, align 4
ret i32 %74
}
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpclz83nzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pi(i32 noundef %0) #0 {
%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 i64, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 1, %12
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = call ptr @malloc(i64 noundef %14)
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %7, align 8
%18 = call i32 @memset(ptr noundef %16, i32 noundef 1, i64 noundef %17)
store i32 3, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = call i64 @sqrt(i32 noundef %20)
%22 = trunc i64 %21 to i32
%23 = add nsw i32 %22, 1
%24 = icmp sle i32 %19, %23
br i1 %24, label %.lr.ph2, label %61
.lr.ph2: ; preds = %1
br label %25
25: ; preds = %.lr.ph2, %52
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = icmp ne i8 %30, 0
br i1 %31, label %32, label %51
32: ; preds = %25
%33 = load i32, ptr %3, align 4
%34 = mul nsw i32 %33, 2
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %.lr.ph, label %50
.lr.ph: ; preds = %32
br label %38
38: ; preds = %.lr.ph, %43
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %38
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr %2, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %50
50: ; preds = %._crit_edge, %32
br label %51
51: ; preds = %50, %25
br label %52
52: ; preds = %51
%53 = load i32, ptr %3, align 4
%54 = add nsw i32 %53, 2
store i32 %54, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %2, align 4
%57 = call i64 @sqrt(i32 noundef %56)
%58 = trunc i64 %57 to i32
%59 = add nsw i32 %58, 1
%60 = icmp sle i32 %55, %59
br i1 %60, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %61
61: ; preds = %._crit_edge3, %1
store i32 1, ptr %5, align 4
store i32 3, ptr %3, align 4
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %.lr.ph5, label %82
.lr.ph5: ; preds = %61
br label %65
65: ; preds = %.lr.ph5, %76
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %3, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = icmp ne i8 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %65
%73 = load i32, ptr %5, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %5, align 4
br label %75
75: ; preds = %72, %65
br label %76
76: ; preds = %75
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 2
store i32 %78, ptr %3, align 4
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %65, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %61
%83 = load i32, ptr %5, align 4
ret i32 %83
}
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvmp3xyfm.c'
source_filename = "/tmp/tmpvmp3xyfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__res_put_state_nothread(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmp3xyfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__res_put_state_nothread(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiegme938.c'
source_filename = "/tmp/tmpiegme938.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_aton(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
br label %13
13: ; preds = %55, %2
%14 = load i32, ptr %10, align 4
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br i1 %16, label %17, label %56
17: ; preds = %13
store i64 0, ptr @errno, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 @strtoul(ptr noundef %18, ptr noundef %9, i32 noundef 0)
store i32 %19, ptr %7, align 4
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @ERANGE, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 0, ptr %3, align 4
br label %134
24: ; preds = %17
%25 = load ptr, ptr %9, align 8
%26 = load ptr, ptr %8, align 8
%27 = icmp eq ptr %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 0, ptr %3, align 4
br label %134
29: ; preds = %24
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load ptr, ptr %9, align 8
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
switch i32 %37, label %48 [
i32 46, label %38
i32 0, label %47
]
38: ; preds = %29
%39 = load i32, ptr %11, align 4
%40 = icmp eq i32 %39, 3
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 0, ptr %3, align 4
br label %134
42: ; preds = %38
%43 = load i32, ptr %11, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %11, align 4
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %8, align 8
br label %55
47: ; preds = %29
store i32 1, ptr %10, align 4
br label %55
48: ; preds = %29
%49 = load ptr, ptr %8, align 8
%50 = load i8, ptr %49, align 1
%51 = call i32 @isspace(i8 noundef zeroext %50)
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %48
store i32 1, ptr %10, align 4
br label %55
54: ; preds = %48
store i32 0, ptr %3, align 4
br label %134
55: ; preds = %53, %47, %42
br label %13, !llvm.loop !6
56: ; preds = %13
%57 = load i32, ptr %11, align 4
switch i32 %57, label %125 [
i32 0, label %58
i32 1, label %59
i32 2, label %73
i32 3, label %95
]
58: ; preds = %56
br label %125
59: ; preds = %56
%60 = load i32, ptr %7, align 4
%61 = icmp sgt i32 %60, 16777215
br i1 %61, label %66, label %62
62: ; preds = %59
%63 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%64 = load i32, ptr %63, align 16
%65 = icmp sgt i32 %64, 255
br i1 %65, label %66, label %67
66: ; preds = %62, %59
store i32 0, ptr %3, align 4
br label %134
67: ; preds = %62
%68 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%69 = load i32, ptr %68, align 16
%70 = shl i32 %69, 24
%71 = load i32, ptr %7, align 4
%72 = or i32 %71, %70
store i32 %72, ptr %7, align 4
br label %125
73: ; preds = %56
%74 = load i32, ptr %7, align 4
%75 = icmp sgt i32 %74, 65535
br i1 %75, label %84, label %76
76: ; preds = %73
%77 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%78 = load i32, ptr %77, align 16
%79 = icmp sgt i32 %78, 255
br i1 %79, label %84, label %80
80: ; preds = %76
%81 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%82 = load i32, ptr %81, align 4
%83 = icmp sgt i32 %82, 255
br i1 %83, label %84, label %85
84: ; preds = %80, %76, %73
store i32 0, ptr %3, align 4
br label %134
85: ; preds = %80
%86 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%87 = load i32, ptr %86, align 16
%88 = shl i32 %87, 24
%89 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%90 = load i32, ptr %89, align 4
%91 = shl i32 %90, 16
%92 = or i32 %88, %91
%93 = load i32, ptr %7, align 4
%94 = or i32 %93, %92
store i32 %94, ptr %7, align 4
br label %125
95: ; preds = %56
%96 = load i32, ptr %7, align 4
%97 = icmp sgt i32 %96, 255
br i1 %97, label %110, label %98
98: ; preds = %95
%99 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%100 = load i32, ptr %99, align 16
%101 = icmp sgt i32 %100, 255
br i1 %101, label %110, label %102
102: ; preds = %98
%103 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%104 = load i32, ptr %103, align 4
%105 = icmp sgt i32 %104, 255
br i1 %105, label %110, label %106
106: ; preds = %102
%107 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%108 = load i32, ptr %107, align 8
%109 = icmp sgt i32 %108, 255
br i1 %109, label %110, label %111
110: ; preds = %106, %102, %98, %95
store i32 0, ptr %3, align 4
br label %134
111: ; preds = %106
%112 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%113 = load i32, ptr %112, align 16
%114 = shl i32 %113, 24
%115 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%116 = load i32, ptr %115, align 4
%117 = shl i32 %116, 16
%118 = or i32 %114, %117
%119 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%120 = load i32, ptr %119, align 8
%121 = shl i32 %120, 8
%122 = or i32 %118, %121
%123 = load i32, ptr %7, align 4
%124 = or i32 %123, %122
store i32 %124, ptr %7, align 4
br label %125
125: ; preds = %56, %111, %85, %67, %58
%126 = load ptr, ptr %5, align 8
%127 = icmp ne ptr %126, null
br i1 %127, label %128, label %133
128: ; preds = %125
%129 = load i32, ptr %7, align 4
%130 = call i32 @htonl(i32 noundef %129)
%131 = load ptr, ptr %5, align 8
%132 = getelementptr inbounds %struct.in_addr, ptr %131, i32 0, i32 0
store i32 %130, ptr %132, align 4
br label %133
133: ; preds = %128, %125
store i32 1, ptr %3, align 4
br label %134
134: ; preds = %133, %110, %84, %66, %54, %41, %28, %23
%135 = load i32, ptr %3, align 4
ret i32 %135
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @isspace(i8 noundef zeroext) #1
declare i32 @htonl(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/tmpiegme938.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_aton(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %.lr.ph, label %58
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %54
store i64 0, ptr @errno, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @strtoul(ptr noundef %17, ptr noundef %9, i32 noundef 0)
store i32 %18, ptr %7, align 4
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @ERANGE, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %16
store i32 0, ptr %3, align 4
br label %136
23: ; preds = %16
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 0, ptr %3, align 4
br label %136
28: ; preds = %23
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %31
store i32 %29, ptr %32, align 4
%33 = load ptr, ptr %9, align 8
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %47 [
i32 46, label %37
i32 0, label %46
]
37: ; preds = %28
%38 = load i32, ptr %11, align 4
%39 = icmp eq i32 %38, 3
br i1 %39, label %40, label %41
40: ; preds = %37
store i32 0, ptr %3, align 4
br label %136
41: ; preds = %37
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 4
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %8, align 8
br label %54
46: ; preds = %28
store i32 1, ptr %10, align 4
br label %54
47: ; preds = %28
%48 = load ptr, ptr %8, align 8
%49 = load i8, ptr %48, align 1
%50 = call i32 @isspace(i8 noundef zeroext %49)
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 1, ptr %10, align 4
br label %54
53: ; preds = %47
store i32 0, ptr %3, align 4
br label %136
54: ; preds = %52, %46, %41
%55 = load i32, ptr %10, align 4
%56 = icmp ne i32 %55, 0
%57 = xor i1 %56, true
br i1 %57, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %58
58: ; preds = %._crit_edge, %2
%59 = load i32, ptr %11, align 4
switch i32 %59, label %127 [
i32 0, label %60
i32 1, label %61
i32 2, label %75
i32 3, label %97
]
60: ; preds = %58
br label %127
61: ; preds = %58
%62 = load i32, ptr %7, align 4
%63 = icmp sgt i32 %62, 16777215
br i1 %63, label %68, label %64
64: ; preds = %61
%65 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%66 = load i32, ptr %65, align 16
%67 = icmp sgt i32 %66, 255
br i1 %67, label %68, label %69
68: ; preds = %64, %61
store i32 0, ptr %3, align 4
br label %136
69: ; preds = %64
%70 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%71 = load i32, ptr %70, align 16
%72 = shl i32 %71, 24
%73 = load i32, ptr %7, align 4
%74 = or i32 %73, %72
store i32 %74, ptr %7, align 4
br label %127
75: ; preds = %58
%76 = load i32, ptr %7, align 4
%77 = icmp sgt i32 %76, 65535
br i1 %77, label %86, label %78
78: ; preds = %75
%79 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%80 = load i32, ptr %79, align 16
%81 = icmp sgt i32 %80, 255
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%84 = load i32, ptr %83, align 4
%85 = icmp sgt i32 %84, 255
br i1 %85, label %86, label %87
86: ; preds = %82, %78, %75
store i32 0, ptr %3, align 4
br label %136
87: ; preds = %82
%88 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%89 = load i32, ptr %88, align 16
%90 = shl i32 %89, 24
%91 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%92 = load i32, ptr %91, align 4
%93 = shl i32 %92, 16
%94 = or i32 %90, %93
%95 = load i32, ptr %7, align 4
%96 = or i32 %95, %94
store i32 %96, ptr %7, align 4
br label %127
97: ; preds = %58
%98 = load i32, ptr %7, align 4
%99 = icmp sgt i32 %98, 255
br i1 %99, label %112, label %100
100: ; preds = %97
%101 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%102 = load i32, ptr %101, align 16
%103 = icmp sgt i32 %102, 255
br i1 %103, label %112, label %104
104: ; preds = %100
%105 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%106 = load i32, ptr %105, align 4
%107 = icmp sgt i32 %106, 255
br i1 %107, label %112, label %108
108: ; preds = %104
%109 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%110 = load i32, ptr %109, align 8
%111 = icmp sgt i32 %110, 255
br i1 %111, label %112, label %113
112: ; preds = %108, %104, %100, %97
store i32 0, ptr %3, align 4
br label %136
113: ; preds = %108
%114 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%115 = load i32, ptr %114, align 16
%116 = shl i32 %115, 24
%117 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = shl i32 %118, 16
%120 = or i32 %116, %119
%121 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%122 = load i32, ptr %121, align 8
%123 = shl i32 %122, 8
%124 = or i32 %120, %123
%125 = load i32, ptr %7, align 4
%126 = or i32 %125, %124
store i32 %126, ptr %7, align 4
br label %127
127: ; preds = %113, %87, %69, %60, %58
%128 = load ptr, ptr %5, align 8
%129 = icmp ne ptr %128, null
br i1 %129, label %130, label %135
130: ; preds = %127
%131 = load i32, ptr %7, align 4
%132 = call i32 @htonl(i32 noundef %131)
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds %struct.in_addr, ptr %133, i32 0, i32 0
store i32 %132, ptr %134, align 4
br label %135
135: ; preds = %130, %127
store i32 1, ptr %3, align 4
br label %136
136: ; preds = %135, %112, %86, %68, %53, %40, %27, %22
%137 = load i32, ptr %3, align 4
ret i32 %137
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @isspace(i8 noundef zeroext) #1
declare i32 @htonl(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/tmpa87otrx1.c'
source_filename = "/tmp/tmpa87otrx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.express = private unnamed_addr constant [22 x i8] c"a+b*(c^d-e)^(f+g*h)-i\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.express, i64 22, i1 false)
%3 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @convertToPostfix(ptr noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @convertToPostfix(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa87otrx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.express = private unnamed_addr constant [22 x i8] c"a+b*(c^d-e)^(f+g*h)-i\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.express, i64 22, i1 false)
%3 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @convertToPostfix(ptr noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @convertToPostfix(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8vp7fjjm.c'
source_filename = "/tmp/tmp8vp7fjjm.c"
target datalayout = "e-m:e-p270: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/tmp8vp7fjjm.c"
target datalayout = "e-m:e-p270: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/tmpts2ra4e9.c'
source_filename = "/tmp/tmpts2ra4e9.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Lines: %d\0AWords: %d\0ABytes: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr @stdin, align 8
br label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
br label %21
21: ; preds = %16, %14
%22 = phi ptr [ %15, %14 ], [ %20, %16 ]
store ptr %22, ptr %10, align 8
br label %23
23: ; preds = %73, %21
%24 = load ptr, ptr %10, align 8
%25 = call signext i8 @fgetc(ptr noundef %24)
store i8 %25, ptr %11, align 1
%26 = sext i8 %25 to i32
%27 = load i8, ptr @EOF, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %26, %28
br i1 %29, label %30, label %74
30: ; preds = %23
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i8, ptr %11, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 32
br i1 %35, label %36, label %42
36: ; preds = %30
%37 = load i8, ptr %9, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
store i8 1, ptr %9, align 1
br label %73
42: ; preds = %36, %30
%43 = load i8, ptr %11, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 10
br i1 %45, label %46, label %54
46: ; preds = %42
%47 = load i8, ptr %9, align 1
%48 = icmp ne i8 %47, 0
br i1 %48, label %54, label %49
49: ; preds = %46
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
store i8 1, ptr %9, align 1
br label %72
54: ; preds = %46, %42
%55 = load i8, ptr %11, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 10
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %71
61: ; preds = %54
%62 = load i8, ptr %11, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 10
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load i8, ptr %11, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 32
br i1 %68, label %69, label %70
69: ; preds = %65
store i8 0, ptr %9, align 1
br label %70
70: ; preds = %69, %65, %61
br label %71
71: ; preds = %70, %58
br label %72
72: ; preds = %71, %49
br label %73
73: ; preds = %72, %39
br label %23, !llvm.loop !6
74: ; preds = %23
%75 = load i8, ptr %9, align 1
%76 = icmp ne i8 %75, 0
br i1 %76, label %80, label %77
77: ; preds = %74
%78 = load i32, ptr %8, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
br label %80
80: ; preds = %77, %74
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %7, align 4
%84 = call i32 @printf(ptr noundef @.str.1, i32 noundef %81, i32 noundef %82, i32 noundef %83)
%85 = load i32, ptr %3, align 4
ret i32 %85
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpts2ra4e9.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Lines: %d\0AWords: %d\0ABytes: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr @stdin, align 8
br label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
br label %21
21: ; preds = %16, %14
%22 = phi ptr [ %15, %14 ], [ %20, %16 ]
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %10, align 8
%24 = call signext i8 @fgetc(ptr noundef %23)
store i8 %24, ptr %11, align 1
%25 = sext i8 %24 to i32
%26 = load i8, ptr @EOF, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %25, %27
br i1 %28, label %.lr.ph, label %79
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %72
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i8, ptr %11, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 32
br i1 %34, label %35, label %41
35: ; preds = %29
%36 = load i8, ptr %9, align 1
%37 = icmp ne i8 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
store i8 1, ptr %9, align 1
br label %72
41: ; preds = %35, %29
%42 = load i8, ptr %11, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %53
45: ; preds = %41
%46 = load i8, ptr %9, align 1
%47 = icmp ne i8 %46, 0
br i1 %47, label %53, label %48
48: ; preds = %45
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
store i8 1, ptr %9, align 1
br label %71
53: ; preds = %45, %41
%54 = load i8, ptr %11, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 10
br i1 %56, label %57, label %60
57: ; preds = %53
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %70
60: ; preds = %53
%61 = load i8, ptr %11, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 10
br i1 %63, label %64, label %69
64: ; preds = %60
%65 = load i8, ptr %11, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 32
br i1 %67, label %68, label %69
68: ; preds = %64
store i8 0, ptr %9, align 1
br label %69
69: ; preds = %68, %64, %60
br label %70
70: ; preds = %69, %57
br label %71
71: ; preds = %70, %48
br label %72
72: ; preds = %71, %38
%73 = load ptr, ptr %10, align 8
%74 = call signext i8 @fgetc(ptr noundef %73)
store i8 %74, ptr %11, align 1
%75 = sext i8 %74 to i32
%76 = load i8, ptr @EOF, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %75, %77
br i1 %78, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %79
79: ; preds = %._crit_edge, %21
%80 = load i8, ptr %9, align 1
%81 = icmp ne i8 %80, 0
br i1 %81, label %85, label %82
82: ; preds = %79
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %8, align 4
br label %85
85: ; preds = %82, %79
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %8, align 4
%88 = load i32, ptr %7, align 4
%89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %86, i32 noundef %87, i32 noundef %88)
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4emfsgr_.c'
source_filename = "/tmp/tmp4emfsgr_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUS_VIRTUAL = 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/tmp4emfsgr_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUS_VIRTUAL = 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/tmpsudwswx4.c'
source_filename = "/tmp/tmpsudwswx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @visit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsudwswx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @visit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8_2jicft.c'
source_filename = "/tmp/tmp8_2jicft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call double (...) @rand_double()
%12 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %11, double -1.000000e+00)
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call double @erfc(double noundef %13) #4
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fcmp une double %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %4, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fcmp une double %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @erfc(double noundef) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8_2jicft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %20
%10 = call double (...) @rand_double()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call double @erfc(double noundef %12) #4
store double %13, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = fcmp une double %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fcmp une double %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @erfc(double noundef) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgwr88h8o.c'
source_filename = "/tmp/tmpgwr88h8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Process Creation Fail.\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Child 1\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Child 2\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Parent\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @fork()
store i32 %8, ptr %6, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %2
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %33
18: ; preds = %13
%19 = call i32 @wait(i32 noundef 0)
%20 = call i32 (...) @fork()
store i32 %20, ptr %7, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = call i32 @perror(ptr noundef @.str)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %33
30: ; preds = %25
%31 = call i32 @wait(i32 noundef 0)
%32 = call i32 @puts(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %30, %28, %16
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @puts(ptr noundef) #1
declare i32 @wait(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/tmpgwr88h8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Process Creation Fail.\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Child 1\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Child 2\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Parent\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @fork()
store i32 %8, ptr %6, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %2
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %33
18: ; preds = %13
%19 = call i32 @wait(i32 noundef 0)
%20 = call i32 (...) @fork()
store i32 %20, ptr %7, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = call i32 @perror(ptr noundef @.str)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %33
30: ; preds = %25
%31 = call i32 @wait(i32 noundef 0)
%32 = call i32 @puts(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %30, %28, %16
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @puts(ptr noundef) #1
declare i32 @wait(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/tmp85p83789.c'
source_filename = "/tmp/tmp85p83789.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pca_decrypt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = icmp ugt i64 %6, 0
br i1 %7, label %8, label %54
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = xor i32 %12, 171
%14 = trunc i32 %13 to i8
%15 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
store i8 %14, ptr %15, align 16
store i32 1, ptr %4, align 4
br label %16
16: ; preds = %44, %8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = load ptr, ptr %2, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = icmp ult i64 %18, %20
br i1 %21, label %22, label %47
22: ; preds = %16
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = xor i32 %29, %35
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 %37, 1
%39 = xor i32 %36, %38
%40 = trunc i32 %39 to i8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %42
store i8 %40, ptr %43, align 1
br label %44
44: ; preds = %22
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %16, !llvm.loop !6
47: ; preds = %16
%48 = load ptr, ptr %2, align 8
%49 = call i64 @strlen(ptr noundef %48)
%50 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %2, align 8
%52 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52)
br label %54
54: ; preds = %47, %1
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85p83789.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pca_decrypt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = icmp ugt i64 %6, 0
br i1 %7, label %8, label %58
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = xor i32 %12, 171
%14 = trunc i32 %13 to i8
%15 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
store i8 %14, ptr %15, align 16
store i32 1, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = load ptr, ptr %2, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ult i64 %17, %19
br i1 %20, label %.lr.ph, label %51
.lr.ph: ; preds = %8
br label %21
21: ; preds = %.lr.ph, %43
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = xor i32 %28, %34
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 %36, 1
%38 = xor i32 %35, %37
%39 = trunc i32 %38 to i8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %41
store i8 %39, ptr %42, align 1
br label %43
43: ; preds = %21
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = load ptr, ptr %2, align 8
%49 = call i64 @strlen(ptr noundef %48)
%50 = icmp ult i64 %47, %49
br i1 %50, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %51
51: ; preds = %._crit_edge, %8
%52 = load ptr, ptr %2, align 8
%53 = call i64 @strlen(ptr noundef %52)
%54 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
br label %58
58: ; preds = %51, %1
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpstas624o.c'
source_filename = "/tmp/tmpstas624o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %40, %1
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @len(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %43
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
store i8 %16, ptr %5, align 1
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp sge i32 %18, 65
br i1 %19, label %20, label %24
20: ; preds = %11
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 90
br i1 %23, label %32, label %24
24: ; preds = %20, %11
%25 = load i8, ptr %5, align 1
%26 = sext i8 %25 to i32
%27 = icmp sge i32 %26, 48
br i1 %27, label %28, label %39
28: ; preds = %24
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp sle i32 %30, 57
br i1 %31, label %32, label %39
32: ; preds = %28, %20
%33 = load i8, ptr %5, align 1
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %32, %28, %24
br label %40
40: ; preds = %39
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %6, !llvm.loop !6
43: ; preds = %6
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
ret void
}
declare i32 @len(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpstas624o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @len(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %39
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
store i8 %15, ptr %5, align 1
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 65
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = icmp sle i32 %21, 90
br i1 %22, label %31, label %23
23: ; preds = %19, %10
%24 = load i8, ptr %5, align 1
%25 = sext i8 %24 to i32
%26 = icmp sge i32 %25, 48
br i1 %26, label %27, label %38
27: ; preds = %23
%28 = load i8, ptr %5, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 57
br i1 %30, label %31, label %38
31: ; preds = %27, %19
%32 = load i8, ptr %5, align 1
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 %32, ptr %37, align 1
br label %38
38: ; preds = %31, %27, %23
br label %39
39: ; preds = %38
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = load ptr, ptr %2, align 8
%44 = call i32 @len(ptr noundef %43)
%45 = icmp slt i32 %42, %44
br i1 %45, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %1
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 0, ptr %50, align 1
ret void
}
declare i32 @len(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplg1qk_bs.c'
source_filename = "/tmp/tmplg1qk_bs.c"
target datalayout = "e-m:e-p270: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/tmplg1qk_bs.c"
target datalayout = "e-m:e-p270: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/tmpjehavh69.c'
source_filename = "/tmp/tmpjehavh69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [200 x i8] c"Usage: test <options>\0A options:\0A\09s <seconds> - set timer to run after <seconds> seconds\0A\09c - cancel timer\0A\09a <seconds> - allocate memory after <seconds> seconds\0A\09p <pid> - monitor pid\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjehavh69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [200 x i8] c"Usage: test <options>\0A options:\0A\09s <seconds> - set timer to run after <seconds> seconds\0A\09c - cancel timer\0A\09a <seconds> - allocate memory after <seconds> seconds\0A\09p <pid> - monitor pid\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp334gwm8j.c'
source_filename = "/tmp/tmp334gwm8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x is true\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"x is not true\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"x is 5\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"x is not 5\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
store i32 0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %12
store i32 1, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, 5
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(ptr noundef @.str.2)
br label %23
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.3)
br label %23
23: ; preds = %21, %19
store i32 5, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 5
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.2)
br label %30
28: ; preds = %23
%29 = call i32 @printf(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %26
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/tmp334gwm8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x is true\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"x is not true\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"x is 5\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"x is not 5\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
store i32 0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %12
store i32 1, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, 5
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(ptr noundef @.str.2)
br label %23
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.3)
br label %23
23: ; preds = %21, %19
store i32 5, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 5
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.2)
br label %30
28: ; preds = %23
%29 = call i32 @printf(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %26
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/tmpx8x_dw0k.c'
source_filename = "/tmp/tmpx8x_dw0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [91 x i8] c"cd ~/Documents/NN_compare; source activate neural101; jupyter notebook; source deactivate \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx8x_dw0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [91 x i8] c"cd ~/Documents/NN_compare; source activate neural101; jupyter notebook; source deactivate \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb56kwa95.c'
source_filename = "/tmp/tmpb56kwa95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validMountainArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %18, label %10
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = icmp sle i32 %13, %16
br i1 %17, label %18, label %19
18: ; preds = %10, %2
store i32 0, ptr %3, align 4
br label %70
19: ; preds = %10
store i32 0, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %42, %19
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp sgt i32 %28, %33
br i1 %34, label %35, label %43
35: ; preds = %22
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %35
store i32 0, ptr %3, align 4
br label %70
42: ; preds = %35
br label %22, !llvm.loop !6
43: ; preds = %22
br label %44
44: ; preds = %64, %43
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %45, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp slt i32 %50, %55
br i1 %56, label %57, label %65
57: ; preds = %44
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %57
store i32 1, ptr %3, align 4
br label %70
64: ; preds = %57
br label %44, !llvm.loop !8
65: ; preds = %44
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp eq i32 %66, %67
%69 = zext i1 %68 to i32
store i32 %69, ptr %3, align 4
br label %70
70: ; preds = %65, %63, %41, %18
%71 = load i32, ptr %3, 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 = '<stdin>'
source_filename = "/tmp/tmpb56kwa95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validMountainArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %18, label %10
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = icmp sle i32 %13, %16
br i1 %17, label %18, label %19
18: ; preds = %10, %2
store i32 0, ptr %3, align 4
br label %92
19: ; preds = %10
store i32 0, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp sgt i32 %27, %32
br i1 %33, label %.lr.ph, label %54
.lr.ph: ; preds = %19
br label %47
34: ; preds = %47
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp sgt i32 %40, %45
br i1 %46, label %47, label %._crit_edge, !llvm.loop !6
47: ; preds = %.lr.ph, %34
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %34
53: ; preds = %47
store i32 0, ptr %3, align 4
br label %92
._crit_edge: ; preds = %34
br label %54
54: ; preds = %._crit_edge, %19
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = icmp slt i32 %60, %65
br i1 %66, label %.lr.ph2, label %87
.lr.ph2: ; preds = %54
br label %80
67: ; preds = %80
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %68, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = icmp slt i32 %73, %78
br i1 %79, label %80, label %._crit_edge3, !llvm.loop !8
80: ; preds = %.lr.ph2, %67
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %7, align 4
%85 = icmp eq i32 %83, %84
br i1 %85, label %86, label %67
86: ; preds = %80
store i32 1, ptr %3, align 4
br label %92
._crit_edge3: ; preds = %67
br label %87
87: ; preds = %._crit_edge3, %54
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %7, align 4
%90 = icmp eq i32 %88, %89
%91 = zext i1 %90 to i32
store i32 %91, ptr %3, align 4
br label %92
92: ; preds = %87, %86, %53, %18
%93 = load i32, ptr %3, align 4
ret i32 %93
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpoi_vrilt.c'
source_filename = "/tmp/tmpoi_vrilt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freq2bark(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fcmp olt float %3, 0.000000e+00
br i1 %4, label %5, label %6
5: ; preds = %1
store float 0.000000e+00, ptr %2, align 4
br label %6
6: ; preds = %5, %1
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = fmul double %8, 1.000000e-03
%10 = fptrunc double %9 to float
store float %10, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = fpext float %11 to double
%13 = fmul double 7.600000e-01, %12
%14 = fptrunc double %13 to float
%15 = call double @atan(float noundef %14)
%16 = load float, ptr %2, align 4
%17 = load float, ptr %2, align 4
%18 = fmul float %16, %17
%19 = fpext float %18 to double
%20 = fdiv double %19, 5.625000e+01
%21 = fptrunc double %20 to float
%22 = call double @atan(float noundef %21)
%23 = fmul double 3.500000e+00, %22
%24 = call double @llvm.fmuladd.f64(double 1.300000e+01, double %15, double %23)
%25 = fptrunc double %24 to float
ret float %25
}
declare double @atan(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoi_vrilt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freq2bark(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fcmp olt float %3, 0.000000e+00
br i1 %4, label %5, label %6
5: ; preds = %1
store float 0.000000e+00, ptr %2, align 4
br label %6
6: ; preds = %5, %1
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = fmul double %8, 1.000000e-03
%10 = fptrunc double %9 to float
store float %10, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = fpext float %11 to double
%13 = fmul double 7.600000e-01, %12
%14 = fptrunc double %13 to float
%15 = call double @atan(float noundef %14)
%16 = load float, ptr %2, align 4
%17 = load float, ptr %2, align 4
%18 = fmul float %16, %17
%19 = fpext float %18 to double
%20 = fdiv double %19, 5.625000e+01
%21 = fptrunc double %20 to float
%22 = call double @atan(float noundef %21)
%23 = fmul double 3.500000e+00, %22
%24 = call double @llvm.fmuladd.f64(double 1.300000e+01, double %15, double %23)
%25 = fptrunc double %24 to float
ret float %25
}
declare double @atan(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpacolq8h2.c'
source_filename = "/tmp/tmpacolq8h2.c"
target datalayout = "e-m:e-p270: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.kbentry = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.kbentry, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpacolq8h2.c"
target datalayout = "e-m:e-p270: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.kbentry = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.kbentry, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps5dzc_gh.c'
source_filename = "/tmp/tmps5dzc_gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lf \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 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @exponential(i32 noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @exponential(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/tmps5dzc_gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lf \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 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @exponential(i32 noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @exponential(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/tmpter5azf3.c'
source_filename = "/tmp/tmpter5azf3.c"
target datalayout = "e-m:e-p270: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/tmpter5azf3.c"
target datalayout = "e-m:e-p270: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/tmpdhwcfm4j.c'
source_filename = "/tmp/tmpdhwcfm4j.c"
target datalayout = "e-m:e-p270: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.sigaction = type { ptr, i32, i32 }
@SA_RESTART = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setsighandler(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.sigaction, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
store ptr %6, ptr %7, align 8
%8 = load i32, ptr @SA_RESTART, align 4
%9 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 2
store i32 %8, ptr %9, align 4
%10 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 1
%11 = call i32 @sigemptyset(ptr noundef %10)
%12 = load i32, ptr %3, align 4
%13 = call i32 @sigaction(i32 noundef %12, ptr noundef %5, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdhwcfm4j.c"
target datalayout = "e-m:e-p270: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.sigaction = type { ptr, i32, i32 }
@SA_RESTART = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setsighandler(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.sigaction, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
store ptr %6, ptr %7, align 8
%8 = load i32, ptr @SA_RESTART, align 4
%9 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 2
store i32 %8, ptr %9, align 4
%10 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 1
%11 = call i32 @sigemptyset(ptr noundef %10)
%12 = load i32, ptr %3, align 4
%13 = call i32 @sigaction(i32 noundef %12, ptr noundef %5, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.