llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp16bgwwii.c'
source_filename = "/tmp/tmp16bgwwii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imatrix_solve_n_m(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%27 = load ptr, ptr %13, align 8
store ptr %27, ptr %14, align 8
%28 = load ptr, ptr %13, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %45
30: ; preds = %6
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 4, %32
%34 = load i32, ptr %12, align 4
%35 = load i32, ptr %11, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %11, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %36, %39
%41 = sext i32 %40 to i64
%42 = mul i64 8, %41
%43 = add i64 %33, %42
%44 = trunc i64 %43 to i32
store i32 %44, ptr %7, align 4
br label %577
45: ; preds = %6
%46 = load ptr, ptr %14, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = mul i64 4, %48
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store ptr %50, ptr %23, align 8
%51 = load ptr, ptr %14, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = mul i64 4, %53
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = mul i64 8, %57
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = mul i64 %58, %60
%62 = getelementptr inbounds i8, ptr %55, i64 %61
store ptr %62, ptr %24, align 8
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %11, align 4
%65 = mul nsw i32 %63, %64
%66 = sub nsw i32 %65, 1
store i32 %66, ptr %18, align 4
br label %67
67: ; preds = %80, %45
%68 = load i32, ptr %18, align 4
%69 = icmp sge i32 %68, 0
br i1 %69, label %70, label %83
70: ; preds = %67
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %18, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = load ptr, ptr %23, align 8
%77 = load i32, ptr %18, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %76, i64 %78
store double %75, ptr %79, align 8
br label %80
80: ; preds = %70
%81 = load i32, ptr %18, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %18, align 4
br label %67, !llvm.loop !6
83: ; preds = %67
%84 = load i32, ptr %12, align 4
%85 = load i32, ptr %11, align 4
%86 = mul nsw i32 %84, %85
%87 = sub nsw i32 %86, 1
store i32 %87, ptr %18, align 4
br label %88
88: ; preds = %101, %83
%89 = load i32, ptr %18, align 4
%90 = icmp sge i32 %89, 0
br i1 %90, label %91, label %104
91: ; preds = %88
%92 = load ptr, ptr %9, align 8
%93 = load i32, ptr %18, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %24, align 8
%98 = load i32, ptr %18, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %97, i64 %99
store double %96, ptr %100, align 8
br label %101
101: ; preds = %91
%102 = load i32, ptr %18, align 4
%103 = add nsw i32 %102, -1
store i32 %103, ptr %18, align 4
br label %88, !llvm.loop !8
104: ; preds = %88
%105 = load ptr, ptr %13, align 8
store ptr %105, ptr %15, align 8
store i32 0, ptr %20, align 4
store i32 1, ptr %16, align 4
store i32 0, ptr %17, align 4
br label %106
106: ; preds = %490, %104
%107 = load i32, ptr %17, align 4
%108 = load i32, ptr %11, align 4
%109 = sub nsw i32 %108, 1
%110 = icmp sle i32 %107, %109
br i1 %110, label %111, label %493
111: ; preds = %106
store double 0.000000e+00, ptr %25, align 8
%112 = load i32, ptr %17, align 4
store i32 %112, ptr %18, align 4
br label %113
113: ; preds = %157, %111
%114 = load i32, ptr %18, align 4
%115 = load i32, ptr %11, align 4
%116 = sub nsw i32 %115, 1
%117 = icmp sle i32 %114, %116
br i1 %117, label %118, label %160
118: ; preds = %113
%119 = load i32, ptr %17, align 4
store i32 %119, ptr %19, align 4
br label %120
120: ; preds = %153, %118
%121 = load i32, ptr %19, align 4
%122 = load i32, ptr %11, align 4
%123 = sub nsw i32 %122, 1
%124 = icmp sle i32 %121, %123
br i1 %124, label %125, label %156
125: ; preds = %120
%126 = load ptr, ptr %23, align 8
%127 = load i32, ptr %18, align 4
%128 = load i32, ptr %11, align 4
%129 = mul nsw i32 %127, %128
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %129, %130
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %126, i64 %132
%134 = load double, ptr %133, align 8
store double %134, ptr %26, align 8
%135 = load double, ptr %26, align 8
%136 = fcmp olt double %135, 0.000000e+00
br i1 %136, label %137, label %140
137: ; preds = %125
%138 = load double, ptr %26, align 8
%139 = fneg double %138
store double %139, ptr %26, align 8
br label %140
140: ; preds = %137, %125
%141 = load double, ptr %26, align 8
%142 = load double, ptr %25, align 8
%143 = fcmp ogt double %141, %142
br i1 %143, label %144, label %152
144: ; preds = %140
%145 = load double, ptr %26, align 8
store double %145, ptr %25, align 8
%146 = load i32, ptr %19, align 4
%147 = load ptr, ptr %15, align 8
%148 = load i32, ptr %17, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
store i32 %146, ptr %150, align 4
%151 = load i32, ptr %18, align 4
store i32 %151, ptr %20, align 4
br label %152
152: ; preds = %144, %140
br label %153
153: ; preds = %152
%154 = load i32, ptr %19, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %19, align 4
br label %120, !llvm.loop !9
156: ; preds = %120
br label %157
157: ; preds = %156
%158 = load i32, ptr %18, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %18, align 4
br label %113, !llvm.loop !10
160: ; preds = %113
%161 = load double, ptr %25, align 8
%162 = fadd double %161, 1.000000e+00
%163 = fcmp oeq double %162, 1.000000e+00
br i1 %163, label %164, label %165
164: ; preds = %160
store i32 0, ptr %16, align 4
br label %302
165: ; preds = %160
%166 = load ptr, ptr %15, align 8
%167 = load i32, ptr %17, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i32, ptr %166, i64 %168
%170 = load i32, ptr %169, align 4
%171 = load i32, ptr %17, align 4
%172 = icmp ne i32 %170, %171
br i1 %172, label %173, label %217
173: ; preds = %165
store i32 0, ptr %18, align 4
br label %174
174: ; preds = %213, %173
%175 = load i32, ptr %18, align 4
%176 = load i32, ptr %11, align 4
%177 = sub nsw i32 %176, 1
%178 = icmp sle i32 %175, %177
br i1 %178, label %179, label %216
179: ; preds = %174
%180 = load i32, ptr %18, align 4
%181 = load i32, ptr %11, align 4
%182 = mul nsw i32 %180, %181
%183 = load i32, ptr %17, align 4
%184 = add nsw i32 %182, %183
store i32 %184, ptr %21, align 4
%185 = load i32, ptr %18, align 4
%186 = load i32, ptr %11, align 4
%187 = mul nsw i32 %185, %186
%188 = load ptr, ptr %15, align 8
%189 = load i32, ptr %17, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %188, i64 %190
%192 = load i32, ptr %191, align 4
%193 = add nsw i32 %187, %192
store i32 %193, ptr %22, align 4
%194 = load ptr, ptr %23, align 8
%195 = load i32, ptr %21, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
%198 = load double, ptr %197, align 8
store double %198, ptr %26, align 8
%199 = load ptr, ptr %23, align 8
%200 = load i32, ptr %22, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, ptr %199, i64 %201
%203 = load double, ptr %202, align 8
%204 = load ptr, ptr %23, align 8
%205 = load i32, ptr %21, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %204, i64 %206
store double %203, ptr %207, align 8
%208 = load double, ptr %26, align 8
%209 = load ptr, ptr %23, align 8
%210 = load i32, ptr %22, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds double, ptr %209, i64 %211
store double %208, ptr %212, align 8
br label %213
213: ; preds = %179
%214 = load i32, ptr %18, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %18, align 4
br label %174, !llvm.loop !11
216: ; preds = %174
br label %217
217: ; preds = %216, %165
%218 = load i32, ptr %20, align 4
%219 = load i32, ptr %17, align 4
%220 = icmp ne i32 %218, %219
br i1 %220, label %221, label %301
221: ; preds = %217
%222 = load i32, ptr %17, align 4
store i32 %222, ptr %19, align 4
br label %223
223: ; preds = %258, %221
%224 = load i32, ptr %19, align 4
%225 = load i32, ptr %11, align 4
%226 = sub nsw i32 %225, 1
%227 = icmp sle i32 %224, %226
br i1 %227, label %228, label %261
228: ; preds = %223
%229 = load i32, ptr %17, align 4
%230 = load i32, ptr %11, align 4
%231 = mul nsw i32 %229, %230
%232 = load i32, ptr %19, align 4
%233 = add nsw i32 %231, %232
store i32 %233, ptr %21, align 4
%234 = load i32, ptr %20, align 4
%235 = load i32, ptr %11, align 4
%236 = mul nsw i32 %234, %235
%237 = load i32, ptr %19, align 4
%238 = add nsw i32 %236, %237
store i32 %238, ptr %22, align 4
%239 = load ptr, ptr %23, align 8
%240 = load i32, ptr %21, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, ptr %239, i64 %241
%243 = load double, ptr %242, align 8
store double %243, ptr %26, align 8
%244 = load ptr, ptr %23, align 8
%245 = load i32, ptr %22, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %244, i64 %246
%248 = load double, ptr %247, align 8
%249 = load ptr, ptr %23, align 8
%250 = load i32, ptr %21, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, ptr %249, i64 %251
store double %248, ptr %252, align 8
%253 = load double, ptr %26, align 8
%254 = load ptr, ptr %23, align 8
%255 = load i32, ptr %22, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %254, i64 %256
store double %253, ptr %257, align 8
br label %258
258: ; preds = %228
%259 = load i32, ptr %19, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %19, align 4
br label %223, !llvm.loop !12
261: ; preds = %223
store i32 0, ptr %19, align 4
br label %262
262: ; preds = %297, %261
%263 = load i32, ptr %19, align 4
%264 = load i32, ptr %12, align 4
%265 = sub nsw i32 %264, 1
%266 = icmp sle i32 %263, %265
br i1 %266, label %267, label %300
267: ; preds = %262
%268 = load i32, ptr %17, align 4
%269 = load i32, ptr %12, align 4
%270 = mul nsw i32 %268, %269
%271 = load i32, ptr %19, align 4
%272 = add nsw i32 %270, %271
store i32 %272, ptr %21, align 4
%273 = load i32, ptr %20, align 4
%274 = load i32, ptr %12, align 4
%275 = mul nsw i32 %273, %274
%276 = load i32, ptr %19, align 4
%277 = add nsw i32 %275, %276
store i32 %277, ptr %22, align 4
%278 = load ptr, ptr %24, align 8
%279 = load i32, ptr %21, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double, ptr %278, i64 %280
%282 = load double, ptr %281, align 8
store double %282, ptr %26, align 8
%283 = load ptr, ptr %24, align 8
%284 = load i32, ptr %22, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double, ptr %283, i64 %285
%287 = load double, ptr %286, align 8
%288 = load ptr, ptr %24, align 8
%289 = load i32, ptr %21, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds double, ptr %288, i64 %290
store double %287, ptr %291, align 8
%292 = load double, ptr %26, align 8
%293 = load ptr, ptr %24, align 8
%294 = load i32, ptr %22, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds double, ptr %293, i64 %295
store double %292, ptr %296, align 8
br label %297
297: ; preds = %267
%298 = load i32, ptr %19, align 4
%299 = add nsw i32 %298, 1
store i32 %299, ptr %19, align 4
br label %262, !llvm.loop !13
300: ; preds = %262
br label %301
301: ; preds = %300, %217
br label %302
302: ; preds = %301, %164
%303 = load i32, ptr %16, align 4
%304 = icmp eq i32 %303, 0
br i1 %304, label %305, label %306
305: ; preds = %302
store i32 -1, ptr %7, align 4
br label %577
306: ; preds = %302
%307 = load ptr, ptr %23, align 8
%308 = load i32, ptr %17, align 4
%309 = load i32, ptr %11, align 4
%310 = mul nsw i32 %308, %309
%311 = load i32, ptr %17, align 4
%312 = add nsw i32 %310, %311
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds double, ptr %307, i64 %313
%315 = load double, ptr %314, align 8
store double %315, ptr %25, align 8
%316 = load i32, ptr %17, align 4
%317 = add nsw i32 %316, 1
store i32 %317, ptr %19, align 4
br label %318
318: ; preds = %340, %306
%319 = load i32, ptr %19, align 4
%320 = load i32, ptr %11, align 4
%321 = sub nsw i32 %320, 1
%322 = icmp sle i32 %319, %321
br i1 %322, label %323, label %343
323: ; preds = %318
%324 = load i32, ptr %17, align 4
%325 = load i32, ptr %11, align 4
%326 = mul nsw i32 %324, %325
%327 = load i32, ptr %19, align 4
%328 = add nsw i32 %326, %327
store i32 %328, ptr %21, align 4
%329 = load ptr, ptr %23, align 8
%330 = load i32, ptr %21, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds double, ptr %329, i64 %331
%333 = load double, ptr %332, align 8
%334 = load double, ptr %25, align 8
%335 = fdiv double %333, %334
%336 = load ptr, ptr %23, align 8
%337 = load i32, ptr %21, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %336, i64 %338
store double %335, ptr %339, align 8
br label %340
340: ; preds = %323
%341 = load i32, ptr %19, align 4
%342 = add nsw i32 %341, 1
store i32 %342, ptr %19, align 4
br label %318, !llvm.loop !14
343: ; preds = %318
store i32 0, ptr %19, align 4
br label %344
344: ; preds = %366, %343
%345 = load i32, ptr %19, align 4
%346 = load i32, ptr %12, align 4
%347 = sub nsw i32 %346, 1
%348 = icmp sle i32 %345, %347
br i1 %348, label %349, label %369
349: ; preds = %344
%350 = load i32, ptr %17, align 4
%351 = load i32, ptr %12, align 4
%352 = mul nsw i32 %350, %351
%353 = load i32, ptr %19, align 4
%354 = add nsw i32 %352, %353
store i32 %354, ptr %21, align 4
%355 = load ptr, ptr %24, align 8
%356 = load i32, ptr %21, align 4
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds double, ptr %355, i64 %357
%359 = load double, ptr %358, align 8
%360 = load double, ptr %25, align 8
%361 = fdiv double %359, %360
%362 = load ptr, ptr %24, align 8
%363 = load i32, ptr %21, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds double, ptr %362, i64 %364
store double %361, ptr %365, align 8
br label %366
366: ; preds = %349
%367 = load i32, ptr %19, align 4
%368 = add nsw i32 %367, 1
store i32 %368, ptr %19, align 4
br label %344, !llvm.loop !15
369: ; preds = %344
%370 = load i32, ptr %17, align 4
%371 = add nsw i32 %370, 1
store i32 %371, ptr %19, align 4
br label %372
372: ; preds = %427, %369
%373 = load i32, ptr %19, align 4
%374 = load i32, ptr %11, align 4
%375 = sub nsw i32 %374, 1
%376 = icmp sle i32 %373, %375
br i1 %376, label %377, label %430
377: ; preds = %372
store i32 0, ptr %18, align 4
br label %378
378: ; preds = %423, %377
%379 = load i32, ptr %18, align 4
%380 = load i32, ptr %11, align 4
%381 = sub nsw i32 %380, 1
%382 = icmp sle i32 %379, %381
br i1 %382, label %383, label %426
383: ; preds = %378
%384 = load i32, ptr %18, align 4
%385 = load i32, ptr %11, align 4
%386 = mul nsw i32 %384, %385
%387 = load i32, ptr %19, align 4
%388 = add nsw i32 %386, %387
store i32 %388, ptr %21, align 4
%389 = load i32, ptr %18, align 4
%390 = load i32, ptr %17, align 4
%391 = icmp ne i32 %389, %390
br i1 %391, label %392, label %422
392: ; preds = %383
%393 = load ptr, ptr %23, align 8
%394 = load i32, ptr %21, align 4
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds double, ptr %393, i64 %395
%397 = load double, ptr %396, align 8
%398 = load ptr, ptr %23, align 8
%399 = load i32, ptr %18, align 4
%400 = load i32, ptr %11, align 4
%401 = mul nsw i32 %399, %400
%402 = load i32, ptr %17, align 4
%403 = add nsw i32 %401, %402
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds double, ptr %398, i64 %404
%406 = load double, ptr %405, align 8
%407 = load ptr, ptr %23, align 8
%408 = load i32, ptr %17, align 4
%409 = load i32, ptr %11, align 4
%410 = mul nsw i32 %408, %409
%411 = load i32, ptr %19, align 4
%412 = add nsw i32 %410, %411
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds double, ptr %407, i64 %413
%415 = load double, ptr %414, align 8
%416 = fneg double %406
%417 = call double @llvm.fmuladd.f64(double %416, double %415, double %397)
%418 = load ptr, ptr %23, align 8
%419 = load i32, ptr %21, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds double, ptr %418, i64 %420
store double %417, ptr %421, align 8
br label %422
422: ; preds = %392, %383
br label %423
423: ; preds = %422
%424 = load i32, ptr %18, align 4
%425 = add nsw i32 %424, 1
store i32 %425, ptr %18, align 4
br label %378, !llvm.loop !16
426: ; preds = %378
br label %427
427: ; preds = %426
%428 = load i32, ptr %19, align 4
%429 = add nsw i32 %428, 1
store i32 %429, ptr %19, align 4
br label %372, !llvm.loop !17
430: ; preds = %372
store i32 0, ptr %19, align 4
br label %431
431: ; preds = %486, %430
%432 = load i32, ptr %19, align 4
%433 = load i32, ptr %12, align 4
%434 = sub nsw i32 %433, 1
%435 = icmp sle i32 %432, %434
br i1 %435, label %436, label %489
436: ; preds = %431
store i32 0, ptr %18, align 4
br label %437
437: ; preds = %482, %436
%438 = load i32, ptr %18, align 4
%439 = load i32, ptr %11, align 4
%440 = sub nsw i32 %439, 1
%441 = icmp sle i32 %438, %440
br i1 %441, label %442, label %485
442: ; preds = %437
%443 = load i32, ptr %18, align 4
%444 = load i32, ptr %12, align 4
%445 = mul nsw i32 %443, %444
%446 = load i32, ptr %19, align 4
%447 = add nsw i32 %445, %446
store i32 %447, ptr %21, align 4
%448 = load i32, ptr %18, align 4
%449 = load i32, ptr %17, align 4
%450 = icmp ne i32 %448, %449
br i1 %450, label %451, label %481
451: ; preds = %442
%452 = load ptr, ptr %24, align 8
%453 = load i32, ptr %21, align 4
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds double, ptr %452, i64 %454
%456 = load double, ptr %455, align 8
%457 = load ptr, ptr %23, align 8
%458 = load i32, ptr %18, align 4
%459 = load i32, ptr %11, align 4
%460 = mul nsw i32 %458, %459
%461 = load i32, ptr %17, align 4
%462 = add nsw i32 %460, %461
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds double, ptr %457, i64 %463
%465 = load double, ptr %464, align 8
%466 = load ptr, ptr %24, align 8
%467 = load i32, ptr %17, align 4
%468 = load i32, ptr %12, align 4
%469 = mul nsw i32 %467, %468
%470 = load i32, ptr %19, align 4
%471 = add nsw i32 %469, %470
%472 = sext i32 %471 to i64
%473 = getelementptr inbounds double, ptr %466, i64 %472
%474 = load double, ptr %473, align 8
%475 = fneg double %465
%476 = call double @llvm.fmuladd.f64(double %475, double %474, double %456)
%477 = load ptr, ptr %24, align 8
%478 = load i32, ptr %21, align 4
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds double, ptr %477, i64 %479
store double %476, ptr %480, align 8
br label %481
481: ; preds = %451, %442
br label %482
482: ; preds = %481
%483 = load i32, ptr %18, align 4
%484 = add nsw i32 %483, 1
store i32 %484, ptr %18, align 4
br label %437, !llvm.loop !18
485: ; preds = %437
br label %486
486: ; preds = %485
%487 = load i32, ptr %19, align 4
%488 = add nsw i32 %487, 1
store i32 %488, ptr %19, align 4
br label %431, !llvm.loop !19
489: ; preds = %431
br label %490
490: ; preds = %489
%491 = load i32, ptr %17, align 4
%492 = add nsw i32 %491, 1
store i32 %492, ptr %17, align 4
br label %106, !llvm.loop !20
493: ; preds = %106
%494 = load i32, ptr %11, align 4
%495 = sub nsw i32 %494, 1
store i32 %495, ptr %17, align 4
br label %496
496: ; preds = %552, %493
%497 = load i32, ptr %17, align 4
%498 = icmp sge i32 %497, 0
br i1 %498, label %499, label %555
499: ; preds = %496
%500 = load ptr, ptr %15, align 8
%501 = load i32, ptr %17, align 4
%502 = sext i32 %501 to i64
%503 = getelementptr inbounds i32, ptr %500, i64 %502
%504 = load i32, ptr %503, align 4
%505 = load i32, ptr %17, align 4
%506 = icmp ne i32 %504, %505
br i1 %506, label %507, label %551
507: ; preds = %499
store i32 0, ptr %19, align 4
br label %508
508: ; preds = %547, %507
%509 = load i32, ptr %19, align 4
%510 = load i32, ptr %12, align 4
%511 = sub nsw i32 %510, 1
%512 = icmp sle i32 %509, %511
br i1 %512, label %513, label %550
513: ; preds = %508
%514 = load i32, ptr %17, align 4
%515 = load i32, ptr %12, align 4
%516 = mul nsw i32 %514, %515
%517 = load i32, ptr %19, align 4
%518 = add nsw i32 %516, %517
store i32 %518, ptr %21, align 4
%519 = load ptr, ptr %15, align 8
%520 = load i32, ptr %17, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds i32, ptr %519, i64 %521
%523 = load i32, ptr %522, align 4
%524 = load i32, ptr %12, align 4
%525 = mul nsw i32 %523, %524
%526 = load i32, ptr %19, align 4
%527 = add nsw i32 %525, %526
store i32 %527, ptr %22, align 4
%528 = load ptr, ptr %24, align 8
%529 = load i32, ptr %21, align 4
%530 = sext i32 %529 to i64
%531 = getelementptr inbounds double, ptr %528, i64 %530
%532 = load double, ptr %531, align 8
store double %532, ptr %26, align 8
%533 = load ptr, ptr %24, align 8
%534 = load i32, ptr %22, align 4
%535 = sext i32 %534 to i64
%536 = getelementptr inbounds double, ptr %533, i64 %535
%537 = load double, ptr %536, align 8
%538 = load ptr, ptr %24, align 8
%539 = load i32, ptr %21, align 4
%540 = sext i32 %539 to i64
%541 = getelementptr inbounds double, ptr %538, i64 %540
store double %537, ptr %541, align 8
%542 = load double, ptr %26, align 8
%543 = load ptr, ptr %24, align 8
%544 = load i32, ptr %22, align 4
%545 = sext i32 %544 to i64
%546 = getelementptr inbounds double, ptr %543, i64 %545
store double %542, ptr %546, align 8
br label %547
547: ; preds = %513
%548 = load i32, ptr %19, align 4
%549 = add nsw i32 %548, 1
store i32 %549, ptr %19, align 4
br label %508, !llvm.loop !21
550: ; preds = %508
br label %551
551: ; preds = %550, %499
br label %552
552: ; preds = %551
%553 = load i32, ptr %17, align 4
%554 = add nsw i32 %553, -1
store i32 %554, ptr %17, align 4
br label %496, !llvm.loop !22
555: ; preds = %496
%556 = load i32, ptr %12, align 4
%557 = load i32, ptr %11, align 4
%558 = mul nsw i32 %556, %557
%559 = sub nsw i32 %558, 1
store i32 %559, ptr %18, align 4
br label %560
560: ; preds = %573, %555
%561 = load i32, ptr %18, align 4
%562 = icmp sge i32 %561, 0
br i1 %562, label %563, label %576
563: ; preds = %560
%564 = load ptr, ptr %24, align 8
%565 = load i32, ptr %18, align 4
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds double, ptr %564, i64 %566
%568 = load double, ptr %567, align 8
%569 = load ptr, ptr %10, align 8
%570 = load i32, ptr %18, align 4
%571 = sext i32 %570 to i64
%572 = getelementptr inbounds double, ptr %569, i64 %571
store double %568, ptr %572, align 8
br label %573
573: ; preds = %563
%574 = load i32, ptr %18, align 4
%575 = add nsw i32 %574, -1
store i32 %575, ptr %18, align 4
br label %560, !llvm.loop !23
576: ; preds = %560
store i32 0, ptr %7, align 4
br label %577
577: ; preds = %576, %305, %30
%578 = load i32, ptr %7, align 4
ret i32 %578
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16bgwwii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imatrix_solve_n_m(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%27 = load ptr, ptr %13, align 8
store ptr %27, ptr %14, align 8
%28 = load ptr, ptr %13, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %45
30: ; preds = %6
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 4, %32
%34 = load i32, ptr %12, align 4
%35 = load i32, ptr %11, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %11, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %36, %39
%41 = sext i32 %40 to i64
%42 = mul i64 8, %41
%43 = add i64 %33, %42
%44 = trunc i64 %43 to i32
store i32 %44, ptr %7, align 4
br label %620
45: ; preds = %6
%46 = load ptr, ptr %14, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = mul i64 4, %48
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store ptr %50, ptr %23, align 8
%51 = load ptr, ptr %14, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = mul i64 4, %53
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = mul i64 8, %57
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = mul i64 %58, %60
%62 = getelementptr inbounds i8, ptr %55, i64 %61
store ptr %62, ptr %24, align 8
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %11, align 4
%65 = mul nsw i32 %63, %64
%66 = sub nsw i32 %65, 1
store i32 %66, ptr %18, align 4
%67 = load i32, ptr %18, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %.lr.ph, label %84
.lr.ph: ; preds = %45
br label %69
69: ; preds = %.lr.ph, %79
%70 = load ptr, ptr %8, align 8
%71 = load i32, ptr %18, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = load ptr, ptr %23, align 8
%76 = load i32, ptr %18, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
store double %74, ptr %78, align 8
br label %79
79: ; preds = %69
%80 = load i32, ptr %18, align 4
%81 = add nsw i32 %80, -1
store i32 %81, ptr %18, align 4
%82 = load i32, ptr %18, align 4
%83 = icmp sge i32 %82, 0
br i1 %83, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %84
84: ; preds = %._crit_edge, %45
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %11, align 4
%87 = mul nsw i32 %85, %86
%88 = sub nsw i32 %87, 1
store i32 %88, ptr %18, align 4
%89 = load i32, ptr %18, align 4
%90 = icmp sge i32 %89, 0
br i1 %90, label %.lr.ph2, label %106
.lr.ph2: ; preds = %84
br label %91
91: ; preds = %.lr.ph2, %101
%92 = load ptr, ptr %9, align 8
%93 = load i32, ptr %18, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %24, align 8
%98 = load i32, ptr %18, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %97, i64 %99
store double %96, ptr %100, align 8
br label %101
101: ; preds = %91
%102 = load i32, ptr %18, align 4
%103 = add nsw i32 %102, -1
store i32 %103, ptr %18, align 4
%104 = load i32, ptr %18, align 4
%105 = icmp sge i32 %104, 0
br i1 %105, label %91, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %101
br label %106
106: ; preds = %._crit_edge3, %84
%107 = load ptr, ptr %13, align 8
store ptr %107, ptr %15, align 8
store i32 0, ptr %20, align 4
store i32 1, ptr %16, align 4
store i32 0, ptr %17, align 4
%108 = load i32, ptr %17, align 4
%109 = load i32, ptr %11, align 4
%110 = sub nsw i32 %109, 1
%111 = icmp sle i32 %108, %110
br i1 %111, label %.lr.ph38, label %531
.lr.ph38: ; preds = %106
br label %112
112: ; preds = %.lr.ph38, %524
store double 0.000000e+00, ptr %25, align 8
%113 = load i32, ptr %17, align 4
store i32 %113, ptr %18, align 4
%114 = load i32, ptr %18, align 4
%115 = load i32, ptr %11, align 4
%116 = sub nsw i32 %115, 1
%117 = icmp sle i32 %114, %116
br i1 %117, label %.lr.ph8, label %167
.lr.ph8: ; preds = %112
br label %118
118: ; preds = %.lr.ph8, %160
%119 = load i32, ptr %17, align 4
store i32 %119, ptr %19, align 4
%120 = load i32, ptr %19, align 4
%121 = load i32, ptr %11, align 4
%122 = sub nsw i32 %121, 1
%123 = icmp sle i32 %120, %122
br i1 %123, label %.lr.ph5, label %159
.lr.ph5: ; preds = %118
br label %124
124: ; preds = %.lr.ph5, %152
%125 = load ptr, ptr %23, align 8
%126 = load i32, ptr %18, align 4
%127 = load i32, ptr %11, align 4
%128 = mul nsw i32 %126, %127
%129 = load i32, ptr %19, align 4
%130 = add nsw i32 %128, %129
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double, ptr %125, i64 %131
%133 = load double, ptr %132, align 8
store double %133, ptr %26, align 8
%134 = load double, ptr %26, align 8
%135 = fcmp olt double %134, 0.000000e+00
br i1 %135, label %136, label %139
136: ; preds = %124
%137 = load double, ptr %26, align 8
%138 = fneg double %137
store double %138, ptr %26, align 8
br label %139
139: ; preds = %136, %124
%140 = load double, ptr %26, align 8
%141 = load double, ptr %25, align 8
%142 = fcmp ogt double %140, %141
br i1 %142, label %143, label %151
143: ; preds = %139
%144 = load double, ptr %26, align 8
store double %144, ptr %25, align 8
%145 = load i32, ptr %19, align 4
%146 = load ptr, ptr %15, align 8
%147 = load i32, ptr %17, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %146, i64 %148
store i32 %145, ptr %149, align 4
%150 = load i32, ptr %18, align 4
store i32 %150, ptr %20, align 4
br label %151
151: ; preds = %143, %139
br label %152
152: ; preds = %151
%153 = load i32, ptr %19, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %19, align 4
%155 = load i32, ptr %19, align 4
%156 = load i32, ptr %11, align 4
%157 = sub nsw i32 %156, 1
%158 = icmp sle i32 %155, %157
br i1 %158, label %124, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %152
br label %159
159: ; preds = %._crit_edge6, %118
br label %160
160: ; preds = %159
%161 = load i32, ptr %18, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %18, align 4
%163 = load i32, ptr %18, align 4
%164 = load i32, ptr %11, align 4
%165 = sub nsw i32 %164, 1
%166 = icmp sle i32 %163, %165
br i1 %166, label %118, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %160
br label %167
167: ; preds = %._crit_edge9, %112
%168 = load double, ptr %25, align 8
%169 = fadd double %168, 1.000000e+00
%170 = fcmp oeq double %169, 1.000000e+00
br i1 %170, label %171, label %172
171: ; preds = %167
store i32 0, ptr %16, align 4
br label %318
172: ; preds = %167
%173 = load ptr, ptr %15, align 8
%174 = load i32, ptr %17, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i32, ptr %173, i64 %175
%177 = load i32, ptr %176, align 4
%178 = load i32, ptr %17, align 4
%179 = icmp ne i32 %177, %178
br i1 %179, label %180, label %227
180: ; preds = %172
store i32 0, ptr %18, align 4
%181 = load i32, ptr %18, align 4
%182 = load i32, ptr %11, align 4
%183 = sub nsw i32 %182, 1
%184 = icmp sle i32 %181, %183
br i1 %184, label %.lr.ph11, label %226
.lr.ph11: ; preds = %180
br label %185
185: ; preds = %.lr.ph11, %219
%186 = load i32, ptr %18, align 4
%187 = load i32, ptr %11, align 4
%188 = mul nsw i32 %186, %187
%189 = load i32, ptr %17, align 4
%190 = add nsw i32 %188, %189
store i32 %190, ptr %21, align 4
%191 = load i32, ptr %18, align 4
%192 = load i32, ptr %11, align 4
%193 = mul nsw i32 %191, %192
%194 = load ptr, ptr %15, align 8
%195 = load i32, ptr %17, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %194, i64 %196
%198 = load i32, ptr %197, align 4
%199 = add nsw i32 %193, %198
store i32 %199, ptr %22, align 4
%200 = load ptr, ptr %23, align 8
%201 = load i32, ptr %21, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds double, ptr %200, i64 %202
%204 = load double, ptr %203, align 8
store double %204, ptr %26, align 8
%205 = load ptr, ptr %23, align 8
%206 = load i32, ptr %22, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds double, ptr %205, i64 %207
%209 = load double, ptr %208, align 8
%210 = load ptr, ptr %23, align 8
%211 = load i32, ptr %21, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
store double %209, ptr %213, align 8
%214 = load double, ptr %26, align 8
%215 = load ptr, ptr %23, align 8
%216 = load i32, ptr %22, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds double, ptr %215, i64 %217
store double %214, ptr %218, align 8
br label %219
219: ; preds = %185
%220 = load i32, ptr %18, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %18, align 4
%222 = load i32, ptr %18, align 4
%223 = load i32, ptr %11, align 4
%224 = sub nsw i32 %223, 1
%225 = icmp sle i32 %222, %224
br i1 %225, label %185, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %219
br label %226
226: ; preds = %._crit_edge12, %180
br label %227
227: ; preds = %226, %172
%228 = load i32, ptr %20, align 4
%229 = load i32, ptr %17, align 4
%230 = icmp ne i32 %228, %229
br i1 %230, label %231, label %317
231: ; preds = %227
%232 = load i32, ptr %17, align 4
store i32 %232, ptr %19, align 4
%233 = load i32, ptr %19, align 4
%234 = load i32, ptr %11, align 4
%235 = sub nsw i32 %234, 1
%236 = icmp sle i32 %233, %235
br i1 %236, label %.lr.ph14, label %274
.lr.ph14: ; preds = %231
br label %237
237: ; preds = %.lr.ph14, %267
%238 = load i32, ptr %17, align 4
%239 = load i32, ptr %11, align 4
%240 = mul nsw i32 %238, %239
%241 = load i32, ptr %19, align 4
%242 = add nsw i32 %240, %241
store i32 %242, ptr %21, align 4
%243 = load i32, ptr %20, align 4
%244 = load i32, ptr %11, align 4
%245 = mul nsw i32 %243, %244
%246 = load i32, ptr %19, align 4
%247 = add nsw i32 %245, %246
store i32 %247, ptr %22, align 4
%248 = load ptr, ptr %23, align 8
%249 = load i32, ptr %21, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
%252 = load double, ptr %251, align 8
store double %252, ptr %26, align 8
%253 = load ptr, ptr %23, align 8
%254 = load i32, ptr %22, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, ptr %253, i64 %255
%257 = load double, ptr %256, align 8
%258 = load ptr, ptr %23, align 8
%259 = load i32, ptr %21, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, ptr %258, i64 %260
store double %257, ptr %261, align 8
%262 = load double, ptr %26, align 8
%263 = load ptr, ptr %23, align 8
%264 = load i32, ptr %22, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, ptr %263, i64 %265
store double %262, ptr %266, align 8
br label %267
267: ; preds = %237
%268 = load i32, ptr %19, align 4
%269 = add nsw i32 %268, 1
store i32 %269, ptr %19, align 4
%270 = load i32, ptr %19, align 4
%271 = load i32, ptr %11, align 4
%272 = sub nsw i32 %271, 1
%273 = icmp sle i32 %270, %272
br i1 %273, label %237, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %267
br label %274
274: ; preds = %._crit_edge15, %231
store i32 0, ptr %19, align 4
%275 = load i32, ptr %19, align 4
%276 = load i32, ptr %12, align 4
%277 = sub nsw i32 %276, 1
%278 = icmp sle i32 %275, %277
br i1 %278, label %.lr.ph17, label %316
.lr.ph17: ; preds = %274
br label %279
279: ; preds = %.lr.ph17, %309
%280 = load i32, ptr %17, align 4
%281 = load i32, ptr %12, align 4
%282 = mul nsw i32 %280, %281
%283 = load i32, ptr %19, align 4
%284 = add nsw i32 %282, %283
store i32 %284, ptr %21, align 4
%285 = load i32, ptr %20, align 4
%286 = load i32, ptr %12, align 4
%287 = mul nsw i32 %285, %286
%288 = load i32, ptr %19, align 4
%289 = add nsw i32 %287, %288
store i32 %289, ptr %22, align 4
%290 = load ptr, ptr %24, align 8
%291 = load i32, ptr %21, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds double, ptr %290, i64 %292
%294 = load double, ptr %293, align 8
store double %294, ptr %26, align 8
%295 = load ptr, ptr %24, align 8
%296 = load i32, ptr %22, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds double, ptr %295, i64 %297
%299 = load double, ptr %298, align 8
%300 = load ptr, ptr %24, align 8
%301 = load i32, ptr %21, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds double, ptr %300, i64 %302
store double %299, ptr %303, align 8
%304 = load double, ptr %26, align 8
%305 = load ptr, ptr %24, align 8
%306 = load i32, ptr %22, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds double, ptr %305, i64 %307
store double %304, ptr %308, align 8
br label %309
309: ; preds = %279
%310 = load i32, ptr %19, align 4
%311 = add nsw i32 %310, 1
store i32 %311, ptr %19, align 4
%312 = load i32, ptr %19, align 4
%313 = load i32, ptr %12, align 4
%314 = sub nsw i32 %313, 1
%315 = icmp sle i32 %312, %314
br i1 %315, label %279, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %309
br label %316
316: ; preds = %._crit_edge18, %274
br label %317
317: ; preds = %316, %227
br label %318
318: ; preds = %317, %171
%319 = load i32, ptr %16, align 4
%320 = icmp eq i32 %319, 0
br i1 %320, label %321, label %322
321: ; preds = %318
store i32 -1, ptr %7, align 4
br label %620
322: ; preds = %318
%323 = load ptr, ptr %23, align 8
%324 = load i32, ptr %17, align 4
%325 = load i32, ptr %11, align 4
%326 = mul nsw i32 %324, %325
%327 = load i32, ptr %17, align 4
%328 = add nsw i32 %326, %327
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds double, ptr %323, i64 %329
%331 = load double, ptr %330, align 8
store double %331, ptr %25, align 8
%332 = load i32, ptr %17, align 4
%333 = add nsw i32 %332, 1
store i32 %333, ptr %19, align 4
%334 = load i32, ptr %19, align 4
%335 = load i32, ptr %11, align 4
%336 = sub nsw i32 %335, 1
%337 = icmp sle i32 %334, %336
br i1 %337, label %.lr.ph20, label %362
.lr.ph20: ; preds = %322
br label %338
338: ; preds = %.lr.ph20, %355
%339 = load i32, ptr %17, align 4
%340 = load i32, ptr %11, align 4
%341 = mul nsw i32 %339, %340
%342 = load i32, ptr %19, align 4
%343 = add nsw i32 %341, %342
store i32 %343, ptr %21, align 4
%344 = load ptr, ptr %23, align 8
%345 = load i32, ptr %21, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds double, ptr %344, i64 %346
%348 = load double, ptr %347, align 8
%349 = load double, ptr %25, align 8
%350 = fdiv double %348, %349
%351 = load ptr, ptr %23, align 8
%352 = load i32, ptr %21, align 4
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds double, ptr %351, i64 %353
store double %350, ptr %354, align 8
br label %355
355: ; preds = %338
%356 = load i32, ptr %19, align 4
%357 = add nsw i32 %356, 1
store i32 %357, ptr %19, align 4
%358 = load i32, ptr %19, align 4
%359 = load i32, ptr %11, align 4
%360 = sub nsw i32 %359, 1
%361 = icmp sle i32 %358, %360
br i1 %361, label %338, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %355
br label %362
362: ; preds = %._crit_edge21, %322
store i32 0, ptr %19, align 4
%363 = load i32, ptr %19, align 4
%364 = load i32, ptr %12, align 4
%365 = sub nsw i32 %364, 1
%366 = icmp sle i32 %363, %365
br i1 %366, label %.lr.ph23, label %391
.lr.ph23: ; preds = %362
br label %367
367: ; preds = %.lr.ph23, %384
%368 = load i32, ptr %17, align 4
%369 = load i32, ptr %12, align 4
%370 = mul nsw i32 %368, %369
%371 = load i32, ptr %19, align 4
%372 = add nsw i32 %370, %371
store i32 %372, ptr %21, align 4
%373 = load ptr, ptr %24, align 8
%374 = load i32, ptr %21, align 4
%375 = sext i32 %374 to i64
%376 = getelementptr inbounds double, ptr %373, i64 %375
%377 = load double, ptr %376, align 8
%378 = load double, ptr %25, align 8
%379 = fdiv double %377, %378
%380 = load ptr, ptr %24, align 8
%381 = load i32, ptr %21, align 4
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds double, ptr %380, i64 %382
store double %379, ptr %383, align 8
br label %384
384: ; preds = %367
%385 = load i32, ptr %19, align 4
%386 = add nsw i32 %385, 1
store i32 %386, ptr %19, align 4
%387 = load i32, ptr %19, align 4
%388 = load i32, ptr %12, align 4
%389 = sub nsw i32 %388, 1
%390 = icmp sle i32 %387, %389
br i1 %390, label %367, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %384
br label %391
391: ; preds = %._crit_edge24, %362
%392 = load i32, ptr %17, align 4
%393 = add nsw i32 %392, 1
store i32 %393, ptr %19, align 4
%394 = load i32, ptr %19, align 4
%395 = load i32, ptr %11, align 4
%396 = sub nsw i32 %395, 1
%397 = icmp sle i32 %394, %396
br i1 %397, label %.lr.ph29, label %458
.lr.ph29: ; preds = %391
br label %398
398: ; preds = %.lr.ph29, %451
store i32 0, ptr %18, align 4
%399 = load i32, ptr %18, align 4
%400 = load i32, ptr %11, align 4
%401 = sub nsw i32 %400, 1
%402 = icmp sle i32 %399, %401
br i1 %402, label %.lr.ph26, label %450
.lr.ph26: ; preds = %398
br label %403
403: ; preds = %.lr.ph26, %443
%404 = load i32, ptr %18, align 4
%405 = load i32, ptr %11, align 4
%406 = mul nsw i32 %404, %405
%407 = load i32, ptr %19, align 4
%408 = add nsw i32 %406, %407
store i32 %408, ptr %21, align 4
%409 = load i32, ptr %18, align 4
%410 = load i32, ptr %17, align 4
%411 = icmp ne i32 %409, %410
br i1 %411, label %412, label %442
412: ; preds = %403
%413 = load ptr, ptr %23, align 8
%414 = load i32, ptr %21, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds double, ptr %413, i64 %415
%417 = load double, ptr %416, align 8
%418 = load ptr, ptr %23, align 8
%419 = load i32, ptr %18, align 4
%420 = load i32, ptr %11, align 4
%421 = mul nsw i32 %419, %420
%422 = load i32, ptr %17, align 4
%423 = add nsw i32 %421, %422
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, ptr %418, i64 %424
%426 = load double, ptr %425, align 8
%427 = load ptr, ptr %23, align 8
%428 = load i32, ptr %17, align 4
%429 = load i32, ptr %11, align 4
%430 = mul nsw i32 %428, %429
%431 = load i32, ptr %19, align 4
%432 = add nsw i32 %430, %431
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds double, ptr %427, i64 %433
%435 = load double, ptr %434, align 8
%436 = fneg double %426
%437 = call double @llvm.fmuladd.f64(double %436, double %435, double %417)
%438 = load ptr, ptr %23, align 8
%439 = load i32, ptr %21, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds double, ptr %438, i64 %440
store double %437, ptr %441, align 8
br label %442
442: ; preds = %412, %403
br label %443
443: ; preds = %442
%444 = load i32, ptr %18, align 4
%445 = add nsw i32 %444, 1
store i32 %445, ptr %18, align 4
%446 = load i32, ptr %18, align 4
%447 = load i32, ptr %11, align 4
%448 = sub nsw i32 %447, 1
%449 = icmp sle i32 %446, %448
br i1 %449, label %403, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %443
br label %450
450: ; preds = %._crit_edge27, %398
br label %451
451: ; preds = %450
%452 = load i32, ptr %19, align 4
%453 = add nsw i32 %452, 1
store i32 %453, ptr %19, align 4
%454 = load i32, ptr %19, align 4
%455 = load i32, ptr %11, align 4
%456 = sub nsw i32 %455, 1
%457 = icmp sle i32 %454, %456
br i1 %457, label %398, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %451
br label %458
458: ; preds = %._crit_edge30, %391
store i32 0, ptr %19, align 4
%459 = load i32, ptr %19, align 4
%460 = load i32, ptr %12, align 4
%461 = sub nsw i32 %460, 1
%462 = icmp sle i32 %459, %461
br i1 %462, label %.lr.ph35, label %523
.lr.ph35: ; preds = %458
br label %463
463: ; preds = %.lr.ph35, %516
store i32 0, ptr %18, align 4
%464 = load i32, ptr %18, align 4
%465 = load i32, ptr %11, align 4
%466 = sub nsw i32 %465, 1
%467 = icmp sle i32 %464, %466
br i1 %467, label %.lr.ph32, label %515
.lr.ph32: ; preds = %463
br label %468
468: ; preds = %.lr.ph32, %508
%469 = load i32, ptr %18, align 4
%470 = load i32, ptr %12, align 4
%471 = mul nsw i32 %469, %470
%472 = load i32, ptr %19, align 4
%473 = add nsw i32 %471, %472
store i32 %473, ptr %21, align 4
%474 = load i32, ptr %18, align 4
%475 = load i32, ptr %17, align 4
%476 = icmp ne i32 %474, %475
br i1 %476, label %477, label %507
477: ; preds = %468
%478 = load ptr, ptr %24, align 8
%479 = load i32, ptr %21, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds double, ptr %478, i64 %480
%482 = load double, ptr %481, align 8
%483 = load ptr, ptr %23, align 8
%484 = load i32, ptr %18, align 4
%485 = load i32, ptr %11, align 4
%486 = mul nsw i32 %484, %485
%487 = load i32, ptr %17, align 4
%488 = add nsw i32 %486, %487
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds double, ptr %483, i64 %489
%491 = load double, ptr %490, align 8
%492 = load ptr, ptr %24, align 8
%493 = load i32, ptr %17, align 4
%494 = load i32, ptr %12, align 4
%495 = mul nsw i32 %493, %494
%496 = load i32, ptr %19, align 4
%497 = add nsw i32 %495, %496
%498 = sext i32 %497 to i64
%499 = getelementptr inbounds double, ptr %492, i64 %498
%500 = load double, ptr %499, align 8
%501 = fneg double %491
%502 = call double @llvm.fmuladd.f64(double %501, double %500, double %482)
%503 = load ptr, ptr %24, align 8
%504 = load i32, ptr %21, align 4
%505 = sext i32 %504 to i64
%506 = getelementptr inbounds double, ptr %503, i64 %505
store double %502, ptr %506, align 8
br label %507
507: ; preds = %477, %468
br label %508
508: ; preds = %507
%509 = load i32, ptr %18, align 4
%510 = add nsw i32 %509, 1
store i32 %510, ptr %18, align 4
%511 = load i32, ptr %18, align 4
%512 = load i32, ptr %11, align 4
%513 = sub nsw i32 %512, 1
%514 = icmp sle i32 %511, %513
br i1 %514, label %468, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %508
br label %515
515: ; preds = %._crit_edge33, %463
br label %516
516: ; preds = %515
%517 = load i32, ptr %19, align 4
%518 = add nsw i32 %517, 1
store i32 %518, ptr %19, align 4
%519 = load i32, ptr %19, align 4
%520 = load i32, ptr %12, align 4
%521 = sub nsw i32 %520, 1
%522 = icmp sle i32 %519, %521
br i1 %522, label %463, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %516
br label %523
523: ; preds = %._crit_edge36, %458
br label %524
524: ; preds = %523
%525 = load i32, ptr %17, align 4
%526 = add nsw i32 %525, 1
store i32 %526, ptr %17, align 4
%527 = load i32, ptr %17, align 4
%528 = load i32, ptr %11, align 4
%529 = sub nsw i32 %528, 1
%530 = icmp sle i32 %527, %529
br i1 %530, label %112, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %524
br label %531
531: ; preds = %._crit_edge39, %106
%532 = load i32, ptr %11, align 4
%533 = sub nsw i32 %532, 1
store i32 %533, ptr %17, align 4
%534 = load i32, ptr %17, align 4
%535 = icmp sge i32 %534, 0
br i1 %535, label %.lr.ph44, label %597
.lr.ph44: ; preds = %531
br label %536
536: ; preds = %.lr.ph44, %592
%537 = load ptr, ptr %15, align 8
%538 = load i32, ptr %17, align 4
%539 = sext i32 %538 to i64
%540 = getelementptr inbounds i32, ptr %537, i64 %539
%541 = load i32, ptr %540, align 4
%542 = load i32, ptr %17, align 4
%543 = icmp ne i32 %541, %542
br i1 %543, label %544, label %591
544: ; preds = %536
store i32 0, ptr %19, align 4
%545 = load i32, ptr %19, align 4
%546 = load i32, ptr %12, align 4
%547 = sub nsw i32 %546, 1
%548 = icmp sle i32 %545, %547
br i1 %548, label %.lr.ph41, label %590
.lr.ph41: ; preds = %544
br label %549
549: ; preds = %.lr.ph41, %583
%550 = load i32, ptr %17, align 4
%551 = load i32, ptr %12, align 4
%552 = mul nsw i32 %550, %551
%553 = load i32, ptr %19, align 4
%554 = add nsw i32 %552, %553
store i32 %554, ptr %21, align 4
%555 = load ptr, ptr %15, align 8
%556 = load i32, ptr %17, align 4
%557 = sext i32 %556 to i64
%558 = getelementptr inbounds i32, ptr %555, i64 %557
%559 = load i32, ptr %558, align 4
%560 = load i32, ptr %12, align 4
%561 = mul nsw i32 %559, %560
%562 = load i32, ptr %19, align 4
%563 = add nsw i32 %561, %562
store i32 %563, ptr %22, align 4
%564 = load ptr, ptr %24, align 8
%565 = load i32, ptr %21, align 4
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds double, ptr %564, i64 %566
%568 = load double, ptr %567, align 8
store double %568, ptr %26, align 8
%569 = load ptr, ptr %24, align 8
%570 = load i32, ptr %22, align 4
%571 = sext i32 %570 to i64
%572 = getelementptr inbounds double, ptr %569, i64 %571
%573 = load double, ptr %572, align 8
%574 = load ptr, ptr %24, align 8
%575 = load i32, ptr %21, align 4
%576 = sext i32 %575 to i64
%577 = getelementptr inbounds double, ptr %574, i64 %576
store double %573, ptr %577, align 8
%578 = load double, ptr %26, align 8
%579 = load ptr, ptr %24, align 8
%580 = load i32, ptr %22, align 4
%581 = sext i32 %580 to i64
%582 = getelementptr inbounds double, ptr %579, i64 %581
store double %578, ptr %582, align 8
br label %583
583: ; preds = %549
%584 = load i32, ptr %19, align 4
%585 = add nsw i32 %584, 1
store i32 %585, ptr %19, align 4
%586 = load i32, ptr %19, align 4
%587 = load i32, ptr %12, align 4
%588 = sub nsw i32 %587, 1
%589 = icmp sle i32 %586, %588
br i1 %589, label %549, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %583
br label %590
590: ; preds = %._crit_edge42, %544
br label %591
591: ; preds = %590, %536
br label %592
592: ; preds = %591
%593 = load i32, ptr %17, align 4
%594 = add nsw i32 %593, -1
store i32 %594, ptr %17, align 4
%595 = load i32, ptr %17, align 4
%596 = icmp sge i32 %595, 0
br i1 %596, label %536, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %592
br label %597
597: ; preds = %._crit_edge45, %531
%598 = load i32, ptr %12, align 4
%599 = load i32, ptr %11, align 4
%600 = mul nsw i32 %598, %599
%601 = sub nsw i32 %600, 1
store i32 %601, ptr %18, align 4
%602 = load i32, ptr %18, align 4
%603 = icmp sge i32 %602, 0
br i1 %603, label %.lr.ph47, label %619
.lr.ph47: ; preds = %597
br label %604
604: ; preds = %.lr.ph47, %614
%605 = load ptr, ptr %24, align 8
%606 = load i32, ptr %18, align 4
%607 = sext i32 %606 to i64
%608 = getelementptr inbounds double, ptr %605, i64 %607
%609 = load double, ptr %608, align 8
%610 = load ptr, ptr %10, align 8
%611 = load i32, ptr %18, align 4
%612 = sext i32 %611 to i64
%613 = getelementptr inbounds double, ptr %610, i64 %612
store double %609, ptr %613, align 8
br label %614
614: ; preds = %604
%615 = load i32, ptr %18, align 4
%616 = add nsw i32 %615, -1
store i32 %616, ptr %18, align 4
%617 = load i32, ptr %18, align 4
%618 = icmp sge i32 %617, 0
br i1 %618, label %604, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %614
br label %619
619: ; preds = %._crit_edge48, %597
store i32 0, ptr %7, align 4
br label %620
620: ; preds = %619, %321, %30
%621 = load i32, ptr %7, align 4
ret i32 %621
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
|
; ModuleID = '/tmp/tmp0kz2ym5n.c'
source_filename = "/tmp/tmp0kz2ym5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_from_password(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [32 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 32, i1 false)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @SHA256(ptr noundef %7, i32 noundef %9, ptr noundef %10)
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %19, %2
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 40872
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @SHA256(ptr noundef %16, i32 noundef 32, ptr noundef %17)
br label %19
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %12, !llvm.loop !6
22: ; preds = %12
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef 32)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @SHA256(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0kz2ym5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_from_password(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [32 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 32, i1 false)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @SHA256(ptr noundef %7, i32 noundef %9, ptr noundef %10)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 40872
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %18
%15 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @SHA256(ptr noundef %15, i32 noundef 32, ptr noundef %16)
br label %18
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 40872
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 32)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @SHA256(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmamyvcaj.c'
source_filename = "/tmp/tmpmamyvcaj.c"
target datalayout = "e-m:e-p270: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/tmpmamyvcaj.c"
target datalayout = "e-m:e-p270: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/tmpp2d4e1t1.c'
source_filename = "/tmp/tmpp2d4e1t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"This Application controls the USER LED3\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"usage: %s <control_option> <value>\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"valid control_options : brightness, trigger\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"valid 'brightness' values : 0,1\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"valid 'trigger' values : heartbeat,timer,none,oneshot,default-on\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"trigger\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"brightness\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Invalid control option\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %18
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %47
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.5)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @process_trigger_values(ptr noundef %27)
br label %46
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @process_brightness_values(i32 noundef %40)
br label %45
42: ; preds = %29
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
45: ; preds = %42, %35
br label %46
46: ; preds = %45, %24
br label %47
47: ; preds = %46, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @process_trigger_values(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @process_brightness_values(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/tmpp2d4e1t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"This Application controls the USER LED3\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"usage: %s <control_option> <value>\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"valid control_options : brightness, trigger\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"valid 'brightness' values : 0,1\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"valid 'trigger' values : heartbeat,timer,none,oneshot,default-on\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"trigger\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"brightness\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Invalid control option\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %18
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %47
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.5)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @process_trigger_values(ptr noundef %27)
br label %46
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @process_brightness_values(i32 noundef %40)
br label %45
42: ; preds = %29
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
45: ; preds = %42, %35
br label %46
46: ; preds = %45, %24
br label %47
47: ; preds = %46, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @process_trigger_values(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @process_brightness_values(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/tmpdj3_yfrb.c'
source_filename = "/tmp/tmpdj3_yfrb.c"
target datalayout = "e-m:e-p270: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/tmpdj3_yfrb.c"
target datalayout = "e-m:e-p270: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/tmp8n4w4ggp.c'
source_filename = "/tmp/tmp8n4w4ggp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_set_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @F_GETFL, align 4
%8 = call i32 @fcntl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %22
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFL, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = or i32 %14, %15
%17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %11
store i32 0, ptr %2, align 4
br label %22
20: ; preds = %11
br label %21
21: ; preds = %20
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %19, %10
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @fcntl(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/tmp8n4w4ggp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_set_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @F_GETFL, align 4
%8 = call i32 @fcntl(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %22
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFL, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = or i32 %14, %15
%17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %11
store i32 0, ptr %2, align 4
br label %22
20: ; preds = %11
br label %21
21: ; preds = %20
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %19, %10
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @fcntl(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/tmpadbili7a.c'
source_filename = "/tmp/tmpadbili7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mean(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %23, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = load double, ptr %6, align 8
%22 = fadd double %21, %20
store double %22, ptr %6, align 8
br label %23
23: ; preds = %15
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr %4, align 4
%28 = sitofp i32 %27 to double
%29 = load double, ptr %6, align 8
%30 = fdiv double %29, %28
store double %30, ptr %6, align 8
%31 = load double, ptr %6, align 8
ret double %31
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadbili7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mean(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %22
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
%20 = load double, ptr %6, align 8
%21 = fadd double %20, %19
store double %21, ptr %6, align 8
br label %22
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to double
%31 = load double, ptr %6, align 8
%32 = fdiv double %31, %30
store double %32, ptr %6, align 8
%33 = load double, ptr %6, align 8
ret double %33
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpauot3c4f.c'
source_filename = "/tmp/tmpauot3c4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strn_cat(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strn_catf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, ptr noundef %9)
ret i32 %10
}
declare i32 @strn_catf(ptr noundef, i64 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/tmpauot3c4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strn_cat(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strn_catf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, ptr noundef %9)
ret i32 %10
}
declare i32 @strn_catf(ptr noundef, i64 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/tmpcxffpz7l.c'
source_filename = "/tmp/tmpcxffpz7l.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"USAGE: guestlock <file>\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"ERROR: cannot open file\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"[SENDIOCTL] sending ioctl to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"[SENDIOCTL] rv is %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"[SENDIOCTL] exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i16, align 2
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %11, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @strdup(ptr noundef %23)
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %13, align 8
%26 = load i32, ptr @O_RDWR, align 4
%27 = call i32 @open(ptr noundef %25, i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef -1) #3
unreachable
33: ; preds = %20
%34 = load ptr, ptr %13, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
%36 = load i32, ptr %7, align 4
%37 = call i32 @ioctl(i32 noundef %36, i32 noundef 2, ptr noundef null)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38)
%40 = load i32, ptr %7, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strdup(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpcxffpz7l.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"USAGE: guestlock <file>\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"ERROR: cannot open file\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"[SENDIOCTL] sending ioctl to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"[SENDIOCTL] rv is %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"[SENDIOCTL] exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i16, align 2
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %11, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @strdup(ptr noundef %23)
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %13, align 8
%26 = load i32, ptr @O_RDWR, align 4
%27 = call i32 @open(ptr noundef %25, i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef -1) #3
unreachable
33: ; preds = %20
%34 = load ptr, ptr %13, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
%36 = load i32, ptr %7, align 4
%37 = call i32 @ioctl(i32 noundef %36, i32 noundef 2, ptr noundef null)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38)
%40 = load i32, ptr %7, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strdup(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpogesit6v.c'
source_filename = "/tmp/tmpogesit6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TRUE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @a_or(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 %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call ptr @my_strdup(ptr noundef @.str)
store ptr %10, ptr %3, align 8
br label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call ptr @my_strdup(ptr noundef %12)
store ptr %13, ptr %3, align 8
br label %14
14: ; preds = %11, %9
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @my_strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogesit6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TRUE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @a_or(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 %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call ptr @my_strdup(ptr noundef @.str)
store ptr %10, ptr %3, align 8
br label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call ptr @my_strdup(ptr noundef %12)
store ptr %13, ptr %3, align 8
br label %14
14: ; preds = %11, %9
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @my_strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ti0r9fb.c'
source_filename = "/tmp/tmp3ti0r9fb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_getyx(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stdscr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 @getyx(i32 noundef %5, i32 noundef %7, i32 noundef %9)
ret void
}
declare i32 @getyx(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/tmp3ti0r9fb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_getyx(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stdscr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 @getyx(i32 noundef %5, i32 noundef %7, i32 noundef %9)
ret void
}
declare i32 @getyx(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/tmpofxx1kru.c'
source_filename = "/tmp/tmpofxx1kru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Good done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @msg_func()
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 12)
ret i32 0
}
declare i32 @msg_func(...) #1
declare i32 @write(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/tmpofxx1kru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Good done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @msg_func()
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 12)
ret i32 0
}
declare i32 @msg_func(...) #1
declare i32 @write(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/tmpe18_gz5t.c'
source_filename = "/tmp/tmpe18_gz5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"after a = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 2, ptr %4, align 4
%5 = call i32 @foo(ptr noundef %1)
%6 = load ptr, ptr %1, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @foo(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe18_gz5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"after a = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 2, ptr %4, align 4
%5 = call i32 @foo(ptr noundef %1)
%6 = load ptr, ptr %1, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @foo(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf5ihv2lc.c'
source_filename = "/tmp/tmpf5ihv2lc.c"
target datalayout = "e-m:e-p270: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/tmpf5ihv2lc.c"
target datalayout = "e-m:e-p270: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/tmpbbt5xaz9.c'
source_filename = "/tmp/tmpbbt5xaz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&exp\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"&strength\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"&defense\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"&cur_weapon\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"&cur_magic\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"&gold\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"&magic\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"&magic_level\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"&vision\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"&result\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"&speed\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"&timing\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"&lifemax\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"&life\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"&level\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"&player_map\00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"&last_text\00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c"&update_status\00", align 1
@.str.18 = private unnamed_addr constant [16 x i8] c"&missile_target\00", align 1
@.str.19 = private unnamed_addr constant [14 x i8] c"&enemy_sprite\00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"&magic_cost\00", align 1
@.str.21 = private unnamed_addr constant [15 x i8] c"&missle_source\00", align 1
@.str.22 = private unnamed_addr constant [53 x i8] c"Dink started. Time to fight for your right to party.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @make_global_int(ptr noundef @.str, i32 noundef 0)
%2 = call i32 @make_global_int(ptr noundef @.str.1, i32 noundef 3)
%3 = call i32 @make_global_int(ptr noundef @.str.2, i32 noundef 0)
%4 = call i32 @make_global_int(ptr noundef @.str.3, i32 noundef 0)
%5 = call i32 @make_global_int(ptr noundef @.str.4, i32 noundef 0)
%6 = call i32 @make_global_int(ptr noundef @.str.5, i32 noundef 0)
%7 = call i32 @make_global_int(ptr noundef @.str.6, i32 noundef 0)
%8 = call i32 @make_global_int(ptr noundef @.str.7, i32 noundef 0)
%9 = call i32 @make_global_int(ptr noundef @.str.8, i32 noundef 0)
%10 = call i32 @make_global_int(ptr noundef @.str.9, i32 noundef 0)
%11 = call i32 @make_global_int(ptr noundef @.str.10, i32 noundef 1)
%12 = call i32 @make_global_int(ptr noundef @.str.11, i32 noundef 0)
%13 = call i32 @make_global_int(ptr noundef @.str.12, i32 noundef 10)
%14 = call i32 @make_global_int(ptr noundef @.str.13, i32 noundef 10)
%15 = call i32 @make_global_int(ptr noundef @.str.14, i32 noundef 1)
%16 = call i32 @make_global_int(ptr noundef @.str.15, i32 noundef 1)
%17 = call i32 @make_global_int(ptr noundef @.str.16, i32 noundef 0)
%18 = call i32 @make_global_int(ptr noundef @.str.17, i32 noundef 0)
%19 = call i32 @make_global_int(ptr noundef @.str.18, i32 noundef 0)
%20 = call i32 @make_global_int(ptr noundef @.str.19, i32 noundef 0)
%21 = call i32 @make_global_int(ptr noundef @.str.20, i32 noundef 0)
%22 = call i32 @make_global_int(ptr noundef @.str.21, i32 noundef 0)
%23 = call i32 @set_dink_speed(i32 noundef 3)
%24 = call i32 @sp_frame_delay(i32 noundef 1, i32 noundef 0)
%25 = call i32 @debug(ptr noundef @.str.22)
%26 = call i32 (...) @kill_this_task()
ret void
}
declare i32 @make_global_int(ptr noundef, i32 noundef) #1
declare i32 @set_dink_speed(i32 noundef) #1
declare i32 @sp_frame_delay(i32 noundef, i32 noundef) #1
declare i32 @debug(ptr noundef) #1
declare i32 @kill_this_task(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbbt5xaz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&exp\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"&strength\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"&defense\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"&cur_weapon\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"&cur_magic\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"&gold\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"&magic\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"&magic_level\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"&vision\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"&result\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"&speed\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"&timing\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"&lifemax\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"&life\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"&level\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"&player_map\00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"&last_text\00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c"&update_status\00", align 1
@.str.18 = private unnamed_addr constant [16 x i8] c"&missile_target\00", align 1
@.str.19 = private unnamed_addr constant [14 x i8] c"&enemy_sprite\00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"&magic_cost\00", align 1
@.str.21 = private unnamed_addr constant [15 x i8] c"&missle_source\00", align 1
@.str.22 = private unnamed_addr constant [53 x i8] c"Dink started. Time to fight for your right to party.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @make_global_int(ptr noundef @.str, i32 noundef 0)
%2 = call i32 @make_global_int(ptr noundef @.str.1, i32 noundef 3)
%3 = call i32 @make_global_int(ptr noundef @.str.2, i32 noundef 0)
%4 = call i32 @make_global_int(ptr noundef @.str.3, i32 noundef 0)
%5 = call i32 @make_global_int(ptr noundef @.str.4, i32 noundef 0)
%6 = call i32 @make_global_int(ptr noundef @.str.5, i32 noundef 0)
%7 = call i32 @make_global_int(ptr noundef @.str.6, i32 noundef 0)
%8 = call i32 @make_global_int(ptr noundef @.str.7, i32 noundef 0)
%9 = call i32 @make_global_int(ptr noundef @.str.8, i32 noundef 0)
%10 = call i32 @make_global_int(ptr noundef @.str.9, i32 noundef 0)
%11 = call i32 @make_global_int(ptr noundef @.str.10, i32 noundef 1)
%12 = call i32 @make_global_int(ptr noundef @.str.11, i32 noundef 0)
%13 = call i32 @make_global_int(ptr noundef @.str.12, i32 noundef 10)
%14 = call i32 @make_global_int(ptr noundef @.str.13, i32 noundef 10)
%15 = call i32 @make_global_int(ptr noundef @.str.14, i32 noundef 1)
%16 = call i32 @make_global_int(ptr noundef @.str.15, i32 noundef 1)
%17 = call i32 @make_global_int(ptr noundef @.str.16, i32 noundef 0)
%18 = call i32 @make_global_int(ptr noundef @.str.17, i32 noundef 0)
%19 = call i32 @make_global_int(ptr noundef @.str.18, i32 noundef 0)
%20 = call i32 @make_global_int(ptr noundef @.str.19, i32 noundef 0)
%21 = call i32 @make_global_int(ptr noundef @.str.20, i32 noundef 0)
%22 = call i32 @make_global_int(ptr noundef @.str.21, i32 noundef 0)
%23 = call i32 @set_dink_speed(i32 noundef 3)
%24 = call i32 @sp_frame_delay(i32 noundef 1, i32 noundef 0)
%25 = call i32 @debug(ptr noundef @.str.22)
%26 = call i32 (...) @kill_this_task()
ret void
}
declare i32 @make_global_int(ptr noundef, i32 noundef) #1
declare i32 @set_dink_speed(i32 noundef) #1
declare i32 @sp_frame_delay(i32 noundef, i32 noundef) #1
declare i32 @debug(ptr noundef) #1
declare i32 @kill_this_task(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmdlemf8i.c'
source_filename = "/tmp/tmpmdlemf8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myAcos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp oge double %4, 1.000000e+00
br i1 %5, label %6, label %7
6: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %14
7: ; preds = %1
%8 = load double, ptr %3, align 8
%9 = fcmp ole double %8, -1.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %7
store double 0x400921FB54442D18, ptr %2, align 8
br label %14
11: ; preds = %7
%12 = load double, ptr %3, align 8
%13 = call double @acos(double noundef %12) #2
store double %13, ptr %2, align 8
br label %14
14: ; preds = %11, %10, %6
%15 = load double, ptr %2, align 8
ret double %15
}
; Function Attrs: nounwind
declare double @acos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmdlemf8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myAcos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp oge double %4, 1.000000e+00
br i1 %5, label %6, label %7
6: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %14
7: ; preds = %1
%8 = load double, ptr %3, align 8
%9 = fcmp ole double %8, -1.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %7
store double 0x400921FB54442D18, ptr %2, align 8
br label %14
11: ; preds = %7
%12 = load double, ptr %3, align 8
%13 = call double @acos(double noundef %12) #2
store double %13, ptr %2, align 8
br label %14
14: ; preds = %11, %10, %6
%15 = load double, ptr %2, align 8
ret double %15
}
; Function Attrs: nounwind
declare double @acos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuc__zzsc.c'
source_filename = "/tmp/tmpuc__zzsc.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c"%d %ld %ld .. %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %4, align 4
%6 = call i32 @gettimeofday(ptr noundef %2, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc__zzsc.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c"%d %ld %ld .. %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %4, align 4
%6 = call i32 @gettimeofday(ptr noundef %2, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%9 = load i32, ptr %8, align 4
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxyce9umb.c'
source_filename = "/tmp/tmpxyce9umb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawArrows(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %12, 2
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 2
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = call ptr @createMatrix(i32 noundef %16, i32 noundef %17)
store ptr %18, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %45, %3
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %48
23: ; preds = %19
store i32 0, ptr %10, align 4
br label %24
24: ; preds = %41, %23
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %44
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = call i32 @getNeighboorsMatrix(ptr noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %32, ptr %40, align 4
br label %41
41: ; preds = %28
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
br label %24, !llvm.loop !6
44: ; preds = %24
br label %45
45: ; preds = %44
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %19, !llvm.loop !8
48: ; preds = %19
%49 = load ptr, ptr %11, align 8
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %8, align 4
%52 = call i32 @printMatrix(ptr noundef %49, i32 noundef %50, i32 noundef %51)
%53 = load ptr, ptr %11, align 8
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = call i32 @drawAbsoluteDirections(ptr noundef %53, i32 noundef %54, i32 noundef %55)
ret void
}
declare ptr @createMatrix(i32 noundef, i32 noundef) #1
declare i32 @getNeighboorsMatrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printMatrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @drawAbsoluteDirections(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxyce9umb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawArrows(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %12, 2
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 2
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = call ptr @createMatrix(i32 noundef %16, i32 noundef %17)
store ptr %18, ptr %11, align 8
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %52
.lr.ph2: ; preds = %3
br label %22
22: ; preds = %.lr.ph2, %46
store i32 0, ptr %10, align 4
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %39
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = call i32 @getNeighboorsMatrix(ptr noundef %27, i32 noundef %28, i32 noundef %29)
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %30, ptr %38, align 4
br label %39
39: ; preds = %26
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %22
br label %46
46: ; preds = %45
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %3
%53 = load ptr, ptr %11, align 8
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = call i32 @printMatrix(ptr noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load ptr, ptr %11, align 8
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
%60 = call i32 @drawAbsoluteDirections(ptr noundef %57, i32 noundef %58, i32 noundef %59)
ret void
}
declare ptr @createMatrix(i32 noundef, i32 noundef) #1
declare i32 @getNeighboorsMatrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printMatrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @drawAbsoluteDirections(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1mz5e_af.c'
source_filename = "/tmp/tmp1mz5e_af.c"
target datalayout = "e-m:e-p270: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/tmp1mz5e_af.c"
target datalayout = "e-m:e-p270: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/tmpt17h7v6w.c'
source_filename = "/tmp/tmpt17h7v6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_set_blocking(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr @F_GETFL, align 4
%10 = call i32 (i32, i32, ...) @fcntl(i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %32
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = load i32, ptr @O_NONBLOCK, align 4
%19 = xor i32 %18, -1
%20 = load i32, ptr %6, align 4
%21 = and i32 %20, %19
store i32 %21, ptr %6, align 4
br label %26
22: ; preds = %14
%23 = load i32, ptr @O_NONBLOCK, align 4
%24 = load i32, ptr %6, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %22, %17
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr @F_SETFL, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 (i32, i32, ...) @fcntl(i32 noundef %28, i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %26, %13
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt17h7v6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_set_blocking(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr @F_GETFL, align 4
%10 = call i32 (i32, i32, ...) @fcntl(i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %32
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = load i32, ptr @O_NONBLOCK, align 4
%19 = xor i32 %18, -1
%20 = load i32, ptr %6, align 4
%21 = and i32 %20, %19
store i32 %21, ptr %6, align 4
br label %26
22: ; preds = %14
%23 = load i32, ptr @O_NONBLOCK, align 4
%24 = load i32, ptr %6, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %22, %17
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr @F_SETFL, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 (i32, i32, ...) @fcntl(i32 noundef %28, i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %26, %13
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmj7t6ek5.c'
source_filename = "/tmp/tmpmj7t6ek5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.Str = private unnamed_addr constant [29 x i8] c"TestStringOfParticularLength\00", align 16
; 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 [2048 x i8], align 16
%7 = alloca [29 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.Str, i64 29, i1 false)
%8 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%9 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%13 = call i32 @strncpy(ptr noundef %11, ptr noundef %12, i32 noundef 17)
%14 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%15 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @strncmp(ptr noundef %14, ptr noundef %15, i32 noundef 17)
ret i32 %16
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmj7t6ek5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.Str = private unnamed_addr constant [29 x i8] c"TestStringOfParticularLength\00", align 16
; 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 [2048 x i8], align 16
%7 = alloca [29 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.Str, i64 29, i1 false)
%8 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%9 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%13 = call i32 @strncpy(ptr noundef %11, ptr noundef %12, i32 noundef 17)
%14 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%15 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @strncmp(ptr noundef %14, ptr noundef %15, i32 noundef 17)
ret i32 %16
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbwyp8br9.c'
source_filename = "/tmp/tmpbwyp8br9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09,/\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetIntParams(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca [256 x i8], align 16
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
%17 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%18 = load ptr, ptr %11, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %15, align 8
br label %22
22: ; preds = %69, %6
%23 = load ptr, ptr %15, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %51
25: ; preds = %22
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %32, align 4
%35 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %37, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %36, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcpy(ptr noundef %35, ptr noundef %41)
br label %44
43: ; preds = %25
store i32 -1, ptr %7, align 4
br label %74
44: ; preds = %31
%45 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str)
store ptr %46, ptr %15, align 8
%47 = load ptr, ptr %15, align 8
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %50
49: ; preds = %44
store i32 -1, ptr %7, align 4
br label %74
50: ; preds = %44
br label %51
51: ; preds = %50, %22
%52 = load ptr, ptr %15, align 8
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = call i32 @sscanf(ptr noundef %52, ptr noundef @.str.1, ptr noundef %56)
%58 = icmp ne i32 %57, 1
br i1 %58, label %59, label %60
59: ; preds = %51
store i32 -1, ptr %7, align 4
br label %74
60: ; preds = %51
%61 = load i32, ptr %14, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %14, align 4
%63 = load i32, ptr %14, align 4
%64 = load i32, ptr %12, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %67, ptr %15, align 8
br label %68
68: ; preds = %66, %60
br label %69
69: ; preds = %68
%70 = load i32, ptr %14, align 4
%71 = load i32, ptr %12, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %22, label %73, !llvm.loop !6
73: ; preds = %69
store i32 0, ptr %7, align 4
br label %74
74: ; preds = %73, %59, %49, %43
%75 = load i32, ptr %7, align 4
ret i32 %75
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sscanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbwyp8br9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09,/\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetIntParams(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca [256 x i8], align 16
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
%17 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%18 = load ptr, ptr %11, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %15, align 8
br label %22
22: ; preds = %69, %6
%23 = load ptr, ptr %15, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %51
25: ; preds = %22
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %32, align 4
%35 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %37, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %36, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcpy(ptr noundef %35, ptr noundef %41)
br label %44
43: ; preds = %25
store i32 -1, ptr %7, align 4
br label %74
44: ; preds = %31
%45 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0
%46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str)
store ptr %46, ptr %15, align 8
%47 = load ptr, ptr %15, align 8
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %50
49: ; preds = %44
store i32 -1, ptr %7, align 4
br label %74
50: ; preds = %44
br label %51
51: ; preds = %50, %22
%52 = load ptr, ptr %15, align 8
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = call i32 @sscanf(ptr noundef %52, ptr noundef @.str.1, ptr noundef %56)
%58 = icmp ne i32 %57, 1
br i1 %58, label %59, label %60
59: ; preds = %51
store i32 -1, ptr %7, align 4
br label %74
60: ; preds = %51
%61 = load i32, ptr %14, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %14, align 4
%63 = load i32, ptr %14, align 4
%64 = load i32, ptr %12, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %67, ptr %15, align 8
br label %68
68: ; preds = %66, %60
br label %69
69: ; preds = %68
%70 = load i32, ptr %14, align 4
%71 = load i32, ptr %12, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %22, label %73, !llvm.loop !6
73: ; preds = %69
store i32 0, ptr %7, align 4
br label %74
74: ; preds = %73, %59, %49, %43
%75 = load i32, ptr %7, align 4
ret i32 %75
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sscanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9o2sdbh5.c'
source_filename = "/tmp/tmp9o2sdbh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tcs34725_calculateLux(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%8 = load float, ptr %4, align 4
%9 = load float, ptr %5, align 4
%10 = fmul float 0x3FF94100E0000000, %9
%11 = call float @llvm.fmuladd.f32(float 0xBFD4C73AC0000000, float %8, float %10)
%12 = load float, ptr %6, align 4
%13 = call float @llvm.fmuladd.f32(float 0xBFE76BCE80000000, float %12, float %11)
store float %13, ptr %7, align 4
%14 = load float, ptr %7, align 4
ret float %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9o2sdbh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tcs34725_calculateLux(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%8 = load float, ptr %4, align 4
%9 = load float, ptr %5, align 4
%10 = fmul float 0x3FF94100E0000000, %9
%11 = call float @llvm.fmuladd.f32(float 0xBFD4C73AC0000000, float %8, float %10)
%12 = load float, ptr %6, align 4
%13 = call float @llvm.fmuladd.f32(float 0xBFE76BCE80000000, float %12, float %11)
store float %13, ptr %7, align 4
%14 = load float, ptr %7, align 4
ret float %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7pex_d6.c'
source_filename = "/tmp/tmpu7pex_d6.c"
target datalayout = "e-m:e-p270: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/tmpu7pex_d6.c"
target datalayout = "e-m:e-p270: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/tmplnwdpb7i.c'
source_filename = "/tmp/tmplnwdpb7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_semaphore(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 @semget(i32 noundef %3, i32 noundef 1, i32 noundef 432)
ret i32 %4
}
declare i32 @semget(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/tmplnwdpb7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_semaphore(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 @semget(i32 noundef %3, i32 noundef 1, i32 noundef 432)
ret i32 %4
}
declare i32 @semget(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/tmpudz_2bo0.c'
source_filename = "/tmp/tmpudz_2bo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"hangup signal catched\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"terminate signal catched\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %9 [
i32 129, label %4
i32 128, label %6
]
4: ; preds = %1
%5 = call i32 @log_message(ptr noundef @.str, ptr noundef @.str.1)
br label %9
6: ; preds = %1
%7 = call i32 @log_message(ptr noundef @.str, ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
9: ; preds = %1, %4
ret void
}
declare i32 @log_message(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudz_2bo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"hangup signal catched\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"terminate signal catched\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %9 [
i32 129, label %4
i32 128, label %6
]
4: ; preds = %1
%5 = call i32 @log_message(ptr noundef @.str, ptr noundef @.str.1)
br label %9
6: ; preds = %1
%7 = call i32 @log_message(ptr noundef @.str, ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
9: ; preds = %4, %1
ret void
}
declare i32 @log_message(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpos924oz0.c'
source_filename = "/tmp/tmpos924oz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testLong(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @testBool(i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @testBool(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/tmpos924oz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testLong(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @testBool(i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @testBool(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/tmp9x584ove.c'
source_filename = "/tmp/tmp9x584ove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Usage: %s [-b 0/1] image_filename \0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c" update checksums for firmware file\0A\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"Usage: %s [-b 0/1] [-j erasesize_in_kibytes] [-e] kernel filesystem image_filename \0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c" generate firmware file and update checksums\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"--------------------------------------------------\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c" -e - generate header for web upload\0A\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c" -b 0/1 - clear/update bootloader checksum\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" -j erasesize_in_kibytes - generate header for jffs2 filesystem\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 ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
%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)
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/tmp9x584ove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Usage: %s [-b 0/1] image_filename \0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c" update checksums for firmware file\0A\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"Usage: %s [-b 0/1] [-j erasesize_in_kibytes] [-e] kernel filesystem image_filename \0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c" generate firmware file and update checksums\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"--------------------------------------------------\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c" -e - generate header for web upload\0A\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c" -b 0/1 - clear/update bootloader checksum\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" -j erasesize_in_kibytes - generate header for jffs2 filesystem\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 ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
%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)
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/tmpivqv7b9o.c'
source_filename = "/tmp/tmpivqv7b9o.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"unable to write %d bytes to csv %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_csv_error(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 @stderr, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @strerror(i32 noundef %7)
%9 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, ptr noundef %8)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpivqv7b9o.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"unable to write %d bytes to csv %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_csv_error(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 @stderr, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @strerror(i32 noundef %7)
%9 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, ptr noundef %8)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmprkx_9bic.c'
source_filename = "/tmp/tmprkx_9bic.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"Usage: %s host/port[/ttl] host/port[/ttl] [...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprkx_9bic.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"Usage: %s host/port[/ttl] host/port[/ttl] [...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_eazrlar.c'
source_filename = "/tmp/tmp_eazrlar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_eazrlar.c"
target datalayout = "e-m:e-p270: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/tmpviecy_5a.c'
source_filename = "/tmp/tmpviecy_5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; 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 65, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 90
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @putchar(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 = call i32 @printf(ptr noundef @.str)
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @putchar(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpviecy_5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; 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 65, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sle i32 %3, 90
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @putchar(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 sle i32 %11, 90
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
%14 = call i32 @printf(ptr noundef @.str)
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @putchar(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjwfsa3r8.c'
source_filename = "/tmp/tmpjwfsa3r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"sieve - thomas.lextrait@gmail.com\0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c"usage: ./sieve [-h|-v|-t] [-f<file>] [-m<max prime>] [-q<max primes>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [74 x i8] c"\09-f\09Specify a file to save primes to,\0A\09\09otherwise will use 'primes.txt'.\0A\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"\09-m\09Specify the upper limit for computing primes,\0A\09\09otherwise will use %li.\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c"\09-q\09Specify how many prime numbers to look for,\0A\09\09otherwise will use %i.\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"\09-v\09Be verbose, display each prime as it is found.\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"\09-t\09Display total time elapsed.\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\09-h\09Display this help message.\0A\00", align 1
@.str.8 = private unnamed_addr constant [104 x i8] c"\0A\09Flags -m and -q can be used together, the program will\0A\09stop as soon as it reaches either condition.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 10000000)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 10000000)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
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/tmpjwfsa3r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"sieve - thomas.lextrait@gmail.com\0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c"usage: ./sieve [-h|-v|-t] [-f<file>] [-m<max prime>] [-q<max primes>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [74 x i8] c"\09-f\09Specify a file to save primes to,\0A\09\09otherwise will use 'primes.txt'.\0A\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"\09-m\09Specify the upper limit for computing primes,\0A\09\09otherwise will use %li.\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c"\09-q\09Specify how many prime numbers to look for,\0A\09\09otherwise will use %i.\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"\09-v\09Be verbose, display each prime as it is found.\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"\09-t\09Display total time elapsed.\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\09-h\09Display this help message.\0A\00", align 1
@.str.8 = private unnamed_addr constant [104 x i8] c"\0A\09Flags -m and -q can be used together, the program will\0A\09stop as soon as it reaches either condition.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 10000000)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 10000000)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
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/tmp1luujhk_.c'
source_filename = "/tmp/tmp1luujhk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"NOT IMPLEMENTED:pa_socket_server_new_ipv4_string\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_socket_server_new_ipv4_string() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1luujhk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"NOT IMPLEMENTED:pa_socket_server_new_ipv4_string\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_socket_server_new_ipv4_string() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgf_nzd07.c'
source_filename = "/tmp/tmpgf_nzd07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_stat_reldir(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @yaffsfs_DoStatOrLStat_reldir(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @yaffsfs_DoStatOrLStat_reldir(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/tmpgf_nzd07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_stat_reldir(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @yaffsfs_DoStatOrLStat_reldir(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @yaffsfs_DoStatOrLStat_reldir(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/tmp6onsvafd.c'
source_filename = "/tmp/tmp6onsvafd.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: %s [--ainc <offset_for_a>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c" [--binc <offset_for_b_after_a>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" [--iinc <offset_for_index>]\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c" [--alen <element_count>]\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" [--type <dfpattern_type>]\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c" [--help]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_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 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
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/tmp6onsvafd.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: %s [--ainc <offset_for_a>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c" [--binc <offset_for_b_after_a>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" [--iinc <offset_for_index>]\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c" [--alen <element_count>]\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" [--type <dfpattern_type>]\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c" [--help]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_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 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
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/tmpz7oiw_si.c'
source_filename = "/tmp/tmpz7oiw_si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"qd_log: argument is not positive\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qd_log(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [4 x double], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @qd_is_one(ptr noundef %7)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %19
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
store double 0.000000e+00, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
store double 0.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds double, ptr %17, i64 3
store double 0.000000e+00, ptr %18, align 8
br label %73
19: ; preds = %2
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = fcmp ole double %22, 0.000000e+00
br i1 %23, label %24, label %34
24: ; preds = %19
%25 = call i32 @printf(ptr noundef @.str)
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double -1.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double 0.000000e+00, ptr %29, align 8
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 2
store double 0.000000e+00, ptr %31, align 8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds double, ptr %32, i64 3
store double 0.000000e+00, ptr %33, align 8
br label %73
34: ; preds = %19
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds double, ptr %35, i64 0
%37 = load double, ptr %36, align 8
%38 = call double @log(double noundef %37) #3
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds double, ptr %39, i64 0
store double %38, ptr %40, align 8
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds double, ptr %41, i64 1
store double 0.000000e+00, ptr %42, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 2
store double 0.000000e+00, ptr %44, align 8
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds double, ptr %45, i64 3
store double 0.000000e+00, ptr %46, align 8
store i32 0, ptr %6, align 4
br label %47
47: ; preds = %70, %34
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %48, 3
br i1 %49, label %50, label %73
50: ; preds = %47
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%53 = call i32 @qd_copy(ptr noundef %51, ptr noundef %52)
%54 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%55 = call i32 @qd_minus(ptr noundef %54)
%56 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%57 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%58 = call i32 @qd_exp(ptr noundef %56, ptr noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%61 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%62 = call i32 @qd_mul(ptr noundef %59, ptr noundef %60, ptr noundef %61)
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%65 = load ptr, ptr %4, align 8
%66 = call i32 @qd_add(ptr noundef %63, ptr noundef %64, ptr noundef %65)
%67 = load ptr, ptr %4, align 8
%68 = load ptr, ptr %4, align 8
%69 = call i32 @qd_sub_qd_d(ptr noundef %67, double noundef 1.000000e+00, ptr noundef %68)
br label %70
70: ; preds = %50
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %6, align 4
br label %47, !llvm.loop !6
73: ; preds = %10, %24, %47
ret void
}
declare i32 @qd_is_one(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @qd_copy(ptr noundef, ptr noundef) #1
declare i32 @qd_minus(ptr noundef) #1
declare i32 @qd_exp(ptr noundef, ptr noundef) #1
declare i32 @qd_mul(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @qd_add(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @qd_sub_qd_d(ptr noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7oiw_si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"qd_log: argument is not positive\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qd_log(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [4 x double], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @qd_is_one(ptr noundef %7)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %19
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
store double 0.000000e+00, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
store double 0.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds double, ptr %17, i64 3
store double 0.000000e+00, ptr %18, align 8
br label %74
19: ; preds = %2
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = fcmp ole double %22, 0.000000e+00
br i1 %23, label %24, label %34
24: ; preds = %19
%25 = call i32 @printf(ptr noundef @.str)
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double -1.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double 0.000000e+00, ptr %29, align 8
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 2
store double 0.000000e+00, ptr %31, align 8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds double, ptr %32, i64 3
store double 0.000000e+00, ptr %33, align 8
br label %74
34: ; preds = %19
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds double, ptr %35, i64 0
%37 = load double, ptr %36, align 8
%38 = call double @log(double noundef %37) #3
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds double, ptr %39, i64 0
store double %38, ptr %40, align 8
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds double, ptr %41, i64 1
store double 0.000000e+00, ptr %42, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 2
store double 0.000000e+00, ptr %44, align 8
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds double, ptr %45, i64 3
store double 0.000000e+00, ptr %46, align 8
store i32 0, ptr %6, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %47, 3
br i1 %48, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %34
br label %49
49: ; preds = %.lr.ph, %69
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%52 = call i32 @qd_copy(ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%54 = call i32 @qd_minus(ptr noundef %53)
%55 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%56 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%57 = call i32 @qd_exp(ptr noundef %55, ptr noundef %56)
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%60 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%61 = call i32 @qd_mul(ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%64 = load ptr, ptr %4, align 8
%65 = call i32 @qd_add(ptr noundef %62, ptr noundef %63, ptr noundef %64)
%66 = load ptr, ptr %4, align 8
%67 = load ptr, ptr %4, align 8
%68 = call i32 @qd_sub_qd_d(ptr noundef %66, double noundef 1.000000e+00, ptr noundef %67)
br label %69
69: ; preds = %49
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp slt i32 %72, 3
br i1 %73, label %49, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %69
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %34
br label %74
74: ; preds = %.loopexit, %24, %10
ret void
}
declare i32 @qd_is_one(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @qd_copy(ptr noundef, ptr noundef) #1
declare i32 @qd_minus(ptr noundef) #1
declare i32 @qd_exp(ptr noundef, ptr noundef) #1
declare i32 @qd_mul(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @qd_add(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @qd_sub_qd_d(ptr noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprfrj9_mx.c'
source_filename = "/tmp/tmprfrj9_mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTIntRegister(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 1073790976
br i1 %7, label %8, label %9
8: ; preds = %2
br label %26
9: ; preds = %2
%10 = load i64, ptr %3, align 8
%11 = icmp eq i64 %10, 1073795072
br i1 %11, label %12, label %13
12: ; preds = %9
br label %24
13: ; preds = %9
%14 = load i64, ptr %3, align 8
%15 = icmp eq i64 %14, 1073799168
br i1 %15, label %16, label %17
16: ; preds = %13
br label %22
17: ; preds = %13
%18 = load i64, ptr %3, align 8
%19 = icmp eq i64 %18, 1073803264
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 75, i32 76
br label %22
22: ; preds = %17, %16
%23 = phi i32 [ 49, %16 ], [ %21, %17 ]
br label %24
24: ; preds = %22, %12
%25 = phi i32 [ 22, %12 ], [ %23, %22 ]
br label %26
26: ; preds = %24, %8
%27 = phi i32 [ 21, %8 ], [ %25, %24 ]
%28 = sext i32 %27 to i64
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i32 @IntRegister(i64 noundef %29, ptr noundef %30)
%32 = load i64, ptr %5, align 8
%33 = call i32 @IntEnable(i64 noundef %32)
ret void
}
declare i32 @IntRegister(i64 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmprfrj9_mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTIntRegister(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 1073790976
br i1 %7, label %8, label %9
8: ; preds = %2
br label %26
9: ; preds = %2
%10 = load i64, ptr %3, align 8
%11 = icmp eq i64 %10, 1073795072
br i1 %11, label %12, label %13
12: ; preds = %9
br label %24
13: ; preds = %9
%14 = load i64, ptr %3, align 8
%15 = icmp eq i64 %14, 1073799168
br i1 %15, label %16, label %17
16: ; preds = %13
br label %22
17: ; preds = %13
%18 = load i64, ptr %3, align 8
%19 = icmp eq i64 %18, 1073803264
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 75, i32 76
br label %22
22: ; preds = %17, %16
%23 = phi i32 [ 49, %16 ], [ %21, %17 ]
br label %24
24: ; preds = %22, %12
%25 = phi i32 [ 22, %12 ], [ %23, %22 ]
br label %26
26: ; preds = %24, %8
%27 = phi i32 [ 21, %8 ], [ %25, %24 ]
%28 = sext i32 %27 to i64
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i32 @IntRegister(i64 noundef %29, ptr noundef %30)
%32 = load i64, ptr %5, align 8
%33 = call i32 @IntEnable(i64 noundef %32)
ret void
}
declare i32 @IntRegister(i64 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmp5cy0ezoq.c'
source_filename = "/tmp/tmp5cy0ezoq.c"
target datalayout = "e-m:e-p270: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/tmp5cy0ezoq.c"
target datalayout = "e-m:e-p270: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/tmpl5y1n03u.c'
source_filename = "/tmp/tmpl5y1n03u.c"
target datalayout = "e-m:e-p270: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/tmpl5y1n03u.c"
target datalayout = "e-m:e-p270: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/tmp_xlg6t44.c'
source_filename = "/tmp/tmp_xlg6t44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = 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 [50 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %5, align 4
%7 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 0
store i32 2, ptr %7, align 16
%8 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 1
store i32 3, ptr %8, align 4
store i32 5, ptr %2, align 4
br label %9
9: ; preds = %54, %0
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %10, 50
br i1 %11, label %12, label %57
12: ; preds = %9
store i32 1, ptr %6, align 4
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %40, %12
%14 = load i32, ptr %6, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = sdiv i32 %17, %21
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp sge i32 %22, %26
br label %28
28: ; preds = %16, %13
%29 = phi i1 [ false, %13 ], [ %27, %16 ]
br i1 %29, label %30, label %43
30: ; preds = %28
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = srem i32 %31, %35
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %30
store i32 0, ptr %6, align 4
br label %39
39: ; preds = %38, %30
br label %40
40: ; preds = %39
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %13, !llvm.loop !6
43: ; preds = %28
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 1
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %49
store i32 %47, ptr %50, align 4
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %46, %43
br label %54
54: ; preds = %53
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 2
store i32 %56, ptr %2, align 4
br label %9, !llvm.loop !8
57: ; preds = %9
store i32 0, ptr %3, align 4
br label %58
58: ; preds = %68, %57
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66)
br label %68
68: ; preds = %62
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %3, align 4
br label %58, !llvm.loop !9
71: ; preds = %58
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xlg6t44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = 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 [50 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %5, align 4
%7 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 0
store i32 2, ptr %7, align 16
%8 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 1
store i32 3, ptr %8, align 4
store i32 5, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 50
br i1 %10, label %.lr.ph, label %58
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %53
store i32 1, ptr %6, align 4
store i32 1, ptr %3, align 4
br label %12
12: ; preds = %39, %11
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = sdiv i32 %16, %20
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp sge i32 %21, %25
br label %27
27: ; preds = %15, %12
%28 = phi i1 [ false, %12 ], [ %26, %15 ]
br i1 %28, label %29, label %42
29: ; preds = %27
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = srem i32 %30, %34
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 0, ptr %6, align 4
br label %38
38: ; preds = %37, %29
br label %39
39: ; preds = %38
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %12, !llvm.loop !6
42: ; preds = %27
%43 = load i32, ptr %6, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %52
45: ; preds = %42
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %48
store i32 %46, ptr %49, align 4
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %45, %42
br label %53
53: ; preds = %52
%54 = load i32, ptr %2, align 4
%55 = add nsw i32 %54, 2
store i32 %55, ptr %2, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp sle i32 %56, 50
br i1 %57, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph2, label %74
.lr.ph2: ; preds = %58
br label %62
62: ; preds = %.lr.ph2, %68
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66)
br label %68
68: ; preds = %62
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %3, align 4
%71 = load i32, ptr %3, align 4
%72 = load i32, ptr %5, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %62, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %68
br label %74
74: ; preds = %._crit_edge3, %58
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpf5dv8fxr.c'
source_filename = "/tmp/tmpf5dv8fxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_Nconc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call ptr @memory_Malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strcat(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @string_StringFree(ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @string_StringFree(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare ptr @memory_Malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
declare i32 @string_StringFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf5dv8fxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_Nconc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call ptr @memory_Malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strcat(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @string_StringFree(ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @string_StringFree(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare ptr @memory_Malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
declare i32 @string_StringFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbbpsy62y.c'
source_filename = "/tmp/tmpbbpsy62y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @syserr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbbpsy62y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @syserr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphj627b7u.c'
source_filename = "/tmp/tmphj627b7u.c"
target datalayout = "e-m:e-p270: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/tmphj627b7u.c"
target datalayout = "e-m:e-p270: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/tmpvhw3u55y.c'
source_filename = "/tmp/tmpvhw3u55y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"out of memory string duplication\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
%7 = call i32 @assert(i32 noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @errx(i32 noundef %13, ptr noundef @.str)
br label %15
15: ; preds = %12, %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i32 @assert(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @errx(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/tmpvhw3u55y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"out of memory string duplication\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
%7 = call i32 @assert(i32 noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @errx(i32 noundef %13, ptr noundef @.str)
br label %15
15: ; preds = %12, %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i32 @assert(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @errx(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/tmpidbfucm_.c'
source_filename = "/tmp/tmpidbfucm_.c"
target datalayout = "e-m:e-p270: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/tmpidbfucm_.c"
target datalayout = "e-m:e-p270: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/tmpoy43c4rp.c'
source_filename = "/tmp/tmpoy43c4rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @LUMI_test_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @LUMI_test_main(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoy43c4rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @LUMI_test_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @LUMI_test_main(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoabzv0yk.c'
source_filename = "/tmp/tmpoabzv0yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @appledouble_readlink(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = 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 i64 %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @extra_translate(ptr noundef %12, ptr noundef %13, ptr noundef %11)
store i32 %14, ptr %10, align 4
%15 = load ptr, ptr %11, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load i32, ptr %10, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %23
20: ; preds = %4
%21 = load i32, ptr @EPERM, align 4
%22 = sub nsw i32 0, %21
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %20, %19
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i32 @extra_translate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoabzv0yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @appledouble_readlink(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = 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 i64 %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @extra_translate(ptr noundef %12, ptr noundef %13, ptr noundef %11)
store i32 %14, ptr %10, align 4
%15 = load ptr, ptr %11, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load i32, ptr %10, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %23
20: ; preds = %4
%21 = load i32, ptr @EPERM, align 4
%22 = sub nsw i32 0, %21
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %20, %19
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i32 @extra_translate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpap43n8qn.c'
source_filename = "/tmp/tmpap43n8qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_092(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double @d_abs(ptr noundef %2)
ret double %3
}
declare double @d_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpap43n8qn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_092(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double @d_abs(ptr noundef %2)
ret double %3
}
declare double @d_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr3qfffnp.c'
source_filename = "/tmp/tmpr3qfffnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficheInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @effaceCadre()
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 (...) @cadre()
ret void
}
declare i32 @effaceCadre(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @cadre(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr3qfffnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficheInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @effaceCadre()
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 (...) @cadre()
ret void
}
declare i32 @effaceCadre(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @cadre(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyqihqrxj.c'
source_filename = "/tmp/tmpyqihqrxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Token: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tokenise(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [80 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %3, align 8
store i32 1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %37, %1
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %42
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @issep(ptr noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %37
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %31
store i8 0, ptr %32, align 1
%33 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str, ptr noundef %33)
store i32 1, ptr %4, align 4
%35 = load ptr, ptr %3, align 8
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %24, %21
br label %37
37: ; preds = %36, %18
%38 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%39 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef 80)
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
br label %8, !llvm.loop !6
42: ; preds = %8
ret void
}
declare i32 @issep(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqihqrxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Token: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tokenise(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [80 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %3, align 8
store i32 1, ptr %4, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %36
%13 = load ptr, ptr %3, align 8
%14 = call i32 @issep(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %36
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %35
23: ; preds = %20
%24 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = call i32 @strncpy(ptr noundef %24, ptr noundef %25, i32 noundef %26)
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %30
store i8 0, ptr %31, align 1
%32 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
store i32 1, ptr %4, align 4
%34 = load ptr, ptr %3, align 8
store ptr %34, ptr %2, align 8
br label %35
35: ; preds = %23, %20
br label %36
36: ; preds = %35, %17
%37 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef 80)
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %3, align 8
%41 = load ptr, ptr %2, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %45
45: ; preds = %._crit_edge, %1
ret void
}
declare i32 @issep(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0ak5_9i2.c'
source_filename = "/tmp/tmp0ak5_9i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call ptr (...) @createMatrix()
store ptr %6, ptr %1, align 8
%7 = call ptr (...) @createMatrix()
store ptr %7, ptr %2, align 8
%8 = call ptr (...) @createMatrix()
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %1, align 8
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @compute(ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @freeMatrix(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @freeMatrix(ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @freeMatrix(ptr noundef %17)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @createMatrix(...) #1
declare i32 @compute(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @freeMatrix(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ak5_9i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call ptr (...) @createMatrix()
store ptr %6, ptr %1, align 8
%7 = call ptr (...) @createMatrix()
store ptr %7, ptr %2, align 8
%8 = call ptr (...) @createMatrix()
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %1, align 8
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @compute(ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @freeMatrix(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @freeMatrix(ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @freeMatrix(ptr noundef %17)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @createMatrix(...) #1
declare i32 @compute(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @freeMatrix(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8o9876pg.c'
source_filename = "/tmp/tmp8o9876pg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"What is %d x %d? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @answerTheQuestion(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
store i32 %11, ptr %8, align 4
br label %12
12: ; preds = %27, %2
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %12
store i32 1, ptr %7, align 4
%21 = call i32 (...) @correctAnswer()
br label %26
22: ; preds = %12
%23 = call i32 (...) @wrongAnswer()
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %22, %20
br label %27
27: ; preds = %26
%28 = load i32, ptr %7, align 4
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
br i1 %30, label %12, label %31, !llvm.loop !6
31: ; preds = %27
%32 = load i32, ptr %6, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @correctAnswer(...) #1
declare i32 @wrongAnswer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8o9876pg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"What is %d x %d? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @answerTheQuestion(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
store i32 %11, ptr %8, align 4
br label %12
12: ; preds = %27, %2
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %12
store i32 1, ptr %7, align 4
%21 = call i32 (...) @correctAnswer()
br label %26
22: ; preds = %12
%23 = call i32 (...) @wrongAnswer()
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %22, %20
br label %27
27: ; preds = %26
%28 = load i32, ptr %7, align 4
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
br i1 %30, label %12, label %31, !llvm.loop !6
31: ; preds = %27
%32 = load i32, ptr %6, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @correctAnswer(...) #1
declare i32 @wrongAnswer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpi790av52.c'
source_filename = "/tmp/tmpi790av52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Error in routine gamdev\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gamdev(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %16
15: ; preds = %2
call void @nrerror(ptr noundef @.str)
br label %16
16: ; preds = %15, %2
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 6
br i1 %18, label %19, label %36
19: ; preds = %16
store float 1.000000e+00, ptr %11, align 4
store i32 1, ptr %5, align 4
br label %20
20: ; preds = %29, %19
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = call float @ran1(ptr noundef %25)
%27 = load float, ptr %11, align 4
%28 = fmul float %27, %26
store float %28, ptr %11, align 4
br label %29
29: ; preds = %24
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %20, !llvm.loop !6
32: ; preds = %20
%33 = load float, ptr %11, align 4
%34 = call float @log(float noundef %33)
%35 = fneg float %34
store float %35, ptr %11, align 4
br label %100
36: ; preds = %16
br label %37
37: ; preds = %94, %36
br label %38
38: ; preds = %71, %37
br label %39
39: ; preds = %47, %38
%40 = load ptr, ptr %4, align 8
%41 = call float @ran1(ptr noundef %40)
store float %41, ptr %9, align 4
%42 = load ptr, ptr %4, align 8
%43 = call float @ran1(ptr noundef %42)
%44 = fpext float %43 to double
%45 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %44, double -1.000000e+00)
%46 = fptrunc double %45 to float
store float %46, ptr %10, align 4
br label %47
47: ; preds = %39
%48 = load float, ptr %9, align 4
%49 = load float, ptr %9, align 4
%50 = load float, ptr %10, align 4
%51 = load float, ptr %10, align 4
%52 = fmul float %50, %51
%53 = call float @llvm.fmuladd.f32(float %48, float %49, float %52)
%54 = fpext float %53 to double
%55 = fcmp ogt double %54, 1.000000e+00
br i1 %55, label %39, label %56, !llvm.loop !8
56: ; preds = %47
%57 = load float, ptr %10, align 4
%58 = load float, ptr %9, align 4
%59 = fdiv float %57, %58
store float %59, ptr %12, align 4
%60 = load i32, ptr %3, align 4
%61 = sub nsw i32 %60, 1
%62 = sitofp i32 %61 to float
store float %62, ptr %6, align 4
%63 = load float, ptr %6, align 4
%64 = fpext float %63 to double
%65 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %64, double 1.000000e+00)
%66 = call float @sqrt(double noundef %65)
store float %66, ptr %8, align 4
%67 = load float, ptr %8, align 4
%68 = load float, ptr %12, align 4
%69 = load float, ptr %6, align 4
%70 = call float @llvm.fmuladd.f32(float %67, float %68, float %69)
store float %70, ptr %11, align 4
br label %71
71: ; preds = %56
%72 = load float, ptr %11, align 4
%73 = fpext float %72 to double
%74 = fcmp ole double %73, 0.000000e+00
br i1 %74, label %38, label %75, !llvm.loop !9
75: ; preds = %71
%76 = load float, ptr %12, align 4
%77 = load float, ptr %12, align 4
%78 = fmul float %76, %77
%79 = fpext float %78 to double
%80 = fadd double 1.000000e+00, %79
%81 = load float, ptr %6, align 4
%82 = load float, ptr %11, align 4
%83 = load float, ptr %6, align 4
%84 = fdiv float %82, %83
%85 = call float @log(float noundef %84)
%86 = load float, ptr %8, align 4
%87 = load float, ptr %12, align 4
%88 = fmul float %86, %87
%89 = fneg float %88
%90 = call float @llvm.fmuladd.f32(float %81, float %85, float %89)
%91 = call double @exp(float noundef %90)
%92 = fmul double %80, %91
%93 = fptrunc double %92 to float
store float %93, ptr %7, align 4
br label %94
94: ; preds = %75
%95 = load ptr, ptr %4, align 8
%96 = call float @ran1(ptr noundef %95)
%97 = load float, ptr %7, align 4
%98 = fcmp ogt float %96, %97
br i1 %98, label %37, label %99, !llvm.loop !10
99: ; preds = %94
br label %100
100: ; preds = %99, %32
%101 = load float, ptr %11, align 4
ret float %101
}
declare void @nrerror(ptr noundef) #1
declare float @ran1(ptr noundef) #1
declare float @log(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(double noundef) #1
declare double @exp(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi790av52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Error in routine gamdev\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gamdev(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %16
15: ; preds = %2
call void @nrerror(ptr noundef @.str)
br label %16
16: ; preds = %15, %2
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 6
br i1 %18, label %19, label %38
19: ; preds = %16
store float 1.000000e+00, ptr %11, align 4
store i32 1, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %.lr.ph, label %34
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %28
%24 = load ptr, ptr %4, align 8
%25 = call float @ran1(ptr noundef %24)
%26 = load float, ptr %11, align 4
%27 = fmul float %26, %25
store float %27, ptr %11, align 4
br label %28
28: ; preds = %23
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %19
%35 = load float, ptr %11, align 4
%36 = call float @log(float noundef %35)
%37 = fneg float %36
store float %37, ptr %11, align 4
br label %102
38: ; preds = %16
br label %39
39: ; preds = %96, %38
br label %40
40: ; preds = %73, %39
br label %41
41: ; preds = %49, %40
%42 = load ptr, ptr %4, align 8
%43 = call float @ran1(ptr noundef %42)
store float %43, ptr %9, align 4
%44 = load ptr, ptr %4, align 8
%45 = call float @ran1(ptr noundef %44)
%46 = fpext float %45 to double
%47 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %46, double -1.000000e+00)
%48 = fptrunc double %47 to float
store float %48, ptr %10, align 4
br label %49
49: ; preds = %41
%50 = load float, ptr %9, align 4
%51 = load float, ptr %9, align 4
%52 = load float, ptr %10, align 4
%53 = load float, ptr %10, align 4
%54 = fmul float %52, %53
%55 = call float @llvm.fmuladd.f32(float %50, float %51, float %54)
%56 = fpext float %55 to double
%57 = fcmp ogt double %56, 1.000000e+00
br i1 %57, label %41, label %58, !llvm.loop !8
58: ; preds = %49
%59 = load float, ptr %10, align 4
%60 = load float, ptr %9, align 4
%61 = fdiv float %59, %60
store float %61, ptr %12, align 4
%62 = load i32, ptr %3, align 4
%63 = sub nsw i32 %62, 1
%64 = sitofp i32 %63 to float
store float %64, ptr %6, align 4
%65 = load float, ptr %6, align 4
%66 = fpext float %65 to double
%67 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %66, double 1.000000e+00)
%68 = call float @sqrt(double noundef %67)
store float %68, ptr %8, align 4
%69 = load float, ptr %8, align 4
%70 = load float, ptr %12, align 4
%71 = load float, ptr %6, align 4
%72 = call float @llvm.fmuladd.f32(float %69, float %70, float %71)
store float %72, ptr %11, align 4
br label %73
73: ; preds = %58
%74 = load float, ptr %11, align 4
%75 = fpext float %74 to double
%76 = fcmp ole double %75, 0.000000e+00
br i1 %76, label %40, label %77, !llvm.loop !9
77: ; preds = %73
%78 = load float, ptr %12, align 4
%79 = load float, ptr %12, align 4
%80 = fmul float %78, %79
%81 = fpext float %80 to double
%82 = fadd double 1.000000e+00, %81
%83 = load float, ptr %6, align 4
%84 = load float, ptr %11, align 4
%85 = load float, ptr %6, align 4
%86 = fdiv float %84, %85
%87 = call float @log(float noundef %86)
%88 = load float, ptr %8, align 4
%89 = load float, ptr %12, align 4
%90 = fmul float %88, %89
%91 = fneg float %90
%92 = call float @llvm.fmuladd.f32(float %83, float %87, float %91)
%93 = call double @exp(float noundef %92)
%94 = fmul double %82, %93
%95 = fptrunc double %94 to float
store float %95, ptr %7, align 4
br label %96
96: ; preds = %77
%97 = load ptr, ptr %4, align 8
%98 = call float @ran1(ptr noundef %97)
%99 = load float, ptr %7, align 4
%100 = fcmp ogt float %98, %99
br i1 %100, label %39, label %101, !llvm.loop !10
101: ; preds = %96
br label %102
102: ; preds = %101, %34
%103 = load float, ptr %11, align 4
ret float %103
}
declare void @nrerror(ptr noundef) #1
declare float @ran1(ptr noundef) #1
declare float @log(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(double noundef) #1
declare double @exp(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpj44o1jif.c'
source_filename = "/tmp/tmpj44o1jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLongChars(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @atol(ptr noundef %3)
ret i64 %4
}
declare i64 @atol(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj44o1jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLongChars(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @atol(ptr noundef %3)
ret i64 %4
}
declare i64 @atol(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzyakfv76.c'
source_filename = "/tmp/tmpzyakfv76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%s exists\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"%s does not exist\0A\00", align 1
@EACCES = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [22 x i8] c"%s is not accessible\0A\00", align 1
@R_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"%s is readable\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"%s is not readable (access denied)\0A\00", align 1
@W_OK = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"%s is writable\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"%s is not writable (access denied)\0A\00", align 1
@EROFS = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [43 x i8] c"%s is not writable (read-only filesystem)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr @F_OK, align 4
%13 = call i32 @access(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
br label %35
19: ; preds = %2
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @ENOENT, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24)
br label %34
26: ; preds = %19
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EACCES, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31)
br label %33
33: ; preds = %30, %26
br label %34
34: ; preds = %33, %23
store i32 0, ptr %3, align 4
br label %73
35: ; preds = %16
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr @R_OK, align 4
%38 = call i32 @access(ptr noundef %36, i32 noundef %37)
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = call i32 @printf(ptr noundef @.str.3, ptr noundef %42)
br label %47
44: ; preds = %35
%45 = load ptr, ptr %6, align 8
%46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45)
br label %47
47: ; preds = %44, %41
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr @W_OK, align 4
%50 = call i32 @access(ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load ptr, ptr %6, align 8
%55 = call i32 @printf(ptr noundef @.str.5, ptr noundef %54)
br label %72
56: ; preds = %47
%57 = load i64, ptr @errno, align 8
%58 = load i64, ptr @EACCES, align 8
%59 = icmp eq i64 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = call i32 @printf(ptr noundef @.str.6, ptr noundef %61)
br label %71
63: ; preds = %56
%64 = load i64, ptr @errno, align 8
%65 = load i64, ptr @EROFS, align 8
%66 = icmp eq i64 %64, %65
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load ptr, ptr %6, align 8
%69 = call i32 @printf(ptr noundef @.str.7, ptr noundef %68)
br label %70
70: ; preds = %67, %63
br label %71
71: ; preds = %70, %60
br label %72
72: ; preds = %71, %53
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %34
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @access(ptr noundef, i32 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/tmpzyakfv76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%s exists\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"%s does not exist\0A\00", align 1
@EACCES = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [22 x i8] c"%s is not accessible\0A\00", align 1
@R_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"%s is readable\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"%s is not readable (access denied)\0A\00", align 1
@W_OK = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"%s is writable\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"%s is not writable (access denied)\0A\00", align 1
@EROFS = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [43 x i8] c"%s is not writable (read-only filesystem)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr @F_OK, align 4
%13 = call i32 @access(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
br label %35
19: ; preds = %2
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @ENOENT, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24)
br label %34
26: ; preds = %19
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EACCES, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31)
br label %33
33: ; preds = %30, %26
br label %34
34: ; preds = %33, %23
store i32 0, ptr %3, align 4
br label %73
35: ; preds = %16
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr @R_OK, align 4
%38 = call i32 @access(ptr noundef %36, i32 noundef %37)
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = call i32 @printf(ptr noundef @.str.3, ptr noundef %42)
br label %47
44: ; preds = %35
%45 = load ptr, ptr %6, align 8
%46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45)
br label %47
47: ; preds = %44, %41
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr @W_OK, align 4
%50 = call i32 @access(ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load ptr, ptr %6, align 8
%55 = call i32 @printf(ptr noundef @.str.5, ptr noundef %54)
br label %72
56: ; preds = %47
%57 = load i64, ptr @errno, align 8
%58 = load i64, ptr @EACCES, align 8
%59 = icmp eq i64 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = call i32 @printf(ptr noundef @.str.6, ptr noundef %61)
br label %71
63: ; preds = %56
%64 = load i64, ptr @errno, align 8
%65 = load i64, ptr @EROFS, align 8
%66 = icmp eq i64 %64, %65
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load ptr, ptr %6, align 8
%69 = call i32 @printf(ptr noundef @.str.7, ptr noundef %68)
br label %70
70: ; preds = %67, %63
br label %71
71: ; preds = %70, %60
br label %72
72: ; preds = %71, %53
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %34
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @access(ptr noundef, i32 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/tmph776e4ur.c'
source_filename = "/tmp/tmph776e4ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seedRand() #0 {
%1 = call i64 @time(ptr noundef null)
%2 = trunc i64 %1 to i32
%3 = call i32 @srand(i32 noundef %2)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph776e4ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seedRand() #0 {
%1 = call i64 @time(ptr noundef null)
%2 = trunc i64 %1 to i32
%3 = call i32 @srand(i32 noundef %2)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf6lq_gz9.c'
source_filename = "/tmp/tmpf6lq_gz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"100%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_wget_ok(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [254 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %24
9: ; preds = %1
br label %10
10: ; preds = %20, %9
%11 = getelementptr inbounds [254 x i8], ptr %4, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
%13 = call ptr @fgets(ptr noundef %11, i32 noundef 254, ptr noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %10
%16 = getelementptr inbounds [254 x i8], ptr %4, i64 0, i64 0
%17 = call i64 @strstr(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 1, ptr %5, align 4
br label %21
20: ; preds = %15
br label %10, !llvm.loop !6
21: ; preds = %19, %10
%22 = load ptr, ptr %3, align 8
%23 = call i32 @fclose(ptr noundef %22)
br label %24
24: ; preds = %21, %1
%25 = load i32, ptr %5, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpf6lq_gz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"100%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_wget_ok(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [254 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %26
9: ; preds = %1
%10 = getelementptr inbounds [254 x i8], ptr %4, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call ptr @fgets(ptr noundef %10, i32 noundef 254, ptr noundef %11)
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %9
br label %18
14: ; preds = %18
%15 = load ptr, ptr %3, align 8
%16 = call ptr @fgets(ptr noundef %10, i32 noundef 254, ptr noundef %15)
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %..loopexit_crit_edge, !llvm.loop !6
18: ; preds = %.lr.ph, %14
%19 = getelementptr inbounds [254 x i8], ptr %4, i64 0, i64 0
%20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.1)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %14
22: ; preds = %18
store i32 1, ptr %5, align 4
br label %23
..loopexit_crit_edge: ; preds = %14
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %9
br label %23
23: ; preds = %.loopexit, %22
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %23, %1
%27 = load i32, ptr %5, align 4
ret i32 %27
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptr1h2lia.c'
source_filename = "/tmp/tmptr1h2lia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1234, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @print_vertical(i32 noundef %7)
ret i32 0
}
declare i32 @print_vertical(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/tmptr1h2lia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1234, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @print_vertical(i32 noundef %7)
ret i32 0
}
declare i32 @print_vertical(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/tmpqqckiyn0.c'
source_filename = "/tmp/tmpqqckiyn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAME_CONSTRAINTS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @NAME_CONSTRAINTS_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @NAME_CONSTRAINTS_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_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/tmpqqckiyn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAME_CONSTRAINTS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @NAME_CONSTRAINTS_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @NAME_CONSTRAINTS_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_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/tmpkyalgfnn.c'
source_filename = "/tmp/tmpkyalgfnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" -%c, \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"--%-13s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_option(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i8, ptr %4, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
br label %15
13: ; preds = %3
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %9
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16, ptr noundef %17)
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/tmpkyalgfnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" -%c, \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"--%-13s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_option(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i8, ptr %4, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
br label %15
13: ; preds = %3
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %9
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16, ptr noundef %17)
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/tmpggoji42l.c'
source_filename = "/tmp/tmpggoji42l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f457(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 @f456(ptr noundef %3)
ret i32 %4
}
declare i32 @f456(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpggoji42l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f457(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 @f456(ptr noundef %3)
ret i32 %4
}
declare i32 @f456(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7pok38yt.c'
source_filename = "/tmp/tmp7pok38yt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ey_fileextension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @ey_basename(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strrchr(ptr noundef %7, i8 noundef signext 46)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strchr(ptr noundef %14, i32 noundef 0)
br label %16
16: ; preds = %13, %11
%17 = phi ptr [ %12, %11 ], [ %15, %13 ]
ret ptr %17
}
declare ptr @ey_basename(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strchr(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/tmp7pok38yt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ey_fileextension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @ey_basename(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strrchr(ptr noundef %7, i8 noundef signext 46)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strchr(ptr noundef %14, i32 noundef 0)
br label %16
16: ; preds = %13, %11
%17 = phi ptr [ %12, %11 ], [ %15, %13 ]
ret ptr %17
}
declare ptr @ey_basename(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strchr(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/tmp3xcxt589.c'
source_filename = "/tmp/tmp3xcxt589.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__wrap_setlocale.C_LOCALE = internal constant [2 x i8] c"C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__wrap_setlocale(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr @__wrap_setlocale.C_LOCALE, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @__real_setlocale(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @__real_setlocale(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/tmp3xcxt589.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__wrap_setlocale.C_LOCALE = internal constant [2 x i8] c"C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__wrap_setlocale(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr @__wrap_setlocale.C_LOCALE, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @__real_setlocale(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @__real_setlocale(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/tmp5pqxx73y.c'
source_filename = "/tmp/tmp5pqxx73y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\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 ptr, align 8
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
store ptr %2, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = sitofp i32 %6 to float
store float %7, ptr %4, align 4
%8 = load float, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, float noundef %8)
ret i32 %9
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5pqxx73y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\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 ptr, align 8
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
store ptr %2, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = sitofp i32 %6 to float
store float %7, ptr %4, align 4
%8 = load float, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, float noundef %8)
ret i32 %9
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphsx67mcy.c'
source_filename = "/tmp/tmphsx67mcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WUNTRACED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitfor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %1, %17
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @WUNTRACED, align 4
%7 = call i32 @waitpid(i32 noundef %5, ptr noundef %3, i32 noundef %6)
%8 = call i32 @check(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = call i64 @WIFEXITED(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %4
%13 = load i32, ptr %3, align 4
%14 = call i64 @WIFSIGNALED(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12, %4
ret void
17: ; preds = %12
br label %4
}
declare i32 @check(i32 noundef, ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @WIFEXITED(i32 noundef) #1
declare i64 @WIFSIGNALED(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/tmphsx67mcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WUNTRACED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitfor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @WUNTRACED, align 4
%6 = call i32 @waitpid(i32 noundef %4, ptr noundef %3, i32 noundef %5)
%7 = call i32 @check(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = call i64 @WIFEXITED(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %23, label %.lr.ph
.lr.ph: ; preds = %1
br label %19
11: ; preds = %19
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr @WUNTRACED, align 4
%14 = call i32 @waitpid(i32 noundef %12, ptr noundef %3, i32 noundef %13)
%15 = call i32 @check(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr %3, align 4
%17 = call i64 @WIFEXITED(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %._crit_edge1, label %19
19: ; preds = %.lr.ph, %11
%20 = load i32, ptr %3, align 4
%21 = call i64 @WIFSIGNALED(i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %._crit_edge, label %11
._crit_edge: ; preds = %19
br label %23
._crit_edge1: ; preds = %11
br label %23
23: ; preds = %._crit_edge1, %._crit_edge, %1
ret void
}
declare i32 @check(i32 noundef, ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @WIFEXITED(i32 noundef) #1
declare i64 @WIFSIGNALED(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/tmpe8mxwjp3.c'
source_filename = "/tmp/tmpe8mxwjp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fixsfsi(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__extendsfdf2(i64 noundef %3)
%5 = call i64 @__fixdfsi(i32 noundef %4)
ret i64 %5
}
declare i64 @__fixdfsi(i32 noundef) #1
declare i32 @__extendsfdf2(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/tmpe8mxwjp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fixsfsi(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__extendsfdf2(i64 noundef %3)
%5 = call i64 @__fixdfsi(i32 noundef %4)
ret i64 %5
}
declare i64 @__fixdfsi(i32 noundef) #1
declare i32 @__extendsfdf2(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/tmps_1fnift.c'
source_filename = "/tmp/tmps_1fnift.c"
target datalayout = "e-m:e-p270: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/tmps_1fnift.c"
target datalayout = "e-m:e-p270: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/tmps0haab8j.c'
source_filename = "/tmp/tmps0haab8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Dame un parametro para determinar el nombre de lado del cuadrado: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @cuadrado(i32 noundef %5)
%7 = call i32 @system(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare i32 @cuadrado(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/tmps0haab8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Dame un parametro para determinar el nombre de lado del cuadrado: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @cuadrado(i32 noundef %5)
%7 = call i32 @system(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare i32 @cuadrado(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/tmprxzxn9qd.c'
source_filename = "/tmp/tmprxzxn9qd.c"
target datalayout = "e-m:e-p270: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/tmprxzxn9qd.c"
target datalayout = "e-m:e-p270: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/tmpc6pozyry.c'
source_filename = "/tmp/tmpc6pozyry.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xselection_requestor(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 %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc6pozyry.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xselection_requestor(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 %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplx27x9dk.c'
source_filename = "/tmp/tmplx27x9dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\0AHLEd Command Summary\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"CH/C X A Y B - replace Y in context of A_B by X\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"DC/X A B C ... - define context A as labels B,C,...\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"DE/D A B ... - delete labels A,B,...\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"DL [N] - delete all current level [or level N]\0A\00", align 1
@.str.5 = private unnamed_addr constant [63 x i8] c"EX/E - expand labels from dictionary or form A_B_C\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"FG/I X - fill interlabel gaps with label X\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"FI/F A Y B - find all occurrences of pattern AYB\0A\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"IS A B - insert A at start and B at end\0A\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c"IT/Z - ignore triphone contexts in CH/FI cmds\0A\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"LC/L [X] - convert phonemes to Left-context dependent\0A\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c"ML N - move to level N (1-99)\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c"ME/M X A B ... - merge label seq A,B,.. and rename X\0A\00", align 1
@.str.13 = private unnamed_addr constant [56 x i8] c"NB/V X - label X is not an interword boundary\0A\00", align 1
@.str.14 = private unnamed_addr constant [63 x i8] c"RC/G [X] - convert phonemes to right-context dependent\0A\00", align 1
@.str.15 = private unnamed_addr constant [47 x i8] c"RE/R X A B ... - replace labels A,B,... by X\0A\00", align 1
@.str.16 = private unnamed_addr constant [58 x i8] c"SB/B X - define X as a sentence boundary marker\0A\00", align 1
@.str.17 = private unnamed_addr constant [47 x i8] c"SO/S - sort labels into time order\0A\00", align 1
@.str.18 = private unnamed_addr constant [61 x i8] c"SP - split multiple levels into multiple lists\0A\00", align 1
@.str.19 = private unnamed_addr constant [49 x i8] c"TC/T [X [Y]] - convert phonemes to Triphones\0A\00", align 1
@.str.20 = private unnamed_addr constant [54 x i8] c"WB/W X - define X as an interword boundary\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Summary() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @Exit(i32 noundef 0)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @Exit(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/tmplx27x9dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"\0AHLEd Command Summary\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"CH/C X A Y B - replace Y in context of A_B by X\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"DC/X A B C ... - define context A as labels B,C,...\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"DE/D A B ... - delete labels A,B,...\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"DL [N] - delete all current level [or level N]\0A\00", align 1
@.str.5 = private unnamed_addr constant [63 x i8] c"EX/E - expand labels from dictionary or form A_B_C\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"FG/I X - fill interlabel gaps with label X\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"FI/F A Y B - find all occurrences of pattern AYB\0A\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"IS A B - insert A at start and B at end\0A\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c"IT/Z - ignore triphone contexts in CH/FI cmds\0A\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"LC/L [X] - convert phonemes to Left-context dependent\0A\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c"ML N - move to level N (1-99)\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c"ME/M X A B ... - merge label seq A,B,.. and rename X\0A\00", align 1
@.str.13 = private unnamed_addr constant [56 x i8] c"NB/V X - label X is not an interword boundary\0A\00", align 1
@.str.14 = private unnamed_addr constant [63 x i8] c"RC/G [X] - convert phonemes to right-context dependent\0A\00", align 1
@.str.15 = private unnamed_addr constant [47 x i8] c"RE/R X A B ... - replace labels A,B,... by X\0A\00", align 1
@.str.16 = private unnamed_addr constant [58 x i8] c"SB/B X - define X as a sentence boundary marker\0A\00", align 1
@.str.17 = private unnamed_addr constant [47 x i8] c"SO/S - sort labels into time order\0A\00", align 1
@.str.18 = private unnamed_addr constant [61 x i8] c"SP - split multiple levels into multiple lists\0A\00", align 1
@.str.19 = private unnamed_addr constant [49 x i8] c"TC/T [X [Y]] - convert phonemes to Triphones\0A\00", align 1
@.str.20 = private unnamed_addr constant [54 x i8] c"WB/W X - define X as an interword boundary\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Summary() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @Exit(i32 noundef 0)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @Exit(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/tmplv7yj8pl.c'
source_filename = "/tmp/tmplv7yj8pl.c"
target datalayout = "e-m:e-p270: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/tmplv7yj8pl.c"
target datalayout = "e-m:e-p270: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/tmplh45atrn.c'
source_filename = "/tmp/tmplh45atrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i64, ptr %6, align 8
store i64 %14, ptr %7, align 8
br label %15
15: ; preds = %13, %3
%16 = load i64, ptr %7, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i64, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = sub i64 %23, %24
%26 = call i32 @memset(ptr noundef %22, i8 noundef signext 0, i64 noundef %25)
br label %27
27: ; preds = %19, %15
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %7, align 8
%31 = call ptr @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30)
ret ptr %31
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplh45atrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i64, ptr %6, align 8
store i64 %14, ptr %7, align 8
br label %15
15: ; preds = %13, %3
%16 = load i64, ptr %7, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i64, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = sub i64 %23, %24
%26 = call i32 @memset(ptr noundef %22, i8 noundef signext 0, i64 noundef %25)
br label %27
27: ; preds = %19, %15
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %7, align 8
%31 = call ptr @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30)
ret ptr %31
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkcx5wr9b.c'
source_filename = "/tmp/tmpkcx5wr9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NUMA_NUM_NODES = 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/tmpkcx5wr9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NUMA_NUM_NODES = 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/tmp2ep0kmwj.c'
source_filename = "/tmp/tmp2ep0kmwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @coshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_coshf(float noundef %3)
ret float %4
}
declare float @__nv_coshf(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/tmp2ep0kmwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @coshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_coshf(float noundef %3)
ret float %4
}
declare float @__nv_coshf(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/tmpjzq818a6.c'
source_filename = "/tmp/tmpjzq818a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sensors_add_array_el\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Allocating new elements\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sensors_add_array_el(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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 ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %12, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %16, %18
br i1 %19, label %20, label %39
20: ; preds = %5
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 16
store i32 %23, ptr %11, align 4
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %10, align 4
%28 = mul nsw i32 %26, %27
%29 = call ptr @realloc(ptr noundef %25, i32 noundef %28)
%30 = load ptr, ptr %12, align 8
store ptr %29, ptr %30, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %36, label %34
34: ; preds = %20
%35 = call i32 @sensors_fatal_error(ptr noundef @.str, ptr noundef @.str.1)
br label %36
36: ; preds = %34, %20
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %9, align 8
store i32 %37, ptr %38, align 4
br label %39
39: ; preds = %36, %5
%40 = load ptr, ptr %12, align 8
%41 = load ptr, ptr %40, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %10, align 4
%45 = mul nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %41, i64 %46
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @sensors_fatal_error(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjzq818a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sensors_add_array_el\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Allocating new elements\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sensors_add_array_el(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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 ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %12, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %16, %18
br i1 %19, label %20, label %39
20: ; preds = %5
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 16
store i32 %23, ptr %11, align 4
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %10, align 4
%28 = mul nsw i32 %26, %27
%29 = call ptr @realloc(ptr noundef %25, i32 noundef %28)
%30 = load ptr, ptr %12, align 8
store ptr %29, ptr %30, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %36, label %34
34: ; preds = %20
%35 = call i32 @sensors_fatal_error(ptr noundef @.str, ptr noundef @.str.1)
br label %36
36: ; preds = %34, %20
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %9, align 8
store i32 %37, ptr %38, align 4
br label %39
39: ; preds = %36, %5
%40 = load ptr, ptr %12, align 8
%41 = load ptr, ptr %40, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %10, align 4
%45 = mul nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %41, i64 %46
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @sensors_fatal_error(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98ljftp9.c'
source_filename = "/tmp/tmp98ljftp9.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"*** craSh: failed to read line from stdin ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 256, i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %1
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98ljftp9.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"*** craSh: failed to read line from stdin ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 256, i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %1
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_nvkfdvl.c'
source_filename = "/tmp/tmp_nvkfdvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_nvkfdvl.c"
target datalayout = "e-m:e-p270: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/tmptzt65h_b.c'
source_filename = "/tmp/tmptzt65h_b.c"
target datalayout = "e-m:e-p270: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/tmptzt65h_b.c"
target datalayout = "e-m:e-p270: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/tmphmymhics.c'
source_filename = "/tmp/tmphmymhics.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
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/tmphmymhics.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
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/tmp7sqibbm5.c'
source_filename = "/tmp/tmp7sqibbm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readsect(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %13, align 4
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %46, %4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %53
19: ; preds = %15
%20 = load i32, ptr %9, align 4
%21 = icmp sgt i32 %20, 3
br i1 %21, label %22, label %23
22: ; preds = %19
br label %25
23: ; preds = %19
%24 = load i32, ptr %9, align 4
br label %25
25: ; preds = %23, %22
%26 = phi i32 [ 3, %22 ], [ %24, %23 ]
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %11, align 4
%29 = add nsw i32 %27, %28
%30 = load i32, ptr %12, align 4
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr i8, ptr %31, i64 %33
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %10, align 4
%37 = sub nsw i32 %35, %36
%38 = call i64 @ReadSector(i32 noundef %29, i32 noundef %30, ptr noundef %34, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %25
br label %54
41: ; preds = %25
%42 = load i32, ptr %12, align 4
%43 = mul nsw i32 %42, 512
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %10, align 4
br label %46
46: ; preds = %41
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %11, align 4
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %9, align 4
%52 = sub nsw i32 %51, %50
store i32 %52, ptr %9, align 4
br label %15, !llvm.loop !6
53: ; preds = %15
store i32 0, ptr %13, align 4
br label %54
54: ; preds = %53, %40
%55 = load i32, ptr %13, align 4
ret i32 %55
}
declare i64 @ReadSector(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7sqibbm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readsect(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %13, align 4
store i32 0, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %55
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %45
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 3
br i1 %20, label %21, label %22
21: ; preds = %18
br label %24
22: ; preds = %18
%23 = load i32, ptr %9, align 4
br label %24
24: ; preds = %22, %21
%25 = phi i32 [ 3, %21 ], [ %23, %22 ]
store i32 %25, ptr %12, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %11, align 4
%28 = add nsw i32 %26, %27
%29 = load i32, ptr %12, align 4
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr i8, ptr %30, i64 %32
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %10, align 4
%36 = sub nsw i32 %34, %35
%37 = call i64 @ReadSector(i32 noundef %28, i32 noundef %29, ptr noundef %33, i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %24
br label %56
40: ; preds = %24
%41 = load i32, ptr %12, align 4
%42 = mul nsw i32 %41, 512
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %10, align 4
br label %45
45: ; preds = %40
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 %50, %49
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %11, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %55
55: ; preds = %._crit_edge, %4
store i32 0, ptr %13, align 4
br label %56
56: ; preds = %55, %39
%57 = load i32, ptr %13, align 4
ret i32 %57
}
declare i64 @ReadSector(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp96arl5m0.c'
source_filename = "/tmp/tmp96arl5m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[1;1H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_scene() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp96arl5m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[1;1H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_scene() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpliq_soxy.c'
source_filename = "/tmp/tmpliq_soxy.c"
target datalayout = "e-m:e-p270: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.STEST1902.buf1 = private unnamed_addr constant [32 x i8] c"void STEST1902(void) 1\00\00\00\00\00\00\00\00\00\00", align 16
@__const.STEST1902.buf2 = private unnamed_addr constant [32 x i8] c"void STEST1902(void) 2\00\00\00\00\00\00\00\00\00\00", align 16
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"sub (test15l) C1902: ( input): s=%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"sub (test15l) C1902: (C1901 input): s=%s:%s:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"sub (test15l) C1902: (output): s=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @STEST1902(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca [32 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.STEST1902.buf1, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.STEST1902.buf2, i64 32, i1 false)
%5 = load i32, ptr @stdout, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%11 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%12 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @STEST1901(i32 noundef 3, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr @stdout, align 4
%18 = load ptr, ptr %2, align 8
%19 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.2, ptr noundef %18)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @STEST1901(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpliq_soxy.c"
target datalayout = "e-m:e-p270: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.STEST1902.buf1 = private unnamed_addr constant [32 x i8] c"void STEST1902(void) 1\00\00\00\00\00\00\00\00\00\00", align 16
@__const.STEST1902.buf2 = private unnamed_addr constant [32 x i8] c"void STEST1902(void) 2\00\00\00\00\00\00\00\00\00\00", align 16
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"sub (test15l) C1902: ( input): s=%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"sub (test15l) C1902: (C1901 input): s=%s:%s:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"sub (test15l) C1902: (output): s=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @STEST1902(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca [32 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.STEST1902.buf1, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.STEST1902.buf2, i64 32, i1 false)
%5 = load i32, ptr @stdout, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%11 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%12 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @STEST1901(i32 noundef 3, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr @stdout, align 4
%18 = load ptr, ptr %2, align 8
%19 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.2, ptr noundef %18)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @STEST1901(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl62rh7oh.c'
source_filename = "/tmp/tmpl62rh7oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x04\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x04() #0 {
%1 = call i64 @islower(i32 noundef 4)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 25, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpl62rh7oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x04\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x04() #0 {
%1 = call i64 @islower(i32 noundef 4)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 25, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmp9k3aft7o.c'
source_filename = "/tmp/tmp9k3aft7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFREG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_env_file_label(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr @S_IFREG, align 4
%9 = call i32 @label_context_set(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %3, align 4
br label %20
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @write_env_file(ptr noundef %15, ptr noundef %16)
%18 = call i32 (...) @label_context_clear()
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %14, %12
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @label_context_set(ptr noundef, i32 noundef) #1
declare i32 @write_env_file(ptr noundef, ptr noundef) #1
declare i32 @label_context_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9k3aft7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFREG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_env_file_label(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr @S_IFREG, align 4
%9 = call i32 @label_context_set(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %3, align 4
br label %20
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @write_env_file(ptr noundef %15, ptr noundef %16)
%18 = call i32 (...) @label_context_clear()
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %14, %12
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @label_context_set(ptr noundef, i32 noundef) #1
declare i32 @write_env_file(ptr noundef, ptr noundef) #1
declare i32 @label_context_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1okjyij.c'
source_filename = "/tmp/tmpy1okjyij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%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 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %7
7: ; preds = %101, %0
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %104
14: ; preds = %7
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %101 [
i32 97, label %20
i32 98, label %23
i32 99, label %26
i32 100, label %29
i32 101, label %32
i32 102, label %35
i32 103, label %38
i32 104, label %41
i32 105, label %44
i32 106, label %47
i32 107, label %50
i32 108, label %53
i32 109, label %56
i32 110, label %59
i32 111, label %62
i32 112, label %65
i32 113, label %68
i32 114, label %71
i32 115, label %74
i32 116, label %77
i32 117, label %80
i32 118, label %83
i32 119, label %86
i32 120, label %89
i32 121, label %92
i32 122, label %95
i32 32, label %98
]
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %101
23: ; preds = %14
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 2
store i32 %25, ptr %3, align 4
br label %101
26: ; preds = %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 3
store i32 %28, ptr %3, align 4
br label %101
29: ; preds = %14
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %101
32: ; preds = %14
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 2
store i32 %34, ptr %3, align 4
br label %101
35: ; preds = %14
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 3
store i32 %37, ptr %3, align 4
br label %101
38: ; preds = %14
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %101
41: ; preds = %14
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 2
store i32 %43, ptr %3, align 4
br label %101
44: ; preds = %14
%45 = load i32, ptr %3, align 4
%46 = add nsw i32 %45, 3
store i32 %46, ptr %3, align 4
br label %101
47: ; preds = %14
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
br label %101
50: ; preds = %14
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 2
store i32 %52, ptr %3, align 4
br label %101
53: ; preds = %14
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 3
store i32 %55, ptr %3, align 4
br label %101
56: ; preds = %14
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
br label %101
59: ; preds = %14
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 2
store i32 %61, ptr %3, align 4
br label %101
62: ; preds = %14
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 3
store i32 %64, ptr %3, align 4
br label %101
65: ; preds = %14
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
br label %101
68: ; preds = %14
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 2
store i32 %70, ptr %3, align 4
br label %101
71: ; preds = %14
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 3
store i32 %73, ptr %3, align 4
br label %101
74: ; preds = %14
%75 = load i32, ptr %3, align 4
%76 = add nsw i32 %75, 4
store i32 %76, ptr %3, align 4
br label %101
77: ; preds = %14
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %3, align 4
br label %101
80: ; preds = %14
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 2
store i32 %82, ptr %3, align 4
br label %101
83: ; preds = %14
%84 = load i32, ptr %3, align 4
%85 = add nsw i32 %84, 3
store i32 %85, ptr %3, align 4
br label %101
86: ; preds = %14
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %3, align 4
br label %101
89: ; preds = %14
%90 = load i32, ptr %3, align 4
%91 = add nsw i32 %90, 2
store i32 %91, ptr %3, align 4
br label %101
92: ; preds = %14
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 3
store i32 %94, ptr %3, align 4
br label %101
95: ; preds = %14
%96 = load i32, ptr %3, align 4
%97 = add nsw i32 %96, 4
store i32 %97, ptr %3, align 4
br label %101
98: ; preds = %14
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %3, align 4
br label %101
101: ; preds = %14, %98, %95, %92, %89, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23, %20
%102 = load i32, ptr %4, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %4, align 4
br label %7, !llvm.loop !6
104: ; preds = %7
%105 = load i32, ptr %3, align 4
%106 = call i32 @printf(ptr noundef @.str.1, i32 noundef %105)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1okjyij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%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 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %109
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %100
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
switch i32 %18, label %100 [
i32 97, label %19
i32 98, label %22
i32 99, label %25
i32 100, label %28
i32 101, label %31
i32 102, label %34
i32 103, label %37
i32 104, label %40
i32 105, label %43
i32 106, label %46
i32 107, label %49
i32 108, label %52
i32 109, label %55
i32 110, label %58
i32 111, label %61
i32 112, label %64
i32 113, label %67
i32 114, label %70
i32 115, label %73
i32 116, label %76
i32 117, label %79
i32 118, label %82
i32 119, label %85
i32 120, label %88
i32 121, label %91
i32 122, label %94
i32 32, label %97
]
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %100
22: ; preds = %13
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 2
store i32 %24, ptr %3, align 4
br label %100
25: ; preds = %13
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 3
store i32 %27, ptr %3, align 4
br label %100
28: ; preds = %13
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %100
31: ; preds = %13
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 2
store i32 %33, ptr %3, align 4
br label %100
34: ; preds = %13
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 3
store i32 %36, ptr %3, align 4
br label %100
37: ; preds = %13
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %100
40: ; preds = %13
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 2
store i32 %42, ptr %3, align 4
br label %100
43: ; preds = %13
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 3
store i32 %45, ptr %3, align 4
br label %100
46: ; preds = %13
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %100
49: ; preds = %13
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 2
store i32 %51, ptr %3, align 4
br label %100
52: ; preds = %13
%53 = load i32, ptr %3, align 4
%54 = add nsw i32 %53, 3
store i32 %54, ptr %3, align 4
br label %100
55: ; preds = %13
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %3, align 4
br label %100
58: ; preds = %13
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 2
store i32 %60, ptr %3, align 4
br label %100
61: ; preds = %13
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 3
store i32 %63, ptr %3, align 4
br label %100
64: ; preds = %13
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
br label %100
67: ; preds = %13
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 2
store i32 %69, ptr %3, align 4
br label %100
70: ; preds = %13
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 3
store i32 %72, ptr %3, align 4
br label %100
73: ; preds = %13
%74 = load i32, ptr %3, align 4
%75 = add nsw i32 %74, 4
store i32 %75, ptr %3, align 4
br label %100
76: ; preds = %13
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %3, align 4
br label %100
79: ; preds = %13
%80 = load i32, ptr %3, align 4
%81 = add nsw i32 %80, 2
store i32 %81, ptr %3, align 4
br label %100
82: ; preds = %13
%83 = load i32, ptr %3, align 4
%84 = add nsw i32 %83, 3
store i32 %84, ptr %3, align 4
br label %100
85: ; preds = %13
%86 = load i32, ptr %3, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %3, align 4
br label %100
88: ; preds = %13
%89 = load i32, ptr %3, align 4
%90 = add nsw i32 %89, 2
store i32 %90, ptr %3, align 4
br label %100
91: ; preds = %13
%92 = load i32, ptr %3, align 4
%93 = add nsw i32 %92, 3
store i32 %93, ptr %3, align 4
br label %100
94: ; preds = %13
%95 = load i32, ptr %3, align 4
%96 = add nsw i32 %95, 4
store i32 %96, ptr %3, align 4
br label %100
97: ; preds = %13
%98 = load i32, ptr %3, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %3, align 4
br label %100
100: ; preds = %97, %94, %91, %88, %85, %82, %79, %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %13
%101 = load i32, ptr %4, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %4, align 4
%103 = load i32, ptr %4, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp ne i32 %107, 0
br i1 %108, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %109
109: ; preds = %._crit_edge, %0
%110 = load i32, ptr %3, align 4
%111 = call i32 @printf(ptr noundef @.str.1, i32 noundef %110)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_oimg_z7.c'
source_filename = "/tmp/tmp_oimg_z7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 691565056, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @div_num(i32 noundef %6, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @div_num(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_oimg_z7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 691565056, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @div_num(i32 noundef %6, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @div_num(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa7s_5bp7.c'
source_filename = "/tmp/tmpa7s_5bp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d is emirp.\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d is prime.\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d is not prime.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000000 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @preparePrimeSieve(ptr noundef %5, i32 noundef 1000000)
br label %7
7: ; preds = %38, %0
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = icmp sgt i64 %8, 0
br i1 %9, label %10, label %39
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = call i32 @reverseNum(i32 noundef %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %16
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i32, ptr %3, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %34
31: ; preds = %22, %16
%32 = load i32, ptr %3, align 4
%33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32)
br label %34
34: ; preds = %31, %28
br label %38
35: ; preds = %10
%36 = load i32, ptr %3, align 4
%37 = call i32 @printf(ptr noundef @.str.3, i32 noundef %36)
br label %38
38: ; preds = %35, %34
br label %7, !llvm.loop !6
39: ; preds = %7
ret i32 0
}
declare i32 @preparePrimeSieve(ptr noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @reverseNum(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7s_5bp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d is emirp.\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d is prime.\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d is not prime.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000000 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @preparePrimeSieve(ptr noundef %5, i32 noundef 1000000)
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = icmp sgt i64 %7, 0
br i1 %8, label %.lr.ph, label %40
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %37
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %34
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = call i32 @reverseNum(i32 noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %30
21: ; preds = %15
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1000000 x i32], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load i32, ptr %3, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28)
br label %33
30: ; preds = %21, %15
%31 = load i32, ptr %3, align 4
%32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %30, %27
br label %37
34: ; preds = %9
%35 = load i32, ptr %3, align 4
%36 = call i32 @printf(ptr noundef @.str.3, i32 noundef %35)
br label %37
37: ; preds = %34, %33
%38 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%39 = icmp sgt i64 %38, 0
br i1 %39, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %40
40: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @preparePrimeSieve(ptr noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @reverseNum(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn_dv28lm.c'
source_filename = "/tmp/tmpn_dv28lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64, i32 }
@.str = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [71 x i8] c"usage: %s [-n <n>] <file> -- call fadvise(DONTNEED) <n> times on file\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"%s: S_ISREG: not a regular file\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [21 x i8] c"%s: file size is 0!\0A\00", align 1
@POSIX_FADV_DONTNEED = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [14 x i8] c"posix_fadvise\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 4
br i1 %12, label %13, label %27
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strcmp(ptr noundef @.str, ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %27, label %19
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 3
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %9, align 8
br label %42
27: ; preds = %13, %2
%28 = load i32, ptr %4, align 4
%29 = icmp ne i32 %28, 2
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %27
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %39, align 8
store ptr %40, ptr %9, align 8
br label %41
41: ; preds = %37
br label %42
42: ; preds = %41, %19
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 @exiterr(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %42
%51 = load i32, ptr %8, align 4
%52 = call i32 @fstat(i32 noundef %51, ptr noundef %10)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @exiterr(ptr noundef @.str.3)
br label %56
56: ; preds = %54, %50
%57 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%58 = load i32, ptr %57, align 8
%59 = call i32 @S_ISREG(i32 noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %66, label %61
61: ; preds = %56
%62 = load i32, ptr @stderr, align 4
%63 = load ptr, ptr %9, align 8
%64 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %93
66: ; preds = %56
%67 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%68 = load i64, ptr %67, align 8
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %66
%71 = load i32, ptr @stderr, align 4
%72 = load ptr, ptr %9, align 8
%73 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.5, ptr noundef %72)
%74 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %74, ptr %3, align 4
br label %93
75: ; preds = %66
store i32 0, ptr %6, align 4
br label %76
76: ; preds = %88, %75
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr %7, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %91
80: ; preds = %76
%81 = load i32, ptr %8, align 4
%82 = load i32, ptr @POSIX_FADV_DONTNEED, align 4
%83 = call i32 @posix_fadvise(i32 noundef %81, i32 noundef 0, i32 noundef 0, i32 noundef %82)
%84 = icmp eq i32 %83, -1
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = call i32 @exiterr(ptr noundef @.str.6)
br label %87
87: ; preds = %85, %80
br label %88
88: ; preds = %87
%89 = load i32, ptr %6, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %6, align 4
br label %76, !llvm.loop !6
91: ; preds = %76
%92 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %92, ptr %3, align 4
br label %93
93: ; preds = %91, %70, %61
%94 = load i32, ptr %3, align 4
ret i32 %94
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @exiterr(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @posix_fadvise(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn_dv28lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64, i32 }
@.str = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [71 x i8] c"usage: %s [-n <n>] <file> -- call fadvise(DONTNEED) <n> times on file\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"%s: S_ISREG: not a regular file\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [21 x i8] c"%s: file size is 0!\0A\00", align 1
@POSIX_FADV_DONTNEED = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [14 x i8] c"posix_fadvise\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 4
br i1 %12, label %13, label %27
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strcmp(ptr noundef @.str, ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %27, label %19
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 3
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %9, align 8
br label %42
27: ; preds = %13, %2
%28 = load i32, ptr %4, align 4
%29 = icmp ne i32 %28, 2
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %27
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %39, align 8
store ptr %40, ptr %9, align 8
br label %41
41: ; preds = %37
br label %42
42: ; preds = %41, %19
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 @exiterr(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %42
%51 = load i32, ptr %8, align 4
%52 = call i32 @fstat(i32 noundef %51, ptr noundef %10)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @exiterr(ptr noundef @.str.3)
br label %56
56: ; preds = %54, %50
%57 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%58 = load i32, ptr %57, align 8
%59 = call i32 @S_ISREG(i32 noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %66, label %61
61: ; preds = %56
%62 = load i32, ptr @stderr, align 4
%63 = load ptr, ptr %9, align 8
%64 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %95
66: ; preds = %56
%67 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%68 = load i64, ptr %67, align 8
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %66
%71 = load i32, ptr @stderr, align 4
%72 = load ptr, ptr %9, align 8
%73 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.5, ptr noundef %72)
%74 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %74, ptr %3, align 4
br label %95
75: ; preds = %66
store i32 0, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %7, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph, label %93
.lr.ph: ; preds = %75
br label %79
79: ; preds = %.lr.ph, %87
%80 = load i32, ptr %8, align 4
%81 = load i32, ptr @POSIX_FADV_DONTNEED, align 4
%82 = call i32 @posix_fadvise(i32 noundef %80, i32 noundef 0, i32 noundef 0, i32 noundef %81)
%83 = icmp eq i32 %82, -1
br i1 %83, label %84, label %86
84: ; preds = %79
%85 = call i32 @exiterr(ptr noundef @.str.6)
br label %86
86: ; preds = %84, %79
br label %87
87: ; preds = %86
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = load i32, ptr %7, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %79, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %93
93: ; preds = %._crit_edge, %75
%94 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %94, ptr %3, align 4
br label %95
95: ; preds = %93, %70, %61
%96 = load i32, ptr %3, align 4
ret i32 %96
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @exiterr(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @posix_fadvise(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq3l0seok.c'
source_filename = "/tmp/tmpq3l0seok.c"
target datalayout = "e-m:e-p270: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/tmpq3l0seok.c"
target datalayout = "e-m:e-p270: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/tmp5reof7ux.c'
source_filename = "/tmp/tmp5reof7ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.in_addr = type { i32 }
@udns_ntoa.buf = internal global [16 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udns_ntoa(i32 %0) #0 {
%2 = alloca %struct.in_addr, align 4
%3 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0
store i32 %0, ptr %3, align 4
%4 = call i32 @mjt_ntop4(ptr noundef %2, ptr noundef @udns_ntoa.buf, i32 noundef 16)
ret ptr @udns_ntoa.buf
}
declare i32 @mjt_ntop4(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/tmp5reof7ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.in_addr = type { i32 }
@udns_ntoa.buf = internal global [16 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udns_ntoa(i32 %0) #0 {
%2 = alloca %struct.in_addr, align 4
%3 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0
store i32 %0, ptr %3, align 4
%4 = call i32 @mjt_ntop4(ptr noundef %2, ptr noundef @udns_ntoa.buf, i32 noundef 16)
ret ptr @udns_ntoa.buf
}
declare i32 @mjt_ntop4(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/tmprxu1hfq3.c'
source_filename = "/tmp/tmprxu1hfq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serialport_write(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %2
store i32 -1, ptr %3, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %18, %17
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @strlen(ptr noundef) #1
declare i32 @write(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/tmprxu1hfq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serialport_write(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %2
store i32 -1, ptr %3, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %18, %17
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @strlen(ptr noundef) #1
declare i32 @write(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/tmp_kx8kf22.c'
source_filename = "/tmp/tmp_kx8kf22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+b\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"<?xml version=\221.0\22 encoding=\22%s\22?>\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"error: cannot write to %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @XmlNode_toFile(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 i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %31
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = call ptr @XmlNode_getXML(ptr noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = call i64 @strlen(ptr noundef %18)
store i64 %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.1, ptr noundef @.str.2)
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @fwrite(ptr noundef %22, i32 noundef 1, i64 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @free(ptr noundef %26)
br label %28
28: ; preds = %17, %12
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
br label %34
31: ; preds = %2
%32 = load ptr, ptr %4, align 8
%33 = call i32 @printf(ptr noundef @.str.3, ptr noundef %32)
br label %34
34: ; preds = %31, %28
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @XmlNode_getXML(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kx8kf22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+b\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"<?xml version=\221.0\22 encoding=\22%s\22?>\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"error: cannot write to %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @XmlNode_toFile(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 i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %31
12: ; preds = %2
%13 = load ptr, ptr %3, align 8
%14 = call ptr @XmlNode_getXML(ptr noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = call i64 @strlen(ptr noundef %18)
store i64 %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.1, ptr noundef @.str.2)
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @fwrite(ptr noundef %22, i32 noundef 1, i64 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @free(ptr noundef %26)
br label %28
28: ; preds = %17, %12
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
br label %34
31: ; preds = %2
%32 = load ptr, ptr %4, align 8
%33 = call i32 @printf(ptr noundef @.str.3, ptr noundef %32)
br label %34
34: ; preds = %31, %28
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @XmlNode_getXML(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk6roibq7.c'
source_filename = "/tmp/tmpk6roibq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
; 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 @daemon(i32 noundef 0, i32 noundef 0)
%3 = load i32, ptr @SIGCHLD, align 4
%4 = load i32, ptr @SIG_IGN, align 4
%5 = call i32 @signal(i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @smtp_ser()
ret i32 0
}
declare i32 @daemon(i32 noundef, i32 noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @smtp_ser(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk6roibq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
; 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 @daemon(i32 noundef 0, i32 noundef 0)
%3 = load i32, ptr @SIGCHLD, align 4
%4 = load i32, ptr @SIG_IGN, align 4
%5 = call i32 @signal(i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @smtp_ser()
ret i32 0
}
declare i32 @daemon(i32 noundef, i32 noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @smtp_ser(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfybwl2ip.c'
source_filename = "/tmp/tmpfybwl2ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foldsToClasses(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%17 = load i32, ptr %11, align 4
%18 = add nsw i32 %17, 1
%19 = call ptr @int_vec_alloc(i32 noundef %18)
store ptr %19, ptr %16, align 8
%20 = load ptr, ptr %16, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 1
%23 = call i32 @init_int_vec(ptr noundef %20, i32 noundef %22)
store i32 0, ptr %13, align 4
br label %24
24: ; preds = %89, %6
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %92
28: ; preds = %24
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %52
32: ; preds = %28
store i32 1, ptr %14, align 4
br label %33
33: ; preds = %48, %32
%34 = load i32, ptr %14, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 0
%41 = load i32, ptr %40, align 4
%42 = icmp sle i32 %34, %41
br i1 %42, label %43, label %51
43: ; preds = %33
%44 = load ptr, ptr %16, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 0
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %45, align 4
br label %48
48: ; preds = %43
%49 = load i32, ptr %14, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %14, align 4
br label %33, !llvm.loop !6
51: ; preds = %33
br label %88
52: ; preds = %28
store i32 1, ptr %14, align 4
br label %53
53: ; preds = %84, %52
%54 = load i32, ptr %14, align 4
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i32, ptr %59, i64 0
%61 = load i32, ptr %60, align 4
%62 = icmp sle i32 %54, %61
br i1 %62, label %63, label %87
63: ; preds = %53
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %13, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %14, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %64, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
store i32 %77, ptr %15, align 4
%78 = load ptr, ptr %16, align 8
%79 = load i32, ptr %15, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
%82 = load i32, ptr %81, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %81, align 4
br label %84
84: ; preds = %63
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %14, align 4
br label %53, !llvm.loop !8
87: ; preds = %53
br label %88
88: ; preds = %87, %51
br label %89
89: ; preds = %88
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %13, align 4
br label %24, !llvm.loop !9
92: ; preds = %24
store i32 0, ptr %13, align 4
br label %93
93: ; preds = %115, %92
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %11, align 4
%96 = icmp sle i32 %94, %95
br i1 %96, label %97, label %118
97: ; preds = %93
%98 = load ptr, ptr %16, align 8
%99 = load i32, ptr %13, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = add nsw i32 %102, 1
%104 = call ptr @int_vec_alloc(i32 noundef %103)
%105 = load ptr, ptr %10, align 8
%106 = load i32, ptr %13, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds ptr, ptr %105, i64 %107
store ptr %104, ptr %108, align 8
%109 = load ptr, ptr %10, align 8
%110 = load i32, ptr %13, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds ptr, ptr %109, i64 %111
%113 = load ptr, ptr %112, align 8
%114 = getelementptr inbounds i32, ptr %113, i64 0
store i32 0, ptr %114, align 4
br label %115
115: ; preds = %97
%116 = load i32, ptr %13, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %13, align 4
br label %93, !llvm.loop !10
118: ; preds = %93
store i32 0, ptr %13, align 4
br label %119
119: ; preds = %218, %118
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %8, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %123, label %221
123: ; preds = %119
%124 = load i32, ptr %13, align 4
%125 = load i32, ptr %9, align 4
%126 = icmp eq i32 %124, %125
br i1 %126, label %127, label %163
127: ; preds = %123
store i32 1, ptr %14, align 4
br label %128
128: ; preds = %159, %127
%129 = load i32, ptr %14, align 4
%130 = load ptr, ptr %7, align 8
%131 = load i32, ptr %13, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = getelementptr inbounds i32, ptr %134, i64 0
%136 = load i32, ptr %135, align 4
%137 = icmp sle i32 %129, %136
br i1 %137, label %138, label %162
138: ; preds = %128
%139 = load ptr, ptr %7, align 8
%140 = load i32, ptr %13, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %139, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %14, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %143, i64 %145
%147 = load i32, ptr %146, align 4
%148 = load ptr, ptr %10, align 8
%149 = getelementptr inbounds ptr, ptr %148, i64 0
%150 = load ptr, ptr %149, align 8
%151 = load ptr, ptr %10, align 8
%152 = getelementptr inbounds ptr, ptr %151, i64 0
%153 = load ptr, ptr %152, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 0
%155 = load i32, ptr %154, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %154, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %150, i64 %157
store i32 %147, ptr %158, align 4
br label %159
159: ; preds = %138
%160 = load i32, ptr %14, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %14, align 4
br label %128, !llvm.loop !11
162: ; preds = %128
br label %217
163: ; preds = %123
store i32 1, ptr %14, align 4
br label %164
164: ; preds = %213, %163
%165 = load i32, ptr %14, align 4
%166 = load ptr, ptr %7, align 8
%167 = load i32, ptr %13, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds ptr, ptr %166, i64 %168
%170 = load ptr, ptr %169, align 8
%171 = getelementptr inbounds i32, ptr %170, i64 0
%172 = load i32, ptr %171, align 4
%173 = icmp sle i32 %165, %172
br i1 %173, label %174, label %216
174: ; preds = %164
%175 = load ptr, ptr %12, align 8
%176 = load ptr, ptr %7, align 8
%177 = load i32, ptr %13, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = load i32, ptr %14, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i32, ptr %180, i64 %182
%184 = load i32, ptr %183, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i8, ptr %175, i64 %185
%187 = load i8, ptr %186, align 1
%188 = sext i8 %187 to i32
store i32 %188, ptr %15, align 4
%189 = load ptr, ptr %7, align 8
%190 = load i32, ptr %13, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds ptr, ptr %189, i64 %191
%193 = load ptr, ptr %192, align 8
%194 = load i32, ptr %14, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i32, ptr %193, i64 %195
%197 = load i32, ptr %196, align 4
%198 = load ptr, ptr %10, align 8
%199 = load i32, ptr %15, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds ptr, ptr %198, i64 %200
%202 = load ptr, ptr %201, align 8
%203 = load ptr, ptr %10, align 8
%204 = load i32, ptr %15, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds ptr, ptr %203, i64 %205
%207 = load ptr, ptr %206, align 8
%208 = getelementptr inbounds i32, ptr %207, i64 0
%209 = load i32, ptr %208, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %208, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i32, ptr %202, i64 %211
store i32 %197, ptr %212, align 4
br label %213
213: ; preds = %174
%214 = load i32, ptr %14, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %14, align 4
br label %164, !llvm.loop !12
216: ; preds = %164
br label %217
217: ; preds = %216, %162
br label %218
218: ; preds = %217
%219 = load i32, ptr %13, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %13, align 4
br label %119, !llvm.loop !13
221: ; preds = %119
%222 = load ptr, ptr %16, align 8
%223 = call i32 @free(ptr noundef %222)
ret void
}
declare ptr @int_vec_alloc(i32 noundef) #1
declare i32 @init_int_vec(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfybwl2ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foldsToClasses(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%17 = load i32, ptr %11, align 4
%18 = add nsw i32 %17, 1
%19 = call ptr @int_vec_alloc(i32 noundef %18)
store ptr %19, ptr %16, align 8
%20 = load ptr, ptr %16, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 1
%23 = call i32 @init_int_vec(ptr noundef %20, i32 noundef %22)
store i32 0, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph5, label %108
.lr.ph5: ; preds = %6
br label %27
27: ; preds = %.lr.ph5, %102
%28 = load i32, ptr %13, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %58
31: ; preds = %27
store i32 1, ptr %14, align 4
%32 = load i32, ptr %14, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %13, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp sle i32 %32, %38
br i1 %39, label %.lr.ph2, label %57
.lr.ph2: ; preds = %31
br label %40
40: ; preds = %.lr.ph2, %45
%41 = load ptr, ptr %16, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 0
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 4
br label %45
45: ; preds = %40
%46 = load i32, ptr %14, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %14, align 4
%48 = load i32, ptr %14, align 4
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %13, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 0
%55 = load i32, ptr %54, align 4
%56 = icmp sle i32 %48, %55
br i1 %56, label %40, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %45
br label %57
57: ; preds = %._crit_edge3, %31
br label %101
58: ; preds = %27
store i32 1, ptr %14, align 4
%59 = load i32, ptr %14, align 4
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr %64, align 4
%66 = icmp sle i32 %59, %65
br i1 %66, label %.lr.ph, label %100
.lr.ph: ; preds = %58
br label %67
67: ; preds = %.lr.ph, %88
%68 = load ptr, ptr %12, align 8
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %14, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %68, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
store i32 %81, ptr %15, align 4
%82 = load ptr, ptr %16, align 8
%83 = load i32, ptr %15, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
%86 = load i32, ptr %85, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %85, align 4
br label %88
88: ; preds = %67
%89 = load i32, ptr %14, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %14, align 4
%91 = load i32, ptr %14, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %13, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds ptr, ptr %92, i64 %94
%96 = load ptr, ptr %95, align 8
%97 = getelementptr inbounds i32, ptr %96, i64 0
%98 = load i32, ptr %97, align 4
%99 = icmp sle i32 %91, %98
br i1 %99, label %67, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %88
br label %100
100: ; preds = %._crit_edge, %58
br label %101
101: ; preds = %100, %57
br label %102
102: ; preds = %101
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = load i32, ptr %8, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %108
108: ; preds = %._crit_edge6, %6
store i32 0, ptr %13, align 4
%109 = load i32, ptr %13, align 4
%110 = load i32, ptr %11, align 4
%111 = icmp sle i32 %109, %110
br i1 %111, label %.lr.ph8, label %136
.lr.ph8: ; preds = %108
br label %112
112: ; preds = %.lr.ph8, %130
%113 = load ptr, ptr %16, align 8
%114 = load i32, ptr %13, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
%117 = load i32, ptr %116, align 4
%118 = add nsw i32 %117, 1
%119 = call ptr @int_vec_alloc(i32 noundef %118)
%120 = load ptr, ptr %10, align 8
%121 = load i32, ptr %13, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds ptr, ptr %120, i64 %122
store ptr %119, ptr %123, align 8
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %13, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds ptr, ptr %124, i64 %126
%128 = load ptr, ptr %127, align 8
%129 = getelementptr inbounds i32, ptr %128, i64 0
store i32 0, ptr %129, align 4
br label %130
130: ; preds = %112
%131 = load i32, ptr %13, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %13, align 4
%133 = load i32, ptr %13, align 4
%134 = load i32, ptr %11, align 4
%135 = icmp sle i32 %133, %134
br i1 %135, label %112, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %130
br label %136
136: ; preds = %._crit_edge9, %108
store i32 0, ptr %13, align 4
%137 = load i32, ptr %13, align 4
%138 = load i32, ptr %8, align 4
%139 = icmp slt i32 %137, %138
br i1 %139, label %.lr.ph17, label %255
.lr.ph17: ; preds = %136
br label %140
140: ; preds = %.lr.ph17, %249
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %9, align 4
%143 = icmp eq i32 %141, %142
br i1 %143, label %144, label %187
144: ; preds = %140
store i32 1, ptr %14, align 4
%145 = load i32, ptr %14, align 4
%146 = load ptr, ptr %7, align 8
%147 = load i32, ptr %13, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds ptr, ptr %146, i64 %148
%150 = load ptr, ptr %149, align 8
%151 = load i32, ptr %150, align 4
%152 = icmp sle i32 %145, %151
br i1 %152, label %.lr.ph14, label %186
.lr.ph14: ; preds = %144
br label %153
153: ; preds = %.lr.ph14, %174
%154 = load ptr, ptr %7, align 8
%155 = load i32, ptr %13, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds ptr, ptr %154, i64 %156
%158 = load ptr, ptr %157, align 8
%159 = load i32, ptr %14, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, ptr %158, i64 %160
%162 = load i32, ptr %161, align 4
%163 = load ptr, ptr %10, align 8
%164 = getelementptr inbounds ptr, ptr %163, i64 0
%165 = load ptr, ptr %164, align 8
%166 = load ptr, ptr %10, align 8
%167 = getelementptr inbounds ptr, ptr %166, i64 0
%168 = load ptr, ptr %167, align 8
%169 = getelementptr inbounds i32, ptr %168, i64 0
%170 = load i32, ptr %169, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %169, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i32, ptr %165, i64 %172
store i32 %162, ptr %173, align 4
br label %174
174: ; preds = %153
%175 = load i32, ptr %14, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %14, align 4
%177 = load i32, ptr %14, align 4
%178 = load ptr, ptr %7, align 8
%179 = load i32, ptr %13, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds ptr, ptr %178, i64 %180
%182 = load ptr, ptr %181, align 8
%183 = getelementptr inbounds i32, ptr %182, i64 0
%184 = load i32, ptr %183, align 4
%185 = icmp sle i32 %177, %184
br i1 %185, label %153, label %._crit_edge15, !llvm.loop !11
._crit_edge15: ; preds = %174
br label %186
186: ; preds = %._crit_edge15, %144
br label %248
187: ; preds = %140
store i32 1, ptr %14, align 4
%188 = load i32, ptr %14, align 4
%189 = load ptr, ptr %7, align 8
%190 = load i32, ptr %13, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds ptr, ptr %189, i64 %191
%193 = load ptr, ptr %192, align 8
%194 = load i32, ptr %193, align 4
%195 = icmp sle i32 %188, %194
br i1 %195, label %.lr.ph11, label %247
.lr.ph11: ; preds = %187
br label %196
196: ; preds = %.lr.ph11, %235
%197 = load ptr, ptr %12, align 8
%198 = load ptr, ptr %7, align 8
%199 = load i32, ptr %13, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds ptr, ptr %198, i64 %200
%202 = load ptr, ptr %201, align 8
%203 = load i32, ptr %14, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i32, ptr %202, i64 %204
%206 = load i32, ptr %205, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i8, ptr %197, i64 %207
%209 = load i8, ptr %208, align 1
%210 = sext i8 %209 to i32
store i32 %210, ptr %15, align 4
%211 = load ptr, ptr %7, align 8
%212 = load i32, ptr %13, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds ptr, ptr %211, i64 %213
%215 = load ptr, ptr %214, align 8
%216 = load i32, ptr %14, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i32, ptr %215, i64 %217
%219 = load i32, ptr %218, align 4
%220 = load ptr, ptr %10, align 8
%221 = load i32, ptr %15, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds ptr, ptr %220, i64 %222
%224 = load ptr, ptr %223, align 8
%225 = load ptr, ptr %10, align 8
%226 = load i32, ptr %15, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds ptr, ptr %225, i64 %227
%229 = load ptr, ptr %228, align 8
%230 = getelementptr inbounds i32, ptr %229, i64 0
%231 = load i32, ptr %230, align 4
%232 = add nsw i32 %231, 1
store i32 %232, ptr %230, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, ptr %224, i64 %233
store i32 %219, ptr %234, align 4
br label %235
235: ; preds = %196
%236 = load i32, ptr %14, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %14, align 4
%238 = load i32, ptr %14, align 4
%239 = load ptr, ptr %7, align 8
%240 = load i32, ptr %13, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds ptr, ptr %239, i64 %241
%243 = load ptr, ptr %242, align 8
%244 = getelementptr inbounds i32, ptr %243, i64 0
%245 = load i32, ptr %244, align 4
%246 = icmp sle i32 %238, %245
br i1 %246, label %196, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %235
br label %247
247: ; preds = %._crit_edge12, %187
br label %248
248: ; preds = %247, %186
br label %249
249: ; preds = %248
%250 = load i32, ptr %13, align 4
%251 = add nsw i32 %250, 1
store i32 %251, ptr %13, align 4
%252 = load i32, ptr %13, align 4
%253 = load i32, ptr %8, align 4
%254 = icmp slt i32 %252, %253
br i1 %254, label %140, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %249
br label %255
255: ; preds = %._crit_edge18, %136
%256 = load ptr, ptr %16, align 8
%257 = call i32 @free(ptr noundef %256)
ret void
}
declare ptr @int_vec_alloc(i32 noundef) #1
declare i32 @init_int_vec(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpkxwvifco.c'
source_filename = "/tmp/tmpkxwvifco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_custom(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
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/tmpkxwvifco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_custom(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
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/tmp9te4iv1z.c'
source_filename = "/tmp/tmp9te4iv1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mother_fly(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x i32], align 16
%13 = alloca [4 x i32], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = sdiv i32 %14, 20
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %16, 20
store i32 %17, ptr %7, align 4
store i64 65, ptr %10, align 8
br label %18
18: ; preds = %134, %2
%19 = load i64, ptr %10, align 8
%20 = icmp ule i64 %19, 90
br i1 %20, label %21, label %137
21: ; preds = %18
%22 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
store i32 -1, ptr %22, align 16
%23 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1
store i32 1, ptr %23, align 4
%24 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2
store i32 0, ptr %24, align 8
%25 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3
store i32 0, ptr %25, align 4
%26 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0
store i32 0, ptr %26, align 16
%27 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 1
store i32 0, ptr %27, align 4
%28 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 2
store i32 -1, ptr %28, align 8
%29 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 3
store i32 1, ptr %29, align 4
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 16, i1 false)
br label %30
30: ; preds = %21, %129
%31 = call i32 (...) @rand()
%32 = srem i32 %31, 4
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %33, %37
%39 = icmp sge i32 %38, 0
br i1 %39, label %40, label %107
40: ; preds = %30
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = add nsw i32 %41, %45
%47 = icmp slt i32 %46, 10
br i1 %47, label %48, label %107
48: ; preds = %40
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %49, %53
%55 = icmp sge i32 %54, 0
br i1 %55, label %56, label %107
56: ; preds = %48
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %57, %61
%63 = icmp slt i32 %62, 20
br i1 %63, label %64, label %107
64: ; preds = %56
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %66, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [20 x i8], ptr %65, i64 %72
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = add nsw i32 %74, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [20 x i8], ptr %73, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 35
br i1 %84, label %85, label %107
85: ; preds = %64
%86 = load i32, ptr %8, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %7, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %7, align 4
%98 = load i64, ptr %10, align 8
%99 = trunc i64 %98 to i8
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [20 x i8], ptr %100, i64 %102
%104 = load i32, ptr %7, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [20 x i8], ptr %103, i64 0, i64 %105
store i8 %99, ptr %106, align 1
br label %133
107: ; preds = %64, %56, %48, %40, %30
%108 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
%109 = load i32, ptr %108, align 16
%110 = icmp eq i32 %109, 1
br i1 %110, label %111, label %128
111: ; preds = %107
%112 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 1
%113 = load i32, ptr %112, align 4
%114 = icmp eq i32 %113, 1
br i1 %114, label %115, label %128
115: ; preds = %111
%116 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 2
%117 = load i32, ptr %116, align 8
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %128
119: ; preds = %115
%120 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 3
%121 = load i32, ptr %120, align 4
%122 = icmp eq i32 %121, 1
br i1 %122, label %123, label %128
123: ; preds = %119
%124 = load i32, ptr %6, align 4
%125 = mul nsw i32 %124, 20
%126 = load i32, ptr %7, align 4
%127 = add nsw i32 %125, %126
store i32 %127, ptr %3, align 4
br label %142
128: ; preds = %119, %115, %111, %107
br label %129
129: ; preds = %128
%130 = load i32, ptr %8, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %131
store i32 1, ptr %132, align 4
br label %30
133: ; preds = %85
br label %134
134: ; preds = %133
%135 = load i64, ptr %10, align 8
%136 = add i64 %135, 1
store i64 %136, ptr %10, align 8
br label %18, !llvm.loop !6
137: ; preds = %18
%138 = load i32, ptr %6, align 4
%139 = mul nsw i32 %138, 20
%140 = load i32, ptr %7, align 4
%141 = add nsw i32 %139, %140
store i32 %141, ptr %3, align 4
br label %142
142: ; preds = %137, %123
%143 = load i32, ptr %3, align 4
ret i32 %143
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @rand(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9te4iv1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mother_fly(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x i32], align 16
%13 = alloca [4 x i32], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = sdiv i32 %14, 20
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %16, 20
store i32 %17, ptr %7, align 4
store i64 65, ptr %10, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp ule i64 %18, 90
br i1 %19, label %.lr.ph, label %138
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %133
%21 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
store i32 -1, ptr %21, align 16
%22 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1
store i32 1, ptr %22, align 4
%23 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2
store i32 0, ptr %23, align 8
%24 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3
store i32 0, ptr %24, align 4
%25 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0
store i32 0, ptr %25, align 16
%26 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 1
store i32 0, ptr %26, align 4
%27 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 2
store i32 -1, ptr %27, align 8
%28 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 3
store i32 1, ptr %28, align 4
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 16, i1 false)
br label %29
29: ; preds = %128, %20
%30 = call i32 (...) @rand()
%31 = srem i32 %30, 4
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %32, %36
%38 = icmp sge i32 %37, 0
br i1 %38, label %39, label %106
39: ; preds = %29
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %40, %44
%46 = icmp slt i32 %45, 10
br i1 %46, label %47, label %106
47: ; preds = %39
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %48, %52
%54 = icmp sge i32 %53, 0
br i1 %54, label %55, label %106
55: ; preds = %47
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %56, %60
%62 = icmp slt i32 %61, 20
br i1 %62, label %63, label %106
63: ; preds = %55
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %65, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [20 x i8], ptr %64, i64 %71
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %73, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [20 x i8], ptr %72, i64 0, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 35
br i1 %83, label %84, label %106
84: ; preds = %63
%85 = load i32, ptr %8, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %86
%88 = load i32, ptr %87, align 4
%89 = load i32, ptr %6, align 4
%90 = add nsw i32 %89, %88
store i32 %90, ptr %6, align 4
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %92
%94 = load i32, ptr %93, align 4
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, %94
store i32 %96, ptr %7, align 4
%97 = load i64, ptr %10, align 8
%98 = trunc i64 %97 to i8
%99 = load ptr, ptr %4, align 8
%100 = load i32, ptr %6, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [20 x i8], ptr %99, i64 %101
%103 = load i32, ptr %7, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [20 x i8], ptr %102, i64 0, i64 %104
store i8 %98, ptr %105, align 1
br label %132
106: ; preds = %63, %55, %47, %39, %29
%107 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
%108 = load i32, ptr %107, align 16
%109 = icmp eq i32 %108, 1
br i1 %109, label %110, label %127
110: ; preds = %106
%111 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 1
%112 = load i32, ptr %111, align 4
%113 = icmp eq i32 %112, 1
br i1 %113, label %114, label %127
114: ; preds = %110
%115 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 2
%116 = load i32, ptr %115, align 8
%117 = icmp eq i32 %116, 1
br i1 %117, label %118, label %127
118: ; preds = %114
%119 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 3
%120 = load i32, ptr %119, align 4
%121 = icmp eq i32 %120, 1
br i1 %121, label %122, label %127
122: ; preds = %118
%123 = load i32, ptr %6, align 4
%124 = mul nsw i32 %123, 20
%125 = load i32, ptr %7, align 4
%126 = add nsw i32 %124, %125
store i32 %126, ptr %3, align 4
br label %143
127: ; preds = %118, %114, %110, %106
br label %128
128: ; preds = %127
%129 = load i32, ptr %8, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %130
store i32 1, ptr %131, align 4
br label %29
132: ; preds = %84
br label %133
133: ; preds = %132
%134 = load i64, ptr %10, align 8
%135 = add i64 %134, 1
store i64 %135, ptr %10, align 8
%136 = load i64, ptr %10, align 8
%137 = icmp ule i64 %136, 90
br i1 %137, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %133
br label %138
138: ; preds = %._crit_edge, %2
%139 = load i32, ptr %6, align 4
%140 = mul nsw i32 %139, 20
%141 = load i32, ptr %7, align 4
%142 = add nsw i32 %140, %141
store i32 %142, ptr %3, align 4
br label %143
143: ; preds = %138, %122
%144 = load i32, ptr %3, align 4
ret i32 %144
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @rand(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp917f9n6f.c'
source_filename = "/tmp/tmp917f9n6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispeek(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @peek(ptr noundef %7)
%9 = icmp eq i32 %6, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @peek(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp917f9n6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispeek(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @peek(ptr noundef %7)
%9 = icmp eq i32 %6, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @peek(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4yyka0cm.c'
source_filename = "/tmp/tmp4yyka0cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StaminaDrainForAttack(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%8 = load i32, ptr %3, align 4
%9 = udiv i32 %8, 1000
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = call zeroext i16 @WeaponTypeToBehaviorVariation(i32 noundef %10)
store i16 %11, ptr %6, align 2
%12 = load i16, ptr %6, align 2
%13 = zext i16 %12 to i32
%14 = mul nsw i32 %13, 1000
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @BehaviorAndAttackTypeToStaminaDrain(i32 noundef %18)
ret i32 %19
}
declare zeroext i16 @WeaponTypeToBehaviorVariation(i32 noundef) #1
declare i32 @BehaviorAndAttackTypeToStaminaDrain(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/tmp4yyka0cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StaminaDrainForAttack(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%8 = load i32, ptr %3, align 4
%9 = udiv i32 %8, 1000
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = call zeroext i16 @WeaponTypeToBehaviorVariation(i32 noundef %10)
store i16 %11, ptr %6, align 2
%12 = load i16, ptr %6, align 2
%13 = zext i16 %12 to i32
%14 = mul nsw i32 %13, 1000
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @BehaviorAndAttackTypeToStaminaDrain(i32 noundef %18)
ret i32 %19
}
declare zeroext i16 @WeaponTypeToBehaviorVariation(i32 noundef) #1
declare i32 @BehaviorAndAttackTypeToStaminaDrain(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.