llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp6z0o97r5.c'
source_filename = "/tmp/tmp6z0o97r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%19 = load i32, ptr %9, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp eq i32 %21, 8
br i1 %22, label %23, label %28
23: ; preds = %5
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i32 @bn_mul_comba8(ptr noundef %24, ptr noundef %25, ptr noundef %26)
br label %371
28: ; preds = %5
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 16
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %9, align 4
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = call i32 @bn_mul_normal(ptr noundef %32, ptr noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef %36)
br label %371
38: ; preds = %28
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i64, ptr %40, i64 %42
%44 = load i32, ptr %11, align 4
%45 = call i32 @bn_cmp_words(ptr noundef %39, ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %12, align 4
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %46, i64 %48
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %11, align 4
%52 = call i32 @bn_cmp_words(ptr noundef %49, ptr noundef %50, i32 noundef %51)
store i32 %52, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%53 = load i32, ptr %12, align 4
%54 = mul nsw i32 %53, 3
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %54, %55
switch i32 %56, label %140 [
i32 -4, label %57
i32 -3, label %77
i32 -2, label %78
i32 -1, label %98
i32 0, label %98
i32 1, label %98
i32 2, label %99
i32 3, label %119
i32 4, label %120
]
57: ; preds = %38
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i64, ptr %59, i64 %61
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %11, align 4
%65 = call i64 @bn_sub_words(ptr noundef %58, ptr noundef %62, ptr noundef %63, i32 noundef %64)
%66 = load ptr, ptr %10, align 8
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i64, ptr %66, i64 %68
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i64, ptr %71, i64 %73
%75 = load i32, ptr %11, align 4
%76 = call i64 @bn_sub_words(ptr noundef %69, ptr noundef %70, ptr noundef %74, i32 noundef %75)
br label %140
77: ; preds = %38
store i32 1, ptr %15, align 4
br label %140
78: ; preds = %38
%79 = load ptr, ptr %10, align 8
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i64, ptr %80, i64 %82
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %11, align 4
%86 = call i64 @bn_sub_words(ptr noundef %79, ptr noundef %83, ptr noundef %84, i32 noundef %85)
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i64, ptr %87, i64 %89
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i64, ptr %91, i64 %93
%95 = load ptr, ptr %8, align 8
%96 = load i32, ptr %11, align 4
%97 = call i64 @bn_sub_words(ptr noundef %90, ptr noundef %94, ptr noundef %95, i32 noundef %96)
store i32 1, ptr %14, align 4
br label %140
98: ; preds = %38, %38, %38
store i32 1, ptr %15, align 4
br label %140
99: ; preds = %38
%100 = load ptr, ptr %10, align 8
%101 = load ptr, ptr %7, align 8
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %11, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i64, ptr %102, i64 %104
%106 = load i32, ptr %11, align 4
%107 = call i64 @bn_sub_words(ptr noundef %100, ptr noundef %101, ptr noundef %105, i32 noundef %106)
%108 = load ptr, ptr %10, align 8
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i64, ptr %108, i64 %110
%112 = load ptr, ptr %8, align 8
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %11, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i64, ptr %113, i64 %115
%117 = load i32, ptr %11, align 4
%118 = call i64 @bn_sub_words(ptr noundef %111, ptr noundef %112, ptr noundef %116, i32 noundef %117)
store i32 1, ptr %14, align 4
br label %140
119: ; preds = %38
store i32 1, ptr %15, align 4
br label %140
120: ; preds = %38
%121 = load ptr, ptr %10, align 8
%122 = load ptr, ptr %7, align 8
%123 = load ptr, ptr %7, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i64, ptr %123, i64 %125
%127 = load i32, ptr %11, align 4
%128 = call i64 @bn_sub_words(ptr noundef %121, ptr noundef %122, ptr noundef %126, i32 noundef %127)
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %11, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i64, ptr %129, i64 %131
%133 = load ptr, ptr %8, align 8
%134 = load i32, ptr %11, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i64, ptr %133, i64 %135
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %11, align 4
%139 = call i64 @bn_sub_words(ptr noundef %132, ptr noundef %136, ptr noundef %137, i32 noundef %138)
br label %140
140: ; preds = %38, %120, %119, %99, %98, %78, %77, %57
%141 = load i32, ptr %11, align 4
%142 = icmp eq i32 %141, 4
br i1 %142, label %143, label %181
143: ; preds = %140
%144 = load i32, ptr %15, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %157, label %146
146: ; preds = %143
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i64, ptr %147, i64 %149
%151 = load ptr, ptr %10, align 8
%152 = load ptr, ptr %10, align 8
%153 = load i32, ptr %11, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i64, ptr %152, i64 %154
%156 = call i32 @bn_mul_comba4(ptr noundef %150, ptr noundef %151, ptr noundef %155)
br label %163
157: ; preds = %143
%158 = load ptr, ptr %10, align 8
%159 = load i32, ptr %9, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i64, ptr %158, i64 %160
%162 = call i32 @memset(ptr noundef %161, i32 noundef 0, i32 noundef 64)
br label %163
163: ; preds = %157, %146
%164 = load ptr, ptr %6, align 8
%165 = load ptr, ptr %7, align 8
%166 = load ptr, ptr %8, align 8
%167 = call i32 @bn_mul_comba4(ptr noundef %164, ptr noundef %165, ptr noundef %166)
%168 = load ptr, ptr %6, align 8
%169 = load i32, ptr %9, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i64, ptr %168, i64 %170
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %11, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i64, ptr %172, i64 %174
%176 = load ptr, ptr %8, align 8
%177 = load i32, ptr %11, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i64, ptr %176, i64 %178
%180 = call i32 @bn_mul_comba4(ptr noundef %171, ptr noundef %175, ptr noundef %179)
br label %273
181: ; preds = %140
%182 = load i32, ptr %11, align 4
%183 = icmp eq i32 %182, 8
br i1 %183, label %184, label %222
184: ; preds = %181
%185 = load i32, ptr %15, align 4
%186 = icmp ne i32 %185, 0
br i1 %186, label %198, label %187
187: ; preds = %184
%188 = load ptr, ptr %10, align 8
%189 = load i32, ptr %9, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i64, ptr %188, i64 %190
%192 = load ptr, ptr %10, align 8
%193 = load ptr, ptr %10, align 8
%194 = load i32, ptr %11, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i64, ptr %193, i64 %195
%197 = call i32 @bn_mul_comba8(ptr noundef %191, ptr noundef %192, ptr noundef %196)
br label %204
198: ; preds = %184
%199 = load ptr, ptr %10, align 8
%200 = load i32, ptr %9, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i64, ptr %199, i64 %201
%203 = call i32 @memset(ptr noundef %202, i32 noundef 0, i32 noundef 128)
br label %204
204: ; preds = %198, %187
%205 = load ptr, ptr %6, align 8
%206 = load ptr, ptr %7, align 8
%207 = load ptr, ptr %8, align 8
%208 = call i32 @bn_mul_comba8(ptr noundef %205, ptr noundef %206, ptr noundef %207)
%209 = load ptr, ptr %6, align 8
%210 = load i32, ptr %9, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i64, ptr %209, i64 %211
%213 = load ptr, ptr %7, align 8
%214 = load i32, ptr %11, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i64, ptr %213, i64 %215
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %11, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i64, ptr %217, i64 %219
%221 = call i32 @bn_mul_comba8(ptr noundef %212, ptr noundef %216, ptr noundef %220)
br label %272
222: ; preds = %181
%223 = load ptr, ptr %10, align 8
%224 = load i32, ptr %9, align 4
%225 = mul nsw i32 %224, 2
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds i64, ptr %223, i64 %226
store ptr %227, ptr %18, align 8
%228 = load i32, ptr %15, align 4
%229 = icmp ne i32 %228, 0
br i1 %229, label %242, label %230
230: ; preds = %222
%231 = load ptr, ptr %10, align 8
%232 = load i32, ptr %9, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i64, ptr %231, i64 %233
%235 = load ptr, ptr %10, align 8
%236 = load ptr, ptr %10, align 8
%237 = load i32, ptr %11, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i64, ptr %236, i64 %238
%240 = load i32, ptr %11, align 4
%241 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %234, ptr noundef %235, ptr noundef %239, i32 noundef %240, ptr noundef %241)
br label %252
242: ; preds = %222
%243 = load ptr, ptr %10, align 8
%244 = load i32, ptr %9, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds i64, ptr %243, i64 %245
%247 = load i32, ptr %9, align 4
%248 = sext i32 %247 to i64
%249 = mul i64 %248, 8
%250 = trunc i64 %249 to i32
%251 = call i32 @memset(ptr noundef %246, i32 noundef 0, i32 noundef %250)
br label %252
252: ; preds = %242, %230
%253 = load ptr, ptr %6, align 8
%254 = load ptr, ptr %7, align 8
%255 = load ptr, ptr %8, align 8
%256 = load i32, ptr %11, align 4
%257 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %253, ptr noundef %254, ptr noundef %255, i32 noundef %256, ptr noundef %257)
%258 = load ptr, ptr %6, align 8
%259 = load i32, ptr %9, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i64, ptr %258, i64 %260
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %11, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i64, ptr %262, i64 %264
%266 = load ptr, ptr %8, align 8
%267 = load i32, ptr %11, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i64, ptr %266, i64 %268
%270 = load i32, ptr %11, align 4
%271 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %261, ptr noundef %265, ptr noundef %269, i32 noundef %270, ptr noundef %271)
br label %272
272: ; preds = %252, %204
br label %273
273: ; preds = %272, %163
%274 = load ptr, ptr %10, align 8
%275 = load ptr, ptr %6, align 8
%276 = load ptr, ptr %6, align 8
%277 = load i32, ptr %9, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i64, ptr %276, i64 %278
%280 = load i32, ptr %9, align 4
%281 = call i64 @bn_add_words(ptr noundef %274, ptr noundef %275, ptr noundef %279, i32 noundef %280)
%282 = trunc i64 %281 to i32
store i32 %282, ptr %12, align 4
%283 = load i32, ptr %14, align 4
%284 = icmp ne i32 %283, 0
br i1 %284, label %285, label %300
285: ; preds = %273
%286 = load ptr, ptr %10, align 8
%287 = load i32, ptr %9, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds i64, ptr %286, i64 %288
%290 = load ptr, ptr %10, align 8
%291 = load ptr, ptr %10, align 8
%292 = load i32, ptr %9, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i64, ptr %291, i64 %293
%295 = load i32, ptr %9, align 4
%296 = call i64 @bn_sub_words(ptr noundef %289, ptr noundef %290, ptr noundef %294, i32 noundef %295)
%297 = trunc i64 %296 to i32
%298 = load i32, ptr %12, align 4
%299 = sub nsw i32 %298, %297
store i32 %299, ptr %12, align 4
br label %315
300: ; preds = %273
%301 = load ptr, ptr %10, align 8
%302 = load i32, ptr %9, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i64, ptr %301, i64 %303
%305 = load ptr, ptr %10, align 8
%306 = load i32, ptr %9, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i64, ptr %305, i64 %307
%309 = load ptr, ptr %10, align 8
%310 = load i32, ptr %9, align 4
%311 = call i64 @bn_add_words(ptr noundef %304, ptr noundef %308, ptr noundef %309, i32 noundef %310)
%312 = trunc i64 %311 to i32
%313 = load i32, ptr %12, align 4
%314 = add nsw i32 %313, %312
store i32 %314, ptr %12, align 4
br label %315
315: ; preds = %300, %285
%316 = load ptr, ptr %6, align 8
%317 = load i32, ptr %11, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds i64, ptr %316, i64 %318
%320 = load ptr, ptr %6, align 8
%321 = load i32, ptr %11, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i64, ptr %320, i64 %322
%324 = load ptr, ptr %10, align 8
%325 = load i32, ptr %9, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i64, ptr %324, i64 %326
%328 = load i32, ptr %9, align 4
%329 = call i64 @bn_add_words(ptr noundef %319, ptr noundef %323, ptr noundef %327, i32 noundef %328)
%330 = trunc i64 %329 to i32
%331 = load i32, ptr %12, align 4
%332 = add nsw i32 %331, %330
store i32 %332, ptr %12, align 4
%333 = load i32, ptr %12, align 4
%334 = icmp ne i32 %333, 0
br i1 %334, label %335, label %371
335: ; preds = %315
%336 = load ptr, ptr %6, align 8
%337 = load i32, ptr %11, align 4
%338 = load i32, ptr %9, align 4
%339 = add nsw i32 %337, %338
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds i64, ptr %336, i64 %340
store ptr %341, ptr %18, align 8
%342 = load ptr, ptr %18, align 8
%343 = load i64, ptr %342, align 8
store i64 %343, ptr %17, align 8
%344 = load i64, ptr %17, align 8
%345 = load i32, ptr %12, align 4
%346 = sext i32 %345 to i64
%347 = add i64 %344, %346
%348 = and i64 %347, -1
store i64 %348, ptr %16, align 8
%349 = load i64, ptr %16, align 8
%350 = load ptr, ptr %18, align 8
store i64 %349, ptr %350, align 8
%351 = load i64, ptr %16, align 8
%352 = load i32, ptr %12, align 4
%353 = sext i32 %352 to i64
%354 = icmp ult i64 %351, %353
br i1 %354, label %355, label %370
355: ; preds = %335
br label %356
356: ; preds = %366, %355
%357 = load ptr, ptr %18, align 8
%358 = getelementptr inbounds i64, ptr %357, i32 1
store ptr %358, ptr %18, align 8
%359 = load ptr, ptr %18, align 8
%360 = load i64, ptr %359, align 8
store i64 %360, ptr %17, align 8
%361 = load i64, ptr %17, align 8
%362 = add i64 %361, 1
%363 = and i64 %362, -1
store i64 %363, ptr %16, align 8
%364 = load i64, ptr %16, align 8
%365 = load ptr, ptr %18, align 8
store i64 %364, ptr %365, align 8
br label %366
366: ; preds = %356
%367 = load i64, ptr %16, align 8
%368 = icmp eq i64 %367, 0
br i1 %368, label %356, label %369, !llvm.loop !6
369: ; preds = %366
br label %370
370: ; preds = %369, %335
br label %371
371: ; preds = %23, %31, %370, %315
ret void
}
declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_mul_comba4(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6z0o97r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%19 = load i32, ptr %9, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp eq i32 %21, 8
br i1 %22, label %23, label %28
23: ; preds = %5
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i32 @bn_mul_comba8(ptr noundef %24, ptr noundef %25, ptr noundef %26)
br label %371
28: ; preds = %5
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 16
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %9, align 4
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = call i32 @bn_mul_normal(ptr noundef %32, ptr noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef %36)
br label %371
38: ; preds = %28
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i64, ptr %40, i64 %42
%44 = load i32, ptr %11, align 4
%45 = call i32 @bn_cmp_words(ptr noundef %39, ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %12, align 4
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %46, i64 %48
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %11, align 4
%52 = call i32 @bn_cmp_words(ptr noundef %49, ptr noundef %50, i32 noundef %51)
store i32 %52, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%53 = load i32, ptr %12, align 4
%54 = mul nsw i32 %53, 3
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %54, %55
switch i32 %56, label %140 [
i32 -4, label %57
i32 -3, label %77
i32 -2, label %78
i32 -1, label %98
i32 0, label %98
i32 1, label %98
i32 2, label %99
i32 3, label %119
i32 4, label %120
]
57: ; preds = %38
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i64, ptr %59, i64 %61
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %11, align 4
%65 = call i64 @bn_sub_words(ptr noundef %58, ptr noundef %62, ptr noundef %63, i32 noundef %64)
%66 = load ptr, ptr %10, align 8
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i64, ptr %66, i64 %68
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i64, ptr %71, i64 %73
%75 = load i32, ptr %11, align 4
%76 = call i64 @bn_sub_words(ptr noundef %69, ptr noundef %70, ptr noundef %74, i32 noundef %75)
br label %140
77: ; preds = %38
store i32 1, ptr %15, align 4
br label %140
78: ; preds = %38
%79 = load ptr, ptr %10, align 8
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i64, ptr %80, i64 %82
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %11, align 4
%86 = call i64 @bn_sub_words(ptr noundef %79, ptr noundef %83, ptr noundef %84, i32 noundef %85)
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i64, ptr %87, i64 %89
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i64, ptr %91, i64 %93
%95 = load ptr, ptr %8, align 8
%96 = load i32, ptr %11, align 4
%97 = call i64 @bn_sub_words(ptr noundef %90, ptr noundef %94, ptr noundef %95, i32 noundef %96)
store i32 1, ptr %14, align 4
br label %140
98: ; preds = %38, %38, %38
store i32 1, ptr %15, align 4
br label %140
99: ; preds = %38
%100 = load ptr, ptr %10, align 8
%101 = load ptr, ptr %7, align 8
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %11, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i64, ptr %102, i64 %104
%106 = load i32, ptr %11, align 4
%107 = call i64 @bn_sub_words(ptr noundef %100, ptr noundef %101, ptr noundef %105, i32 noundef %106)
%108 = load ptr, ptr %10, align 8
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i64, ptr %108, i64 %110
%112 = load ptr, ptr %8, align 8
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %11, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i64, ptr %113, i64 %115
%117 = load i32, ptr %11, align 4
%118 = call i64 @bn_sub_words(ptr noundef %111, ptr noundef %112, ptr noundef %116, i32 noundef %117)
store i32 1, ptr %14, align 4
br label %140
119: ; preds = %38
store i32 1, ptr %15, align 4
br label %140
120: ; preds = %38
%121 = load ptr, ptr %10, align 8
%122 = load ptr, ptr %7, align 8
%123 = load ptr, ptr %7, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i64, ptr %123, i64 %125
%127 = load i32, ptr %11, align 4
%128 = call i64 @bn_sub_words(ptr noundef %121, ptr noundef %122, ptr noundef %126, i32 noundef %127)
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %11, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i64, ptr %129, i64 %131
%133 = load ptr, ptr %8, align 8
%134 = load i32, ptr %11, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i64, ptr %133, i64 %135
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %11, align 4
%139 = call i64 @bn_sub_words(ptr noundef %132, ptr noundef %136, ptr noundef %137, i32 noundef %138)
br label %140
140: ; preds = %120, %119, %99, %98, %78, %77, %57, %38
%141 = load i32, ptr %11, align 4
%142 = icmp eq i32 %141, 4
br i1 %142, label %143, label %181
143: ; preds = %140
%144 = load i32, ptr %15, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %157, label %146
146: ; preds = %143
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i64, ptr %147, i64 %149
%151 = load ptr, ptr %10, align 8
%152 = load ptr, ptr %10, align 8
%153 = load i32, ptr %11, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i64, ptr %152, i64 %154
%156 = call i32 @bn_mul_comba4(ptr noundef %150, ptr noundef %151, ptr noundef %155)
br label %163
157: ; preds = %143
%158 = load ptr, ptr %10, align 8
%159 = load i32, ptr %9, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i64, ptr %158, i64 %160
%162 = call i32 @memset(ptr noundef %161, i32 noundef 0, i32 noundef 64)
br label %163
163: ; preds = %157, %146
%164 = load ptr, ptr %6, align 8
%165 = load ptr, ptr %7, align 8
%166 = load ptr, ptr %8, align 8
%167 = call i32 @bn_mul_comba4(ptr noundef %164, ptr noundef %165, ptr noundef %166)
%168 = load ptr, ptr %6, align 8
%169 = load i32, ptr %9, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i64, ptr %168, i64 %170
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %11, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i64, ptr %172, i64 %174
%176 = load ptr, ptr %8, align 8
%177 = load i32, ptr %11, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i64, ptr %176, i64 %178
%180 = call i32 @bn_mul_comba4(ptr noundef %171, ptr noundef %175, ptr noundef %179)
br label %273
181: ; preds = %140
%182 = load i32, ptr %11, align 4
%183 = icmp eq i32 %182, 8
br i1 %183, label %184, label %222
184: ; preds = %181
%185 = load i32, ptr %15, align 4
%186 = icmp ne i32 %185, 0
br i1 %186, label %198, label %187
187: ; preds = %184
%188 = load ptr, ptr %10, align 8
%189 = load i32, ptr %9, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i64, ptr %188, i64 %190
%192 = load ptr, ptr %10, align 8
%193 = load ptr, ptr %10, align 8
%194 = load i32, ptr %11, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i64, ptr %193, i64 %195
%197 = call i32 @bn_mul_comba8(ptr noundef %191, ptr noundef %192, ptr noundef %196)
br label %204
198: ; preds = %184
%199 = load ptr, ptr %10, align 8
%200 = load i32, ptr %9, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i64, ptr %199, i64 %201
%203 = call i32 @memset(ptr noundef %202, i32 noundef 0, i32 noundef 128)
br label %204
204: ; preds = %198, %187
%205 = load ptr, ptr %6, align 8
%206 = load ptr, ptr %7, align 8
%207 = load ptr, ptr %8, align 8
%208 = call i32 @bn_mul_comba8(ptr noundef %205, ptr noundef %206, ptr noundef %207)
%209 = load ptr, ptr %6, align 8
%210 = load i32, ptr %9, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i64, ptr %209, i64 %211
%213 = load ptr, ptr %7, align 8
%214 = load i32, ptr %11, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i64, ptr %213, i64 %215
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %11, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i64, ptr %217, i64 %219
%221 = call i32 @bn_mul_comba8(ptr noundef %212, ptr noundef %216, ptr noundef %220)
br label %272
222: ; preds = %181
%223 = load ptr, ptr %10, align 8
%224 = load i32, ptr %9, align 4
%225 = mul nsw i32 %224, 2
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds i64, ptr %223, i64 %226
store ptr %227, ptr %18, align 8
%228 = load i32, ptr %15, align 4
%229 = icmp ne i32 %228, 0
br i1 %229, label %242, label %230
230: ; preds = %222
%231 = load ptr, ptr %10, align 8
%232 = load i32, ptr %9, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i64, ptr %231, i64 %233
%235 = load ptr, ptr %10, align 8
%236 = load ptr, ptr %10, align 8
%237 = load i32, ptr %11, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i64, ptr %236, i64 %238
%240 = load i32, ptr %11, align 4
%241 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %234, ptr noundef %235, ptr noundef %239, i32 noundef %240, ptr noundef %241)
br label %252
242: ; preds = %222
%243 = load ptr, ptr %10, align 8
%244 = load i32, ptr %9, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds i64, ptr %243, i64 %245
%247 = load i32, ptr %9, align 4
%248 = sext i32 %247 to i64
%249 = mul i64 %248, 8
%250 = trunc i64 %249 to i32
%251 = call i32 @memset(ptr noundef %246, i32 noundef 0, i32 noundef %250)
br label %252
252: ; preds = %242, %230
%253 = load ptr, ptr %6, align 8
%254 = load ptr, ptr %7, align 8
%255 = load ptr, ptr %8, align 8
%256 = load i32, ptr %11, align 4
%257 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %253, ptr noundef %254, ptr noundef %255, i32 noundef %256, ptr noundef %257)
%258 = load ptr, ptr %6, align 8
%259 = load i32, ptr %9, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i64, ptr %258, i64 %260
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %11, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i64, ptr %262, i64 %264
%266 = load ptr, ptr %8, align 8
%267 = load i32, ptr %11, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i64, ptr %266, i64 %268
%270 = load i32, ptr %11, align 4
%271 = load ptr, ptr %18, align 8
call void @bn_mul_recursive(ptr noundef %261, ptr noundef %265, ptr noundef %269, i32 noundef %270, ptr noundef %271)
br label %272
272: ; preds = %252, %204
br label %273
273: ; preds = %272, %163
%274 = load ptr, ptr %10, align 8
%275 = load ptr, ptr %6, align 8
%276 = load ptr, ptr %6, align 8
%277 = load i32, ptr %9, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i64, ptr %276, i64 %278
%280 = load i32, ptr %9, align 4
%281 = call i64 @bn_add_words(ptr noundef %274, ptr noundef %275, ptr noundef %279, i32 noundef %280)
%282 = trunc i64 %281 to i32
store i32 %282, ptr %12, align 4
%283 = load i32, ptr %14, align 4
%284 = icmp ne i32 %283, 0
br i1 %284, label %285, label %300
285: ; preds = %273
%286 = load ptr, ptr %10, align 8
%287 = load i32, ptr %9, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds i64, ptr %286, i64 %288
%290 = load ptr, ptr %10, align 8
%291 = load ptr, ptr %10, align 8
%292 = load i32, ptr %9, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i64, ptr %291, i64 %293
%295 = load i32, ptr %9, align 4
%296 = call i64 @bn_sub_words(ptr noundef %289, ptr noundef %290, ptr noundef %294, i32 noundef %295)
%297 = trunc i64 %296 to i32
%298 = load i32, ptr %12, align 4
%299 = sub nsw i32 %298, %297
store i32 %299, ptr %12, align 4
br label %315
300: ; preds = %273
%301 = load ptr, ptr %10, align 8
%302 = load i32, ptr %9, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i64, ptr %301, i64 %303
%305 = load ptr, ptr %10, align 8
%306 = load i32, ptr %9, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i64, ptr %305, i64 %307
%309 = load ptr, ptr %10, align 8
%310 = load i32, ptr %9, align 4
%311 = call i64 @bn_add_words(ptr noundef %304, ptr noundef %308, ptr noundef %309, i32 noundef %310)
%312 = trunc i64 %311 to i32
%313 = load i32, ptr %12, align 4
%314 = add nsw i32 %313, %312
store i32 %314, ptr %12, align 4
br label %315
315: ; preds = %300, %285
%316 = load ptr, ptr %6, align 8
%317 = load i32, ptr %11, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds i64, ptr %316, i64 %318
%320 = load ptr, ptr %6, align 8
%321 = load i32, ptr %11, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i64, ptr %320, i64 %322
%324 = load ptr, ptr %10, align 8
%325 = load i32, ptr %9, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i64, ptr %324, i64 %326
%328 = load i32, ptr %9, align 4
%329 = call i64 @bn_add_words(ptr noundef %319, ptr noundef %323, ptr noundef %327, i32 noundef %328)
%330 = trunc i64 %329 to i32
%331 = load i32, ptr %12, align 4
%332 = add nsw i32 %331, %330
store i32 %332, ptr %12, align 4
%333 = load i32, ptr %12, align 4
%334 = icmp ne i32 %333, 0
br i1 %334, label %335, label %371
335: ; preds = %315
%336 = load ptr, ptr %6, align 8
%337 = load i32, ptr %11, align 4
%338 = load i32, ptr %9, align 4
%339 = add nsw i32 %337, %338
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds i64, ptr %336, i64 %340
store ptr %341, ptr %18, align 8
%342 = load ptr, ptr %18, align 8
%343 = load i64, ptr %342, align 8
store i64 %343, ptr %17, align 8
%344 = load i64, ptr %17, align 8
%345 = load i32, ptr %12, align 4
%346 = sext i32 %345 to i64
%347 = add i64 %344, %346
%348 = and i64 %347, -1
store i64 %348, ptr %16, align 8
%349 = load i64, ptr %16, align 8
%350 = load ptr, ptr %18, align 8
store i64 %349, ptr %350, align 8
%351 = load i64, ptr %16, align 8
%352 = load i32, ptr %12, align 4
%353 = sext i32 %352 to i64
%354 = icmp ult i64 %351, %353
br i1 %354, label %355, label %370
355: ; preds = %335
br label %356
356: ; preds = %366, %355
%357 = load ptr, ptr %18, align 8
%358 = getelementptr inbounds i64, ptr %357, i32 1
store ptr %358, ptr %18, align 8
%359 = load ptr, ptr %18, align 8
%360 = load i64, ptr %359, align 8
store i64 %360, ptr %17, align 8
%361 = load i64, ptr %17, align 8
%362 = add i64 %361, 1
%363 = and i64 %362, -1
store i64 %363, ptr %16, align 8
%364 = load i64, ptr %16, align 8
%365 = load ptr, ptr %18, align 8
store i64 %364, ptr %365, align 8
br label %366
366: ; preds = %356
%367 = load i64, ptr %16, align 8
%368 = icmp eq i64 %367, 0
br i1 %368, label %356, label %369, !llvm.loop !6
369: ; preds = %366
br label %370
370: ; preds = %369, %335
br label %371
371: ; preds = %370, %315, %31, %23
ret void
}
declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @bn_mul_comba4(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp45nyz9os.c'
source_filename = "/tmp/tmp45nyz9os.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(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 [128 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %64, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %67
13: ; preds = %8
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
br label %16
16: ; preds = %60, %13
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %63
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [128 x i8], ptr %21, i64 %23
%25 = getelementptr inbounds [128 x i8], ptr %24, i64 0, i64 0
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [128 x i8], ptr %26, i64 %28
%30 = getelementptr inbounds [128 x i8], ptr %29, i64 0, i64 0
%31 = call i64 @strcmp(ptr noundef %25, ptr noundef %30)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %59
33: ; preds = %20
%34 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [128 x i8], ptr %35, i64 %37
%39 = getelementptr inbounds [128 x i8], ptr %38, i64 0, i64 0
%40 = call i32 @strcpy(ptr noundef %34, ptr noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [128 x i8], ptr %41, i64 %43
%45 = getelementptr inbounds [128 x i8], ptr %44, i64 0, i64 0
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [128 x i8], ptr %46, i64 %48
%50 = getelementptr inbounds [128 x i8], ptr %49, i64 0, i64 0
%51 = call i32 @strcpy(ptr noundef %45, ptr noundef %50)
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [128 x i8], ptr %52, i64 %54
%56 = getelementptr inbounds [128 x i8], ptr %55, i64 0, i64 0
%57 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%58 = call i32 @strcpy(ptr noundef %56, ptr noundef %57)
br label %59
59: ; preds = %33, %20
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
br label %16, !llvm.loop !6
63: ; preds = %16
br label %64
64: ; preds = %63
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %8, !llvm.loop !8
67: ; preds = %8
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45nyz9os.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(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 [128 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph2, label %72
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %65
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %64
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %58
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [128 x i8], ptr %19, i64 %21
%23 = getelementptr inbounds [128 x i8], ptr %22, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [128 x i8], ptr %24, i64 %26
%28 = getelementptr inbounds [128 x i8], ptr %27, i64 0, i64 0
%29 = call i64 @strcmp(ptr noundef %23, ptr noundef %28)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %57
31: ; preds = %18
%32 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [128 x i8], ptr %33, i64 %35
%37 = getelementptr inbounds [128 x i8], ptr %36, i64 0, i64 0
%38 = call i32 @strcpy(ptr noundef %32, ptr noundef %37)
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [128 x i8], ptr %39, i64 %41
%43 = getelementptr inbounds [128 x i8], ptr %42, i64 0, i64 0
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [128 x i8], ptr %44, i64 %46
%48 = getelementptr inbounds [128 x i8], ptr %47, i64 0, i64 0
%49 = call i32 @strcpy(ptr noundef %43, ptr noundef %48)
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [128 x i8], ptr %50, i64 %52
%54 = getelementptr inbounds [128 x i8], ptr %53, i64 0, i64 0
%55 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55)
br label %57
57: ; preds = %31, %18
br label %58
58: ; preds = %57
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %64
64: ; preds = %._crit_edge, %12
br label %65
65: ; preds = %64
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr %4, align 4
%70 = sub nsw i32 %69, 1
%71 = icmp slt i32 %68, %70
br i1 %71, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %2
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe4rmcd2v.c'
source_filename = "/tmp/tmpe4rmcd2v.c"
target datalayout = "e-m:e-p270: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/tmpe4rmcd2v.c"
target datalayout = "e-m:e-p270: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/tmp5abisglr.c'
source_filename = "/tmp/tmp5abisglr.c"
target datalayout = "e-m:e-p270: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/tmp5abisglr.c"
target datalayout = "e-m:e-p270: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/tmp45lo_zzm.c'
source_filename = "/tmp/tmp45lo_zzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parse error\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"at line \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"at XXX \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"at lines \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isql_norm_line_with_xxx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr null, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str)
br label %20
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strstr(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %3, align 8
%15 = icmp ne ptr null, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
br label %19
19: ; preds = %16, %12
br label %20
20: ; preds = %19, %9
%21 = load ptr, ptr %2, align 8
%22 = call ptr @strstr(ptr noundef %21, ptr noundef @.str.2)
store ptr %22, ptr %3, align 8
%23 = icmp ne ptr null, %22
br i1 %23, label %24, label %56
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 8
store ptr %26, ptr %4, align 8
br label %27
27: ; preds = %33, %24
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = call i64 @isdigit(i8 noundef signext %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %4, align 8
br label %27, !llvm.loop !6
36: ; preds = %27
br label %37
37: ; preds = %43, %36
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 0
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 32, %41
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
br label %37, !llvm.loop !8
46: ; preds = %37
%47 = load ptr, ptr %3, align 8
%48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str.3)
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 7
%51 = load ptr, ptr %4, align 8
%52 = load ptr, ptr %4, align 8
%53 = call i64 @strlen(ptr noundef %52)
%54 = add nsw i64 %53, 1
%55 = call i32 @memmove(ptr noundef %50, ptr noundef %51, i64 noundef %54)
br label %56
56: ; preds = %46, %20
%57 = load ptr, ptr %2, align 8
%58 = call ptr @strstr(ptr noundef %57, ptr noundef @.str.4)
store ptr %58, ptr %3, align 8
%59 = icmp ne ptr null, %58
br i1 %59, label %60, label %111
60: ; preds = %56
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 9
store ptr %62, ptr %5, align 8
br label %63
63: ; preds = %69, %60
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 0
%66 = load i8, ptr %65, align 1
%67 = call i64 @isdigit(i8 noundef signext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %63
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %5, align 8
br label %63, !llvm.loop !9
72: ; preds = %63
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 0
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 45, %76
br i1 %77, label %78, label %91
78: ; preds = %72
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %5, align 8
br label %81
81: ; preds = %87, %78
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 0
%84 = load i8, ptr %83, align 1
%85 = call i64 @isdigit(i8 noundef signext %84)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %81
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %5, align 8
br label %81, !llvm.loop !10
90: ; preds = %81
br label %91
91: ; preds = %90, %72
br label %92
92: ; preds = %98, %91
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds i8, ptr %93, i64 0
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 32, %96
br i1 %97, label %98, label %101
98: ; preds = %92
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %5, align 8
br label %92, !llvm.loop !11
101: ; preds = %92
%102 = load ptr, ptr %3, align 8
%103 = call i32 @strcpy(ptr noundef %102, ptr noundef @.str.3)
%104 = load ptr, ptr %3, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 7
%106 = load ptr, ptr %5, align 8
%107 = load ptr, ptr %5, align 8
%108 = call i64 @strlen(ptr noundef %107)
%109 = add nsw i64 %108, 1
%110 = call i32 @memmove(ptr noundef %105, ptr noundef %106, i64 noundef %109)
br label %111
111: ; preds = %101, %56
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45lo_zzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parse error\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"at line \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"at XXX \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"at lines \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isql_norm_line_with_xxx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr null, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str)
br label %20
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strstr(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %3, align 8
%15 = icmp ne ptr null, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
br label %19
19: ; preds = %16, %12
br label %20
20: ; preds = %19, %9
%21 = load ptr, ptr %2, align 8
%22 = call ptr @strstr(ptr noundef %21, ptr noundef @.str.2)
store ptr %22, ptr %3, align 8
%23 = icmp ne ptr null, %22
br i1 %23, label %24, label %62
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 8
store ptr %26, ptr %4, align 8
%27 = load ptr, ptr %4, align 8
%28 = load i8, ptr %27, align 1
%29 = call i64 @isdigit(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %.lr.ph, label %39
.lr.ph: ; preds = %24
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 0
%36 = load i8, ptr %35, align 1
%37 = call i64 @isdigit(i8 noundef signext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %24
%40 = load ptr, ptr %4, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 32, %42
br i1 %43, label %.lr.ph2, label %52
.lr.ph2: ; preds = %39
br label %44
44: ; preds = %.lr.ph2, %44
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %4, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 32, %50
br i1 %51, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %52
52: ; preds = %._crit_edge3, %39
%53 = load ptr, ptr %3, align 8
%54 = call i32 @strcpy(ptr noundef %53, ptr noundef @.str.3)
%55 = load ptr, ptr %3, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 7
%57 = load ptr, ptr %4, align 8
%58 = load ptr, ptr %4, align 8
%59 = call i64 @strlen(ptr noundef %58)
%60 = add nsw i64 %59, 1
%61 = call i32 @memmove(ptr noundef %56, ptr noundef %57, i64 noundef %60)
br label %62
62: ; preds = %52, %20
%63 = load ptr, ptr %2, align 8
%64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.4)
store ptr %64, ptr %3, align 8
%65 = icmp ne ptr null, %64
br i1 %65, label %66, label %126
66: ; preds = %62
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 9
store ptr %68, ptr %5, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i8, ptr %69, align 1
%71 = call i64 @isdigit(i8 noundef signext %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %.lr.ph5, label %81
.lr.ph5: ; preds = %66
br label %73
73: ; preds = %.lr.ph5, %73
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %5, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds i8, ptr %76, i64 0
%78 = load i8, ptr %77, align 1
%79 = call i64 @isdigit(i8 noundef signext %78)
%80 = icmp ne i64 %79, 0
br i1 %80, label %73, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %73
br label %81
81: ; preds = %._crit_edge6, %66
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 0
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 45, %85
br i1 %86, label %87, label %103
87: ; preds = %81
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %5, align 8
%90 = load ptr, ptr %5, align 8
%91 = load i8, ptr %90, align 1
%92 = call i64 @isdigit(i8 noundef signext %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %.lr.ph8, label %102
.lr.ph8: ; preds = %87
br label %94
94: ; preds = %.lr.ph8, %94
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %5, align 8
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 0
%99 = load i8, ptr %98, align 1
%100 = call i64 @isdigit(i8 noundef signext %99)
%101 = icmp ne i64 %100, 0
br i1 %101, label %94, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %94
br label %102
102: ; preds = %._crit_edge9, %87
br label %103
103: ; preds = %102, %81
%104 = load ptr, ptr %5, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 32, %106
br i1 %107, label %.lr.ph11, label %116
.lr.ph11: ; preds = %103
br label %108
108: ; preds = %.lr.ph11, %108
%109 = load ptr, ptr %5, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %5, align 8
%111 = load ptr, ptr %5, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 0
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 32, %114
br i1 %115, label %108, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %108
br label %116
116: ; preds = %._crit_edge12, %103
%117 = load ptr, ptr %3, align 8
%118 = call i32 @strcpy(ptr noundef %117, ptr noundef @.str.3)
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 7
%121 = load ptr, ptr %5, align 8
%122 = load ptr, ptr %5, align 8
%123 = call i64 @strlen(ptr noundef %122)
%124 = add nsw i64 %123, 1
%125 = call i32 @memmove(ptr noundef %120, ptr noundef %121, i64 noundef %124)
br label %126
126: ; preds = %116, %62
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmphb6n1x81.c'
source_filename = "/tmp/tmphb6n1x81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@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/tmphb6n1x81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@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/tmpzroc7brs.c'
source_filename = "/tmp/tmpzroc7brs.c"
target datalayout = "e-m:e-p270: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/tmpzroc7brs.c"
target datalayout = "e-m:e-p270: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/tmp4_mrxfv9.c'
source_filename = "/tmp/tmp4_mrxfv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_SealInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%20 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %16, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %17, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load ptr, ptr %9, align 8
%28 = call i32 @EVP_CIPHER_CTX_init(ptr noundef %27)
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @EVP_EncryptInit_ex(ptr noundef %29, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
34: ; preds = %26
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %15, align 4
%37 = icmp sle i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load ptr, ptr %14, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i64 @EVP_CIPHER_CTX_rand_key(ptr noundef %43, ptr noundef %23)
%45 = icmp sle i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %9, align 8
%54 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %53)
%55 = call i32 @arc4random_buf(ptr noundef %52, i64 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %13, align 8
%59 = call i32 @EVP_EncryptInit_ex(ptr noundef %57, ptr noundef null, ptr noundef null, ptr noundef %23, ptr noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
62: ; preds = %56
store i32 0, ptr %18, align 4
br label %63
63: ; preds = %93, %62
%64 = load i32, ptr %18, align 4
%65 = load i32, ptr %15, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %96
67: ; preds = %63
%68 = load ptr, ptr %11, align 8
%69 = load i32, ptr %18, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load ptr, ptr %9, align 8
%74 = call i32 @EVP_CIPHER_CTX_key_length(ptr noundef %73)
%75 = load ptr, ptr %14, align 8
%76 = load i32, ptr %18, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 @EVP_PKEY_encrypt_old(ptr noundef %72, ptr noundef %23, i32 noundef %74, ptr noundef %79)
%81 = load ptr, ptr %12, align 8
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %80, ptr %84, align 4
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %18, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
%90 = icmp sle i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %67
store i32 -1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
92: ; preds = %67
br label %93
93: ; preds = %92
%94 = load i32, ptr %18, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %18, align 4
br label %63, !llvm.loop !6
96: ; preds = %63
%97 = load i32, ptr %15, align 4
store i32 %97, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
98: ; preds = %96, %91, %61, %46, %41, %33
%99 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %99)
%100 = load i32, ptr %8, align 4
ret i32 %100
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_CTX_init(ptr noundef) #2
declare i32 @EVP_EncryptInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_rand_key(ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_iv_length(ptr noundef) #2
declare i32 @arc4random_buf(ptr noundef, i64 noundef) #2
declare i32 @EVP_PKEY_encrypt_old(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_CTX_key_length(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_mrxfv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_SealInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%20 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %16, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %17, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load ptr, ptr %9, align 8
%28 = call i32 @EVP_CIPHER_CTX_init(ptr noundef %27)
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @EVP_EncryptInit_ex(ptr noundef %29, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
34: ; preds = %26
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %15, align 4
%37 = icmp sle i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load ptr, ptr %14, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i64 @EVP_CIPHER_CTX_rand_key(ptr noundef %43, ptr noundef %23)
%45 = icmp sle i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %9, align 8
%54 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %53)
%55 = call i32 @arc4random_buf(ptr noundef %52, i64 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %13, align 8
%59 = call i32 @EVP_EncryptInit_ex(ptr noundef %57, ptr noundef null, ptr noundef null, ptr noundef %23, ptr noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
62: ; preds = %56
store i32 0, ptr %18, align 4
%63 = load i32, ptr %18, align 4
%64 = load i32, ptr %15, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph, label %98
.lr.ph: ; preds = %62
br label %66
66: ; preds = %.lr.ph, %92
%67 = load ptr, ptr %11, align 8
%68 = load i32, ptr %18, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load ptr, ptr %9, align 8
%73 = call i32 @EVP_CIPHER_CTX_key_length(ptr noundef %72)
%74 = load ptr, ptr %14, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = call i32 @EVP_PKEY_encrypt_old(ptr noundef %71, ptr noundef %23, i32 noundef %73, ptr noundef %78)
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %18, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %18, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4
%89 = icmp sle i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %66
store i32 -1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
91: ; preds = %66
br label %92
92: ; preds = %91
%93 = load i32, ptr %18, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %18, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %15, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %66, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %92
br label %98
98: ; preds = %._crit_edge, %62
%99 = load i32, ptr %15, align 4
store i32 %99, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
100: ; preds = %98, %90, %61, %46, %41, %33
%101 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %101)
%102 = load i32, ptr %8, align 4
ret i32 %102
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_CTX_init(ptr noundef) #2
declare i32 @EVP_EncryptInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_rand_key(ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_iv_length(ptr noundef) #2
declare i32 @arc4random_buf(ptr noundef, i64 noundef) #2
declare i32 @EVP_PKEY_encrypt_old(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_CTX_key_length(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp119fsg0n.c'
source_filename = "/tmp/tmp119fsg0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswspace_ascii(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 9
%5 = icmp ult i32 %4, 5
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 32
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp119fsg0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswspace_ascii(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 9
%5 = icmp ult i32 %4, 5
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 32
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2gu1v4qe.c'
source_filename = "/tmp/tmp2gu1v4qe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter roman number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Invalid number\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"The number is above 256\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
br label %8
8: ; preds = %79, %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %82
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %90
19: ; preds = %14
%20 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
%24 = icmp sgt i32 %23, 2
br i1 %24, label %25, label %41
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @getromanv(i8 noundef signext %29)
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 2
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = call i32 @getromanv(i8 noundef signext %35)
%37 = icmp slt i32 %30, %36
br i1 %37, label %38, label %40
38: ; preds = %25
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %90
40: ; preds = %25
br label %41
41: ; preds = %40, %19
%42 = load i32, ptr %3, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = call i32 @getromanv(i8 noundef signext %45)
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i32 @getromanv(i8 noundef signext %51)
%53 = icmp sge i32 %46, %52
br i1 %53, label %54, label %62
54: ; preds = %41
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = call i32 @getromanv(i8 noundef signext %59)
%61 = add nsw i32 %55, %60
store i32 %61, ptr %4, align 4
br label %79
62: ; preds = %41
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = call i32 @getromanv(i8 noundef signext %68)
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = call i32 @getromanv(i8 noundef signext %73)
%75 = sub nsw i32 %69, %74
%76 = add nsw i32 %63, %75
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %3, align 4
br label %79
79: ; preds = %62, %54
%80 = load i32, ptr %3, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %3, align 4
br label %8, !llvm.loop !6
82: ; preds = %8
%83 = load i32, ptr %4, align 4
%84 = icmp sgt i32 %83, 256
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %90
87: ; preds = %82
%88 = load i32, ptr %4, align 4
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %88)
store i32 0, ptr %1, align 4
br label %90
90: ; preds = %87, %85, %38, %17
%91 = load i32, ptr %1, align 4
ret i32 %91
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @getromanv(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/tmp2gu1v4qe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter roman number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Invalid number\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"The number is above 256\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %86
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %78
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %94
18: ; preds = %13
%19 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %20, %21
%23 = icmp sgt i32 %22, 2
br i1 %23, label %24, label %40
24: ; preds = %18
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i32 @getromanv(i8 noundef signext %28)
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call i32 @getromanv(i8 noundef signext %34)
%36 = icmp slt i32 %29, %35
br i1 %36, label %37, label %39
37: ; preds = %24
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %94
39: ; preds = %24
br label %40
40: ; preds = %39, %18
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = call i32 @getromanv(i8 noundef signext %44)
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = call i32 @getromanv(i8 noundef signext %50)
%52 = icmp sge i32 %45, %51
br i1 %52, label %53, label %61
53: ; preds = %40
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = call i32 @getromanv(i8 noundef signext %58)
%60 = add nsw i32 %54, %59
store i32 %60, ptr %4, align 4
br label %78
61: ; preds = %40
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = call i32 @getromanv(i8 noundef signext %67)
%69 = load i32, ptr %3, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = call i32 @getromanv(i8 noundef signext %72)
%74 = sub nsw i32 %68, %73
%75 = add nsw i32 %62, %74
store i32 %75, ptr %4, align 4
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %3, align 4
br label %78
78: ; preds = %61, %53
%79 = load i32, ptr %3, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %3, align 4
%81 = load i32, ptr %3, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = icmp ne i8 %84, 0
br i1 %85, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %86
86: ; preds = %._crit_edge, %0
%87 = load i32, ptr %4, align 4
%88 = icmp sgt i32 %87, 256
br i1 %88, label %89, label %91
89: ; preds = %86
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %94
91: ; preds = %86
%92 = load i32, ptr %4, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %92)
store i32 0, ptr %1, align 4
br label %94
94: ; preds = %91, %89, %37, %16
%95 = load i32, ptr %1, align 4
ret i32 %95
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @getromanv(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/tmp0ku5qley.c'
source_filename = "/tmp/tmp0ku5qley.c"
target datalayout = "e-m:e-p270: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/tmp0ku5qley.c"
target datalayout = "e-m:e-p270: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/tmp1258zyzx.c'
source_filename = "/tmp/tmp1258zyzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lli\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 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 50
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = call i32 (...) @fibonacci()
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fibonacci(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1258zyzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lli\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 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 50
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = call i32 (...) @fibonacci()
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 50
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fibonacci(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp85c06ago.c'
source_filename = "/tmp/tmp85c06ago.c"
target datalayout = "e-m:e-p270: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/tmp85c06ago.c"
target datalayout = "e-m:e-p270: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/tmptnh_scfz.c'
source_filename = "/tmp/tmptnh_scfz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"Usage: %s --run=RUN_MINUTES --sleep=SLEEP_MINUTES \0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Example: %s --run=5 --sleep=50 \0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Simple Raspberry Timer for our compost bin.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [55 x i8] c" run number of minutes to run, default: %u\0A\00", align 1
@.str.5 = private unnamed_addr constant [57 x i8] c" sleep number of minutes to sleep, default: %u\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c" gpio gpio pin to signal fan, default: %u\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c" daemon run as daemon, default: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c" port port to listen to, default: %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c" up_time up time specifies 24 hour range where pin can be on, default: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [68 x i8] c" random use random time offset to turn on pin, default: %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [39 x i8] c" help get this help message\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = call ptr (...) @get_pi_timer_version()
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (...) @get_run_minutes()
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4, i32 noundef %15)
%17 = load i32, ptr @stdout, align 4
%18 = call i32 (...) @get_random_sleep_minutes()
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5, i32 noundef %18)
%20 = load i32, ptr @stdout, align 4
%21 = call i64 (...) @get_pin()
%22 = trunc i64 %21 to i32
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.6, i32 noundef %22)
%24 = load i32, ptr @stdout, align 4
%25 = call i64 (...) @get_run_as_daemon()
%26 = icmp ne i64 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.8, ptr @.str.9
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.7, ptr noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i64 (...) @get_server_port()
%32 = trunc i64 %31 to i32
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.10, i32 noundef %32)
%34 = load i32, ptr @stdout, align 4
%35 = call ptr (...) @get_up_time_string()
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.11, ptr noundef %35)
%37 = load i32, ptr @stdout, align 4
%38 = call i64 (...) @get_use_random()
%39 = icmp ne i64 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.8, ptr @.str.9
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.12, ptr noundef %41)
%43 = load i32, ptr @stdout, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.13)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @get_pi_timer_version(...) #1
declare i32 @get_run_minutes(...) #1
declare i32 @get_random_sleep_minutes(...) #1
declare i64 @get_pin(...) #1
declare i64 @get_run_as_daemon(...) #1
declare i64 @get_server_port(...) #1
declare ptr @get_up_time_string(...) #1
declare i64 @get_use_random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnh_scfz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"Usage: %s --run=RUN_MINUTES --sleep=SLEEP_MINUTES \0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Example: %s --run=5 --sleep=50 \0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Simple Raspberry Timer for our compost bin.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [55 x i8] c" run number of minutes to run, default: %u\0A\00", align 1
@.str.5 = private unnamed_addr constant [57 x i8] c" sleep number of minutes to sleep, default: %u\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c" gpio gpio pin to signal fan, default: %u\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c" daemon run as daemon, default: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c" port port to listen to, default: %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c" up_time up time specifies 24 hour range where pin can be on, default: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [68 x i8] c" random use random time offset to turn on pin, default: %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [39 x i8] c" help get this help message\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = call ptr (...) @get_pi_timer_version()
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (...) @get_run_minutes()
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4, i32 noundef %15)
%17 = load i32, ptr @stdout, align 4
%18 = call i32 (...) @get_random_sleep_minutes()
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5, i32 noundef %18)
%20 = load i32, ptr @stdout, align 4
%21 = call i64 (...) @get_pin()
%22 = trunc i64 %21 to i32
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.6, i32 noundef %22)
%24 = load i32, ptr @stdout, align 4
%25 = call i64 (...) @get_run_as_daemon()
%26 = icmp ne i64 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.8, ptr @.str.9
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.7, ptr noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i64 (...) @get_server_port()
%32 = trunc i64 %31 to i32
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.10, i32 noundef %32)
%34 = load i32, ptr @stdout, align 4
%35 = call ptr (...) @get_up_time_string()
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.11, ptr noundef %35)
%37 = load i32, ptr @stdout, align 4
%38 = call i64 (...) @get_use_random()
%39 = icmp ne i64 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.8, ptr @.str.9
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.12, ptr noundef %41)
%43 = load i32, ptr @stdout, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.13)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @get_pi_timer_version(...) #1
declare i32 @get_run_minutes(...) #1
declare i32 @get_random_sleep_minutes(...) #1
declare i64 @get_pin(...) #1
declare i64 @get_run_as_daemon(...) #1
declare i64 @get_server_port(...) #1
declare ptr @get_up_time_string(...) #1
declare i64 @get_use_random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt6f58vaf.c'
source_filename = "/tmp/tmpt6f58vaf.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@__const.main.optstring = private unnamed_addr constant [3 x i8] c"hv\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"version\00", align 1
@__const.main.long_opts = private unnamed_addr constant [3 x %struct.option] [%struct.option { ptr @.str, i8 0, i32 0, i32 104 }, %struct.option { ptr @.str.1, i8 0, i32 0, i32 118 }, %struct.option zeroinitializer], align 16
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"-%c: Unkown option\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Incomplete input\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Too much inputs\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 [3 x i8], align 1
%8 = alloca i8, align 1
%9 = alloca [3 x %struct.option], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.optstring, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.long_opts, i64 72, i1 false)
br label %10
10: ; preds = %31, %2
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%14 = getelementptr inbounds [3 x %struct.option], ptr %9, i64 0, i64 0
%15 = call signext i8 @getopt_long(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %6)
store i8 %15, ptr %8, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr @EOF, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %32
20: ; preds = %10
%21 = load i8, ptr %8, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %27 [
i32 104, label %23
i32 118, label %25
]
23: ; preds = %20
%24 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %63
25: ; preds = %20
%26 = call i32 (...) @version()
store i32 0, ptr %3, align 4
br label %63
27: ; preds = %20
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
br label %31
31: ; preds = %27
br label %10, !llvm.loop !6
32: ; preds = %10
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr @optind, align 4
%35 = sub nsw i32 %33, %34
%36 = icmp slt i32 %35, 1
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %63
39: ; preds = %32
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr @optind, align 4
%42 = sub nsw i32 %40, %41
%43 = icmp sgt i32 %42, 1
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %63
46: ; preds = %39
br label %47
47: ; preds = %46
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr @optind, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = call i64 @chdir(ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %47
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr @optind, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = call i32 @perror(ptr noundef %60)
store i32 0, ptr %3, align 4
br label %63
62: ; preds = %47
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %62, %55, %44, %37, %25, %23
%64 = load i32, ptr %3, align 4
ret i32 %64
}
; 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 signext i8 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @help(...) #2
declare i32 @version(...) #2
declare i32 @printf(ptr noundef, ...) #2
declare i64 @chdir(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt6f58vaf.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@__const.main.optstring = private unnamed_addr constant [3 x i8] c"hv\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"version\00", align 1
@__const.main.long_opts = private unnamed_addr constant [3 x %struct.option] [%struct.option { ptr @.str, i8 0, i32 0, i32 104 }, %struct.option { ptr @.str.1, i8 0, i32 0, i32 118 }, %struct.option zeroinitializer], align 16
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"-%c: Unkown option\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Incomplete input\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Too much inputs\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 [3 x i8], align 1
%8 = alloca i8, align 1
%9 = alloca [3 x %struct.option], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.optstring, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.long_opts, i64 72, i1 false)
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%13 = getelementptr inbounds [3 x %struct.option], ptr %9, i64 0, i64 0
%14 = call signext i8 @getopt_long(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %6)
store i8 %14, ptr %8, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr @EOF, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %15, %17
br i1 %18, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %30
%20 = load i8, ptr %8, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %26 [
i32 104, label %22
i32 118, label %24
]
22: ; preds = %19
%23 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %69
24: ; preds = %19
%25 = call i32 (...) @version()
store i32 0, ptr %3, align 4
br label %69
26: ; preds = %19
%27 = load i8, ptr %8, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28)
br label %30
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %5, align 8
%33 = call signext i8 @getopt_long(i32 noundef %31, ptr noundef %32, ptr noundef %12, ptr noundef %13, ptr noundef %6)
store i8 %33, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = load i8, ptr @EOF, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %34, %36
br i1 %37, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %38
38: ; preds = %._crit_edge, %2
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @optind, align 4
%41 = sub nsw i32 %39, %40
%42 = icmp slt i32 %41, 1
br i1 %42, label %43, label %45
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %69
45: ; preds = %38
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr @optind, align 4
%48 = sub nsw i32 %46, %47
%49 = icmp sgt i32 %48, 1
br i1 %49, label %50, label %52
50: ; preds = %45
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %69
52: ; preds = %45
br label %53
53: ; preds = %52
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr @optind, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = call i64 @chdir(ptr noundef %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %61, label %68
61: ; preds = %53
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr @optind, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = call i32 @perror(ptr noundef %66)
store i32 0, ptr %3, align 4
br label %69
68: ; preds = %53
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %68, %61, %50, %43, %24, %22
%70 = load i32, ptr %3, align 4
ret i32 %70
}
; 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 signext i8 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @help(...) #2
declare i32 @version(...) #2
declare i32 @printf(ptr noundef, ...) #2
declare i64 @chdir(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfba_pbyw.c'
source_filename = "/tmp/tmpfba_pbyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vabsdiffs4(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @vcmpges4(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = xor i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = and i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = xor i32 %15, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = xor i32 %18, %19
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @vsub4(i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i32 @vcmpges4(i32 noundef, i32 noundef) #1
declare i32 @vsub4(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/tmpfba_pbyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vabsdiffs4(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @vcmpges4(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = xor i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = and i32 %13, %14
%16 = load i32, ptr %4, align 4
%17 = xor i32 %15, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = xor i32 %18, %19
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @vsub4(i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i32 @vcmpges4(i32 noundef, i32 noundef) #1
declare i32 @vsub4(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/tmpgqbdz33u.c'
source_filename = "/tmp/tmpgqbdz33u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @swap_symbols_for_dobldobl_witness_set(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %6, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 817, ptr noundef %3, ptr noundef %4, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqbdz33u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @swap_symbols_for_dobldobl_witness_set(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %6, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 817, ptr noundef %3, ptr noundef %4, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk9wf60j8.c'
source_filename = "/tmp/tmpk9wf60j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isUnique(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [128 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %15, %1
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 128
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %13
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
br label %8, !llvm.loop !6
18: ; preds = %8
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = trunc i64 %20 to i32
store i32 %21, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %50, %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %53
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %26
store i32 0, ptr %2, align 4
br label %54
38: ; preds = %26
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %46, align 4
br label %49
49: ; preds = %38
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %22, !llvm.loop !8
53: ; preds = %22
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %37
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk9wf60j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isUnique(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [128 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 128
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %14
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %12
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 128
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
store i32 0, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph2, label %56
.lr.ph2: ; preds = %19
br label %26
26: ; preds = %.lr.ph2, %50
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %26
store i32 0, ptr %2, align 4
br label %57
38: ; preds = %26
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %46, align 4
br label %49
49: ; preds = %38
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %19
store i32 1, ptr %2, align 4
br label %57
57: ; preds = %56, %37
%58 = load i32, ptr %2, align 4
ret i32 %58
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi06hpx__.c'
source_filename = "/tmp/tmpi06hpx__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.target_theta.coeff = private unnamed_addr constant [21 x float] [float 0x3F076F04A0000000, float 0xBFAC4ED6C0000000, float 0x3FB0E3A600000000, float 0x3F8080E380000000, float 0xBF7A7C80E0000000, float 0xBF699D4700000000, float 0x3F488B9E40000000, float 0xBF64699380000000, float 0x3F69074660000000, float 0xBF0CF99540000000, float 0x3F0276BC20000000, float 0xBF1770C8E0000000, float 0x3F216A63C0000000, float 0x3F2D4A2820000000, float 0xBF34A55020000000, float 0xBF11CD8880000000, float 0x3F34ABF2E0000000, float 0xBF3520B2C0000000, float 0xBF1D743C40000000, float 0x3F24ADD120000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_theta(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 20, ptr %7, align 4
store float 0x3FB0EF71C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %34, align 16
%35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %35, align 4
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %36, align 8
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032035400000000, ptr %37, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FCEDA0000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_theta.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %80
44: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %45
45: ; preds = %76, %44
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %79
49: ; preds = %45
%50 = load i32, ptr %14, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %51
%53 = load float, ptr %52, align 4
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = fcmp oeq float %53, %57
br i1 %58, label %59, label %60
59: ; preds = %49
br label %76
60: ; preds = %49
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %62
%64 = load float, ptr %63, align 4
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = fsub float %64, %68
%70 = fpext float %69 to double
%71 = fdiv double 2.000000e+00, %70
%72 = fptrunc double %71 to float
%73 = load i32, ptr %14, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %74
store float %72, ptr %75, align 4
br label %76
76: ; preds = %60, %59
%77 = load i32, ptr %14, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %14, align 4
br label %45, !llvm.loop !6
79: ; preds = %45
br label %80
80: ; preds = %79, %3
%81 = load ptr, ptr %4, align 8
%82 = getelementptr inbounds float, ptr %81, i64 0
%83 = load float, ptr %82, align 4
%84 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%85 = load float, ptr %84, align 16
%86 = fsub float %83, %85
%87 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%88 = load float, ptr %87, align 16
%89 = fmul float %86, %88
%90 = fpext float %89 to double
%91 = fadd double 1.000000e+00, %90
%92 = fptrunc double %91 to float
store float %92, ptr %15, align 4
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds float, ptr %93, i64 0
%95 = load float, ptr %94, align 4
%96 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%97 = load float, ptr %96, align 16
%98 = fmul float %95, %97
store float %98, ptr %16, align 4
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds float, ptr %99, i64 1
%101 = load float, ptr %100, align 4
%102 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%103 = load float, ptr %102, align 4
%104 = fsub float %101, %103
%105 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%106 = load float, ptr %105, align 4
%107 = fmul float %104, %106
%108 = fpext float %107 to double
%109 = fadd double 1.000000e+00, %108
%110 = fptrunc double %109 to float
store float %110, ptr %17, align 4
%111 = load ptr, ptr %5, align 8
%112 = getelementptr inbounds float, ptr %111, i64 1
%113 = load float, ptr %112, align 4
%114 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%115 = load float, ptr %114, align 4
%116 = fmul float %113, %115
store float %116, ptr %18, align 4
%117 = load ptr, ptr %4, align 8
%118 = getelementptr inbounds float, ptr %117, i64 2
%119 = load float, ptr %118, align 4
%120 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%121 = load float, ptr %120, align 8
%122 = fsub float %119, %121
%123 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%124 = load float, ptr %123, align 8
%125 = fmul float %122, %124
%126 = fpext float %125 to double
%127 = fadd double 1.000000e+00, %126
%128 = fptrunc double %127 to float
store float %128, ptr %19, align 4
%129 = load ptr, ptr %5, align 8
%130 = getelementptr inbounds float, ptr %129, i64 2
%131 = load float, ptr %130, align 4
%132 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%133 = load float, ptr %132, align 8
%134 = fmul float %131, %133
store float %134, ptr %20, align 4
%135 = load ptr, ptr %4, align 8
%136 = getelementptr inbounds float, ptr %135, i64 3
%137 = load float, ptr %136, align 4
%138 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%139 = load float, ptr %138, align 4
%140 = fsub float %137, %139
%141 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%142 = load float, ptr %141, align 4
%143 = fmul float %140, %142
%144 = fpext float %143 to double
%145 = fadd double 1.000000e+00, %144
%146 = fptrunc double %145 to float
store float %146, ptr %21, align 4
%147 = load ptr, ptr %5, align 8
%148 = getelementptr inbounds float, ptr %147, i64 3
%149 = load float, ptr %148, align 4
%150 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%151 = load float, ptr %150, align 4
%152 = fmul float %149, %151
store float %152, ptr %22, align 4
%153 = load float, ptr %15, align 4
store float %153, ptr %23, align 4
%154 = load float, ptr %23, align 4
%155 = load float, ptr %15, align 4
%156 = fmul float %154, %155
store float %156, ptr %24, align 4
%157 = load float, ptr %17, align 4
store float %157, ptr %25, align 4
%158 = load float, ptr %25, align 4
%159 = load float, ptr %17, align 4
%160 = fmul float %158, %159
store float %160, ptr %26, align 4
%161 = load float, ptr %19, align 4
store float %161, ptr %27, align 4
%162 = load float, ptr %27, align 4
%163 = load float, ptr %19, align 4
%164 = fmul float %162, %163
store float %164, ptr %28, align 4
%165 = load float, ptr %21, align 4
store float %165, ptr %29, align 4
%166 = load float, ptr %29, align 4
%167 = load float, ptr %21, align 4
%168 = fmul float %166, %167
store float %168, ptr %30, align 4
%169 = load float, ptr %8, align 4
%170 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%171 = load float, ptr %170, align 16
%172 = fadd float %169, %171
%173 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%174 = load float, ptr %173, align 4
%175 = load float, ptr %25, align 4
%176 = call float @llvm.fmuladd.f32(float %174, float %175, float %172)
%177 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%178 = load float, ptr %177, align 8
%179 = load float, ptr %29, align 4
%180 = call float @llvm.fmuladd.f32(float %178, float %179, float %176)
%181 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%182 = load float, ptr %181, align 4
%183 = load float, ptr %23, align 4
%184 = fmul float %182, %183
%185 = load float, ptr %27, align 4
%186 = call float @llvm.fmuladd.f32(float %184, float %185, float %180)
%187 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%188 = load float, ptr %187, align 16
%189 = load float, ptr %28, align 4
%190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186)
%191 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%192 = load float, ptr %191, align 4
%193 = load float, ptr %25, align 4
%194 = fmul float %192, %193
%195 = load float, ptr %29, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %190)
%197 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%198 = load float, ptr %197, align 8
%199 = load float, ptr %26, align 4
%200 = call float @llvm.fmuladd.f32(float %198, float %199, float %196)
%201 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%202 = load float, ptr %201, align 4
%203 = load float, ptr %24, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %200)
store float %204, ptr %31, align 4
%205 = load float, ptr %31, align 4
%206 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%207 = load float, ptr %206, align 16
%208 = load float, ptr %30, align 4
%209 = call float @llvm.fmuladd.f32(float %207, float %208, float %205)
%210 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%211 = load float, ptr %210, align 4
%212 = load float, ptr %27, align 4
%213 = call float @llvm.fmuladd.f32(float %211, float %212, float %209)
%214 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%215 = load float, ptr %214, align 8
%216 = load float, ptr %23, align 4
%217 = call float @llvm.fmuladd.f32(float %215, float %216, float %213)
%218 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%219 = load float, ptr %218, align 4
%220 = load float, ptr %23, align 4
%221 = fmul float %219, %220
%222 = load float, ptr %25, align 4
%223 = fmul float %221, %222
%224 = load float, ptr %27, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %217)
%226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%227 = load float, ptr %226, align 16
%228 = load float, ptr %25, align 4
%229 = fmul float %227, %228
%230 = load float, ptr %28, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225)
%232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%233 = load float, ptr %232, align 4
%234 = load float, ptr %25, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %28, align 4
%237 = fmul float %235, %236
%238 = load float, ptr %29, align 4
%239 = call float @llvm.fmuladd.f32(float %237, float %238, float %231)
%240 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%241 = load float, ptr %240, align 8
%242 = load float, ptr %28, align 4
%243 = fmul float %241, %242
%244 = load float, ptr %30, align 4
%245 = call float @llvm.fmuladd.f32(float %243, float %244, float %239)
%246 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%247 = load float, ptr %246, align 4
%248 = load float, ptr %24, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %29, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %245)
%252 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%253 = load float, ptr %252, align 16
%254 = load float, ptr %23, align 4
%255 = fmul float %253, %254
%256 = load float, ptr %27, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %29, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %251)
store float %259, ptr %31, align 4
%260 = load float, ptr %31, align 4
%261 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%262 = load float, ptr %261, align 4
%263 = load float, ptr %28, align 4
%264 = fmul float %262, %263
%265 = load float, ptr %29, align 4
%266 = call float @llvm.fmuladd.f32(float %264, float %265, float %260)
%267 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%268 = load float, ptr %267, align 8
%269 = load float, ptr %24, align 4
%270 = fmul float %268, %269
%271 = load float, ptr %25, align 4
%272 = fmul float %270, %271
%273 = load float, ptr %29, align 4
%274 = call float @llvm.fmuladd.f32(float %272, float %273, float %266)
%275 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%276 = load float, ptr %275, align 4
%277 = load float, ptr %24, align 4
%278 = fmul float %276, %277
%279 = load float, ptr %30, align 4
%280 = call float @llvm.fmuladd.f32(float %278, float %279, float %274)
store float %280, ptr %31, align 4
%281 = load float, ptr %16, align 4
%282 = fadd float 0.000000e+00, %281
%283 = load float, ptr %18, align 4
%284 = fadd float %282, %283
%285 = load float, ptr %20, align 4
%286 = fadd float %284, %285
%287 = load float, ptr %22, align 4
%288 = fadd float %286, %287
store float %288, ptr %32, align 4
%289 = load float, ptr %32, align 4
%290 = fcmp oeq float %289, 0.000000e+00
br i1 %290, label %291, label %292
291: ; preds = %80
br label %501
292: ; preds = %80
%293 = load float, ptr %16, align 4
%294 = load float, ptr %16, align 4
%295 = fmul float %293, %294
%296 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%297 = load float, ptr %296, align 4
%298 = load float, ptr %27, align 4
%299 = call float @llvm.fmuladd.f32(float %297, float %298, float 0.000000e+00)
%300 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%301 = load float, ptr %300, align 4
%302 = fmul float 2.000000e+00, %301
%303 = load float, ptr %23, align 4
%304 = call float @llvm.fmuladd.f32(float %302, float %303, float %299)
%305 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%306 = load float, ptr %305, align 8
%307 = fadd float %304, %306
%308 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%309 = load float, ptr %308, align 4
%310 = load float, ptr %25, align 4
%311 = fmul float %309, %310
%312 = load float, ptr %27, align 4
%313 = call float @llvm.fmuladd.f32(float %311, float %312, float %307)
%314 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%315 = load float, ptr %314, align 4
%316 = fmul float 2.000000e+00, %315
%317 = load float, ptr %23, align 4
%318 = fmul float %316, %317
%319 = load float, ptr %29, align 4
%320 = call float @llvm.fmuladd.f32(float %318, float %319, float %313)
%321 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%322 = load float, ptr %321, align 16
%323 = load float, ptr %27, align 4
%324 = fmul float %322, %323
%325 = load float, ptr %29, align 4
%326 = call float @llvm.fmuladd.f32(float %324, float %325, float %320)
%327 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%328 = load float, ptr %327, align 8
%329 = fmul float 2.000000e+00, %328
%330 = load float, ptr %23, align 4
%331 = fmul float %329, %330
%332 = load float, ptr %25, align 4
%333 = fmul float %331, %332
%334 = load float, ptr %29, align 4
%335 = call float @llvm.fmuladd.f32(float %333, float %334, float %326)
%336 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%337 = load float, ptr %336, align 4
%338 = fmul float 2.000000e+00, %337
%339 = load float, ptr %23, align 4
%340 = fmul float %338, %339
%341 = load float, ptr %30, align 4
%342 = call float @llvm.fmuladd.f32(float %340, float %341, float %335)
%343 = call float @pow(float noundef %342, i32 noundef 2)
%344 = load float, ptr %18, align 4
%345 = load float, ptr %18, align 4
%346 = fmul float %344, %345
%347 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%348 = load float, ptr %347, align 4
%349 = fadd float 0.000000e+00, %348
%350 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%351 = load float, ptr %350, align 4
%352 = load float, ptr %29, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %349)
%354 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%355 = load float, ptr %354, align 8
%356 = fmul float 2.000000e+00, %355
%357 = load float, ptr %25, align 4
%358 = call float @llvm.fmuladd.f32(float %356, float %357, float %353)
%359 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%360 = load float, ptr %359, align 4
%361 = load float, ptr %23, align 4
%362 = fmul float %360, %361
%363 = load float, ptr %27, align 4
%364 = call float @llvm.fmuladd.f32(float %362, float %363, float %358)
%365 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%366 = load float, ptr %365, align 16
%367 = load float, ptr %28, align 4
%368 = call float @llvm.fmuladd.f32(float %366, float %367, float %364)
%369 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%370 = load float, ptr %369, align 4
%371 = load float, ptr %28, align 4
%372 = fmul float %370, %371
%373 = load float, ptr %29, align 4
%374 = call float @llvm.fmuladd.f32(float %372, float %373, float %368)
%375 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%376 = load float, ptr %375, align 8
%377 = load float, ptr %24, align 4
%378 = fmul float %376, %377
%379 = load float, ptr %29, align 4
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %374)
%381 = call float @pow(float noundef %380, i32 noundef 2)
%382 = fmul float %346, %381
%383 = call float @llvm.fmuladd.f32(float %295, float %343, float %382)
%384 = load float, ptr %20, align 4
%385 = load float, ptr %20, align 4
%386 = fmul float %384, %385
%387 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%388 = load float, ptr %387, align 4
%389 = load float, ptr %23, align 4
%390 = call float @llvm.fmuladd.f32(float %388, float %389, float 0.000000e+00)
%391 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%392 = load float, ptr %391, align 16
%393 = fmul float 2.000000e+00, %392
%394 = load float, ptr %27, align 4
%395 = call float @llvm.fmuladd.f32(float %393, float %394, float %390)
%396 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%397 = load float, ptr %396, align 4
%398 = fadd float %395, %397
%399 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%400 = load float, ptr %399, align 4
%401 = load float, ptr %23, align 4
%402 = fmul float %400, %401
%403 = load float, ptr %25, align 4
%404 = call float @llvm.fmuladd.f32(float %402, float %403, float %398)
%405 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%406 = load float, ptr %405, align 16
%407 = fmul float 2.000000e+00, %406
%408 = load float, ptr %27, align 4
%409 = fmul float %407, %408
%410 = load float, ptr %25, align 4
%411 = call float @llvm.fmuladd.f32(float %409, float %410, float %404)
%412 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%413 = load float, ptr %412, align 4
%414 = fmul float 2.000000e+00, %413
%415 = load float, ptr %27, align 4
%416 = fmul float %414, %415
%417 = load float, ptr %25, align 4
%418 = fmul float %416, %417
%419 = load float, ptr %29, align 4
%420 = call float @llvm.fmuladd.f32(float %418, float %419, float %411)
%421 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%422 = load float, ptr %421, align 8
%423 = fmul float 2.000000e+00, %422
%424 = load float, ptr %27, align 4
%425 = fmul float %423, %424
%426 = load float, ptr %30, align 4
%427 = call float @llvm.fmuladd.f32(float %425, float %426, float %420)
%428 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%429 = load float, ptr %428, align 16
%430 = load float, ptr %23, align 4
%431 = fmul float %429, %430
%432 = load float, ptr %29, align 4
%433 = call float @llvm.fmuladd.f32(float %431, float %432, float %427)
%434 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%435 = load float, ptr %434, align 4
%436 = fmul float 2.000000e+00, %435
%437 = load float, ptr %27, align 4
%438 = fmul float %436, %437
%439 = load float, ptr %29, align 4
%440 = call float @llvm.fmuladd.f32(float %438, float %439, float %433)
%441 = call float @pow(float noundef %440, i32 noundef 2)
%442 = call float @llvm.fmuladd.f32(float %386, float %441, float %383)
%443 = load float, ptr %22, align 4
%444 = load float, ptr %22, align 4
%445 = fmul float %443, %444
%446 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%447 = load float, ptr %446, align 8
%448 = fadd float 0.000000e+00, %447
%449 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%450 = load float, ptr %449, align 4
%451 = load float, ptr %25, align 4
%452 = call float @llvm.fmuladd.f32(float %450, float %451, float %448)
%453 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%454 = load float, ptr %453, align 16
%455 = fmul float 2.000000e+00, %454
%456 = load float, ptr %29, align 4
%457 = call float @llvm.fmuladd.f32(float %455, float %456, float %452)
%458 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%459 = load float, ptr %458, align 4
%460 = load float, ptr %25, align 4
%461 = fmul float %459, %460
%462 = load float, ptr %28, align 4
%463 = call float @llvm.fmuladd.f32(float %461, float %462, float %457)
%464 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%465 = load float, ptr %464, align 8
%466 = fmul float 2.000000e+00, %465
%467 = load float, ptr %29, align 4
%468 = fmul float %466, %467
%469 = load float, ptr %28, align 4
%470 = call float @llvm.fmuladd.f32(float %468, float %469, float %463)
%471 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%472 = load float, ptr %471, align 4
%473 = load float, ptr %24, align 4
%474 = call float @llvm.fmuladd.f32(float %472, float %473, float %470)
%475 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%476 = load float, ptr %475, align 16
%477 = load float, ptr %23, align 4
%478 = fmul float %476, %477
%479 = load float, ptr %27, align 4
%480 = call float @llvm.fmuladd.f32(float %478, float %479, float %474)
%481 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%482 = load float, ptr %481, align 4
%483 = load float, ptr %28, align 4
%484 = call float @llvm.fmuladd.f32(float %482, float %483, float %480)
%485 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%486 = load float, ptr %485, align 8
%487 = load float, ptr %24, align 4
%488 = fmul float %486, %487
%489 = load float, ptr %25, align 4
%490 = call float @llvm.fmuladd.f32(float %488, float %489, float %484)
%491 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%492 = load float, ptr %491, align 4
%493 = fmul float 2.000000e+00, %492
%494 = load float, ptr %29, align 4
%495 = fmul float %493, %494
%496 = load float, ptr %24, align 4
%497 = call float @llvm.fmuladd.f32(float %495, float %496, float %490)
%498 = call float @pow(float noundef %497, i32 noundef 2)
%499 = call float @llvm.fmuladd.f32(float %445, float %498, float %442)
%500 = call float @sqrt(float noundef %499)
br label %501
501: ; preds = %292, %291
%502 = phi float [ 0.000000e+00, %291 ], [ %500, %292 ]
store float %502, ptr %33, align 4
%503 = load float, ptr %33, align 4
%504 = load ptr, ptr %5, align 8
%505 = getelementptr inbounds float, ptr %504, i64 0
store float %503, ptr %505, align 4
%506 = load float, ptr %31, align 4
ret float %506
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi06hpx__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.target_theta.coeff = private unnamed_addr constant [21 x float] [float 0x3F076F04A0000000, float 0xBFAC4ED6C0000000, float 0x3FB0E3A600000000, float 0x3F8080E380000000, float 0xBF7A7C80E0000000, float 0xBF699D4700000000, float 0x3F488B9E40000000, float 0xBF64699380000000, float 0x3F69074660000000, float 0xBF0CF99540000000, float 0x3F0276BC20000000, float 0xBF1770C8E0000000, float 0x3F216A63C0000000, float 0x3F2D4A2820000000, float 0xBF34A55020000000, float 0xBF11CD8880000000, float 0x3F34ABF2E0000000, float 0xBF3520B2C0000000, float 0xBF1D743C40000000, float 0x3F24ADD120000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_theta(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 20, ptr %7, align 4
store float 0x3FB0EF71C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %34, align 16
%35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %35, align 4
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %36, align 8
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032035400000000, ptr %37, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FCEDA0000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_theta.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %82
44: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %81
.lr.ph: ; preds = %44
br label %48
48: ; preds = %.lr.ph, %75
%49 = load i32, ptr %14, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = load i32, ptr %14, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = fcmp oeq float %52, %56
br i1 %57, label %58, label %59
58: ; preds = %48
br label %75
59: ; preds = %48
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %61
%63 = load float, ptr %62, align 4
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = fsub float %63, %67
%69 = fpext float %68 to double
%70 = fdiv double 2.000000e+00, %69
%71 = fptrunc double %70 to float
%72 = load i32, ptr %14, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %73
store float %71, ptr %74, align 4
br label %75
75: ; preds = %59, %58
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %6, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %44
br label %82
82: ; preds = %81, %3
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds float, ptr %83, i64 0
%85 = load float, ptr %84, align 4
%86 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%87 = load float, ptr %86, align 16
%88 = fsub float %85, %87
%89 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%90 = load float, ptr %89, align 16
%91 = fmul float %88, %90
%92 = fpext float %91 to double
%93 = fadd double 1.000000e+00, %92
%94 = fptrunc double %93 to float
store float %94, ptr %15, align 4
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds float, ptr %95, i64 0
%97 = load float, ptr %96, align 4
%98 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%99 = load float, ptr %98, align 16
%100 = fmul float %97, %99
store float %100, ptr %16, align 4
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds float, ptr %101, i64 1
%103 = load float, ptr %102, align 4
%104 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%105 = load float, ptr %104, align 4
%106 = fsub float %103, %105
%107 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%108 = load float, ptr %107, align 4
%109 = fmul float %106, %108
%110 = fpext float %109 to double
%111 = fadd double 1.000000e+00, %110
%112 = fptrunc double %111 to float
store float %112, ptr %17, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds float, ptr %113, i64 1
%115 = load float, ptr %114, align 4
%116 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%117 = load float, ptr %116, align 4
%118 = fmul float %115, %117
store float %118, ptr %18, align 4
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds float, ptr %119, i64 2
%121 = load float, ptr %120, align 4
%122 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%123 = load float, ptr %122, align 8
%124 = fsub float %121, %123
%125 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%126 = load float, ptr %125, align 8
%127 = fmul float %124, %126
%128 = fpext float %127 to double
%129 = fadd double 1.000000e+00, %128
%130 = fptrunc double %129 to float
store float %130, ptr %19, align 4
%131 = load ptr, ptr %5, align 8
%132 = getelementptr inbounds float, ptr %131, i64 2
%133 = load float, ptr %132, align 4
%134 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%135 = load float, ptr %134, align 8
%136 = fmul float %133, %135
store float %136, ptr %20, align 4
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds float, ptr %137, i64 3
%139 = load float, ptr %138, align 4
%140 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%141 = load float, ptr %140, align 4
%142 = fsub float %139, %141
%143 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%144 = load float, ptr %143, align 4
%145 = fmul float %142, %144
%146 = fpext float %145 to double
%147 = fadd double 1.000000e+00, %146
%148 = fptrunc double %147 to float
store float %148, ptr %21, align 4
%149 = load ptr, ptr %5, align 8
%150 = getelementptr inbounds float, ptr %149, i64 3
%151 = load float, ptr %150, align 4
%152 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%153 = load float, ptr %152, align 4
%154 = fmul float %151, %153
store float %154, ptr %22, align 4
%155 = load float, ptr %15, align 4
store float %155, ptr %23, align 4
%156 = load float, ptr %23, align 4
%157 = load float, ptr %15, align 4
%158 = fmul float %156, %157
store float %158, ptr %24, align 4
%159 = load float, ptr %17, align 4
store float %159, ptr %25, align 4
%160 = load float, ptr %25, align 4
%161 = load float, ptr %17, align 4
%162 = fmul float %160, %161
store float %162, ptr %26, align 4
%163 = load float, ptr %19, align 4
store float %163, ptr %27, align 4
%164 = load float, ptr %27, align 4
%165 = load float, ptr %19, align 4
%166 = fmul float %164, %165
store float %166, ptr %28, align 4
%167 = load float, ptr %21, align 4
store float %167, ptr %29, align 4
%168 = load float, ptr %29, align 4
%169 = load float, ptr %21, align 4
%170 = fmul float %168, %169
store float %170, ptr %30, align 4
%171 = load float, ptr %8, align 4
%172 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%173 = load float, ptr %172, align 16
%174 = fadd float %171, %173
%175 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%176 = load float, ptr %175, align 4
%177 = load float, ptr %25, align 4
%178 = call float @llvm.fmuladd.f32(float %176, float %177, float %174)
%179 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%180 = load float, ptr %179, align 8
%181 = load float, ptr %29, align 4
%182 = call float @llvm.fmuladd.f32(float %180, float %181, float %178)
%183 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%184 = load float, ptr %183, align 4
%185 = load float, ptr %23, align 4
%186 = fmul float %184, %185
%187 = load float, ptr %27, align 4
%188 = call float @llvm.fmuladd.f32(float %186, float %187, float %182)
%189 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%190 = load float, ptr %189, align 16
%191 = load float, ptr %28, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%194 = load float, ptr %193, align 4
%195 = load float, ptr %25, align 4
%196 = fmul float %194, %195
%197 = load float, ptr %29, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %192)
%199 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%200 = load float, ptr %199, align 8
%201 = load float, ptr %26, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%204 = load float, ptr %203, align 4
%205 = load float, ptr %24, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
store float %206, ptr %31, align 4
%207 = load float, ptr %31, align 4
%208 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%209 = load float, ptr %208, align 16
%210 = load float, ptr %30, align 4
%211 = call float @llvm.fmuladd.f32(float %209, float %210, float %207)
%212 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%213 = load float, ptr %212, align 4
%214 = load float, ptr %27, align 4
%215 = call float @llvm.fmuladd.f32(float %213, float %214, float %211)
%216 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%217 = load float, ptr %216, align 8
%218 = load float, ptr %23, align 4
%219 = call float @llvm.fmuladd.f32(float %217, float %218, float %215)
%220 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%221 = load float, ptr %220, align 4
%222 = load float, ptr %23, align 4
%223 = fmul float %221, %222
%224 = load float, ptr %25, align 4
%225 = fmul float %223, %224
%226 = load float, ptr %27, align 4
%227 = call float @llvm.fmuladd.f32(float %225, float %226, float %219)
%228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%229 = load float, ptr %228, align 16
%230 = load float, ptr %25, align 4
%231 = fmul float %229, %230
%232 = load float, ptr %28, align 4
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227)
%234 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%235 = load float, ptr %234, align 4
%236 = load float, ptr %25, align 4
%237 = fmul float %235, %236
%238 = load float, ptr %28, align 4
%239 = fmul float %237, %238
%240 = load float, ptr %29, align 4
%241 = call float @llvm.fmuladd.f32(float %239, float %240, float %233)
%242 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%243 = load float, ptr %242, align 8
%244 = load float, ptr %28, align 4
%245 = fmul float %243, %244
%246 = load float, ptr %30, align 4
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %241)
%248 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%249 = load float, ptr %248, align 4
%250 = load float, ptr %24, align 4
%251 = fmul float %249, %250
%252 = load float, ptr %29, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %247)
%254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%255 = load float, ptr %254, align 16
%256 = load float, ptr %23, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %27, align 4
%259 = fmul float %257, %258
%260 = load float, ptr %29, align 4
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %253)
store float %261, ptr %31, align 4
%262 = load float, ptr %31, align 4
%263 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%264 = load float, ptr %263, align 4
%265 = load float, ptr %28, align 4
%266 = fmul float %264, %265
%267 = load float, ptr %29, align 4
%268 = call float @llvm.fmuladd.f32(float %266, float %267, float %262)
%269 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%270 = load float, ptr %269, align 8
%271 = load float, ptr %24, align 4
%272 = fmul float %270, %271
%273 = load float, ptr %25, align 4
%274 = fmul float %272, %273
%275 = load float, ptr %29, align 4
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %268)
%277 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%278 = load float, ptr %277, align 4
%279 = load float, ptr %24, align 4
%280 = fmul float %278, %279
%281 = load float, ptr %30, align 4
%282 = call float @llvm.fmuladd.f32(float %280, float %281, float %276)
store float %282, ptr %31, align 4
%283 = load float, ptr %16, align 4
%284 = fadd float 0.000000e+00, %283
%285 = load float, ptr %18, align 4
%286 = fadd float %284, %285
%287 = load float, ptr %20, align 4
%288 = fadd float %286, %287
%289 = load float, ptr %22, align 4
%290 = fadd float %288, %289
store float %290, ptr %32, align 4
%291 = load float, ptr %32, align 4
%292 = fcmp oeq float %291, 0.000000e+00
br i1 %292, label %293, label %294
293: ; preds = %82
br label %503
294: ; preds = %82
%295 = load float, ptr %16, align 4
%296 = load float, ptr %16, align 4
%297 = fmul float %295, %296
%298 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%299 = load float, ptr %298, align 4
%300 = load float, ptr %27, align 4
%301 = call float @llvm.fmuladd.f32(float %299, float %300, float 0.000000e+00)
%302 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%303 = load float, ptr %302, align 4
%304 = fmul float 2.000000e+00, %303
%305 = load float, ptr %23, align 4
%306 = call float @llvm.fmuladd.f32(float %304, float %305, float %301)
%307 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%308 = load float, ptr %307, align 8
%309 = fadd float %306, %308
%310 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%311 = load float, ptr %310, align 4
%312 = load float, ptr %25, align 4
%313 = fmul float %311, %312
%314 = load float, ptr %27, align 4
%315 = call float @llvm.fmuladd.f32(float %313, float %314, float %309)
%316 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%317 = load float, ptr %316, align 4
%318 = fmul float 2.000000e+00, %317
%319 = load float, ptr %23, align 4
%320 = fmul float %318, %319
%321 = load float, ptr %29, align 4
%322 = call float @llvm.fmuladd.f32(float %320, float %321, float %315)
%323 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%324 = load float, ptr %323, align 16
%325 = load float, ptr %27, align 4
%326 = fmul float %324, %325
%327 = load float, ptr %29, align 4
%328 = call float @llvm.fmuladd.f32(float %326, float %327, float %322)
%329 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%330 = load float, ptr %329, align 8
%331 = fmul float 2.000000e+00, %330
%332 = load float, ptr %23, align 4
%333 = fmul float %331, %332
%334 = load float, ptr %25, align 4
%335 = fmul float %333, %334
%336 = load float, ptr %29, align 4
%337 = call float @llvm.fmuladd.f32(float %335, float %336, float %328)
%338 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%339 = load float, ptr %338, align 4
%340 = fmul float 2.000000e+00, %339
%341 = load float, ptr %23, align 4
%342 = fmul float %340, %341
%343 = load float, ptr %30, align 4
%344 = call float @llvm.fmuladd.f32(float %342, float %343, float %337)
%345 = call float @pow(float noundef %344, i32 noundef 2)
%346 = load float, ptr %18, align 4
%347 = load float, ptr %18, align 4
%348 = fmul float %346, %347
%349 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%350 = load float, ptr %349, align 4
%351 = fadd float 0.000000e+00, %350
%352 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%353 = load float, ptr %352, align 4
%354 = load float, ptr %29, align 4
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %351)
%356 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%357 = load float, ptr %356, align 8
%358 = fmul float 2.000000e+00, %357
%359 = load float, ptr %25, align 4
%360 = call float @llvm.fmuladd.f32(float %358, float %359, float %355)
%361 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%362 = load float, ptr %361, align 4
%363 = load float, ptr %23, align 4
%364 = fmul float %362, %363
%365 = load float, ptr %27, align 4
%366 = call float @llvm.fmuladd.f32(float %364, float %365, float %360)
%367 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%368 = load float, ptr %367, align 16
%369 = load float, ptr %28, align 4
%370 = call float @llvm.fmuladd.f32(float %368, float %369, float %366)
%371 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%372 = load float, ptr %371, align 4
%373 = load float, ptr %28, align 4
%374 = fmul float %372, %373
%375 = load float, ptr %29, align 4
%376 = call float @llvm.fmuladd.f32(float %374, float %375, float %370)
%377 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%378 = load float, ptr %377, align 8
%379 = load float, ptr %24, align 4
%380 = fmul float %378, %379
%381 = load float, ptr %29, align 4
%382 = call float @llvm.fmuladd.f32(float %380, float %381, float %376)
%383 = call float @pow(float noundef %382, i32 noundef 2)
%384 = fmul float %348, %383
%385 = call float @llvm.fmuladd.f32(float %297, float %345, float %384)
%386 = load float, ptr %20, align 4
%387 = load float, ptr %20, align 4
%388 = fmul float %386, %387
%389 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%390 = load float, ptr %389, align 4
%391 = load float, ptr %23, align 4
%392 = call float @llvm.fmuladd.f32(float %390, float %391, float 0.000000e+00)
%393 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%394 = load float, ptr %393, align 16
%395 = fmul float 2.000000e+00, %394
%396 = load float, ptr %27, align 4
%397 = call float @llvm.fmuladd.f32(float %395, float %396, float %392)
%398 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%399 = load float, ptr %398, align 4
%400 = fadd float %397, %399
%401 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%402 = load float, ptr %401, align 4
%403 = load float, ptr %23, align 4
%404 = fmul float %402, %403
%405 = load float, ptr %25, align 4
%406 = call float @llvm.fmuladd.f32(float %404, float %405, float %400)
%407 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%408 = load float, ptr %407, align 16
%409 = fmul float 2.000000e+00, %408
%410 = load float, ptr %27, align 4
%411 = fmul float %409, %410
%412 = load float, ptr %25, align 4
%413 = call float @llvm.fmuladd.f32(float %411, float %412, float %406)
%414 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%415 = load float, ptr %414, align 4
%416 = fmul float 2.000000e+00, %415
%417 = load float, ptr %27, align 4
%418 = fmul float %416, %417
%419 = load float, ptr %25, align 4
%420 = fmul float %418, %419
%421 = load float, ptr %29, align 4
%422 = call float @llvm.fmuladd.f32(float %420, float %421, float %413)
%423 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%424 = load float, ptr %423, align 8
%425 = fmul float 2.000000e+00, %424
%426 = load float, ptr %27, align 4
%427 = fmul float %425, %426
%428 = load float, ptr %30, align 4
%429 = call float @llvm.fmuladd.f32(float %427, float %428, float %422)
%430 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%431 = load float, ptr %430, align 16
%432 = load float, ptr %23, align 4
%433 = fmul float %431, %432
%434 = load float, ptr %29, align 4
%435 = call float @llvm.fmuladd.f32(float %433, float %434, float %429)
%436 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%437 = load float, ptr %436, align 4
%438 = fmul float 2.000000e+00, %437
%439 = load float, ptr %27, align 4
%440 = fmul float %438, %439
%441 = load float, ptr %29, align 4
%442 = call float @llvm.fmuladd.f32(float %440, float %441, float %435)
%443 = call float @pow(float noundef %442, i32 noundef 2)
%444 = call float @llvm.fmuladd.f32(float %388, float %443, float %385)
%445 = load float, ptr %22, align 4
%446 = load float, ptr %22, align 4
%447 = fmul float %445, %446
%448 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%449 = load float, ptr %448, align 8
%450 = fadd float 0.000000e+00, %449
%451 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%452 = load float, ptr %451, align 4
%453 = load float, ptr %25, align 4
%454 = call float @llvm.fmuladd.f32(float %452, float %453, float %450)
%455 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%456 = load float, ptr %455, align 16
%457 = fmul float 2.000000e+00, %456
%458 = load float, ptr %29, align 4
%459 = call float @llvm.fmuladd.f32(float %457, float %458, float %454)
%460 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%461 = load float, ptr %460, align 4
%462 = load float, ptr %25, align 4
%463 = fmul float %461, %462
%464 = load float, ptr %28, align 4
%465 = call float @llvm.fmuladd.f32(float %463, float %464, float %459)
%466 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%467 = load float, ptr %466, align 8
%468 = fmul float 2.000000e+00, %467
%469 = load float, ptr %29, align 4
%470 = fmul float %468, %469
%471 = load float, ptr %28, align 4
%472 = call float @llvm.fmuladd.f32(float %470, float %471, float %465)
%473 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%474 = load float, ptr %473, align 4
%475 = load float, ptr %24, align 4
%476 = call float @llvm.fmuladd.f32(float %474, float %475, float %472)
%477 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%478 = load float, ptr %477, align 16
%479 = load float, ptr %23, align 4
%480 = fmul float %478, %479
%481 = load float, ptr %27, align 4
%482 = call float @llvm.fmuladd.f32(float %480, float %481, float %476)
%483 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%484 = load float, ptr %483, align 4
%485 = load float, ptr %28, align 4
%486 = call float @llvm.fmuladd.f32(float %484, float %485, float %482)
%487 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%488 = load float, ptr %487, align 8
%489 = load float, ptr %24, align 4
%490 = fmul float %488, %489
%491 = load float, ptr %25, align 4
%492 = call float @llvm.fmuladd.f32(float %490, float %491, float %486)
%493 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%494 = load float, ptr %493, align 4
%495 = fmul float 2.000000e+00, %494
%496 = load float, ptr %29, align 4
%497 = fmul float %495, %496
%498 = load float, ptr %24, align 4
%499 = call float @llvm.fmuladd.f32(float %497, float %498, float %492)
%500 = call float @pow(float noundef %499, i32 noundef 2)
%501 = call float @llvm.fmuladd.f32(float %447, float %500, float %444)
%502 = call float @sqrt(float noundef %501)
br label %503
503: ; preds = %294, %293
%504 = phi float [ 0.000000e+00, %293 ], [ %502, %294 ]
store float %504, ptr %33, align 4
%505 = load float, ptr %33, align 4
%506 = load ptr, ptr %5, align 8
%507 = getelementptr inbounds float, ptr %506, i64 0
store float %505, ptr %507, align 4
%508 = load float, ptr %31, align 4
ret float %508
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1i_2tefn.c'
source_filename = "/tmp/tmp1i_2tefn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u_char_isvalid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 1114112
br i1 %4, label %5, label %20
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = and i64 %7, 68719474688
%9 = icmp ne i64 %8, 55296
br i1 %9, label %10, label %20
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 64976
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 65007
br i1 %15, label %16, label %20
16: ; preds = %13, %10
%17 = load i32, ptr %2, align 4
%18 = and i32 %17, 65534
%19 = icmp ne i32 %18, 65534
br label %20
20: ; preds = %16, %13, %5, %1
%21 = phi i1 [ false, %13 ], [ false, %5 ], [ false, %1 ], [ %19, %16 ]
%22 = zext i1 %21 to i32
ret i32 %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1i_2tefn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u_char_isvalid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 1114112
br i1 %4, label %5, label %20
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = and i64 %7, 68719474688
%9 = icmp ne i64 %8, 55296
br i1 %9, label %10, label %20
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 64976
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 65007
br i1 %15, label %16, label %20
16: ; preds = %13, %10
%17 = load i32, ptr %2, align 4
%18 = and i32 %17, 65534
%19 = icmp ne i32 %18, 65534
br label %20
20: ; preds = %16, %13, %5, %1
%21 = phi i1 [ false, %13 ], [ false, %5 ], [ false, %1 ], [ %19, %16 ]
%22 = zext i1 %21 to i32
ret i32 %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx8d5eicv.c'
source_filename = "/tmp/tmpx8d5eicv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i16, align 2
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 10, ptr %2, align 1
store i8 20, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = mul nsw i32 %5, %7
%9 = mul nsw i32 %8, 2
%10 = trunc i32 %9 to i16
store i16 %10, ptr %1, align 2
%11 = load i16, ptr %1, align 2
%12 = load i8, ptr %2, align 1
%13 = call i32 @foo(i16 noundef signext %11, i8 noundef signext %12)
ret i32 0
}
declare i32 @foo(i16 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx8d5eicv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i16, align 2
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 10, ptr %2, align 1
store i8 20, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = mul nsw i32 %5, %7
%9 = mul nsw i32 %8, 2
%10 = trunc i32 %9 to i16
store i16 %10, ptr %1, align 2
%11 = load i16, ptr %1, align 2
%12 = load i8, ptr %2, align 1
%13 = call i32 @foo(i16 noundef signext %11, i8 noundef signext %12)
ret i32 0
}
declare i32 @foo(i16 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp10ndvg52.c'
source_filename = "/tmp/tmp10ndvg52.c"
target datalayout = "e-m:e-p270: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/tmp10ndvg52.c"
target datalayout = "e-m:e-p270: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/tmp8vxg9dts.c'
source_filename = "/tmp/tmp8vxg9dts.c"
target datalayout = "e-m:e-p270: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/tmp8vxg9dts.c"
target datalayout = "e-m:e-p270: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/tmp51nvn6we.c'
source_filename = "/tmp/tmp51nvn6we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unpack_uint16_t_uint8_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i64, ptr %13, i64 %15
%17 = load i64, ptr %16, align 8
%18 = add nsw i64 %17, 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
store i64 %18, ptr %22, align 8
br label %23
23: ; preds = %12
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51nvn6we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unpack_uint16_t_uint8_t(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i64, ptr %12, i64 %14
%16 = load i64, ptr %15, align 8
%17 = add nsw i64 %16, 1
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
store i64 %17, ptr %21, align 8
br label %22
22: ; preds = %11
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx41s8xoc.c'
source_filename = "/tmp/tmpx41s8xoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"to_s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @string_plus(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca [65536 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = call ptr @str2cstr(i64 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @intern(ptr noundef @.str)
%12 = call i64 @toi_funcall(i64 noundef %10, i32 noundef %11, i32 noundef 0)
%13 = call ptr @str2cstr(i64 noundef %12)
store ptr %13, ptr %7, align 8
%14 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @snprintf(ptr noundef %14, i32 noundef 65536, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0
%19 = call i64 @string_new(ptr noundef %18)
ret i64 %19
}
declare ptr @str2cstr(i64 noundef) #1
declare i64 @toi_funcall(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @intern(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @string_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx41s8xoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"to_s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @string_plus(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca [65536 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = call ptr @str2cstr(i64 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @intern(ptr noundef @.str)
%12 = call i64 @toi_funcall(i64 noundef %10, i32 noundef %11, i32 noundef 0)
%13 = call ptr @str2cstr(i64 noundef %12)
store ptr %13, ptr %7, align 8
%14 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @snprintf(ptr noundef %14, i32 noundef 65536, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0
%19 = call i64 @string_new(ptr noundef %18)
ret i64 %19
}
declare ptr @str2cstr(i64 noundef) #1
declare i64 @toi_funcall(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @intern(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @string_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyz12p8ju.c'
source_filename = "/tmp/tmpyz12p8ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"ac_imgconvert_init() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ac_imgconvert_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @ac_imgconvert_init_yuv_planar(i32 noundef %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = call i32 @ac_imgconvert_init_yuv_packed(i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = call i32 @ac_imgconvert_init_yuv_mixed(i32 noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = call i32 @ac_imgconvert_init_yuv_rgb(i32 noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = call i32 @ac_imgconvert_init_rgb_packed(i32 noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %19, %15, %11, %7, %1
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %27
26: ; preds = %19
store i32 1, ptr %2, align 4
br label %27
27: ; preds = %26, %23
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @ac_imgconvert_init_yuv_planar(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_packed(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_mixed(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_rgb(i32 noundef) #1
declare i32 @ac_imgconvert_init_rgb_packed(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyz12p8ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"ac_imgconvert_init() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ac_imgconvert_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @ac_imgconvert_init_yuv_planar(i32 noundef %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = call i32 @ac_imgconvert_init_yuv_packed(i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = call i32 @ac_imgconvert_init_yuv_mixed(i32 noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = call i32 @ac_imgconvert_init_yuv_rgb(i32 noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = call i32 @ac_imgconvert_init_rgb_packed(i32 noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %19, %15, %11, %7, %1
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %27
26: ; preds = %19
store i32 1, ptr %2, align 4
br label %27
27: ; preds = %26, %23
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @ac_imgconvert_init_yuv_planar(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_packed(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_mixed(i32 noundef) #1
declare i32 @ac_imgconvert_init_yuv_rgb(i32 noundef) #1
declare i32 @ac_imgconvert_init_rgb_packed(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp61p9bh3v.c'
source_filename = "/tmp/tmp61p9bh3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Atesting calling functions with null (warnings will be printed)\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"success!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @null() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i64 @nam_init(i32 noundef 0, i32 noundef 0)
%3 = icmp eq i64 0, %2
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call i64 @nam_destroy(i32 noundef 0, i32 noundef 0)
%7 = icmp eq i64 0, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i64 @nam_resize(i32 noundef 0, i32 noundef 0)
%11 = icmp eq i64 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i64 @nam_size(i32 noundef 0)
%15 = icmp eq i64 0, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = call i64 @nam_add_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%19 = icmp eq i64 0, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = call i64 @nam_remove_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%23 = icmp eq i64 0, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = call i64 @nam_test_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%27 = icmp eq i64 0, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = call i32 @puts(ptr noundef @.str.1)
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @nam_init(i32 noundef, i32 noundef) #1
declare i64 @nam_destroy(i32 noundef, i32 noundef) #1
declare i64 @nam_resize(i32 noundef, i32 noundef) #1
declare i64 @nam_size(i32 noundef) #1
declare i64 @nam_add_edge(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @nam_remove_edge(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @nam_test_edge(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/tmp61p9bh3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Atesting calling functions with null (warnings will be printed)\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"success!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @null() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i64 @nam_init(i32 noundef 0, i32 noundef 0)
%3 = icmp eq i64 0, %2
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call i64 @nam_destroy(i32 noundef 0, i32 noundef 0)
%7 = icmp eq i64 0, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i64 @nam_resize(i32 noundef 0, i32 noundef 0)
%11 = icmp eq i64 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i64 @nam_size(i32 noundef 0)
%15 = icmp eq i64 0, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = call i64 @nam_add_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%19 = icmp eq i64 0, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = call i64 @nam_remove_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%23 = icmp eq i64 0, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = call i64 @nam_test_edge(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%27 = icmp eq i64 0, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = call i32 @puts(ptr noundef @.str.1)
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @nam_init(i32 noundef, i32 noundef) #1
declare i64 @nam_destroy(i32 noundef, i32 noundef) #1
declare i64 @nam_resize(i32 noundef, i32 noundef) #1
declare i64 @nam_size(i32 noundef) #1
declare i64 @nam_add_edge(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @nam_remove_edge(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @nam_test_edge(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/tmpwuhk78tw.c'
source_filename = "/tmp/tmpwuhk78tw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 %10, %11
%13 = load ptr, ptr %8, align 8
%14 = call i64 @_fwrite(ptr noundef %9, i64 noundef %12, ptr noundef %13)
%15 = load i64, ptr %6, align 8
%16 = udiv i64 %14, %15
ret i64 %16
}
declare i64 @_fwrite(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwuhk78tw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 %10, %11
%13 = load ptr, ptr %8, align 8
%14 = call i64 @_fwrite(ptr noundef %9, i64 noundef %12, ptr noundef %13)
%15 = load i64, ptr %6, align 8
%16 = udiv i64 %14, %15
ret i64 %16
}
declare i64 @_fwrite(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc85shm_2.c'
source_filename = "/tmp/tmpc85shm_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bufoverflow() #0 {
%1 = alloca [10 x i8], align 1
%2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @gets(ptr noundef %2)
%4 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 9
store i8 0, ptr %4, align 1
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc85shm_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bufoverflow() #0 {
%1 = alloca [10 x i8], align 1
%2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @gets(ptr noundef %2)
%4 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 9
store i8 0, ptr %4, align 1
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp87vo41zy.c'
source_filename = "/tmp/tmp87vo41zy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"Your terminal does not support color\0A\00", align 1
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@stdscr = dso_local global i32 0, align 4
@LINES = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Viola !!! In color ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @initscr()
%7 = call i64 (...) @has_colors()
%8 = load i64, ptr @FALSE, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 (...) @endwin()
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = call i32 (...) @start_color()
%16 = load i32, ptr @COLOR_RED, align 4
%17 = load i32, ptr @COLOR_BLACK, align 4
%18 = call i32 @init_pair(i32 noundef 1, i32 noundef %16, i32 noundef %17)
%19 = call i32 @COLOR_PAIR(i32 noundef 1)
%20 = call i32 @attron(i32 noundef %19)
%21 = load i32, ptr @stdscr, align 4
%22 = load i32, ptr @LINES, align 4
%23 = sdiv i32 %22, 2
%24 = call i32 @print_in_middle(i32 noundef %21, i32 noundef %23, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1)
%25 = call i32 @COLOR_PAIR(i32 noundef 1)
%26 = call i32 @attroff(i32 noundef %25)
%27 = call i32 (...) @getch()
%28 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i64 @has_colors(...) #1
declare i32 @endwin(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @start_color(...) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @print_in_middle(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp87vo41zy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"Your terminal does not support color\0A\00", align 1
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@stdscr = dso_local global i32 0, align 4
@LINES = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Viola !!! In color ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @initscr()
%7 = call i64 (...) @has_colors()
%8 = load i64, ptr @FALSE, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 (...) @endwin()
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = call i32 (...) @start_color()
%16 = load i32, ptr @COLOR_RED, align 4
%17 = load i32, ptr @COLOR_BLACK, align 4
%18 = call i32 @init_pair(i32 noundef 1, i32 noundef %16, i32 noundef %17)
%19 = call i32 @COLOR_PAIR(i32 noundef 1)
%20 = call i32 @attron(i32 noundef %19)
%21 = load i32, ptr @stdscr, align 4
%22 = load i32, ptr @LINES, align 4
%23 = sdiv i32 %22, 2
%24 = call i32 @print_in_middle(i32 noundef %21, i32 noundef %23, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1)
%25 = call i32 @COLOR_PAIR(i32 noundef 1)
%26 = call i32 @attroff(i32 noundef %25)
%27 = call i32 (...) @getch()
%28 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i64 @has_colors(...) #1
declare i32 @endwin(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @start_color(...) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @print_in_middle(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpxxkemnm3.c'
source_filename = "/tmp/tmpxxkemnm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Your system does not support async I/O\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @async_read_no_copy() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 172) #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/tmpxxkemnm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Your system does not support async I/O\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @async_read_no_copy() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 172) #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/tmpv_uojdjq.c'
source_filename = "/tmp/tmpv_uojdjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
br label %4
4: ; preds = %7, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i32 (...) @__VERIFIER_nondet_int()
%10 = add nsw i32 %8, %9
store i32 %10, ptr %2, align 4
br label %4, !llvm.loop !6
11: ; preds = %4
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_uojdjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = call i32 (...) @__VERIFIER_nondet_int()
%9 = add nsw i32 %7, %8
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp87qxjy8y.c'
source_filename = "/tmp/tmp87qxjy8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @GPIO1_Combined_0_15_IRQHandler() #0 {
%1 = call i32 (...) @GPIO1_Combined_0_15_DriverIRQHandler()
ret void
}
declare i32 @GPIO1_Combined_0_15_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87qxjy8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @GPIO1_Combined_0_15_IRQHandler() #0 {
%1 = call i32 (...) @GPIO1_Combined_0_15_DriverIRQHandler()
ret void
}
declare i32 @GPIO1_Combined_0_15_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqk56rsoy.c'
source_filename = "/tmp/tmpqk56rsoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @analogWriteX(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @ino(i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @analogWrite(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @ino(i32 noundef) #1
declare i32 @analogWrite(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/tmpqk56rsoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @analogWriteX(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @ino(i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @analogWrite(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @ino(i32 noundef) #1
declare i32 @analogWrite(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/tmpj8g5s4_2.c'
source_filename = "/tmp/tmpj8g5s4_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @array_object_free(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr %2, align 4
br label %13
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @get_header(ptr noundef %10)
%12 = call i32 @free(i32 noundef %11)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %9, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @free(i32 noundef) #1
declare i32 @get_header(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj8g5s4_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @array_object_free(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr %2, align 4
br label %13
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @get_header(ptr noundef %10)
%12 = call i32 @free(i32 noundef %11)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %9, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @free(i32 noundef) #1
declare i32 @get_header(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpac83pt5l.c'
source_filename = "/tmp/tmpac83pt5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @feed_prompt_iterator_first_glyph(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call signext i8 @feed_prompt_iterator_set_glyph(ptr noundef %4, i64 noundef 0)
store i8 %5, ptr %3, align 1
%6 = load i8, ptr %3, align 1
ret i8 %6
}
declare signext i8 @feed_prompt_iterator_set_glyph(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/tmpac83pt5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @feed_prompt_iterator_first_glyph(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call signext i8 @feed_prompt_iterator_set_glyph(ptr noundef %4, i64 noundef 0)
store i8 %5, ptr %3, align 1
%6 = load i8, ptr %3, align 1
ret i8 %6
}
declare signext i8 @feed_prompt_iterator_set_glyph(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/tmptbuheomp.c'
source_filename = "/tmp/tmptbuheomp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"write error %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_data(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %28, %3
%10 = load i32, ptr %6, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %35
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i32, ptr %6, align 4
%19 = call i32 @write(i32 noundef %13, ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %28
22: ; preds = %12
br label %23
23: ; preds = %22
%24 = load i32, ptr @errno, align 4
%25 = call ptr @strerror(i32 noundef %24)
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %23
br label %35
28: ; preds = %12
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %6, align 4
br label %9, !llvm.loop !6
35: ; preds = %27, %9
%36 = load i32, ptr %7, align 4
ret i32 %36
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmptbuheomp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"write error %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_data(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %27
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i32, ptr %6, align 4
%18 = call i32 @write(i32 noundef %12, ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %21, label %27
21: ; preds = %11
br label %22
22: ; preds = %21
%23 = load i32, ptr @errno, align 4
%24 = call ptr @strerror(i32 noundef %23)
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
br label %26
26: ; preds = %22
br label %36
27: ; preds = %11
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %31, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %27
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %36
36: ; preds = %.loopexit, %26
%37 = load i32, ptr %7, align 4
ret i32 %37
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpc26y0qi6.c'
source_filename = "/tmp/tmpc26y0qi6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_string_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 8
ret ptr %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/tmpc26y0qi6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_string_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 8
ret ptr %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/tmplm9l331i.c'
source_filename = "/tmp/tmplm9l331i.c"
target datalayout = "e-m:e-p270: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/tmplm9l331i.c"
target datalayout = "e-m:e-p270: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/tmp139i_dv5.c'
source_filename = "/tmp/tmp139i_dv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nth_position(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %5, %6
%8 = and i32 %7, 1
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp139i_dv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nth_position(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %5, %6
%8 = and i32 %7, 1
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqlz_1id.c'
source_filename = "/tmp/tmpkqlz_1id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rng(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @rand()
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %11, %12
%14 = srem i32 %10, %13
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqlz_1id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rng(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @rand()
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %11, %12
%14 = srem i32 %10, %13
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7w_rb1nd.c'
source_filename = "/tmp/tmp7w_rb1nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @love(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %64, %1
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %10, label %67
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp sge i32 %16, 97
br i1 %17, label %18, label %36
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp sle i32 %24, 122
br i1 %25, label %26, label %36
26: ; preds = %18
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %32, 96
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %3, align 4
br label %63
36: ; preds = %18, %10
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 65
br i1 %43, label %44, label %62
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %4, 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 sle i32 %50, 90
br i1 %51, label %52, label %62
52: ; preds = %44
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = sub nsw i32 %58, 64
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, %59
store i32 %61, ptr %3, align 4
br label %62
62: ; preds = %52, %44, %36
br label %63
63: ; preds = %62, %26
br label %64
64: ; preds = %63
%65 = load i32, ptr %4, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %4, align 4
br label %5, !llvm.loop !6
67: ; preds = %5
%68 = load i32, ptr %3, align 4
ret i32 %68
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7w_rb1nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @love(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp slt i32 %5, %7
br i1 %8, label %.lr.ph, label %70
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %63
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp sge i32 %15, 97
br i1 %16, label %17, label %35
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 122
br i1 %24, label %25, label %35
25: ; preds = %17
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 96
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %3, align 4
br label %62
35: ; preds = %17, %9
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp sge i32 %41, 65
br i1 %42, label %43, label %61
43: ; preds = %35
%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
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp sle i32 %49, 90
br i1 %50, label %51, label %61
51: ; preds = %43
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = sub nsw i32 %57, 64
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %3, align 4
br label %61
61: ; preds = %51, %43, %35
br label %62
62: ; preds = %61, %25
br label %63
63: ; preds = %62
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
%66 = load i32, ptr %4, align 4
%67 = load ptr, ptr %2, align 8
%68 = call i32 @strlen(ptr noundef %67)
%69 = icmp slt i32 %66, %68
br i1 %69, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %70
70: ; preds = %._crit_edge, %1
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpao4npd6d.c'
source_filename = "/tmp/tmpao4npd6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compactify() #0 {
%1 = call i32 (...) @phase1()
%2 = call i32 (...) @phase2()
%3 = call i32 (...) @phase2a()
%4 = call i32 (...) @phase4()
%5 = call i32 (...) @phase5()
%6 = call i32 (...) @phase6()
%7 = call i32 (...) @curtain()
ret void
}
declare i32 @phase1(...) #1
declare i32 @phase2(...) #1
declare i32 @phase2a(...) #1
declare i32 @phase4(...) #1
declare i32 @phase5(...) #1
declare i32 @phase6(...) #1
declare i32 @curtain(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpao4npd6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compactify() #0 {
%1 = call i32 (...) @phase1()
%2 = call i32 (...) @phase2()
%3 = call i32 (...) @phase2a()
%4 = call i32 (...) @phase4()
%5 = call i32 (...) @phase5()
%6 = call i32 (...) @phase6()
%7 = call i32 (...) @curtain()
ret void
}
declare i32 @phase1(...) #1
declare i32 @phase2(...) #1
declare i32 @phase2a(...) #1
declare i32 @phase4(...) #1
declare i32 @phase5(...) #1
declare i32 @phase6(...) #1
declare i32 @curtain(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl8ey710x.c'
source_filename = "/tmp/tmpl8ey710x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_int32_t_int32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %45, %6
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %48
18: ; preds = %14
%19 = load ptr, ptr %9, align 8
%20 = load i32, ptr %13, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %13, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
%28 = load i64, ptr %27, align 8
%29 = icmp eq i64 %23, %28
br i1 %29, label %30, label %44
30: ; preds = %18
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %13, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %31, i64 %33
%35 = load i64, ptr %34, align 8
%36 = add nsw i64 %35, 1
%37 = load ptr, ptr %7, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
%43 = getelementptr inbounds i64, ptr %37, i64 %42
store i64 %36, ptr %43, align 8
br label %44
44: ; preds = %30, %18
br label %45
45: ; preds = %44
%46 = load i32, ptr %13, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %13, align 4
br label %14, !llvm.loop !6
48: ; preds = %14
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8ey710x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_int32_t_int32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %12, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %50
.lr.ph: ; preds = %6
br label %17
17: ; preds = %.lr.ph, %44
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %13, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
%23 = load ptr, ptr %10, align 8
%24 = load i32, ptr %13, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i64, ptr %23, i64 %25
%27 = load i64, ptr %26, align 8
%28 = icmp eq i64 %22, %27
br i1 %28, label %29, label %43
29: ; preds = %17
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i64, ptr %30, i64 %32
%34 = load i64, ptr %33, align 8
%35 = add nsw i64 %34, 1
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %11, align 8
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = getelementptr inbounds i64, ptr %36, i64 %41
store i64 %35, ptr %42, align 8
br label %43
43: ; preds = %29, %17
br label %44
44: ; preds = %43
%45 = load i32, ptr %13, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %12, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphbheweq6.c'
source_filename = "/tmp/tmphbheweq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @make_noise(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%8 = call i64 (...) @rand()
%9 = sitofp i64 %8 to float
%10 = load float, ptr @RAND_MAX, align 4
%11 = fdiv float %9, %10
store float %11, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = fpext float %12 to double
%14 = call double @llvm.fmuladd.f64(double %13, double 0x405FFF0000000000, double 7.812500e-03)
%15 = fdiv double %14, 1.280000e+02
%16 = fptrunc double %15 to float
store float %16, ptr %6, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %4, align 4
%19 = fsub float %17, %18
store float %19, ptr %7, align 4
%20 = load float, ptr %6, align 4
%21 = load float, ptr %7, align 4
%22 = fmul float %20, %21
store float %22, ptr %7, align 4
%23 = load float, ptr %4, align 4
%24 = load float, ptr %7, align 4
%25 = fadd float %23, %24
store float %25, ptr %5, align 4
%26 = load float, ptr %5, align 4
ret float %26
}
declare i64 @rand(...) #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/tmphbheweq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @make_noise(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%8 = call i64 (...) @rand()
%9 = sitofp i64 %8 to float
%10 = load float, ptr @RAND_MAX, align 4
%11 = fdiv float %9, %10
store float %11, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = fpext float %12 to double
%14 = call double @llvm.fmuladd.f64(double %13, double 0x405FFF0000000000, double 7.812500e-03)
%15 = fdiv double %14, 1.280000e+02
%16 = fptrunc double %15 to float
store float %16, ptr %6, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %4, align 4
%19 = fsub float %17, %18
store float %19, ptr %7, align 4
%20 = load float, ptr %6, align 4
%21 = load float, ptr %7, align 4
%22 = fmul float %20, %21
store float %22, ptr %7, align 4
%23 = load float, ptr %4, align 4
%24 = load float, ptr %7, align 4
%25 = fadd float %23, %24
store float %25, ptr %5, align 4
%26 = load float, ptr %5, align 4
ret float %26
}
declare i64 @rand(...) #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/tmp1ndregeh.c'
source_filename = "/tmp/tmp1ndregeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decode_regular_key_pressed() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [4 x i8], align 1
%4 = load i32, ptr @stdin, align 4
%5 = call zeroext i8 @getc(i32 noundef %4)
%6 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
store i8 %5, ptr %6, align 1
%7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = and i32 %9, 248
%11 = icmp eq i32 %10, 240
br i1 %11, label %12, label %64
12: ; preds = %0
%13 = load i32, ptr @stdin, align 4
%14 = call zeroext i8 @getc(i32 noundef %13)
%15 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %14, ptr %15, align 1
%16 = load i32, ptr @stdin, align 4
%17 = call zeroext i8 @getc(i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
store i8 %17, ptr %18, align 1
%19 = load i32, ptr @stdin, align 4
%20 = call zeroext i8 @getc(i32 noundef %19)
%21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
store i8 %20, ptr %21, align 1
%22 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = and i32 %24, 15
%26 = trunc i32 %25 to i8
store i8 %26, ptr %22, align 1
%27 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 127
%31 = trunc i32 %30 to i8
store i8 %31, ptr %27, align 1
%32 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = and i32 %34, 127
%36 = trunc i32 %35 to i8
store i8 %36, ptr %32, align 1
%37 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 127
%41 = trunc i32 %40 to i8
store i8 %41, ptr %37, align 1
%42 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = shl i32 %47, 6
%49 = add nsw i32 %44, %48
%50 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 12
%54 = add nsw i32 %49, %53
%55 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = shl i32 %57, 18
%59 = add nsw i32 %54, %58
store i32 %59, ptr %2, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp slt i32 %60, 65536
br i1 %61, label %62, label %63
62: ; preds = %12
store i32 -1, ptr %1, align 4
br label %157
63: ; preds = %12
br label %155
64: ; preds = %0
%65 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = and i32 %67, 240
%69 = icmp eq i32 %68, 224
br i1 %69, label %70, label %109
70: ; preds = %64
%71 = load i32, ptr @stdin, align 4
%72 = call zeroext i8 @getc(i32 noundef %71)
%73 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %72, ptr %73, align 1
%74 = load i32, ptr @stdin, align 4
%75 = call zeroext i8 @getc(i32 noundef %74)
%76 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
store i8 %75, ptr %76, align 1
%77 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%78 = load i8, ptr %77, align 1
%79 = zext i8 %78 to i32
%80 = and i32 %79, 31
%81 = trunc i32 %80 to i8
store i8 %81, ptr %77, align 1
%82 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = and i32 %84, 127
%86 = trunc i32 %85 to i8
store i8 %86, ptr %82, align 1
%87 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = and i32 %89, 127
%91 = trunc i32 %90 to i8
store i8 %91, ptr %87, align 1
%92 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%96 = load i8, ptr %95, align 1
%97 = zext i8 %96 to i32
%98 = shl i32 %97, 6
%99 = add nsw i32 %94, %98
%100 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%101 = load i8, ptr %100, align 1
%102 = zext i8 %101 to i32
%103 = shl i32 %102, 12
%104 = add nsw i32 %99, %103
store i32 %104, ptr %2, align 4
%105 = load i32, ptr %2, align 4
%106 = icmp slt i32 %105, 2048
br i1 %106, label %107, label %108
107: ; preds = %70
store i32 -1, ptr %1, align 4
br label %157
108: ; preds = %70
br label %154
109: ; preds = %64
%110 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = and i32 %112, 224
%114 = icmp eq i32 %113, 192
br i1 %114, label %115, label %141
115: ; preds = %109
%116 = load i32, ptr @stdin, align 4
%117 = call zeroext i8 @getc(i32 noundef %116)
%118 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %117, ptr %118, align 1
%119 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%120 = load i8, ptr %119, align 1
%121 = zext i8 %120 to i32
%122 = and i32 %121, 63
%123 = trunc i32 %122 to i8
store i8 %123, ptr %119, align 1
%124 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%125 = load i8, ptr %124, align 1
%126 = zext i8 %125 to i32
%127 = and i32 %126, 127
%128 = trunc i32 %127 to i8
store i8 %128, ptr %124, align 1
%129 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%130 = load i8, ptr %129, align 1
%131 = zext i8 %130 to i32
%132 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i32
%135 = shl i32 %134, 6
%136 = add nsw i32 %131, %135
store i32 %136, ptr %2, align 4
%137 = load i32, ptr %2, align 4
%138 = icmp slt i32 %137, 128
br i1 %138, label %139, label %140
139: ; preds = %115
store i32 -1, ptr %1, align 4
br label %157
140: ; preds = %115
br label %153
141: ; preds = %109
%142 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%143 = load i8, ptr %142, align 1
%144 = zext i8 %143 to i32
%145 = and i32 %144, 128
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %151
147: ; preds = %141
%148 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%149 = load i8, ptr %148, align 1
%150 = zext i8 %149 to i32
store i32 %150, ptr %2, align 4
br label %152
151: ; preds = %141
store i32 -1, ptr %1, align 4
br label %157
152: ; preds = %147
br label %153
153: ; preds = %152, %140
br label %154
154: ; preds = %153, %108
br label %155
155: ; preds = %154, %63
%156 = load i32, ptr %2, align 4
store i32 %156, ptr %1, align 4
br label %157
157: ; preds = %155, %151, %139, %107, %62
%158 = load i32, ptr %1, align 4
ret i32 %158
}
declare zeroext i8 @getc(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/tmp1ndregeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decode_regular_key_pressed() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [4 x i8], align 1
%4 = load i32, ptr @stdin, align 4
%5 = call zeroext i8 @getc(i32 noundef %4)
%6 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
store i8 %5, ptr %6, align 1
%7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = and i32 %9, 248
%11 = icmp eq i32 %10, 240
br i1 %11, label %12, label %64
12: ; preds = %0
%13 = load i32, ptr @stdin, align 4
%14 = call zeroext i8 @getc(i32 noundef %13)
%15 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %14, ptr %15, align 1
%16 = load i32, ptr @stdin, align 4
%17 = call zeroext i8 @getc(i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
store i8 %17, ptr %18, align 1
%19 = load i32, ptr @stdin, align 4
%20 = call zeroext i8 @getc(i32 noundef %19)
%21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
store i8 %20, ptr %21, align 1
%22 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = and i32 %24, 15
%26 = trunc i32 %25 to i8
store i8 %26, ptr %22, align 1
%27 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 127
%31 = trunc i32 %30 to i8
store i8 %31, ptr %27, align 1
%32 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = and i32 %34, 127
%36 = trunc i32 %35 to i8
store i8 %36, ptr %32, align 1
%37 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 127
%41 = trunc i32 %40 to i8
store i8 %41, ptr %37, align 1
%42 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = shl i32 %47, 6
%49 = add nsw i32 %44, %48
%50 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 12
%54 = add nsw i32 %49, %53
%55 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = shl i32 %57, 18
%59 = add nsw i32 %54, %58
store i32 %59, ptr %2, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp slt i32 %60, 65536
br i1 %61, label %62, label %63
62: ; preds = %12
store i32 -1, ptr %1, align 4
br label %157
63: ; preds = %12
br label %155
64: ; preds = %0
%65 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = and i32 %67, 240
%69 = icmp eq i32 %68, 224
br i1 %69, label %70, label %109
70: ; preds = %64
%71 = load i32, ptr @stdin, align 4
%72 = call zeroext i8 @getc(i32 noundef %71)
%73 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %72, ptr %73, align 1
%74 = load i32, ptr @stdin, align 4
%75 = call zeroext i8 @getc(i32 noundef %74)
%76 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
store i8 %75, ptr %76, align 1
%77 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%78 = load i8, ptr %77, align 1
%79 = zext i8 %78 to i32
%80 = and i32 %79, 31
%81 = trunc i32 %80 to i8
store i8 %81, ptr %77, align 1
%82 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = and i32 %84, 127
%86 = trunc i32 %85 to i8
store i8 %86, ptr %82, align 1
%87 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = and i32 %89, 127
%91 = trunc i32 %90 to i8
store i8 %91, ptr %87, align 1
%92 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%96 = load i8, ptr %95, align 1
%97 = zext i8 %96 to i32
%98 = shl i32 %97, 6
%99 = add nsw i32 %94, %98
%100 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%101 = load i8, ptr %100, align 1
%102 = zext i8 %101 to i32
%103 = shl i32 %102, 12
%104 = add nsw i32 %99, %103
store i32 %104, ptr %2, align 4
%105 = load i32, ptr %2, align 4
%106 = icmp slt i32 %105, 2048
br i1 %106, label %107, label %108
107: ; preds = %70
store i32 -1, ptr %1, align 4
br label %157
108: ; preds = %70
br label %154
109: ; preds = %64
%110 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = and i32 %112, 224
%114 = icmp eq i32 %113, 192
br i1 %114, label %115, label %141
115: ; preds = %109
%116 = load i32, ptr @stdin, align 4
%117 = call zeroext i8 @getc(i32 noundef %116)
%118 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
store i8 %117, ptr %118, align 1
%119 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%120 = load i8, ptr %119, align 1
%121 = zext i8 %120 to i32
%122 = and i32 %121, 63
%123 = trunc i32 %122 to i8
store i8 %123, ptr %119, align 1
%124 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%125 = load i8, ptr %124, align 1
%126 = zext i8 %125 to i32
%127 = and i32 %126, 127
%128 = trunc i32 %127 to i8
store i8 %128, ptr %124, align 1
%129 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
%130 = load i8, ptr %129, align 1
%131 = zext i8 %130 to i32
%132 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i32
%135 = shl i32 %134, 6
%136 = add nsw i32 %131, %135
store i32 %136, ptr %2, align 4
%137 = load i32, ptr %2, align 4
%138 = icmp slt i32 %137, 128
br i1 %138, label %139, label %140
139: ; preds = %115
store i32 -1, ptr %1, align 4
br label %157
140: ; preds = %115
br label %153
141: ; preds = %109
%142 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%143 = load i8, ptr %142, align 1
%144 = zext i8 %143 to i32
%145 = and i32 %144, 128
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %151
147: ; preds = %141
%148 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
%149 = load i8, ptr %148, align 1
%150 = zext i8 %149 to i32
store i32 %150, ptr %2, align 4
br label %152
151: ; preds = %141
store i32 -1, ptr %1, align 4
br label %157
152: ; preds = %147
br label %153
153: ; preds = %152, %140
br label %154
154: ; preds = %153, %108
br label %155
155: ; preds = %154, %63
%156 = load i32, ptr %2, align 4
store i32 %156, ptr %1, align 4
br label %157
157: ; preds = %155, %151, %139, %107, %62
%158 = load i32, ptr %1, align 4
ret i32 %158
}
declare zeroext i8 @getc(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/tmplgz8j_5r.c'
source_filename = "/tmp/tmplgz8j_5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso9660_name_translate(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 i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %87, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %90
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %8, align 1
%19 = load i8, ptr %8, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %13
br label %90
22: ; preds = %13
%23 = load i8, ptr %8, align 1
%24 = call i64 @isupper(i8 noundef zeroext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i8, ptr %8, align 1
%28 = call zeroext i8 @tolower(i8 noundef zeroext %27)
store i8 %28, ptr %8, align 1
br label %29
29: ; preds = %26, %22
%30 = load i8, ptr %8, align 1
%31 = zext i8 %30 to i32
%32 = icmp eq i32 %31, 46
br i1 %32, label %33, label %57
33: ; preds = %29
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %6, align 4
%36 = sub i32 %35, 3
%37 = icmp eq i32 %34, %36
br i1 %37, label %38, label %57
38: ; preds = %33
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 59
br i1 %46, label %47, label %57
47: ; preds = %38
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 49
br i1 %55, label %56, label %57
56: ; preds = %47
br label %90
57: ; preds = %47, %38, %33, %29
%58 = load i8, ptr %8, align 1
%59 = zext i8 %58 to i32
%60 = icmp eq i32 %59, 59
br i1 %60, label %61, label %76
61: ; preds = %57
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = sub i32 %63, 2
%65 = icmp eq i32 %62, %64
br i1 %65, label %66, label %76
66: ; preds = %61
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 49
br i1 %74, label %75, label %76
75: ; preds = %66
br label %90
76: ; preds = %66, %61, %57
%77 = load i8, ptr %8, align 1
%78 = zext i8 %77 to i32
%79 = icmp eq i32 %78, 59
br i1 %79, label %80, label %81
80: ; preds = %76
store i8 46, ptr %8, align 1
br label %81
81: ; preds = %80, %76
%82 = load i8, ptr %8, align 1
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 %82, ptr %86, align 1
br label %87
87: ; preds = %81
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %7, align 4
br label %9, !llvm.loop !6
90: ; preds = %75, %56, %21, %9
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %7, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
store i8 0, ptr %94, align 1
%95 = load i32, ptr %7, align 4
ret i32 %95
}
declare i64 @isupper(i8 noundef zeroext) #1
declare zeroext i8 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplgz8j_5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso9660_name_translate(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 i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %86
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %8, align 1
%18 = load i8, ptr %8, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %12
br label %92
21: ; preds = %12
%22 = load i8, ptr %8, align 1
%23 = call i64 @isupper(i8 noundef zeroext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i8, ptr %8, align 1
%27 = call zeroext i8 @tolower(i8 noundef zeroext %26)
store i8 %27, ptr %8, align 1
br label %28
28: ; preds = %25, %21
%29 = load i8, ptr %8, align 1
%30 = zext i8 %29 to i32
%31 = icmp eq i32 %30, 46
br i1 %31, label %32, label %56
32: ; preds = %28
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = sub i32 %34, 3
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %56
37: ; preds = %32
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 59
br i1 %45, label %46, label %56
46: ; preds = %37
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 49
br i1 %54, label %55, label %56
55: ; preds = %46
br label %92
56: ; preds = %46, %37, %32, %28
%57 = load i8, ptr %8, align 1
%58 = zext i8 %57 to i32
%59 = icmp eq i32 %58, 59
br i1 %59, label %60, label %75
60: ; preds = %56
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %6, align 4
%63 = sub i32 %62, 2
%64 = icmp eq i32 %61, %63
br i1 %64, label %65, label %75
65: ; preds = %60
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 49
br i1 %73, label %74, label %75
74: ; preds = %65
br label %92
75: ; preds = %65, %60, %56
%76 = load i8, ptr %8, align 1
%77 = zext i8 %76 to i32
%78 = icmp eq i32 %77, 59
br i1 %78, label %79, label %80
79: ; preds = %75
store i8 46, ptr %8, align 1
br label %80
80: ; preds = %79, %75
%81 = load i8, ptr %8, align 1
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
store i8 %81, ptr %85, align 1
br label %86
86: ; preds = %80
%87 = load i32, ptr %7, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %7, align 4
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %86
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %92
92: ; preds = %.loopexit, %74, %55, %20
%93 = load ptr, ptr %4, align 8
%94 = load i32, ptr %7, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
store i8 0, ptr %96, align 1
%97 = load i32, ptr %7, align 4
ret i32 %97
}
declare i64 @isupper(i8 noundef zeroext) #1
declare zeroext i8 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppt31bg_5.c'
source_filename = "/tmp/tmppt31bg_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_valid_note_str(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp sge i32 %11, 65
br i1 %12, label %13, label %25
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 %17, 71
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 65
br label %26
25: ; preds = %13, %1
br label %26
26: ; preds = %25, %19
%27 = phi i32 [ %24, %19 ], [ -1, %25 ]
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 0, ptr %2, align 4
br label %57
30: ; preds = %26
store i32 1, ptr %4, align 4
br label %31
31: ; preds = %53, %30
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 35
br i1 %42, label %43, label %52
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 98
br i1 %50, label %51, label %52
51: ; preds = %43
store i32 0, ptr %2, align 4
br label %57
52: ; preds = %43, %35
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %31, !llvm.loop !6
56: ; preds = %31
store i32 1, ptr %2, align 4
br label %57
57: ; preds = %56, %51, %29
%58 = load i32, ptr %2, align 4
ret i32 %58
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppt31bg_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_valid_note_str(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp sge i32 %11, 65
br i1 %12, label %13, label %25
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 %17, 71
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 65
br label %26
25: ; preds = %13, %1
br label %26
26: ; preds = %25, %19
%27 = phi i32 [ %24, %19 ], [ -1, %25 ]
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 0, ptr %2, align 4
br label %59
30: ; preds = %26
store i32 1, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %58
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %52
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 35
br i1 %41, label %42, label %51
42: ; preds = %34
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 98
br i1 %49, label %50, label %51
50: ; preds = %42
store i32 0, ptr %2, align 4
br label %59
51: ; preds = %42, %34
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %30
store i32 1, ptr %2, align 4
br label %59
59: ; preds = %58, %50, %29
%60 = load i32, ptr %2, align 4
ret i32 %60
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8rnd8vy6.c'
source_filename = "/tmp/tmp8rnd8vy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_out_it(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 @oi(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = trunc i64 %6 to i32
ret i32 %7
}
declare i32 @oi(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8rnd8vy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_out_it(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 @oi(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = trunc i64 %6 to i32
ret i32 %7
}
declare i32 @oi(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxmvi4zsl.c'
source_filename = "/tmp/tmpxmvi4zsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\09Start test_allocation_fails\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\09\09Expect: malloc to fail twice\0A\00", align 1
@SIZE_MAX = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [31 x i8] c"\09Finish test_allocation_fails\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_allocation_fails() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @test_malloc_startup()
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = load i64, ptr @SIZE_MAX, align 8
%7 = call ptr @p_malloc(i64 noundef %6)
store ptr %7, ptr %1, align 8
%8 = load i64, ptr @SIZE_MAX, align 8
%9 = sub nsw i64 %8, 100
%10 = call ptr @p_malloc(i64 noundef %9)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = icmp eq ptr %15, null
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 (...) @test_malloc_cleanup()
%20 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_malloc_startup(...) #1
declare ptr @p_malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @test_malloc_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxmvi4zsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\09Start test_allocation_fails\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\09\09Expect: malloc to fail twice\0A\00", align 1
@SIZE_MAX = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [31 x i8] c"\09Finish test_allocation_fails\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_allocation_fails() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @test_malloc_startup()
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = load i64, ptr @SIZE_MAX, align 8
%7 = call ptr @p_malloc(i64 noundef %6)
store ptr %7, ptr %1, align 8
%8 = load i64, ptr @SIZE_MAX, align 8
%9 = sub nsw i64 %8, 100
%10 = call ptr @p_malloc(i64 noundef %9)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = icmp eq ptr %15, null
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 (...) @test_malloc_cleanup()
%20 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_malloc_startup(...) #1
declare ptr @p_malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @test_malloc_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp80c2776s.c'
source_filename = "/tmp/tmp80c2776s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @revelation() #0 {
%1 = alloca [489 x i8], align 16
%2 = getelementptr inbounds [489 x i8], ptr %1, i64 0, i64 0
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @fgets(ptr noundef %2, i32 noundef 488, i32 noundef %3)
%5 = getelementptr inbounds [489 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @printf(ptr noundef %5)
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80c2776s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @revelation() #0 {
%1 = alloca [489 x i8], align 16
%2 = getelementptr inbounds [489 x i8], ptr %1, i64 0, i64 0
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @fgets(ptr noundef %2, i32 noundef 488, i32 noundef %3)
%5 = getelementptr inbounds [489 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @printf(ptr noundef %5)
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppnf2pv3b.c'
source_filename = "/tmp/tmppnf2pv3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt07() #0 {
%1 = call i32 @SendInterrupt(i32 noundef 87, i32 noundef 4, i32 noundef 32768, i32 noundef 8388608)
ret void
}
declare i32 @SendInterrupt(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/tmppnf2pv3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt07() #0 {
%1 = call i32 @SendInterrupt(i32 noundef 87, i32 noundef 4, i32 noundef 32768, i32 noundef 8388608)
ret void
}
declare i32 @SendInterrupt(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/tmpqvhpia6w.c'
source_filename = "/tmp/tmpqvhpia6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getAngle(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @dxl_read_byte(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = call i32 (...) @PrintErrorCode()
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @dxl_read_byte(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqvhpia6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getAngle(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @dxl_read_byte(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = call i32 (...) @PrintErrorCode()
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @dxl_read_byte(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbmwrkr2u.c'
source_filename = "/tmp/tmpbmwrkr2u.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @OPENSSL_gmtime_adj(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = load i64, ptr %7, align 8
%16 = call i32 @julian_adj(ptr noundef %13, i32 noundef %14, i64 noundef %15, ptr noundef %12, ptr noundef %8)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %3
store i32 0, ptr %4, align 4
br label %53
19: ; preds = %3
%20 = load i64, ptr %12, align 8
%21 = call i32 @julian_to_date(i64 noundef %20, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1900
br i1 %23, label %27, label %24
24: ; preds = %19
%25 = load i32, ptr %9, align 4
%26 = icmp sgt i32 %25, 9999
br i1 %26, label %27, label %28
27: ; preds = %24, %19
store i32 0, ptr %4, align 4
br label %53
28: ; preds = %24
%29 = load i32, ptr %9, align 4
%30 = sub nsw i32 %29, 1900
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.tm, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
%33 = load i32, ptr %10, align 4
%34 = sub nsw i32 %33, 1
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 1
store i32 %34, ptr %36, align 4
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
store i32 %37, ptr %39, align 4
%40 = load i32, ptr %8, align 4
%41 = sdiv i32 %40, 3600
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.tm, ptr %42, i32 0, i32 3
store i32 %41, ptr %43, align 4
%44 = load i32, ptr %8, align 4
%45 = sdiv i32 %44, 60
%46 = srem i32 %45, 60
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 4
store i32 %46, ptr %48, align 4
%49 = load i32, ptr %8, align 4
%50 = srem i32 %49, 60
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 5
store i32 %50, ptr %52, align 4
store i32 1, ptr %4, align 4
br label %53
53: ; preds = %28, %27, %18
%54 = load i32, ptr %4, align 4
ret i32 %54
}
declare i32 @julian_adj(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @julian_to_date(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmwrkr2u.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @OPENSSL_gmtime_adj(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = load i64, ptr %7, align 8
%16 = call i32 @julian_adj(ptr noundef %13, i32 noundef %14, i64 noundef %15, ptr noundef %12, ptr noundef %8)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %3
store i32 0, ptr %4, align 4
br label %53
19: ; preds = %3
%20 = load i64, ptr %12, align 8
%21 = call i32 @julian_to_date(i64 noundef %20, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1900
br i1 %23, label %27, label %24
24: ; preds = %19
%25 = load i32, ptr %9, align 4
%26 = icmp sgt i32 %25, 9999
br i1 %26, label %27, label %28
27: ; preds = %24, %19
store i32 0, ptr %4, align 4
br label %53
28: ; preds = %24
%29 = load i32, ptr %9, align 4
%30 = sub nsw i32 %29, 1900
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.tm, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
%33 = load i32, ptr %10, align 4
%34 = sub nsw i32 %33, 1
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 1
store i32 %34, ptr %36, align 4
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
store i32 %37, ptr %39, align 4
%40 = load i32, ptr %8, align 4
%41 = sdiv i32 %40, 3600
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.tm, ptr %42, i32 0, i32 3
store i32 %41, ptr %43, align 4
%44 = load i32, ptr %8, align 4
%45 = sdiv i32 %44, 60
%46 = srem i32 %45, 60
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 4
store i32 %46, ptr %48, align 4
%49 = load i32, ptr %8, align 4
%50 = srem i32 %49, 60
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 5
store i32 %50, ptr %52, align 4
store i32 1, ptr %4, align 4
br label %53
53: ; preds = %28, %27, %18
%54 = load i32, ptr %4, align 4
ret i32 %54
}
declare i32 @julian_adj(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @julian_to_date(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp87kcyuuq.c'
source_filename = "/tmp/tmp87kcyuuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xselection_send_event(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, 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/tmp87kcyuuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xselection_send_event(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, 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/tmpbqqot4fe.c'
source_filename = "/tmp/tmpbqqot4fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"You owe me %n (%i)\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @BUFSIZ, align 4
%6 = zext i32 %5 to i64
%7 = call ptr @llvm.stacksave()
store ptr %7, ptr %2, align 8
%8 = alloca i8, i64 %6, align 16
store i64 %6, ptr %3, align 8
store double 0x40934A449BA5E354, ptr %4, align 8
%9 = load i32, ptr @LC_ALL, align 4
%10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str)
%11 = trunc i64 %6 to i32
%12 = load double, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = call i32 @strfmon(ptr noundef %8, i32 noundef %11, ptr noundef @.str.1, double noundef %12, double noundef %13)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputs(ptr noundef %8, i32 noundef %15)
store i32 0, ptr %1, align 4
%17 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %17)
%18 = load i32, ptr %1, align 4
ret i32 %18
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @setlocale(i32 noundef, ptr noundef) #2
declare i32 @strfmon(ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef) #2
declare i32 @fputs(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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/tmpbqqot4fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"You owe me %n (%i)\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @BUFSIZ, align 4
%6 = zext i32 %5 to i64
%7 = call ptr @llvm.stacksave()
store ptr %7, ptr %2, align 8
%8 = alloca i8, i64 %6, align 16
store i64 %6, ptr %3, align 8
store double 0x40934A449BA5E354, ptr %4, align 8
%9 = load i32, ptr @LC_ALL, align 4
%10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str)
%11 = trunc i64 %6 to i32
%12 = load double, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = call i32 @strfmon(ptr noundef %8, i32 noundef %11, ptr noundef @.str.1, double noundef %12, double noundef %13)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputs(ptr noundef %8, i32 noundef %15)
store i32 0, ptr %1, align 4
%17 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %17)
%18 = load i32, ptr %1, align 4
ret i32 %18
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @setlocale(i32 noundef, ptr noundef) #2
declare i32 @strfmon(ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef) #2
declare i32 @fputs(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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/tmp3rrncj_v.c'
source_filename = "/tmp/tmp3rrncj_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(float noundef 0x3FF3333340000000, float noundef 0x4002666660000000)
ret i32 0
}
declare i32 @foo(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rrncj_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(float noundef 0x3FF3333340000000, float noundef 0x4002666660000000)
ret i32 0
}
declare i32 @foo(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabsw67_7.c'
source_filename = "/tmp/tmpabsw67_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"cst_socket: can't get socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"cst_socket: gethostbyname failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"cst_socket: connect to server failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cst_socket_open(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = load i32, ptr @IPPROTO_TCP, align 4
%12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @cst_errmsg(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %53
17: ; preds = %2
%18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @inet_addr(ptr noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = icmp eq i32 %20, -1
br i1 %23, label %24, label %40
24: ; preds = %17
%25 = load ptr, ptr %4, align 8
%26 = call ptr @gethostbyname(ptr noundef %25)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = call i32 @cst_errmsg(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %53
31: ; preds = %24
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @memmove(ptr noundef %32, i32 noundef %35, i32 noundef %38)
br label %40
40: ; preds = %31, %17
%41 = load i32, ptr @AF_INET, align 4
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %5, align 4
%44 = call i32 @htons(i32 noundef %43)
%45 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %44, ptr %45, align 4
%46 = load i32, ptr %8, align 4
%47 = call i64 @connect(i32 noundef %46, ptr noundef %6, i32 noundef 12)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %40
%50 = call i32 @cst_errmsg(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %53
51: ; preds = %40
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %51, %49, %29, %15
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @cst_errmsg(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @memmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabsw67_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"cst_socket: can't get socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"cst_socket: gethostbyname failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"cst_socket: connect to server failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cst_socket_open(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = load i32, ptr @IPPROTO_TCP, align 4
%12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @cst_errmsg(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %53
17: ; preds = %2
%18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @inet_addr(ptr noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = icmp eq i32 %20, -1
br i1 %23, label %24, label %40
24: ; preds = %17
%25 = load ptr, ptr %4, align 8
%26 = call ptr @gethostbyname(ptr noundef %25)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = call i32 @cst_errmsg(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %53
31: ; preds = %24
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @memmove(ptr noundef %32, i32 noundef %35, i32 noundef %38)
br label %40
40: ; preds = %31, %17
%41 = load i32, ptr @AF_INET, align 4
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %5, align 4
%44 = call i32 @htons(i32 noundef %43)
%45 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %44, ptr %45, align 4
%46 = load i32, ptr %8, align 4
%47 = call i64 @connect(i32 noundef %46, ptr noundef %6, i32 noundef 12)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %40
%50 = call i32 @cst_errmsg(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %53
51: ; preds = %40
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %51, %49, %29, %15
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @cst_errmsg(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @memmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnc6qt285.c'
source_filename = "/tmp/tmpnc6qt285.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strspn(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
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %20, %2
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 0, %10
br i1 %11, label %12, label %18
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = call ptr @strchr(ptr noundef %13, i8 noundef signext %15)
%17 = icmp ne ptr null, %16
br label %18
18: ; preds = %12, %7
%19 = phi i1 [ false, %7 ], [ %17, %12 ]
br i1 %19, label %20, label %23
20: ; preds = %18
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
br label %7, !llvm.loop !6
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %3, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
ret i64 %28
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnc6qt285.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strspn(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
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %20, %2
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 0, %10
br i1 %11, label %12, label %18
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = call ptr @strchr(ptr noundef %13, i8 noundef signext %15)
%17 = icmp ne ptr null, %16
br label %18
18: ; preds = %12, %7
%19 = phi i1 [ false, %7 ], [ %17, %12 ]
br i1 %19, label %20, label %23
20: ; preds = %18
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
br label %7, !llvm.loop !6
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %3, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
ret i64 %28
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqvask8_d.c'
source_filename = "/tmp/tmpqvask8_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0 : init\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"1 : SYSINFO\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"2 : SYSSTATUS\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"3 : SYSTRAFFIC\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"4 : SHOW WAN\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"5 : SHOW ADSL\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"6 : SHOW LAN\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"7 : PVC DISP\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"8 : ADSL STATUS\0D\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"a : add PVC (VPI/VCI)\0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"v : add a default PVC (2 1234 0 35 0 0)\0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"i : add PVCs (1 : 35, 2 : 36, 3 : 37)\0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"s : show PVCs (1 : 35, 2 : 36, 3 : 37)\0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"c : enter user command\0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"q : quit\0D\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"\0D\0AYour command : \00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"Input is %c\0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [48 x i8] c"Idx VID VPI VCI Encap Mode (3 1235 0 34 0 0) : \00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"PVC is %s\0D\0A\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"User command : \00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"Cmd is %s\0D\0A\00", align 1
@.str.21 = private unnamed_addr constant [16 x i8] c"2 1234 0 35 0 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowMsgAndInput(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%21 = call signext i8 (...) @getchar()
%22 = load ptr, ptr %3, align 8
store i8 %21, ptr %22, align 1
%23 = call i32 (...) @ClearInput()
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 97
br i1 %31, label %32, label %38
32: ; preds = %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%34 = load ptr, ptr %4, align 8
%35 = call i32 @gets(ptr noundef %34)
%36 = load ptr, ptr %4, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %36)
br label %59
38: ; preds = %2
%39 = load ptr, ptr %3, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 99
br i1 %42, label %43, label %49
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%45 = load ptr, ptr %4, align 8
%46 = call i32 @gets(ptr noundef %45)
%47 = load ptr, ptr %4, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %47)
br label %58
49: ; preds = %38
%50 = load ptr, ptr %3, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 118
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = call i32 @strcpy(ptr noundef %55, ptr noundef @.str.21)
br label %57
57: ; preds = %54, %49
br label %58
58: ; preds = %57, %43
br label %59
59: ; preds = %58, %32
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
declare i32 @ClearInput(...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqvask8_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0 : init\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"1 : SYSINFO\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"2 : SYSSTATUS\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"3 : SYSTRAFFIC\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"4 : SHOW WAN\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"5 : SHOW ADSL\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"6 : SHOW LAN\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"7 : PVC DISP\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"8 : ADSL STATUS\0D\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"a : add PVC (VPI/VCI)\0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"v : add a default PVC (2 1234 0 35 0 0)\0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"i : add PVCs (1 : 35, 2 : 36, 3 : 37)\0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"s : show PVCs (1 : 35, 2 : 36, 3 : 37)\0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"c : enter user command\0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"q : quit\0D\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"\0D\0AYour command : \00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"Input is %c\0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [48 x i8] c"Idx VID VPI VCI Encap Mode (3 1235 0 34 0 0) : \00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"PVC is %s\0D\0A\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"User command : \00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"Cmd is %s\0D\0A\00", align 1
@.str.21 = private unnamed_addr constant [16 x i8] c"2 1234 0 35 0 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowMsgAndInput(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%21 = call signext i8 (...) @getchar()
%22 = load ptr, ptr %3, align 8
store i8 %21, ptr %22, align 1
%23 = call i32 (...) @ClearInput()
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 97
br i1 %31, label %32, label %38
32: ; preds = %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%34 = load ptr, ptr %4, align 8
%35 = call i32 @gets(ptr noundef %34)
%36 = load ptr, ptr %4, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %36)
br label %59
38: ; preds = %2
%39 = load ptr, ptr %3, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 99
br i1 %42, label %43, label %49
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%45 = load ptr, ptr %4, align 8
%46 = call i32 @gets(ptr noundef %45)
%47 = load ptr, ptr %4, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %47)
br label %58
49: ; preds = %38
%50 = load ptr, ptr %3, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 118
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = call i32 @strcpy(ptr noundef %55, ptr noundef @.str.21)
br label %57
57: ; preds = %54, %49
br label %58
58: ; preds = %57, %43
br label %59
59: ; preds = %58, %32
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
declare i32 @ClearInput(...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx610218k.c'
source_filename = "/tmp/tmpx610218k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_DUMMY_cons_fputs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx610218k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_DUMMY_cons_fputs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
store ptr %6, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa6t109b5.c'
source_filename = "/tmp/tmpa6t109b5.c"
target datalayout = "e-m:e-p270: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.timespec = type { i64 }
@tempnam.index = internal global i32 0, align 4
@P_tmpdir = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"temp\00", align 1
@R_OK = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"%s/%s-%d-%d-%x\00", align 1
@F_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tempnam(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i32, align 4
%9 = alloca i64, 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 = call i32 (...) @getpid()
store i32 %12, ptr %8, align 4
store i32 0, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load ptr, ptr @P_tmpdir, align 8
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %15, %2
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store ptr @.str, ptr %5, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr @R_OK, align 4
%24 = load i32, ptr @W_OK, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @X_OK, align 4
%27 = or i32 %25, %26
%28 = call i64 @access(ptr noundef %22, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %21
store ptr null, ptr %3, align 8
br label %86
31: ; preds = %21
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = add nsw i32 %33, 1
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = add nsw i32 %34, %36
%38 = sext i32 %37 to i64
%39 = add i64 %38, 42
%40 = add i64 %39, 1
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %9, align 8
%42 = call ptr @malloc(i64 noundef %41)
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %47, label %45
45: ; preds = %31
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %3, align 8
br label %86
47: ; preds = %31
br label %48
48: ; preds = %76, %47
%49 = load i32, ptr @CLOCK_REALTIME, align 4
%50 = call i32 @clock_gettime(i32 noundef %49, ptr noundef %7)
%51 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%52 = load i64, ptr %51, align 8
%53 = ptrtoint ptr %6 to i64
%54 = xor i64 %52, %53
%55 = load ptr, ptr %6, align 8
%56 = ptrtoint ptr %55 to i64
%57 = xor i64 %54, %56
%58 = trunc i64 %57 to i32
store i32 %58, ptr %10, align 4
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %9, align 8
%61 = load ptr, ptr %4, align 8
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %8, align 4
%64 = call i32 @a_fetch_add(ptr noundef @tempnam.index, i32 noundef 1)
%65 = load i32, ptr %10, align 4
%66 = call i32 @snprintf(ptr noundef %59, i64 noundef %60, ptr noundef @.str.1, ptr noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65)
br label %67
67: ; preds = %48
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr @F_OK, align 4
%70 = call i64 @access(ptr noundef %68, i32 noundef %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %67
%73 = load i32, ptr %11, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %11, align 4
%75 = icmp slt i32 %73, 100
br label %76
76: ; preds = %72, %67
%77 = phi i1 [ false, %67 ], [ %75, %72 ]
br i1 %77, label %48, label %78, !llvm.loop !6
78: ; preds = %76
%79 = load i32, ptr %11, align 4
%80 = icmp sge i32 %79, 100
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load ptr, ptr %6, align 8
%83 = call i32 @free(ptr noundef %82)
store ptr null, ptr %3, align 8
br label %86
84: ; preds = %78
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %3, align 8
br label %86
86: ; preds = %84, %81, %45, %30
%87 = load ptr, ptr %3, align 8
ret ptr %87
}
declare i32 @getpid(...) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @a_fetch_add(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa6t109b5.c"
target datalayout = "e-m:e-p270: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.timespec = type { i64 }
@tempnam.index = internal global i32 0, align 4
@P_tmpdir = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"temp\00", align 1
@R_OK = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"%s/%s-%d-%d-%x\00", align 1
@F_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tempnam(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i32, align 4
%9 = alloca i64, 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 = call i32 (...) @getpid()
store i32 %12, ptr %8, align 4
store i32 0, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load ptr, ptr @P_tmpdir, align 8
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %15, %2
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store ptr @.str, ptr %5, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr @R_OK, align 4
%24 = load i32, ptr @W_OK, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @X_OK, align 4
%27 = or i32 %25, %26
%28 = call i64 @access(ptr noundef %22, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %21
store ptr null, ptr %3, align 8
br label %86
31: ; preds = %21
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = add nsw i32 %33, 1
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = add nsw i32 %34, %36
%38 = sext i32 %37 to i64
%39 = add i64 %38, 42
%40 = add i64 %39, 1
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %9, align 8
%42 = call ptr @malloc(i64 noundef %41)
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %47, label %45
45: ; preds = %31
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %3, align 8
br label %86
47: ; preds = %31
br label %48
48: ; preds = %76, %47
%49 = load i32, ptr @CLOCK_REALTIME, align 4
%50 = call i32 @clock_gettime(i32 noundef %49, ptr noundef %7)
%51 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%52 = load i64, ptr %51, align 8
%53 = ptrtoint ptr %6 to i64
%54 = xor i64 %52, %53
%55 = load ptr, ptr %6, align 8
%56 = ptrtoint ptr %55 to i64
%57 = xor i64 %54, %56
%58 = trunc i64 %57 to i32
store i32 %58, ptr %10, align 4
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %9, align 8
%61 = load ptr, ptr %4, align 8
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %8, align 4
%64 = call i32 @a_fetch_add(ptr noundef @tempnam.index, i32 noundef 1)
%65 = load i32, ptr %10, align 4
%66 = call i32 @snprintf(ptr noundef %59, i64 noundef %60, ptr noundef @.str.1, ptr noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65)
br label %67
67: ; preds = %48
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr @F_OK, align 4
%70 = call i64 @access(ptr noundef %68, i32 noundef %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %67
%73 = load i32, ptr %11, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %11, align 4
%75 = icmp slt i32 %73, 100
br label %76
76: ; preds = %72, %67
%77 = phi i1 [ false, %67 ], [ %75, %72 ]
br i1 %77, label %48, label %78, !llvm.loop !6
78: ; preds = %76
%79 = load i32, ptr %11, align 4
%80 = icmp sge i32 %79, 100
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load ptr, ptr %6, align 8
%83 = call i32 @free(ptr noundef %82)
store ptr null, ptr %3, align 8
br label %86
84: ; preds = %78
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %3, align 8
br label %86
86: ; preds = %84, %81, %45, %30
%87 = load ptr, ptr %3, align 8
ret ptr %87
}
declare i32 @getpid(...) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @a_fetch_add(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp44r95igk.c'
source_filename = "/tmp/tmp44r95igk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ne_test_giinf(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 [2 x i8], align 1
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @ne_get_init_info(i32 noundef %8, ptr noundef %5, ptr noundef %6, ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %2, align 4
br label %29
15: ; preds = %1
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 10
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 -1, ptr %2, align 4
br label %29
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %2, align 4
br label %29
23: ; preds = %19
%24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 -1, ptr %2, align 4
br label %29
28: ; preds = %23
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %27, %22, %18, %13
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i32 @ne_get_init_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp44r95igk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ne_test_giinf(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 [2 x i8], align 1
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @ne_get_init_info(i32 noundef %8, ptr noundef %5, ptr noundef %6, ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %2, align 4
br label %29
15: ; preds = %1
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 10
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 -1, ptr %2, align 4
br label %29
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %2, align 4
br label %29
23: ; preds = %19
%24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 -1, ptr %2, align 4
br label %29
28: ; preds = %23
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %27, %22, %18, %13
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i32 @ne_get_init_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv351h9dx.c'
source_filename = "/tmp/tmpv351h9dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getResistance(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 10, %8
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %9, %10
%12 = load i32, ptr %6, align 4
%13 = call i32 @pow(i32 noundef 10, i32 noundef %12)
%14 = mul nsw i32 %11, %13
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %7, align 4
ret i32 %16
}
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv351h9dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getResistance(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 10, %8
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %9, %10
%12 = load i32, ptr %6, align 4
%13 = call i32 @pow(i32 noundef 10, i32 noundef %12)
%14 = mul nsw i32 %11, %13
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %7, align 4
ret i32 %16
}
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjnpure61.c'
source_filename = "/tmp/tmpjnpure61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hola Mundo!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saluda() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjnpure61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hola Mundo!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saluda() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg8av8rip.c'
source_filename = "/tmp/tmpg8av8rip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wFixEol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %89
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 13
br i1 %16, label %17, label %26
17: ; preds = %8
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %44, label %26
26: ; preds = %17, %8
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 %28, 2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 10
br i1 %34, label %35, label %57
35: ; preds = %26
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 13
br i1 %43, label %44, label %57
44: ; preds = %35, %17
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sub nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
store i8 10, ptr %49, align 1
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %3, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %3, align 4
br label %88
57: ; preds = %35, %26
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %3, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 13
br i1 %65, label %66, label %87
66: ; preds = %57
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %3, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 10
br i1 %74, label %75, label %87
75: ; preds = %66
%76 = load ptr, ptr %2, align 8
%77 = load i32, ptr %3, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 10, ptr %79, align 1
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
store i8 0, ptr %84, align 1
%85 = load i32, ptr %3, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %3, align 4
br label %87
87: ; preds = %75, %66, %57
br label %88
88: ; preds = %87, %44
br label %89
89: ; preds = %88, %1
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8av8rip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wFixEol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %89
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 13
br i1 %16, label %17, label %26
17: ; preds = %8
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %44, label %26
26: ; preds = %17, %8
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 %28, 2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 10
br i1 %34, label %35, label %57
35: ; preds = %26
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 13
br i1 %43, label %44, label %57
44: ; preds = %35, %17
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sub nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
store i8 10, ptr %49, align 1
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %3, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %3, align 4
br label %88
57: ; preds = %35, %26
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %3, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 13
br i1 %65, label %66, label %87
66: ; preds = %57
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %3, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 10
br i1 %74, label %75, label %87
75: ; preds = %66
%76 = load ptr, ptr %2, align 8
%77 = load i32, ptr %3, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 10, ptr %79, align 1
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
store i8 0, ptr %84, align 1
%85 = load i32, ptr %3, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %3, align 4
br label %87
87: ; preds = %75, %66, %57
br label %88
88: ; preds = %87, %44
br label %89
89: ; preds = %88, %1
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5p6tke4e.c'
source_filename = "/tmp/tmp5p6tke4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"./ftalat [-c coreID] startFreq targetFreq\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"\09-c coreID\09:\09to run the test on a precise core (default 0)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5p6tke4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"./ftalat [-c coreID] startFreq targetFreq\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"\09-c coreID\09:\09to run the test on a precise core (default 0)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbbkq4uso.c'
source_filename = "/tmp/tmpbbkq4uso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @propagate_latent_2_latent(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 @propagate_latent_1_latent(i32 noundef %3)
ret void
}
declare i32 @propagate_latent_1_latent(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/tmpbbkq4uso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @propagate_latent_2_latent(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 @propagate_latent_1_latent(i32 noundef %3)
ret void
}
declare i32 @propagate_latent_1_latent(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/tmp2v8jgnd1.c'
source_filename = "/tmp/tmp2v8jgnd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usleep_since_timer_start_free(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 @usleep_since_timer_start(ptr noundef %5, i64 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free_timer(ptr noundef %8)
ret void
}
declare i32 @usleep_since_timer_start(ptr noundef, i64 noundef) #1
declare i32 @free_timer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v8jgnd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usleep_since_timer_start_free(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 @usleep_since_timer_start(ptr noundef %5, i64 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free_timer(ptr noundef %8)
ret void
}
declare i32 @usleep_since_timer_start(ptr noundef, i64 noundef) #1
declare i32 @free_timer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7u9hdfh.c'
source_filename = "/tmp/tmpu7u9hdfh.c"
target datalayout = "e-m:e-p270: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/tmpu7u9hdfh.c"
target datalayout = "e-m:e-p270: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/tmp3p5p8eu3.c'
source_filename = "/tmp/tmp3p5p8eu3.c"
target datalayout = "e-m:e-p270: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/tmp3p5p8eu3.c"
target datalayout = "e-m:e-p270: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/tmp7yo3_fvc.c'
source_filename = "/tmp/tmp7yo3_fvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__modsi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @__divsi3(i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %8, %9
%11 = sub nsw i32 %5, %10
ret i32 %11
}
declare i32 @__divsi3(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/tmp7yo3_fvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__modsi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @__divsi3(i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %8, %9
%11 = sub nsw i32 %5, %10
ret i32 %11
}
declare i32 @__divsi3(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/tmpz65y9r46.c'
source_filename = "/tmp/tmpz65y9r46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f1() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = sub nsw i32 %6, 2
store i32 %7, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = mul nsw i32 %9, 31232132
store i32 %10, ptr %1, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = sdiv i32 %12, 4
store i32 %13, ptr %1, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = srem i32 %15, 20
store i32 %16, ptr %1, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = and i32 %18, 6
store i32 %19, ptr %1, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %1, align 4
%22 = xor i32 %21, 7
store i32 %22, ptr %1, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = or i32 %24, 8
store i32 %25, ptr %1, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %1, align 4
%28 = ashr i32 %27, 3
store i32 %28, ptr %1, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
%30 = load i32, ptr %1, align 4
%31 = shl i32 %30, 4
store i32 %31, ptr %1, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
store i32 22321, ptr %1, align 4
store i32 -22321, ptr %2, align 4
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %34)
%36 = load i32, ptr %1, align 4
%37 = sub nsw i32 %36, 2
%38 = call i32 @printf(ptr noundef @.str, i32 noundef %37)
%39 = load i32, ptr %1, align 4
%40 = mul nsw i32 %39, 312
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %40)
%42 = load i32, ptr %1, align 4
%43 = sdiv i32 %42, 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = sdiv i32 %45, 4
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = udiv i32 %48, 4
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
%51 = load i32, ptr %1, align 4
%52 = srem i32 %51, 20
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr %2, align 4
%55 = srem i32 %54, 20
%56 = call i32 @printf(ptr noundef @.str, i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = urem i32 %57, 20
%59 = call i32 @printf(ptr noundef @.str, i32 noundef %58)
%60 = load i32, ptr %1, align 4
%61 = and i32 %60, 6
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %1, align 4
%64 = xor i32 %63, 7
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
%66 = load i32, ptr %1, align 4
%67 = or i32 %66, 8
%68 = call i32 @printf(ptr noundef @.str, i32 noundef %67)
%69 = load i32, ptr %1, align 4
%70 = ashr i32 %69, 3
%71 = call i32 @printf(ptr noundef @.str, i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = ashr i32 %72, 3
%74 = call i32 @printf(ptr noundef @.str, i32 noundef %73)
%75 = load i32, ptr %2, align 4
%76 = lshr i32 %75, 3
%77 = call i32 @printf(ptr noundef @.str, i32 noundef %76)
%78 = load i32, ptr %1, align 4
%79 = shl i32 %78, 4
%80 = call i32 @printf(ptr noundef @.str, i32 noundef %79)
%81 = load i32, ptr %1, align 4
%82 = xor i32 %81, -1
%83 = call i32 @printf(ptr noundef @.str, i32 noundef %82)
%84 = load i32, ptr %1, align 4
%85 = sub nsw i32 0, %84
%86 = call i32 @printf(ptr noundef @.str, i32 noundef %85)
%87 = load i32, ptr %1, align 4
%88 = call i32 @printf(ptr noundef @.str, i32 noundef %87)
%89 = call i32 @printf(ptr noundef @.str, i32 noundef 13)
%90 = call i32 @printf(ptr noundef @.str, i32 noundef 10)
%91 = call i32 @printf(ptr noundef @.str, i32 noundef 3744)
%92 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%93 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%94 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%95 = call i32 @printf(ptr noundef @.str, i32 noundef 11)
%96 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%97 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%98 = call i32 @printf(ptr noundef @.str, i32 noundef 192)
%99 = call i32 @printf(ptr noundef @.str, i32 noundef -13)
%100 = call i32 @printf(ptr noundef @.str, i32 noundef -12)
%101 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
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/tmpz65y9r46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f1() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = sub nsw i32 %6, 2
store i32 %7, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = mul nsw i32 %9, 31232132
store i32 %10, ptr %1, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = sdiv i32 %12, 4
store i32 %13, ptr %1, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = srem i32 %15, 20
store i32 %16, ptr %1, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = and i32 %18, 6
store i32 %19, ptr %1, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %1, align 4
%22 = xor i32 %21, 7
store i32 %22, ptr %1, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = or i32 %24, 8
store i32 %25, ptr %1, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %1, align 4
%28 = ashr i32 %27, 3
store i32 %28, ptr %1, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
%30 = load i32, ptr %1, align 4
%31 = shl i32 %30, 4
store i32 %31, ptr %1, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
store i32 22321, ptr %1, align 4
store i32 -22321, ptr %2, align 4
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %34)
%36 = load i32, ptr %1, align 4
%37 = sub nsw i32 %36, 2
%38 = call i32 @printf(ptr noundef @.str, i32 noundef %37)
%39 = load i32, ptr %1, align 4
%40 = mul nsw i32 %39, 312
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %40)
%42 = load i32, ptr %1, align 4
%43 = sdiv i32 %42, 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = sdiv i32 %45, 4
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = udiv i32 %48, 4
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
%51 = load i32, ptr %1, align 4
%52 = srem i32 %51, 20
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr %2, align 4
%55 = srem i32 %54, 20
%56 = call i32 @printf(ptr noundef @.str, i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = urem i32 %57, 20
%59 = call i32 @printf(ptr noundef @.str, i32 noundef %58)
%60 = load i32, ptr %1, align 4
%61 = and i32 %60, 6
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %1, align 4
%64 = xor i32 %63, 7
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
%66 = load i32, ptr %1, align 4
%67 = or i32 %66, 8
%68 = call i32 @printf(ptr noundef @.str, i32 noundef %67)
%69 = load i32, ptr %1, align 4
%70 = ashr i32 %69, 3
%71 = call i32 @printf(ptr noundef @.str, i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = ashr i32 %72, 3
%74 = call i32 @printf(ptr noundef @.str, i32 noundef %73)
%75 = load i32, ptr %2, align 4
%76 = lshr i32 %75, 3
%77 = call i32 @printf(ptr noundef @.str, i32 noundef %76)
%78 = load i32, ptr %1, align 4
%79 = shl i32 %78, 4
%80 = call i32 @printf(ptr noundef @.str, i32 noundef %79)
%81 = load i32, ptr %1, align 4
%82 = xor i32 %81, -1
%83 = call i32 @printf(ptr noundef @.str, i32 noundef %82)
%84 = load i32, ptr %1, align 4
%85 = sub nsw i32 0, %84
%86 = call i32 @printf(ptr noundef @.str, i32 noundef %85)
%87 = load i32, ptr %1, align 4
%88 = call i32 @printf(ptr noundef @.str, i32 noundef %87)
%89 = call i32 @printf(ptr noundef @.str, i32 noundef 13)
%90 = call i32 @printf(ptr noundef @.str, i32 noundef 10)
%91 = call i32 @printf(ptr noundef @.str, i32 noundef 3744)
%92 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%93 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%94 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%95 = call i32 @printf(ptr noundef @.str, i32 noundef 11)
%96 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%97 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%98 = call i32 @printf(ptr noundef @.str, i32 noundef 192)
%99 = call i32 @printf(ptr noundef @.str, i32 noundef -13)
%100 = call i32 @printf(ptr noundef @.str, i32 noundef -12)
%101 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
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/tmpi1hj3ji3.c'
source_filename = "/tmp/tmpi1hj3ji3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %f %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 65, ptr %2, align 4
store float 0xC030A66660000000, ptr %3, align 4
store i8 97, ptr %4, align 1
%5 = load i32, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = load i8, ptr %4, align 1
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, float noundef %6, i8 noundef signext %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, float noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1hj3ji3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %f %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 65, ptr %2, align 4
store float 0xC030A66660000000, ptr %3, align 4
store i8 97, ptr %4, align 1
%5 = load i32, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = load i8, ptr %4, align 1
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, float noundef %6, i8 noundef signext %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, float noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzvv_o3cz.c'
source_filename = "/tmp/tmpzvv_o3cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_insert() #0 {
%1 = call i32 @in_chars(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @in_chars(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/tmpzvv_o3cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_insert() #0 {
%1 = call i32 @in_chars(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @in_chars(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/tmpwmfugssa.c'
source_filename = "/tmp/tmpwmfugssa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finalize_scr() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @__fpurge(i32 noundef %1)
%3 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @__fpurge(i32 noundef) #1
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/tmpwmfugssa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finalize_scr() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @__fpurge(i32 noundef %1)
%3 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @__fpurge(i32 noundef) #1
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/tmpn2xss_36.c'
source_filename = "/tmp/tmpn2xss_36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeInt(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 @wfree(ptr noundef %3)
ret void
}
declare i32 @wfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2xss_36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeInt(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 @wfree(ptr noundef %3)
ret void
}
declare i32 @wfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpevuy25r3.c'
source_filename = "/tmp/tmpevuy25r3.c"
target datalayout = "e-m:e-p270: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/tmpevuy25r3.c"
target datalayout = "e-m:e-p270: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/tmpdza1z25z.c'
source_filename = "/tmp/tmpdza1z25z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @operand_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 123
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
store i32 1, ptr %4, align 4
br label %13
13: ; preds = %10, %1
br label %14
14: ; preds = %57, %13
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %60
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 125
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %4, align 4
br label %57
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %56, label %27
27: ; preds = %24
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = call i64 @is_operator(i8 noundef signext %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %54, label %32
32: ; preds = %27
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
%35 = call i64 @is_parenth(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %54, label %37
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 32
br i1 %41, label %42, label %55
42: ; preds = %37
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1
%46 = call i64 @is_operator(i8 noundef signext %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %54, label %48
48: ; preds = %42
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 1
%51 = load i8, ptr %50, align 1
%52 = call i64 @is_parenth(i8 noundef signext %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %48, %42, %32, %27
br label %60
55: ; preds = %48, %37
br label %56
56: ; preds = %55, %24
br label %57
57: ; preds = %56, %23
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %3, align 8
br label %14, !llvm.loop !6
60: ; preds = %54, %14
%61 = load ptr, ptr %3, align 8
ret ptr %61
}
declare i64 @is_operator(i8 noundef signext) #1
declare i64 @is_parenth(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/tmpdza1z25z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @operand_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 123
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
store i32 1, ptr %4, align 4
br label %13
13: ; preds = %10, %1
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %56
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 125
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %4, align 4
br label %56
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %55, label %26
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i64 @is_operator(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %53, label %31
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = call i64 @is_parenth(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %53, label %36
36: ; preds = %31
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 32
br i1 %40, label %41, label %54
41: ; preds = %36
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = load i8, ptr %43, align 1
%45 = call i64 @is_operator(i8 noundef signext %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = call i64 @is_parenth(i8 noundef signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %47, %41, %31, %26
br label %62
54: ; preds = %47, %36
br label %55
55: ; preds = %54, %23
br label %56
56: ; preds = %55, %22
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %3, align 8
%59 = load ptr, ptr %3, align 8
%60 = load i8, ptr %59, align 1
%61 = icmp ne i8 %60, 0
br i1 %61, label %17, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %56
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %13
br label %62
62: ; preds = %.loopexit, %53
%63 = load ptr, ptr %3, align 8
ret ptr %63
}
declare i64 @is_operator(i8 noundef signext) #1
declare i64 @is_parenth(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/tmpj1icnsre.c'
source_filename = "/tmp/tmpj1icnsre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xp(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca double, align 8
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 5.000000e-01
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load float, ptr %2, align 4
%8 = fsub float 1.000000e+00, %7
store float %8, ptr %2, align 4
br label %9
9: ; preds = %6, %1
%10 = load float, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = fmul float %10, %11
%13 = fdiv float 1.000000e+00, %12
%14 = fptosi float %13 to i32
%15 = call i32 @log(i32 noundef %14)
%16 = call double @sqrt(i32 noundef %15)
store double %16, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = load double, ptr %3, align 8
%19 = call double @llvm.fmuladd.f64(double 2.706100e-01, double %18, double 2.307530e+00)
%20 = load double, ptr %3, align 8
%21 = call double @llvm.fmuladd.f64(double 9.922900e-01, double %20, double 1.000000e+00)
%22 = load double, ptr %3, align 8
%23 = fmul double 4.481000e-02, %22
%24 = load double, ptr %3, align 8
%25 = call double @llvm.fmuladd.f64(double %23, double %24, double %21)
%26 = fdiv double %19, %25
%27 = fsub double %17, %26
ret double %27
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 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/tmpj1icnsre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xp(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca double, align 8
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 5.000000e-01
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load float, ptr %2, align 4
%8 = fsub float 1.000000e+00, %7
store float %8, ptr %2, align 4
br label %9
9: ; preds = %6, %1
%10 = load float, ptr %2, align 4
%11 = load float, ptr %2, align 4
%12 = fmul float %10, %11
%13 = fdiv float 1.000000e+00, %12
%14 = fptosi float %13 to i32
%15 = call i32 @log(i32 noundef %14)
%16 = call double @sqrt(i32 noundef %15)
store double %16, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = load double, ptr %3, align 8
%19 = call double @llvm.fmuladd.f64(double 2.706100e-01, double %18, double 2.307530e+00)
%20 = load double, ptr %3, align 8
%21 = call double @llvm.fmuladd.f64(double 9.922900e-01, double %20, double 1.000000e+00)
%22 = load double, ptr %3, align 8
%23 = fmul double 4.481000e-02, %22
%24 = load double, ptr %3, align 8
%25 = call double @llvm.fmuladd.f64(double %23, double %24, double %21)
%26 = fdiv double %19, %25
%27 = fsub double %17, %26
ret double %27
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 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/tmps2eemtsv.c'
source_filename = "/tmp/tmps2eemtsv.c"
target datalayout = "e-m:e-p270: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/tmps2eemtsv.c"
target datalayout = "e-m:e-p270: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/tmpw3kn6kgy.c'
source_filename = "/tmp/tmpw3kn6kgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [436 x i8] c"follow this:\0A./code HOST PORT Number_Packets TYPE Threads\0A 0 - XMAS with Spoofing\0A 1 - SYN+ACK with Spoofing\0A 2 - SYN+ACK with Mirror Spoofing\0A 3 - FIN+ACK with Spoofing\0A 4 - FIN+ACK with Mirror Spoofing\0A 5 - URG+ACK with Spoofing\0A 6 - URG+ACK With Mirror Spoofing\0A 7 - PSH+ACK With Spoofing\0A 8 - XMAS with Mirror Spoofing\0Aex: ./code www.server.com 80 20000 4 50\0A..::hyde:NetWork:FlowTest::.. \0ACoded by Cooler_ c00f3r[at]gmail[dot]com\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw3kn6kgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [436 x i8] c"follow this:\0A./code HOST PORT Number_Packets TYPE Threads\0A 0 - XMAS with Spoofing\0A 1 - SYN+ACK with Spoofing\0A 2 - SYN+ACK with Mirror Spoofing\0A 3 - FIN+ACK with Spoofing\0A 4 - FIN+ACK with Mirror Spoofing\0A 5 - URG+ACK with Spoofing\0A 6 - URG+ACK With Mirror Spoofing\0A 7 - PSH+ACK With Spoofing\0A 8 - XMAS with Mirror Spoofing\0Aex: ./code www.server.com 80 20000 4 50\0A..::hyde:NetWork:FlowTest::.. \0ACoded by Cooler_ c00f3r[at]gmail[dot]com\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpugumtmfh.c'
source_filename = "/tmp/tmpugumtmfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @br_get_bridge_info(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @old_get_bridge_info(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @old_get_bridge_info(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/tmpugumtmfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @br_get_bridge_info(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @old_get_bridge_info(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @old_get_bridge_info(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/tmp_qi4rdm4.c'
source_filename = "/tmp/tmp_qi4rdm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testBadPromotion() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = load i8, ptr %1, align 1
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @func(i8 noundef zeroext %4)
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = add nsw i32 %7, 48
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = call i32 @func(i8 noundef zeroext %10)
%12 = load i8, ptr %2, align 1
%13 = zext i8 %12 to i32
%14 = add nsw i32 %13, 17
%15 = trunc i32 %14 to i8
store i8 %15, ptr %2, align 1
%16 = load i8, ptr %2, align 1
%17 = call i32 @func(i8 noundef zeroext %16)
ret void
}
declare i32 @func(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_qi4rdm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testBadPromotion() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = load i8, ptr %1, align 1
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @func(i8 noundef zeroext %4)
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = add nsw i32 %7, 48
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = call i32 @func(i8 noundef zeroext %10)
%12 = load i8, ptr %2, align 1
%13 = zext i8 %12 to i32
%14 = add nsw i32 %13, 17
%15 = trunc i32 %14 to i8
store i8 %15, ptr %2, align 1
%16 = load i8, ptr %2, align 1
%17 = call i32 @func(i8 noundef zeroext %16)
ret void
}
declare i32 @func(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7j0l3zuy.c'
source_filename = "/tmp/tmp7j0l3zuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Syntax Error : tree numb_of_elements\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Count RED : %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Count of red nodes with non red children: %d \0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Val 1 = %d\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Val 2 = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %46
13: ; preds = %2
%14 = call ptr (...) @build()
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @display_tree(ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %25, %13
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = call ptr @rand_insert(ptr noundef %22, i32 noundef %23)
store ptr %24, ptr %6, align 8
br label %25
25: ; preds = %21
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %18, !llvm.loop !6
28: ; preds = %18
%29 = load ptr, ptr %6, align 8
%30 = call i32 @display_tree(ptr noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%32 = load ptr, ptr %6, align 8
%33 = call i32 @count_red(ptr noundef %32, i32 noundef 1)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = call i32 @count_red_children(ptr noundef %36, i32 noundef 1)
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38)
%40 = load ptr, ptr %6, align 8
%41 = call i32 @delete_tree(ptr noundef %40)
%42 = call i32 @test_me(i32 noundef 1)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
%44 = call i32 @test_me_2(i32 noundef 1)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44)
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %28, %11
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @build(...) #1
declare i32 @display_tree(ptr noundef) #1
declare ptr @rand_insert(ptr noundef, i32 noundef) #1
declare i32 @count_red(ptr noundef, i32 noundef) #1
declare i32 @count_red_children(ptr noundef, i32 noundef) #1
declare i32 @delete_tree(ptr noundef) #1
declare i32 @test_me(i32 noundef) #1
declare i32 @test_me_2(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/tmp7j0l3zuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Syntax Error : tree numb_of_elements\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Count RED : %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Count of red nodes with non red children: %d \0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Val 1 = %d\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Val 2 = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %47
13: ; preds = %2
%14 = call ptr (...) @build()
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @display_tree(ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %.lr.ph, label %29
.lr.ph: ; preds = %13
br label %20
20: ; preds = %.lr.ph, %24
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = call ptr @rand_insert(ptr noundef %21, i32 noundef %22)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 10
br i1 %28, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %13
%30 = load ptr, ptr %6, align 8
%31 = call i32 @display_tree(ptr noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @count_red(ptr noundef %33, i32 noundef 1)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @count_red_children(ptr noundef %37, i32 noundef 1)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = call i32 @delete_tree(ptr noundef %41)
%43 = call i32 @test_me(i32 noundef 1)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
%45 = call i32 @test_me_2(i32 noundef 1)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45)
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %29, %11
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @build(...) #1
declare i32 @display_tree(ptr noundef) #1
declare ptr @rand_insert(ptr noundef, i32 noundef) #1
declare i32 @count_red(ptr noundef, i32 noundef) #1
declare i32 @count_red_children(ptr noundef, i32 noundef) #1
declare i32 @delete_tree(ptr noundef) #1
declare i32 @test_me(i32 noundef) #1
declare i32 @test_me_2(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/tmpc4exr06v.c'
source_filename = "/tmp/tmpc4exr06v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"BAILOUT: caught signal %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bailout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = call i32 @set_sigs_intern(i32 noundef 1)
%5 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 1024, ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @panic(ptr noundef %8)
%10 = call i32 @exit(i32 noundef 7) #3
unreachable
}
declare i32 @set_sigs_intern(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @panic(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/tmpc4exr06v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"BAILOUT: caught signal %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bailout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = call i32 @set_sigs_intern(i32 noundef 1)
%5 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 1024, ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @panic(ptr noundef %8)
%10 = call i32 @exit(i32 noundef 7) #3
unreachable
}
declare i32 @set_sigs_intern(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @panic(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/tmp5d_2guhf.c'
source_filename = "/tmp/tmp5d_2guhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"caught SIGINT, exiting ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = call i32 (...) @print_stats()
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @print_stats(...) #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/tmp5d_2guhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"caught SIGINT, exiting ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = call i32 (...) @print_stats()
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @print_stats(...) #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/tmpow132qcy.c'
source_filename = "/tmp/tmpow132qcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"segmentation fault: ip=%x.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vmem_segfault_handler(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = call i32 @console_printf(ptr noundef @.str, i64 noundef %4)
ret void
}
declare i32 @console_printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpow132qcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"segmentation fault: ip=%x.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vmem_segfault_handler(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = call i32 @console_printf(ptr noundef @.str, i64 noundef %4)
ret void
}
declare i32 @console_printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_t8lepg7.c'
source_filename = "/tmp/tmp_t8lepg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XGraphicsExposeEvent_major_code(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmp_t8lepg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XGraphicsExposeEvent_major_code(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpotdqhxvb.c'
source_filename = "/tmp/tmpotdqhxvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Slcd_Out_Cp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %13, %1
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br label %11
11: ; preds = %6, %3
%12 = phi i1 [ false, %3 ], [ %10, %6 ]
br i1 %12, label %13, label %19
13: ; preds = %11
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %2, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = call i32 @Slcd_Chr_Cp(i32 noundef %17)
br label %3, !llvm.loop !6
19: ; preds = %11
ret void
}
declare i32 @Slcd_Chr_Cp(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/tmpotdqhxvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Slcd_Out_Cp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %13, %1
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br label %11
11: ; preds = %6, %3
%12 = phi i1 [ false, %3 ], [ %10, %6 ]
br i1 %12, label %13, label %19
13: ; preds = %11
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %2, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = call i32 @Slcd_Chr_Cp(i32 noundef %17)
br label %3, !llvm.loop !6
19: ; preds = %11
ret void
}
declare i32 @Slcd_Chr_Cp(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/tmpsgjs8yi7.c'
source_filename = "/tmp/tmpsgjs8yi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @int16WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 4)
ret i64 %7
}
declare i64 @write_FP_BE(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/tmpsgjs8yi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @int16WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 4)
ret i64 %7
}
declare i64 @write_FP_BE(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/tmpm5r8ijgp.c'
source_filename = "/tmp/tmpm5r8ijgp.c"
target datalayout = "e-m:e-p270: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/tmpm5r8ijgp.c"
target datalayout = "e-m:e-p270: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/tmp80h7hbr2.c'
source_filename = "/tmp/tmp80h7hbr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Investment Calculator\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"=====================\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Principal : \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Annual Rate : \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"No of Years : \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"The future value is $%.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 float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%14 = load i32, ptr %2, align 4
%15 = load float, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call float @futureValue(i32 noundef %14, float noundef %15, i32 noundef %16)
store float %17, ptr %5, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %20)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare float @futureValue(i32 noundef, float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80h7hbr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Investment Calculator\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"=====================\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Principal : \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Annual Rate : \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"No of Years : \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"The future value is $%.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 float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4)
%14 = load i32, ptr %2, align 4
%15 = load float, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call float @futureValue(i32 noundef %14, float noundef %15, i32 noundef %16)
store float %17, ptr %5, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %20)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare float @futureValue(i32 noundef, float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvkjkzje7.c'
source_filename = "/tmp/tmpvkjkzje7.c"
target datalayout = "e-m:e-p270: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/tmpvkjkzje7.c"
target datalayout = "e-m:e-p270: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/tmpsp22rwmt.c'
source_filename = "/tmp/tmpsp22rwmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ide_write_qua(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @writeide(i32 noundef 3, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @writeide(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/tmpsp22rwmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ide_write_qua(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @writeide(i32 noundef 3, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @writeide(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/tmpzmifxhn2.c'
source_filename = "/tmp/tmpzmifxhn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @f()
%3 = call i32 (...) @h()
%4 = call i32 (...) @h1()
ret i32 0
}
declare i32 @f(...) #1
declare i32 @h(...) #1
declare i32 @h1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmifxhn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @f()
%3 = call i32 (...) @h()
%4 = call i32 (...) @h1()
ret i32 0
}
declare i32 @f(...) #1
declare i32 @h(...) #1
declare i32 @h1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw4vg3tuk.c'
source_filename = "/tmp/tmpw4vg3tuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4(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 @f3(ptr noundef %3)
ret i32 %4
}
declare i32 @f3(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw4vg3tuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4(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 @f3(ptr noundef %3)
ret i32 %4
}
declare i32 @f3(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjoq8nzeg.c'
source_filename = "/tmp/tmpjoq8nzeg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"\22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"\22%20s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\22%-20s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"\22%*s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%6 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%12 = call ptr @strlen(ptr noundef %11)
%13 = getelementptr inbounds i8, ptr %12, i64 3
%14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%15 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %13, ptr noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjoq8nzeg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"\22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"\22%20s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\22%-20s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"\22%*s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%6 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%12 = call ptr @strlen(ptr noundef %11)
%13 = getelementptr inbounds i8, ptr %12, i64 3
%14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%15 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %13, ptr noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xm1_a82.c'
source_filename = "/tmp/tmp3xm1_a82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i16], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
store ptr %7, ptr %3, align 8
store i32 17, ptr %5, align 4
store i32 31, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %33, %0
%9 = load i32, ptr %4, align 4
%10 = icmp ult i32 %9, 12
br i1 %10, label %11, label %38
11: ; preds = %8
%12 = load i32, ptr %6, align 4
%13 = and i32 %12, 65535
%14 = mul i32 36969, %13
%15 = load i32, ptr %6, align 4
%16 = lshr i32 %15, 16
%17 = add i32 %14, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = and i32 %18, 65535
%20 = mul i32 18000, %19
%21 = load i32, ptr %5, align 4
%22 = lshr i32 %21, 16
%23 = add i32 %20, %22
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = shl i32 %24, 16
%26 = load i32, ptr %5, align 4
%27 = add i32 %25, %26
%28 = trunc i32 %27 to i16
%29 = sext i16 %28 to i32
%30 = and i32 %29, 65535
%31 = trunc i32 %30 to i16
%32 = load ptr, ptr %3, align 8
store i16 %31, ptr %32, align 2
br label %33
33: ; preds = %11
%34 = load i32, ptr %4, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i16, ptr %36, i32 1
store ptr %37, ptr %3, align 8
br label %8, !llvm.loop !6
38: ; preds = %8
%39 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
%40 = call i32 @sort(ptr noundef %39, i32 noundef 12)
%41 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
%42 = call i32 @myprint(ptr noundef %41, i32 noundef 12)
%43 = load i32, ptr %1, align 4
ret i32 %43
}
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @myprint(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/tmp3xm1_a82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i16], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
store ptr %7, ptr %3, align 8
store i32 17, ptr %5, align 4
store i32 31, ptr %6, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ult i32 %8, 12
br i1 %9, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %32
%11 = load i32, ptr %6, align 4
%12 = and i32 %11, 65535
%13 = mul i32 36969, %12
%14 = load i32, ptr %6, align 4
%15 = lshr i32 %14, 16
%16 = add i32 %13, %15
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = and i32 %17, 65535
%19 = mul i32 18000, %18
%20 = load i32, ptr %5, align 4
%21 = lshr i32 %20, 16
%22 = add i32 %19, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = shl i32 %23, 16
%25 = load i32, ptr %5, align 4
%26 = add i32 %24, %25
%27 = trunc i32 %26 to i16
%28 = sext i16 %27 to i32
%29 = and i32 %28, 65535
%30 = trunc i32 %29 to i16
%31 = load ptr, ptr %3, align 8
store i16 %30, ptr %31, align 2
br label %32
32: ; preds = %10
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i16, ptr %35, i32 1
store ptr %36, ptr %3, align 8
%37 = load i32, ptr %4, align 4
%38 = icmp ult i32 %37, 12
br i1 %38, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %0
%40 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
%41 = call i32 @sort(ptr noundef %40, i32 noundef 12)
%42 = getelementptr inbounds [12 x i16], ptr %2, i64 0, i64 0
%43 = call i32 @myprint(ptr noundef %42, i32 noundef 12)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @myprint(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/tmpr2j585zh.c'
source_filename = "/tmp/tmpr2j585zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"satir sayisi?\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"sutun sayisi?\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.4 = 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 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
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %29, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %32
14: ; preds = %10
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %24, %14
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %20, %21
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %29
29: ; preds = %27
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %10, !llvm.loop !8
32: ; preds = %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2j585zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"satir sayisi?\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"sutun sayisi?\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.4 = 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 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
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 1, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph2, label %36
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %30
store i32 1, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %22
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %13
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %30
30: ; preds = %28
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %36
36: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.