llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp3emdcqd6.c'
source_filename = "/tmp/tmp3emdcqd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Fxshfr_ak1(i32 noundef %0, ptr noundef %1, double noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
%43 = alloca double, align 8
%44 = alloca double, align 8
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca double, align 8
%48 = alloca double, align 8
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca double, align 8
%52 = alloca double, align 8
%53 = alloca double, align 8
%54 = alloca double, align 8
%55 = alloca double, align 8
%56 = alloca double, align 8
%57 = alloca double, align 8
%58 = alloca double, align 8
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca double, align 8
%64 = alloca [101 x double], align 16
%65 = alloca [101 x double], align 16
store i32 %0, ptr %14, align 4
store ptr %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store i32 %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%66 = load ptr, ptr %15, align 8
store i32 0, ptr %66, align 4
store double 2.500000e-01, ptr %41, align 8
store double 2.500000e-01, ptr %42, align 8
%67 = load double, ptr %16, align 8
%68 = fmul double 2.000000e+00, %67
%69 = fneg double %68
store double %69, ptr %59, align 8
%70 = load double, ptr %16, align 8
store double %70, ptr %49, align 8
%71 = load double, ptr %17, align 8
store double %71, ptr %61, align 8
store double %71, ptr %52, align 8
%72 = load i32, ptr %21, align 4
%73 = load double, ptr %59, align 8
%74 = load double, ptr %61, align 8
%75 = load ptr, ptr %20, align 8
%76 = load ptr, ptr %22, align 8
%77 = call i32 @QuadSD_ak1(i32 noundef %72, double noundef %73, double noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %36, ptr noundef %40)
%78 = load i32, ptr %19, align 4
%79 = load double, ptr %36, align 8
%80 = load double, ptr %40, align 8
%81 = load ptr, ptr %18, align 8
%82 = load double, ptr %59, align 8
%83 = load double, ptr %61, align 8
%84 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%85 = call i32 @calcSC_ak1(i32 noundef %78, double noundef %79, double noundef %80, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %81, double noundef %82, double noundef %83, ptr noundef %84)
store i32 %85, ptr %33, align 4
store i32 0, ptr %30, align 4
br label %86
86: ; preds = %378, %13
%87 = load i32, ptr %30, align 4
%88 = load i32, ptr %14, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %381
90: ; preds = %86
%91 = load i32, ptr %19, align 4
%92 = load i32, ptr %33, align 4
%93 = load double, ptr %36, align 8
%94 = load double, ptr %40, align 8
%95 = load double, ptr %37, align 8
%96 = load ptr, ptr %18, align 8
%97 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%98 = load ptr, ptr %22, align 8
%99 = call i32 @nextK_ak1(i32 noundef %91, i32 noundef %92, double noundef %93, double noundef %94, double noundef %95, ptr noundef %38, ptr noundef %39, ptr noundef %96, ptr noundef %97, ptr noundef %98)
%100 = load i32, ptr %19, align 4
%101 = load double, ptr %36, align 8
%102 = load double, ptr %40, align 8
%103 = load ptr, ptr %18, align 8
%104 = load double, ptr %59, align 8
%105 = load double, ptr %61, align 8
%106 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%107 = call i32 @calcSC_ak1(i32 noundef %100, double noundef %101, double noundef %102, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %103, double noundef %104, double noundef %105, ptr noundef %106)
store i32 %107, ptr %33, align 4
%108 = load i32, ptr %33, align 4
%109 = load double, ptr %36, align 8
%110 = load double, ptr %37, align 8
%111 = load double, ptr %38, align 8
%112 = load double, ptr %39, align 8
%113 = load double, ptr %40, align 8
%114 = load double, ptr %43, align 8
%115 = load double, ptr %44, align 8
%116 = load double, ptr %46, align 8
%117 = load double, ptr %47, align 8
%118 = load double, ptr %48, align 8
%119 = load double, ptr %59, align 8
%120 = load double, ptr %61, align 8
%121 = load ptr, ptr %18, align 8
%122 = load i32, ptr %19, align 4
%123 = load ptr, ptr %20, align 8
%124 = call i32 @newest_ak1(i32 noundef %108, ptr noundef %60, ptr noundef %62, double noundef %109, double noundef %110, double noundef %111, double noundef %112, double noundef %113, double noundef %114, double noundef %115, double noundef %116, double noundef %117, double noundef %118, double noundef %119, double noundef %120, ptr noundef %121, i32 noundef %122, ptr noundef %123)
%125 = load double, ptr %62, align 8
store double %125, ptr %63, align 8
%126 = load ptr, ptr %18, align 8
%127 = load i32, ptr %19, align 4
%128 = sub nsw i32 %127, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %126, i64 %129
%131 = load double, ptr %130, align 8
%132 = fcmp une double %131, 0.000000e+00
br i1 %132, label %133, label %147
133: ; preds = %90
%134 = load ptr, ptr %20, align 8
%135 = load i32, ptr %19, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load double, ptr %137, align 8
%139 = load ptr, ptr %18, align 8
%140 = load i32, ptr %19, align 4
%141 = sub nsw i32 %140, 1
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %139, i64 %142
%144 = load double, ptr %143, align 8
%145 = fdiv double %138, %144
%146 = fneg double %145
br label %148
147: ; preds = %90
br label %148
148: ; preds = %147, %133
%149 = phi double [ %146, %133 ], [ 0.000000e+00, %147 ]
store double %149, ptr %54, align 8
store double 1.000000e+00, ptr %57, align 8
store double 1.000000e+00, ptr %55, align 8
%150 = load i32, ptr %30, align 4
%151 = icmp ne i32 %150, 0
br i1 %151, label %152, label %373
152: ; preds = %148
%153 = load i32, ptr %33, align 4
%154 = icmp ne i32 %153, 3
br i1 %154, label %155, label %373
155: ; preds = %152
%156 = load double, ptr %63, align 8
%157 = fcmp une double %156, 0.000000e+00
br i1 %157, label %158, label %165
158: ; preds = %155
%159 = load double, ptr %63, align 8
%160 = load double, ptr %52, align 8
%161 = fsub double %159, %160
%162 = load double, ptr %63, align 8
%163 = fdiv double %161, %162
%164 = call double @llvm.fabs.f64(double %163)
br label %167
165: ; preds = %155
%166 = load double, ptr %57, align 8
br label %167
167: ; preds = %165, %158
%168 = phi double [ %164, %158 ], [ %166, %165 ]
store double %168, ptr %57, align 8
%169 = load double, ptr %54, align 8
%170 = fcmp une double %169, 0.000000e+00
br i1 %170, label %171, label %178
171: ; preds = %167
%172 = load double, ptr %54, align 8
%173 = load double, ptr %49, align 8
%174 = fsub double %172, %173
%175 = load double, ptr %54, align 8
%176 = fdiv double %174, %175
%177 = call double @llvm.fabs.f64(double %176)
br label %180
178: ; preds = %167
%179 = load double, ptr %55, align 8
br label %180
180: ; preds = %178, %171
%181 = phi double [ %177, %171 ], [ %179, %178 ]
store double %181, ptr %55, align 8
%182 = load double, ptr %57, align 8
%183 = load double, ptr %51, align 8
%184 = fcmp olt double %182, %183
br i1 %184, label %185, label %189
185: ; preds = %180
%186 = load double, ptr %57, align 8
%187 = load double, ptr %51, align 8
%188 = fmul double %186, %187
br label %190
189: ; preds = %180
br label %190
190: ; preds = %189, %185
%191 = phi double [ %188, %185 ], [ 1.000000e+00, %189 ]
store double %191, ptr %58, align 8
%192 = load double, ptr %55, align 8
%193 = load double, ptr %50, align 8
%194 = fcmp olt double %192, %193
br i1 %194, label %195, label %199
195: ; preds = %190
%196 = load double, ptr %55, align 8
%197 = load double, ptr %50, align 8
%198 = fmul double %196, %197
br label %200
199: ; preds = %190
br label %200
200: ; preds = %199, %195
%201 = phi double [ %198, %195 ], [ 1.000000e+00, %199 ]
store double %201, ptr %56, align 8
%202 = load double, ptr %58, align 8
%203 = load double, ptr %42, align 8
%204 = fcmp olt double %202, %203
%205 = zext i1 %204 to i64
%206 = select i1 %204, i32 1, i32 0
store i32 %206, ptr %34, align 4
%207 = load double, ptr %56, align 8
%208 = load double, ptr %41, align 8
%209 = fcmp olt double %207, %208
%210 = zext i1 %209 to i64
%211 = select i1 %209, i32 1, i32 0
store i32 %211, ptr %31, align 4
%212 = load i32, ptr %31, align 4
%213 = icmp ne i32 %212, 0
br i1 %213, label %217, label %214
214: ; preds = %200
%215 = load i32, ptr %34, align 4
%216 = icmp ne i32 %215, 0
br i1 %216, label %217, label %372
217: ; preds = %214, %200
store i32 0, ptr %28, align 4
br label %218
218: ; preds = %231, %217
%219 = load i32, ptr %28, align 4
%220 = load i32, ptr %19, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %222, label %234
222: ; preds = %218
%223 = load ptr, ptr %18, align 8
%224 = load i32, ptr %28, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds double, ptr %223, i64 %225
%227 = load double, ptr %226, align 8
%228 = load i32, ptr %28, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %229
store double %227, ptr %230, align 8
br label %231
231: ; preds = %222
%232 = load i32, ptr %28, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %28, align 4
br label %218, !llvm.loop !6
234: ; preds = %218
%235 = load double, ptr %54, align 8
store double %235, ptr %53, align 8
store i32 0, ptr %35, align 4
store i32 0, ptr %32, align 4
store i32 1, ptr %27, align 4
br label %236
236: ; preds = %355, %234
store i32 1, ptr %29, align 4
%237 = load i32, ptr %27, align 4
%238 = icmp ne i32 %237, 0
br i1 %238, label %239, label %251
239: ; preds = %236
store i32 0, ptr %27, align 4
br i1 true, label %240, label %251
240: ; preds = %239
%241 = load i32, ptr %31, align 4
%242 = icmp ne i32 %241, 0
br i1 %242, label %243, label %251
243: ; preds = %240
%244 = load i32, ptr %34, align 4
%245 = icmp ne i32 %244, 0
br i1 %245, label %246, label %250
246: ; preds = %243
%247 = load double, ptr %56, align 8
%248 = load double, ptr %58, align 8
%249 = fcmp olt double %247, %248
br i1 %249, label %250, label %251
250: ; preds = %246, %243
br label %298
251: ; preds = %246, %240, %239, %236
%252 = load i32, ptr %19, align 4
%253 = load ptr, ptr %15, align 8
%254 = load double, ptr %60, align 8
%255 = load double, ptr %62, align 8
%256 = load ptr, ptr %26, align 8
%257 = load ptr, ptr %25, align 8
%258 = load ptr, ptr %24, align 8
%259 = load ptr, ptr %23, align 8
%260 = load ptr, ptr %22, align 8
%261 = load i32, ptr %21, align 4
%262 = load ptr, ptr %20, align 8
%263 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%264 = load ptr, ptr %18, align 8
%265 = call i32 @QuadIT_ak1(i32 noundef %252, ptr noundef %253, double noundef %254, double noundef %255, ptr noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef %260, i32 noundef %261, ptr noundef %36, ptr noundef %40, ptr noundef %262, ptr noundef %263, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %264)
%266 = load ptr, ptr %15, align 8
%267 = load i32, ptr %266, align 4
%268 = icmp sgt i32 %267, 0
br i1 %268, label %269, label %270
269: ; preds = %251
br label %382
270: ; preds = %251
store i32 1, ptr %35, align 4
%271 = load double, ptr %42, align 8
%272 = fmul double %271, 2.500000e-01
store double %272, ptr %42, align 8
%273 = load i32, ptr %32, align 4
%274 = icmp ne i32 %273, 0
br i1 %274, label %278, label %275
275: ; preds = %270
%276 = load i32, ptr %31, align 4
%277 = icmp ne i32 %276, 0
br i1 %277, label %279, label %278
278: ; preds = %275, %270
store i32 0, ptr %29, align 4
br label %297
279: ; preds = %275
store i32 0, ptr %28, align 4
br label %280
280: ; preds = %293, %279
%281 = load i32, ptr %28, align 4
%282 = load i32, ptr %19, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %296
284: ; preds = %280
%285 = load i32, ptr %28, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %286
%288 = load double, ptr %287, align 8
%289 = load ptr, ptr %18, align 8
%290 = load i32, ptr %28, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds double, ptr %289, i64 %291
store double %288, ptr %292, align 8
br label %293
293: ; preds = %284
%294 = load i32, ptr %28, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %28, align 4
br label %280, !llvm.loop !8
296: ; preds = %280
br label %297
297: ; preds = %296, %278
br label %298
298: ; preds = %297, %250
%299 = load i32, ptr %29, align 4
%300 = icmp ne i32 %299, 0
br i1 %300, label %301, label %330
301: ; preds = %298
%302 = load ptr, ptr %15, align 8
%303 = load i32, ptr %19, align 4
%304 = load ptr, ptr %20, align 8
%305 = load i32, ptr %21, align 4
%306 = load ptr, ptr %22, align 8
%307 = load ptr, ptr %26, align 8
%308 = load ptr, ptr %25, align 8
%309 = load ptr, ptr %18, align 8
%310 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%311 = call i32 @RealIT_ak1(ptr noundef %29, ptr noundef %302, ptr noundef %53, i32 noundef %303, ptr noundef %304, i32 noundef %305, ptr noundef %306, ptr noundef %307, ptr noundef %308, ptr noundef %309, ptr noundef %310)
%312 = load ptr, ptr %15, align 8
%313 = load i32, ptr %312, align 4
%314 = icmp sgt i32 %313, 0
br i1 %314, label %315, label %316
315: ; preds = %301
br label %382
316: ; preds = %301
store i32 1, ptr %32, align 4
%317 = load double, ptr %41, align 8
%318 = fmul double %317, 2.500000e-01
store double %318, ptr %41, align 8
%319 = load i32, ptr %29, align 4
%320 = icmp ne i32 %319, 0
br i1 %320, label %321, label %329
321: ; preds = %316
%322 = load double, ptr %53, align 8
%323 = load double, ptr %53, align 8
%324 = fadd double %322, %323
%325 = fneg double %324
store double %325, ptr %60, align 8
%326 = load double, ptr %53, align 8
%327 = load double, ptr %53, align 8
%328 = fmul double %326, %327
store double %328, ptr %62, align 8
br label %348
329: ; preds = %316
br label %330
330: ; preds = %329, %298
store i32 0, ptr %28, align 4
br label %331
331: ; preds = %344, %330
%332 = load i32, ptr %28, align 4
%333 = load i32, ptr %19, align 4
%334 = icmp slt i32 %332, %333
br i1 %334, label %335, label %347
335: ; preds = %331
%336 = load i32, ptr %28, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %337
%339 = load double, ptr %338, align 8
%340 = load ptr, ptr %18, align 8
%341 = load i32, ptr %28, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds double, ptr %340, i64 %342
store double %339, ptr %343, align 8
br label %344
344: ; preds = %335
%345 = load i32, ptr %28, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %28, align 4
br label %331, !llvm.loop !9
347: ; preds = %331
br label %348
348: ; preds = %347, %321
%349 = load i32, ptr %34, align 4
%350 = icmp ne i32 %349, 0
br i1 %350, label %351, label %355
351: ; preds = %348
%352 = load i32, ptr %35, align 4
%353 = icmp ne i32 %352, 0
%354 = xor i1 %353, true
br label %355
355: ; preds = %351, %348
%356 = phi i1 [ false, %348 ], [ %354, %351 ]
br i1 %356, label %236, label %357, !llvm.loop !10
357: ; preds = %355
%358 = load i32, ptr %21, align 4
%359 = load double, ptr %59, align 8
%360 = load double, ptr %61, align 8
%361 = load ptr, ptr %20, align 8
%362 = load ptr, ptr %22, align 8
%363 = call i32 @QuadSD_ak1(i32 noundef %358, double noundef %359, double noundef %360, ptr noundef %361, ptr noundef %362, ptr noundef %36, ptr noundef %40)
%364 = load i32, ptr %19, align 4
%365 = load double, ptr %36, align 8
%366 = load double, ptr %40, align 8
%367 = load ptr, ptr %18, align 8
%368 = load double, ptr %59, align 8
%369 = load double, ptr %61, align 8
%370 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%371 = call i32 @calcSC_ak1(i32 noundef %364, double noundef %365, double noundef %366, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %367, double noundef %368, double noundef %369, ptr noundef %370)
store i32 %371, ptr %33, align 4
br label %372
372: ; preds = %357, %214
br label %373
373: ; preds = %372, %152, %148
%374 = load double, ptr %63, align 8
store double %374, ptr %52, align 8
%375 = load double, ptr %54, align 8
store double %375, ptr %49, align 8
%376 = load double, ptr %57, align 8
store double %376, ptr %51, align 8
%377 = load double, ptr %55, align 8
store double %377, ptr %50, align 8
br label %378
378: ; preds = %373
%379 = load i32, ptr %30, align 4
%380 = add nsw i32 %379, 1
store i32 %380, ptr %30, align 4
br label %86, !llvm.loop !11
381: ; preds = %86
br label %382
382: ; preds = %381, %315, %269
ret void
}
declare i32 @QuadSD_ak1(i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calcSC_ak1(i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @nextK_ak1(i32 noundef, i32 noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @newest_ak1(i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @QuadIT_ak1(i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @RealIT_ak1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3emdcqd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Fxshfr_ak1(i32 noundef %0, ptr noundef %1, double noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca double, align 8
%41 = alloca double, align 8
%42 = alloca double, align 8
%43 = alloca double, align 8
%44 = alloca double, align 8
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca double, align 8
%48 = alloca double, align 8
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca double, align 8
%52 = alloca double, align 8
%53 = alloca double, align 8
%54 = alloca double, align 8
%55 = alloca double, align 8
%56 = alloca double, align 8
%57 = alloca double, align 8
%58 = alloca double, align 8
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca double, align 8
%64 = alloca [101 x double], align 16
%65 = alloca [101 x double], align 16
store i32 %0, ptr %14, align 4
store ptr %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store i32 %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%66 = load ptr, ptr %15, align 8
store i32 0, ptr %66, align 4
store double 2.500000e-01, ptr %41, align 8
store double 2.500000e-01, ptr %42, align 8
%67 = load double, ptr %16, align 8
%68 = fmul double 2.000000e+00, %67
%69 = fneg double %68
store double %69, ptr %59, align 8
%70 = load double, ptr %16, align 8
store double %70, ptr %49, align 8
%71 = load double, ptr %17, align 8
store double %71, ptr %61, align 8
store double %71, ptr %52, align 8
%72 = load i32, ptr %21, align 4
%73 = load double, ptr %59, align 8
%74 = load double, ptr %61, align 8
%75 = load ptr, ptr %20, align 8
%76 = load ptr, ptr %22, align 8
%77 = call i32 @QuadSD_ak1(i32 noundef %72, double noundef %73, double noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %36, ptr noundef %40)
%78 = load i32, ptr %19, align 4
%79 = load double, ptr %36, align 8
%80 = load double, ptr %40, align 8
%81 = load ptr, ptr %18, align 8
%82 = load double, ptr %59, align 8
%83 = load double, ptr %61, align 8
%84 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%85 = call i32 @calcSC_ak1(i32 noundef %78, double noundef %79, double noundef %80, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %81, double noundef %82, double noundef %83, ptr noundef %84)
store i32 %85, ptr %33, align 4
store i32 0, ptr %30, align 4
%86 = load i32, ptr %30, align 4
%87 = load i32, ptr %14, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph8, label %389
.lr.ph8: ; preds = %13
br label %89
89: ; preds = %.lr.ph8, %383
%90 = load i32, ptr %19, align 4
%91 = load i32, ptr %33, align 4
%92 = load double, ptr %36, align 8
%93 = load double, ptr %40, align 8
%94 = load double, ptr %37, align 8
%95 = load ptr, ptr %18, align 8
%96 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%97 = load ptr, ptr %22, align 8
%98 = call i32 @nextK_ak1(i32 noundef %90, i32 noundef %91, double noundef %92, double noundef %93, double noundef %94, ptr noundef %38, ptr noundef %39, ptr noundef %95, ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %19, align 4
%100 = load double, ptr %36, align 8
%101 = load double, ptr %40, align 8
%102 = load ptr, ptr %18, align 8
%103 = load double, ptr %59, align 8
%104 = load double, ptr %61, align 8
%105 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%106 = call i32 @calcSC_ak1(i32 noundef %99, double noundef %100, double noundef %101, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %102, double noundef %103, double noundef %104, ptr noundef %105)
store i32 %106, ptr %33, align 4
%107 = load i32, ptr %33, align 4
%108 = load double, ptr %36, align 8
%109 = load double, ptr %37, align 8
%110 = load double, ptr %38, align 8
%111 = load double, ptr %39, align 8
%112 = load double, ptr %40, align 8
%113 = load double, ptr %43, align 8
%114 = load double, ptr %44, align 8
%115 = load double, ptr %46, align 8
%116 = load double, ptr %47, align 8
%117 = load double, ptr %48, align 8
%118 = load double, ptr %59, align 8
%119 = load double, ptr %61, align 8
%120 = load ptr, ptr %18, align 8
%121 = load i32, ptr %19, align 4
%122 = load ptr, ptr %20, align 8
%123 = call i32 @newest_ak1(i32 noundef %107, ptr noundef %60, ptr noundef %62, double noundef %108, double noundef %109, double noundef %110, double noundef %111, double noundef %112, double noundef %113, double noundef %114, double noundef %115, double noundef %116, double noundef %117, double noundef %118, double noundef %119, ptr noundef %120, i32 noundef %121, ptr noundef %122)
%124 = load double, ptr %62, align 8
store double %124, ptr %63, align 8
%125 = load ptr, ptr %18, align 8
%126 = load i32, ptr %19, align 4
%127 = sub nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %125, i64 %128
%130 = load double, ptr %129, align 8
%131 = fcmp une double %130, 0.000000e+00
br i1 %131, label %132, label %146
132: ; preds = %89
%133 = load ptr, ptr %20, align 8
%134 = load i32, ptr %19, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %133, i64 %135
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %18, align 8
%139 = load i32, ptr %19, align 4
%140 = sub nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %138, i64 %141
%143 = load double, ptr %142, align 8
%144 = fdiv double %137, %143
%145 = fneg double %144
br label %147
146: ; preds = %89
br label %147
147: ; preds = %146, %132
%148 = phi double [ %145, %132 ], [ 0.000000e+00, %146 ]
store double %148, ptr %54, align 8
store double 1.000000e+00, ptr %57, align 8
store double 1.000000e+00, ptr %55, align 8
%149 = load i32, ptr %30, align 4
%150 = icmp ne i32 %149, 0
br i1 %150, label %151, label %378
151: ; preds = %147
%152 = load i32, ptr %33, align 4
%153 = icmp ne i32 %152, 3
br i1 %153, label %154, label %378
154: ; preds = %151
%155 = load double, ptr %63, align 8
%156 = fcmp une double %155, 0.000000e+00
br i1 %156, label %157, label %164
157: ; preds = %154
%158 = load double, ptr %63, align 8
%159 = load double, ptr %52, align 8
%160 = fsub double %158, %159
%161 = load double, ptr %63, align 8
%162 = fdiv double %160, %161
%163 = call double @llvm.fabs.f64(double %162)
br label %166
164: ; preds = %154
%165 = load double, ptr %57, align 8
br label %166
166: ; preds = %164, %157
%167 = phi double [ %163, %157 ], [ %165, %164 ]
store double %167, ptr %57, align 8
%168 = load double, ptr %54, align 8
%169 = fcmp une double %168, 0.000000e+00
br i1 %169, label %170, label %177
170: ; preds = %166
%171 = load double, ptr %54, align 8
%172 = load double, ptr %49, align 8
%173 = fsub double %171, %172
%174 = load double, ptr %54, align 8
%175 = fdiv double %173, %174
%176 = call double @llvm.fabs.f64(double %175)
br label %179
177: ; preds = %166
%178 = load double, ptr %55, align 8
br label %179
179: ; preds = %177, %170
%180 = phi double [ %176, %170 ], [ %178, %177 ]
store double %180, ptr %55, align 8
%181 = load double, ptr %57, align 8
%182 = load double, ptr %51, align 8
%183 = fcmp olt double %181, %182
br i1 %183, label %184, label %188
184: ; preds = %179
%185 = load double, ptr %57, align 8
%186 = load double, ptr %51, align 8
%187 = fmul double %185, %186
br label %189
188: ; preds = %179
br label %189
189: ; preds = %188, %184
%190 = phi double [ %187, %184 ], [ 1.000000e+00, %188 ]
store double %190, ptr %58, align 8
%191 = load double, ptr %55, align 8
%192 = load double, ptr %50, align 8
%193 = fcmp olt double %191, %192
br i1 %193, label %194, label %198
194: ; preds = %189
%195 = load double, ptr %55, align 8
%196 = load double, ptr %50, align 8
%197 = fmul double %195, %196
br label %199
198: ; preds = %189
br label %199
199: ; preds = %198, %194
%200 = phi double [ %197, %194 ], [ 1.000000e+00, %198 ]
store double %200, ptr %56, align 8
%201 = load double, ptr %58, align 8
%202 = load double, ptr %42, align 8
%203 = fcmp olt double %201, %202
%204 = zext i1 %203 to i64
%205 = select i1 %203, i32 1, i32 0
store i32 %205, ptr %34, align 4
%206 = load double, ptr %56, align 8
%207 = load double, ptr %41, align 8
%208 = fcmp olt double %206, %207
%209 = zext i1 %208 to i64
%210 = select i1 %208, i32 1, i32 0
store i32 %210, ptr %31, align 4
%211 = load i32, ptr %31, align 4
%212 = icmp ne i32 %211, 0
br i1 %212, label %216, label %213
213: ; preds = %199
%214 = load i32, ptr %34, align 4
%215 = icmp ne i32 %214, 0
br i1 %215, label %216, label %377
216: ; preds = %213, %199
store i32 0, ptr %28, align 4
%217 = load i32, ptr %28, align 4
%218 = load i32, ptr %19, align 4
%219 = icmp slt i32 %217, %218
br i1 %219, label %.lr.ph, label %235
.lr.ph: ; preds = %216
br label %220
220: ; preds = %.lr.ph, %229
%221 = load ptr, ptr %18, align 8
%222 = load i32, ptr %28, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds double, ptr %221, i64 %223
%225 = load double, ptr %224, align 8
%226 = load i32, ptr %28, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %227
store double %225, ptr %228, align 8
br label %229
229: ; preds = %220
%230 = load i32, ptr %28, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %28, align 4
%232 = load i32, ptr %28, align 4
%233 = load i32, ptr %19, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %220, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %229
br label %235
235: ; preds = %._crit_edge, %216
%236 = load double, ptr %54, align 8
store double %236, ptr %53, align 8
store i32 0, ptr %35, align 4
store i32 0, ptr %32, align 4
store i32 1, ptr %27, align 4
br label %237
237: ; preds = %360, %235
store i32 1, ptr %29, align 4
%238 = load i32, ptr %27, align 4
%239 = icmp ne i32 %238, 0
br i1 %239, label %240, label %252
240: ; preds = %237
store i32 0, ptr %27, align 4
br i1 true, label %241, label %252
241: ; preds = %240
%242 = load i32, ptr %31, align 4
%243 = icmp ne i32 %242, 0
br i1 %243, label %244, label %252
244: ; preds = %241
%245 = load i32, ptr %34, align 4
%246 = icmp ne i32 %245, 0
br i1 %246, label %247, label %251
247: ; preds = %244
%248 = load double, ptr %56, align 8
%249 = load double, ptr %58, align 8
%250 = fcmp olt double %248, %249
br i1 %250, label %251, label %252
251: ; preds = %247, %244
br label %301
252: ; preds = %247, %241, %240, %237
%253 = load i32, ptr %19, align 4
%254 = load ptr, ptr %15, align 8
%255 = load double, ptr %60, align 8
%256 = load double, ptr %62, align 8
%257 = load ptr, ptr %26, align 8
%258 = load ptr, ptr %25, align 8
%259 = load ptr, ptr %24, align 8
%260 = load ptr, ptr %23, align 8
%261 = load ptr, ptr %22, align 8
%262 = load i32, ptr %21, align 4
%263 = load ptr, ptr %20, align 8
%264 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%265 = load ptr, ptr %18, align 8
%266 = call i32 @QuadIT_ak1(i32 noundef %253, ptr noundef %254, double noundef %255, double noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef %260, ptr noundef %261, i32 noundef %262, ptr noundef %36, ptr noundef %40, ptr noundef %263, ptr noundef %264, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %265)
%267 = load ptr, ptr %15, align 8
%268 = load i32, ptr %267, align 4
%269 = icmp sgt i32 %268, 0
br i1 %269, label %270, label %271
270: ; preds = %252
br label %390
271: ; preds = %252
store i32 1, ptr %35, align 4
%272 = load double, ptr %42, align 8
%273 = fmul double %272, 2.500000e-01
store double %273, ptr %42, align 8
%274 = load i32, ptr %32, align 4
%275 = icmp ne i32 %274, 0
br i1 %275, label %279, label %276
276: ; preds = %271
%277 = load i32, ptr %31, align 4
%278 = icmp ne i32 %277, 0
br i1 %278, label %280, label %279
279: ; preds = %276, %271
store i32 0, ptr %29, align 4
br label %300
280: ; preds = %276
store i32 0, ptr %28, align 4
%281 = load i32, ptr %28, align 4
%282 = load i32, ptr %19, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %.lr.ph2, label %299
.lr.ph2: ; preds = %280
br label %284
284: ; preds = %.lr.ph2, %293
%285 = load i32, ptr %28, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %286
%288 = load double, ptr %287, align 8
%289 = load ptr, ptr %18, align 8
%290 = load i32, ptr %28, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds double, ptr %289, i64 %291
store double %288, ptr %292, align 8
br label %293
293: ; preds = %284
%294 = load i32, ptr %28, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %28, align 4
%296 = load i32, ptr %28, align 4
%297 = load i32, ptr %19, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %284, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %293
br label %299
299: ; preds = %._crit_edge3, %280
br label %300
300: ; preds = %299, %279
br label %301
301: ; preds = %300, %251
%302 = load i32, ptr %29, align 4
%303 = icmp ne i32 %302, 0
br i1 %303, label %304, label %333
304: ; preds = %301
%305 = load ptr, ptr %15, align 8
%306 = load i32, ptr %19, align 4
%307 = load ptr, ptr %20, align 8
%308 = load i32, ptr %21, align 4
%309 = load ptr, ptr %22, align 8
%310 = load ptr, ptr %26, align 8
%311 = load ptr, ptr %25, align 8
%312 = load ptr, ptr %18, align 8
%313 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%314 = call i32 @RealIT_ak1(ptr noundef %29, ptr noundef %305, ptr noundef %53, i32 noundef %306, ptr noundef %307, i32 noundef %308, ptr noundef %309, ptr noundef %310, ptr noundef %311, ptr noundef %312, ptr noundef %313)
%315 = load ptr, ptr %15, align 8
%316 = load i32, ptr %315, align 4
%317 = icmp sgt i32 %316, 0
br i1 %317, label %318, label %319
318: ; preds = %304
br label %390
319: ; preds = %304
store i32 1, ptr %32, align 4
%320 = load double, ptr %41, align 8
%321 = fmul double %320, 2.500000e-01
store double %321, ptr %41, align 8
%322 = load i32, ptr %29, align 4
%323 = icmp ne i32 %322, 0
br i1 %323, label %324, label %332
324: ; preds = %319
%325 = load double, ptr %53, align 8
%326 = load double, ptr %53, align 8
%327 = fadd double %325, %326
%328 = fneg double %327
store double %328, ptr %60, align 8
%329 = load double, ptr %53, align 8
%330 = load double, ptr %53, align 8
%331 = fmul double %329, %330
store double %331, ptr %62, align 8
br label %353
332: ; preds = %319
br label %333
333: ; preds = %332, %301
store i32 0, ptr %28, align 4
%334 = load i32, ptr %28, align 4
%335 = load i32, ptr %19, align 4
%336 = icmp slt i32 %334, %335
br i1 %336, label %.lr.ph5, label %352
.lr.ph5: ; preds = %333
br label %337
337: ; preds = %.lr.ph5, %346
%338 = load i32, ptr %28, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds [101 x double], ptr %65, i64 0, i64 %339
%341 = load double, ptr %340, align 8
%342 = load ptr, ptr %18, align 8
%343 = load i32, ptr %28, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
store double %341, ptr %345, align 8
br label %346
346: ; preds = %337
%347 = load i32, ptr %28, align 4
%348 = add nsw i32 %347, 1
store i32 %348, ptr %28, align 4
%349 = load i32, ptr %28, align 4
%350 = load i32, ptr %19, align 4
%351 = icmp slt i32 %349, %350
br i1 %351, label %337, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %346
br label %352
352: ; preds = %._crit_edge6, %333
br label %353
353: ; preds = %352, %324
%354 = load i32, ptr %34, align 4
%355 = icmp ne i32 %354, 0
br i1 %355, label %356, label %360
356: ; preds = %353
%357 = load i32, ptr %35, align 4
%358 = icmp ne i32 %357, 0
%359 = xor i1 %358, true
br label %360
360: ; preds = %356, %353
%361 = phi i1 [ false, %353 ], [ %359, %356 ]
br i1 %361, label %237, label %362, !llvm.loop !10
362: ; preds = %360
%363 = load i32, ptr %21, align 4
%364 = load double, ptr %59, align 8
%365 = load double, ptr %61, align 8
%366 = load ptr, ptr %20, align 8
%367 = load ptr, ptr %22, align 8
%368 = call i32 @QuadSD_ak1(i32 noundef %363, double noundef %364, double noundef %365, ptr noundef %366, ptr noundef %367, ptr noundef %36, ptr noundef %40)
%369 = load i32, ptr %19, align 4
%370 = load double, ptr %36, align 8
%371 = load double, ptr %40, align 8
%372 = load ptr, ptr %18, align 8
%373 = load double, ptr %59, align 8
%374 = load double, ptr %61, align 8
%375 = getelementptr inbounds [101 x double], ptr %64, i64 0, i64 0
%376 = call i32 @calcSC_ak1(i32 noundef %369, double noundef %370, double noundef %371, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %372, double noundef %373, double noundef %374, ptr noundef %375)
store i32 %376, ptr %33, align 4
br label %377
377: ; preds = %362, %213
br label %378
378: ; preds = %377, %151, %147
%379 = load double, ptr %63, align 8
store double %379, ptr %52, align 8
%380 = load double, ptr %54, align 8
store double %380, ptr %49, align 8
%381 = load double, ptr %57, align 8
store double %381, ptr %51, align 8
%382 = load double, ptr %55, align 8
store double %382, ptr %50, align 8
br label %383
383: ; preds = %378
%384 = load i32, ptr %30, align 4
%385 = add nsw i32 %384, 1
store i32 %385, ptr %30, align 4
%386 = load i32, ptr %30, align 4
%387 = load i32, ptr %14, align 4
%388 = icmp slt i32 %386, %387
br i1 %388, label %89, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %383
br label %389
389: ; preds = %._crit_edge9, %13
br label %390
390: ; preds = %389, %318, %270
ret void
}
declare i32 @QuadSD_ak1(i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @calcSC_ak1(i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @nextK_ak1(i32 noundef, i32 noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @newest_ak1(i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @QuadIT_ak1(i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @RealIT_ak1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp_yfw1hd8.c'
source_filename = "/tmp/tmp_yfw1hd8.c"
target datalayout = "e-m:e-p270: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_yfw1hd8.c"
target datalayout = "e-m:e-p270: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/tmpek51lx38.c'
source_filename = "/tmp/tmpek51lx38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"bind error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"recvfrom error!\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%s\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 %struct.sockaddr_in, align 4
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false)
store i32 0, ptr %6, align 4
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_DGRAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %0
%14 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = call i32 @htons(i32 noundef 8888)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %2, align 4
%24 = call i64 @bind(i32 noundef %23, ptr noundef %3, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %13
%29 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @sendto(i32 noundef %31, ptr noundef %32, i32 noundef 1024, i32 noundef 0, ptr noundef %3, i32 noundef 12)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%36 = call i32 @recvfrom(i32 noundef %34, ptr noundef %35, i32 noundef 1024, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %41
39: ; preds = %28
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %48
41: ; preds = %28
%42 = load i32, ptr %6, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45)
br label %47
47: ; preds = %44, %41
br label %48
48: ; preds = %47, %39
%49 = load i32, ptr %2, align 4
%50 = call i32 @close(i32 noundef %49)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @htonl(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpek51lx38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"bind error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"recvfrom error!\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%s\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 %struct.sockaddr_in, align 4
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false)
store i32 0, ptr %6, align 4
%7 = load i32, ptr @PF_INET, align 4
%8 = load i32, ptr @SOCK_DGRAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %0
%14 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = call i32 @htons(i32 noundef 8888)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %2, align 4
%24 = call i64 @bind(i32 noundef %23, ptr noundef %3, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %13
%29 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @sendto(i32 noundef %31, ptr noundef %32, i32 noundef 1024, i32 noundef 0, ptr noundef %3, i32 noundef 12)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%36 = call i32 @recvfrom(i32 noundef %34, ptr noundef %35, i32 noundef 1024, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %41
39: ; preds = %28
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %48
41: ; preds = %28
%42 = load i32, ptr %6, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45)
br label %47
47: ; preds = %44, %41
br label %48
48: ; preds = %47, %39
%49 = load i32, ptr %2, align 4
%50 = call i32 @close(i32 noundef %49)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @htonl(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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"}
|
; ModuleID = '/tmp/tmp7b59l8e8.c'
source_filename = "/tmp/tmp7b59l8e8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7b59l8e8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqv495fct.c'
source_filename = "/tmp/tmpqv495fct.c"
target datalayout = "e-m:e-p270: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/tmpqv495fct.c"
target datalayout = "e-m:e-p270: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/tmpwjszj7xq.c'
source_filename = "/tmp/tmpwjszj7xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@custom_hton._test_big_endian = internal global i32 42, align 4
@custom_hton._is_big_endian = internal global i32 -1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @custom_hton(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @custom_hton._is_big_endian, align 4
switch i32 %5, label %11 [
i32 0, label %6
i32 1, label %10
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @__byte_swap_slow(ptr noundef %7, i32 noundef %8)
br label %21
10: ; preds = %2
br label %21
11: ; preds = %2
%12 = load i8, ptr @custom_hton._test_big_endian, align 4
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 42
br i1 %14, label %15, label %19
15: ; preds = %11
store i32 0, ptr @custom_hton._is_big_endian, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call i32 @__byte_swap_slow(ptr noundef %16, i32 noundef %17)
br label %20
19: ; preds = %11
store i32 1, ptr @custom_hton._is_big_endian, align 4
br label %20
20: ; preds = %19, %15
br label %21
21: ; preds = %20, %10, %6
ret void
}
declare i32 @__byte_swap_slow(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/tmpwjszj7xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@custom_hton._test_big_endian = internal global i32 42, align 4
@custom_hton._is_big_endian = internal global i32 -1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @custom_hton(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @custom_hton._is_big_endian, align 4
switch i32 %5, label %11 [
i32 0, label %6
i32 1, label %10
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @__byte_swap_slow(ptr noundef %7, i32 noundef %8)
br label %21
10: ; preds = %2
br label %21
11: ; preds = %2
%12 = load i8, ptr @custom_hton._test_big_endian, align 4
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 42
br i1 %14, label %15, label %19
15: ; preds = %11
store i32 0, ptr @custom_hton._is_big_endian, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call i32 @__byte_swap_slow(ptr noundef %16, i32 noundef %17)
br label %20
19: ; preds = %11
store i32 1, ptr @custom_hton._is_big_endian, align 4
br label %20
20: ; preds = %19, %15
br label %21
21: ; preds = %20, %10, %6
ret void
}
declare i32 @__byte_swap_slow(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/tmp813wak58.c'
source_filename = "/tmp/tmp813wak58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp813wak58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz7f3ssda.c'
source_filename = "/tmp/tmpz7f3ssda.c"
target datalayout = "e-m:e-p270: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/tmpz7f3ssda.c"
target datalayout = "e-m:e-p270: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/tmp7059njr2.c'
source_filename = "/tmp/tmp7059njr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutex_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
br label %6
6: ; preds = %5, %6
br label %6
7: ; preds = %1
%8 = call i32 (...) @__infer_nondet_int()
ret i32 %8
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7059njr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutex_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
br label %6
6: ; preds = %6, %5
br label %6
7: ; preds = %1
%8 = call i32 (...) @__infer_nondet_int()
ret i32 %8
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxu2fiug3.c'
source_filename = "/tmp/tmpxu2fiug3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ptmx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_openpt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @open(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/tmpxu2fiug3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ptmx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_openpt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @open(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/tmpc2ff5aqj.c'
source_filename = "/tmp/tmpc2ff5aqj.c"
target datalayout = "e-m:e-p270: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.offset = private unnamed_addr constant [6 x i32] [i32 0, i32 1, i32 2, i32 524288, i32 1048574, i32 1048575], align 16
@.str = private unnamed_addr constant [21 x i8] c"abort due to errors\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"finished with %d errors\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.offset, i64 24, i1 false)
store i32 6, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %39, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 6
br i1 %9, label %10, label %42
10: ; preds = %7
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %35, %10
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 6
br i1 %13, label %14, label %38
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = sub nsw i32 8388608, %22
%24 = call i64 @Test(i32 noundef %18, i32 noundef %23)
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp sgt i32 %29, 20
br i1 %30, label %31, label %34
31: ; preds = %14
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%33 = load i32, ptr %4, align 4
store i32 %33, ptr %1, align 4
br label %46
34: ; preds = %14
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %11, !llvm.loop !6
38: ; preds = %11
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %7, !llvm.loop !8
42: ; preds = %7
%43 = load i32, ptr %4, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43)
%45 = load i32, ptr %4, align 4
store i32 %45, ptr %1, align 4
br label %46
46: ; preds = %42, %31
%47 = load i32, ptr %1, align 4
ret i32 %47
}
; 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 i64 @Test(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc2ff5aqj.c"
target datalayout = "e-m:e-p270: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.offset = private unnamed_addr constant [6 x i32] [i32 0, i32 1, i32 2, i32 524288, i32 1048574, i32 1048575], align 16
@.str = private unnamed_addr constant [21 x i8] c"abort due to errors\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"finished with %d errors\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.offset, i64 24, i1 false)
store i32 6, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 6
br i1 %8, label %.lr.ph2, label %44
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %39
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 6
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %33
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 8388608, %20
%22 = call i64 @Test(i32 noundef %16, i32 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = add nsw i64 %24, %22
%26 = trunc i64 %25 to i32
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %27, 20
br i1 %28, label %29, label %32
29: ; preds = %12
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%31 = load i32, ptr %4, align 4
store i32 %31, ptr %1, align 4
br label %48
32: ; preds = %12
br label %33
33: ; preds = %32
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %36, 6
br i1 %37, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %9
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 6
br i1 %43, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %0
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %45)
%47 = load i32, ptr %4, align 4
store i32 %47, ptr %1, align 4
br label %48
48: ; preds = %44, %29
%49 = load i32, ptr %1, align 4
ret i32 %49
}
; 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 i64 @Test(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprsjzl9q_.c'
source_filename = "/tmp/tmprsjzl9q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"we will send msg %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"we want to recv msg %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"[udp_send] sendto error\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"[udp_send] recvfrom error\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"we1 have recv %s from %s:%d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca i32, align 4
%13 = alloca [1024 x i8], align 16
%14 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %50, %3
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 100
br i1 %17, label %18, label %62
18: ; preds = %15
%19 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 1024)
%21 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%22 = load i32, ptr %9, align 4
%23 = call i32 @snprintf(ptr noundef %21, i32 noundef 1024, ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
%29 = load i32, ptr %5, align 4
%30 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%31 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%32 = call i32 @strlen(ptr noundef %31)
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @sendto(i32 noundef %29, ptr noundef %30, i32 noundef %32, i32 noundef 0, ptr noundef %33, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %40
38: ; preds = %18
%39 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
br label %63
40: ; preds = %18
%41 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%42 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef 1024)
store i32 8, ptr %12, align 4
%43 = load i32, ptr %5, align 4
%44 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%45 = call i32 @recvfrom(i32 noundef %43, ptr noundef %44, i32 noundef 1024, i32 noundef 0, ptr noundef %11, ptr noundef %12)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = call i32 @perror(ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
br label %63
50: ; preds = %40
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 1024, i1 false)
%51 = load i32, ptr @AF_INET, align 4
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%53 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%54 = call ptr @inet_ntop(i32 noundef %51, ptr noundef %52, ptr noundef %53, i32 noundef 1024)
store ptr %54, ptr %14, align 8
%55 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%56 = load ptr, ptr %14, align 8
%57 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %55, ptr noundef %56, i32 noundef %58)
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
br label %15, !llvm.loop !6
62: ; preds = %15
store i32 0, ptr %4, align 4
br label %63
63: ; preds = %62, %48, %38
%64 = load i32, ptr %4, align 4
ret i32 %64
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprsjzl9q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"we will send msg %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"we want to recv msg %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"[udp_send] sendto error\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"[udp_send] recvfrom error\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"we1 have recv %s from %s:%d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca i32, align 4
%13 = alloca [1024 x i8], align 16
%14 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 100
br i1 %16, label %.lr.ph, label %63
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %49
%18 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 1024)
%20 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%21 = load i32, ptr %9, align 4
%22 = call i32 @snprintf(ptr noundef %20, i32 noundef 1024, ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %9, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26)
%28 = load i32, ptr %5, align 4
%29 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%30 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = call i32 @sendto(i32 noundef %28, ptr noundef %29, i32 noundef %31, i32 noundef 0, ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %17
%38 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
br label %64
39: ; preds = %17
%40 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 1024)
store i32 8, ptr %12, align 4
%42 = load i32, ptr %5, align 4
%43 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%44 = call i32 @recvfrom(i32 noundef %42, ptr noundef %43, i32 noundef 1024, i32 noundef 0, ptr noundef %11, ptr noundef %12)
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = call i32 @perror(ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
br label %64
49: ; preds = %39
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 1024, i1 false)
%50 = load i32, ptr @AF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%52 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%53 = call ptr @inet_ntop(i32 noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef 1024)
store ptr %53, ptr %14, align 8
%54 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%55 = load ptr, ptr %14, align 8
%56 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %54, ptr noundef %55, i32 noundef %57)
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %61, 100
br i1 %62, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %63
63: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %64
64: ; preds = %63, %47, %37
%65 = load i32, ptr %4, align 4
ret i32 %65
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1nlysb0a.c'
source_filename = "/tmp/tmp1nlysb0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Esta es la serie al derecho:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"\0AEsta es la serie al r\C3\A9ves:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %2, align 4
br label %12
12: ; preds = %68, %0
%13 = load i32, ptr %2, align 4
%14 = icmp sle i32 %13, 26
br i1 %14, label %15, label %71
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %16, %17
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr %5, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %3, align 4
%25 = mul nsw i32 %24, -1
store i32 %25, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %26
26: ; preds = %23, %15
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 9
br i1 %34, label %35, label %67
35: ; preds = %26
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 26, ptr %2, align 4
br label %38
38: ; preds = %63, %35
%39 = load i32, ptr %2, align 4
%40 = icmp sge i32 %39, 2
br i1 %40, label %41, label %66
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 2
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 %45, -1
store i32 %46, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %47
47: ; preds = %44, %41
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %51)
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %2, align 4
%56 = sub nsw i32 %55, 2
store i32 %56, ptr %2, align 4
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp eq i32 %59, 9
br i1 %60, label %61, label %62
61: ; preds = %47
store i32 0, ptr %1, align 4
br label %71
62: ; preds = %47
br label %63
63: ; preds = %62
%64 = load i32, ptr %2, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %2, align 4
br label %38, !llvm.loop !6
66: ; preds = %38
br label %67
67: ; preds = %66, %26
br label %68
68: ; preds = %67
%69 = load i32, ptr %2, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %2, align 4
br label %12, !llvm.loop !8
71: ; preds = %61, %12
%72 = load i32, ptr %1, align 4
ret i32 %72
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1nlysb0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Esta es la serie al derecho:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"\0AEsta es la serie al r\C3\A9ves:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 26
br i1 %13, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %0
br label %14
14: ; preds = %.lr.ph2, %68
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %15, %16
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 2
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %23, -1
store i32 %24, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %25
25: ; preds = %22, %14
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 2
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp eq i32 %32, 9
br i1 %33, label %34, label %67
34: ; preds = %25
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 26, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp sge i32 %37, 2
br i1 %38, label %.lr.ph, label %66
.lr.ph: ; preds = %34
br label %39
39: ; preds = %.lr.ph, %61
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, 2
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, ptr %4, align 4
%44 = mul nsw i32 %43, -1
store i32 %44, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %45
45: ; preds = %42, %39
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %2, align 4
%48 = mul nsw i32 %46, %47
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49)
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %2, align 4
%54 = sub nsw i32 %53, 2
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = icmp eq i32 %57, 9
br i1 %58, label %59, label %60
59: ; preds = %45
store i32 0, ptr %1, align 4
br label %73
60: ; preds = %45
br label %61
61: ; preds = %60
%62 = load i32, ptr %2, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %2, align 4
%64 = load i32, ptr %2, align 4
%65 = icmp sge i32 %64, 2
br i1 %65, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %66
66: ; preds = %._crit_edge, %34
br label %67
67: ; preds = %66, %25
br label %68
68: ; preds = %67
%69 = load i32, ptr %2, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %2, align 4
%71 = load i32, ptr %2, align 4
%72 = icmp sle i32 %71, 26
br i1 %72, label %14, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %68
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %73
73: ; preds = %.loopexit, %59
%74 = load i32, ptr %1, align 4
ret i32 %74
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpas5sf6dy.c'
source_filename = "/tmp/tmpas5sf6dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_source_date_epoch_from_env() #0 {
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/tmpas5sf6dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_source_date_epoch_from_env() #0 {
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/tmpj6o0lt17.c'
source_filename = "/tmp/tmpj6o0lt17.c"
target datalayout = "e-m:e-p270: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/tmpj6o0lt17.c"
target datalayout = "e-m:e-p270: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/tmpyian18si.c'
source_filename = "/tmp/tmpyian18si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @http_server_main()
ret i32 0
}
declare i32 @http_server_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyian18si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @http_server_main()
ret i32 0
}
declare i32 @http_server_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvp4nb8bd.c'
source_filename = "/tmp/tmpvp4nb8bd.c"
target datalayout = "e-m:e-p270: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/tmpvp4nb8bd.c"
target datalayout = "e-m:e-p270: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/tmpljnywrw_.c'
source_filename = "/tmp/tmpljnywrw_.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"%s: corrupted, expected minimum length %d, got %d\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_buflen(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %3
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr @EINVAL, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr %4, align 4
br label %20
19: ; preds = %3
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %19, %11
%21 = load i32, ptr %4, align 4
ret i32 %21
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljnywrw_.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"%s: corrupted, expected minimum length %d, got %d\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_buflen(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %3
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr @EINVAL, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr %4, align 4
br label %20
19: ; preds = %3
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %19, %11
%21 = load i32, ptr %4, align 4
ret i32 %21
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5on1r10z.c'
source_filename = "/tmp/tmp5on1r10z.c"
target datalayout = "e-m:e-p270: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/tmp5on1r10z.c"
target datalayout = "e-m:e-p270: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/tmpv4bguex1.c'
source_filename = "/tmp/tmpv4bguex1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %19, %1
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 32
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 9
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br label %17
17: ; preds = %13, %9, %5
%18 = phi i1 [ false, %9 ], [ false, %5 ], [ %16, %13 ]
br i1 %18, label %19, label %26
19: ; preds = %17
%20 = load i8, ptr %3, align 1
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
br label %5, !llvm.loop !6
26: ; preds = %17
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
br label %31
31: ; preds = %35, %26
%32 = load i8, ptr %3, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 10
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call signext i8 (...) @getchar()
store i8 %36, ptr %3, align 1
br label %31, !llvm.loop !8
37: ; preds = %31
%38 = load ptr, ptr %2, align 8
ret ptr %38
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpv4bguex1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %19, %1
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 32
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 9
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br label %17
17: ; preds = %13, %9, %5
%18 = phi i1 [ false, %9 ], [ false, %5 ], [ %16, %13 ]
br i1 %18, label %19, label %26
19: ; preds = %17
%20 = load i8, ptr %3, align 1
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
br label %5, !llvm.loop !6
26: ; preds = %17
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 10
br i1 %33, label %.lr.ph, label %39
.lr.ph: ; preds = %26
br label %34
34: ; preds = %.lr.ph, %34
%35 = call signext i8 (...) @getchar()
store i8 %35, ptr %3, align 1
%36 = load i8, ptr %3, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 10
br i1 %38, label %34, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %26
%40 = load ptr, ptr %2, align 8
ret ptr %40
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpp9wmvkqj.c'
source_filename = "/tmp/tmpp9wmvkqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_label(i32 noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load double, ptr %5, align 8
%9 = fadd double 1.750000e+01, %8
%10 = fadd double %9, 3.750000e-01
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %14, double 1.375000e+00, double %10)
store double %15, ptr %7, align 8
%16 = load i32, ptr %6, align 4
switch i32 %16, label %61 [
i32 0, label %17
i32 1, label %21
i32 2, label %25
i32 3, label %29
i32 4, label %33
i32 5, label %37
i32 6, label %41
i32 7, label %45
i32 8, label %49
i32 9, label %53
i32 10, label %57
]
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %7, align 8
%20 = call i32 @print_zero(double noundef %18, double noundef %19)
br label %61
21: ; preds = %3
%22 = load double, ptr %5, align 8
%23 = load double, ptr %7, align 8
%24 = call i32 @print_one(double noundef %22, double noundef %23)
br label %61
25: ; preds = %3
%26 = load double, ptr %5, align 8
%27 = load double, ptr %7, align 8
%28 = call i32 @print_two(double noundef %26, double noundef %27)
br label %61
29: ; preds = %3
%30 = load double, ptr %5, align 8
%31 = load double, ptr %7, align 8
%32 = call i32 @print_three(double noundef %30, double noundef %31)
br label %61
33: ; preds = %3
%34 = load double, ptr %5, align 8
%35 = load double, ptr %7, align 8
%36 = call i32 @print_four(double noundef %34, double noundef %35)
br label %61
37: ; preds = %3
%38 = load double, ptr %5, align 8
%39 = load double, ptr %7, align 8
%40 = call i32 @print_five(double noundef %38, double noundef %39)
br label %61
41: ; preds = %3
%42 = load double, ptr %5, align 8
%43 = load double, ptr %7, align 8
%44 = call i32 @print_six(double noundef %42, double noundef %43)
br label %61
45: ; preds = %3
%46 = load double, ptr %5, align 8
%47 = load double, ptr %7, align 8
%48 = call i32 @print_seven(double noundef %46, double noundef %47)
br label %61
49: ; preds = %3
%50 = load double, ptr %5, align 8
%51 = load double, ptr %7, align 8
%52 = call i32 @print_eight(double noundef %50, double noundef %51)
br label %61
53: ; preds = %3
%54 = load double, ptr %5, align 8
%55 = load double, ptr %7, align 8
%56 = call i32 @print_nine(double noundef %54, double noundef %55)
br label %61
57: ; preds = %3
%58 = load double, ptr %5, align 8
%59 = load double, ptr %7, align 8
%60 = call i32 @print_ten(double noundef %58, double noundef %59)
br label %61
61: ; preds = %3, %57, %53, %49, %45, %41, %37, %33, %29, %25, %21, %17
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @print_zero(double noundef, double noundef) #2
declare i32 @print_one(double noundef, double noundef) #2
declare i32 @print_two(double noundef, double noundef) #2
declare i32 @print_three(double noundef, double noundef) #2
declare i32 @print_four(double noundef, double noundef) #2
declare i32 @print_five(double noundef, double noundef) #2
declare i32 @print_six(double noundef, double noundef) #2
declare i32 @print_seven(double noundef, double noundef) #2
declare i32 @print_eight(double noundef, double noundef) #2
declare i32 @print_nine(double noundef, double noundef) #2
declare i32 @print_ten(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp9wmvkqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_label(i32 noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load double, ptr %5, align 8
%9 = fadd double 1.750000e+01, %8
%10 = fadd double %9, 3.750000e-01
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %14, double 1.375000e+00, double %10)
store double %15, ptr %7, align 8
%16 = load i32, ptr %6, align 4
switch i32 %16, label %61 [
i32 0, label %17
i32 1, label %21
i32 2, label %25
i32 3, label %29
i32 4, label %33
i32 5, label %37
i32 6, label %41
i32 7, label %45
i32 8, label %49
i32 9, label %53
i32 10, label %57
]
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %7, align 8
%20 = call i32 @print_zero(double noundef %18, double noundef %19)
br label %61
21: ; preds = %3
%22 = load double, ptr %5, align 8
%23 = load double, ptr %7, align 8
%24 = call i32 @print_one(double noundef %22, double noundef %23)
br label %61
25: ; preds = %3
%26 = load double, ptr %5, align 8
%27 = load double, ptr %7, align 8
%28 = call i32 @print_two(double noundef %26, double noundef %27)
br label %61
29: ; preds = %3
%30 = load double, ptr %5, align 8
%31 = load double, ptr %7, align 8
%32 = call i32 @print_three(double noundef %30, double noundef %31)
br label %61
33: ; preds = %3
%34 = load double, ptr %5, align 8
%35 = load double, ptr %7, align 8
%36 = call i32 @print_four(double noundef %34, double noundef %35)
br label %61
37: ; preds = %3
%38 = load double, ptr %5, align 8
%39 = load double, ptr %7, align 8
%40 = call i32 @print_five(double noundef %38, double noundef %39)
br label %61
41: ; preds = %3
%42 = load double, ptr %5, align 8
%43 = load double, ptr %7, align 8
%44 = call i32 @print_six(double noundef %42, double noundef %43)
br label %61
45: ; preds = %3
%46 = load double, ptr %5, align 8
%47 = load double, ptr %7, align 8
%48 = call i32 @print_seven(double noundef %46, double noundef %47)
br label %61
49: ; preds = %3
%50 = load double, ptr %5, align 8
%51 = load double, ptr %7, align 8
%52 = call i32 @print_eight(double noundef %50, double noundef %51)
br label %61
53: ; preds = %3
%54 = load double, ptr %5, align 8
%55 = load double, ptr %7, align 8
%56 = call i32 @print_nine(double noundef %54, double noundef %55)
br label %61
57: ; preds = %3
%58 = load double, ptr %5, align 8
%59 = load double, ptr %7, align 8
%60 = call i32 @print_ten(double noundef %58, double noundef %59)
br label %61
61: ; preds = %57, %53, %49, %45, %41, %37, %33, %29, %25, %21, %17, %3
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @print_zero(double noundef, double noundef) #2
declare i32 @print_one(double noundef, double noundef) #2
declare i32 @print_two(double noundef, double noundef) #2
declare i32 @print_three(double noundef, double noundef) #2
declare i32 @print_four(double noundef, double noundef) #2
declare i32 @print_five(double noundef, double noundef) #2
declare i32 @print_six(double noundef, double noundef) #2
declare i32 @print_seven(double noundef, double noundef) #2
declare i32 @print_eight(double noundef, double noundef) #2
declare i32 @print_nine(double noundef, double noundef) #2
declare i32 @print_ten(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphji18u2b.c'
source_filename = "/tmp/tmphji18u2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_remap_top_256k() #0 {
%1 = call i32 @mem_remap_top(i32 noundef 256)
ret void
}
declare i32 @mem_remap_top(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/tmphji18u2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_remap_top_256k() #0 {
%1 = call i32 @mem_remap_top(i32 noundef 256)
ret void
}
declare i32 @mem_remap_top(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/tmph_z87d_s.c'
source_filename = "/tmp/tmph_z87d_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fetchST(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @fetchSubEdges(ptr noundef %6)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @fetchSubPolygons(ptr noundef %12)
store i64 %13, ptr %5, align 8
%14 = load i64, ptr %5, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %2, align 4
br label %18
17: ; preds = %11
store i32 1, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @fetchSubEdges(ptr noundef) #1
declare i64 @fetchSubPolygons(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_z87d_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fetchST(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @fetchSubEdges(ptr noundef %6)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @fetchSubPolygons(ptr noundef %12)
store i64 %13, ptr %5, align 8
%14 = load i64, ptr %5, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %2, align 4
br label %18
17: ; preds = %11
store i32 1, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @fetchSubEdges(ptr noundef) #1
declare i64 @fetchSubPolygons(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4txk9m5s.c'
source_filename = "/tmp/tmp4txk9m5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmp4txk9m5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmpk9mv63yv.c'
source_filename = "/tmp/tmpk9mv63yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @waveshaper_nonlin_rect_sine(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load i32, ptr @M_PI, align 4
%7 = mul nsw i32 2, %6
%8 = sitofp i32 %7 to float
%9 = load float, ptr %4, align 4
%10 = fmul float %8, %9
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = fadd float %12, 1.000000e+00
%14 = fdiv float 1.000000e+00, %13
%15 = fptosi float %14 to i32
%16 = call i32 @pow(float noundef %11, i32 noundef %15)
%17 = sitofp i32 %16 to float
%18 = fmul float %10, %17
%19 = fptosi float %18 to i32
%20 = call float @sin(i32 noundef %19)
store float %20, ptr %5, align 4
%21 = load float, ptr %5, align 4
%22 = fcmp olt float %21, 0.000000e+00
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load float, ptr %5, align 4
%25 = fneg float %24
store float %25, ptr %5, align 4
br label %26
26: ; preds = %23, %2
%27 = load float, ptr %5, align 4
%28 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %27, float 5.000000e-01)
%29 = load float, ptr %3, align 4
%30 = fmul float %28, %29
store float %30, ptr %3, align 4
%31 = load float, ptr %3, align 4
ret float %31
}
declare float @sin(i32 noundef) #1
declare i32 @pow(float noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk9mv63yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @waveshaper_nonlin_rect_sine(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load i32, ptr @M_PI, align 4
%7 = mul nsw i32 2, %6
%8 = sitofp i32 %7 to float
%9 = load float, ptr %4, align 4
%10 = fmul float %8, %9
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = fadd float %12, 1.000000e+00
%14 = fdiv float 1.000000e+00, %13
%15 = fptosi float %14 to i32
%16 = call i32 @pow(float noundef %11, i32 noundef %15)
%17 = sitofp i32 %16 to float
%18 = fmul float %10, %17
%19 = fptosi float %18 to i32
%20 = call float @sin(i32 noundef %19)
store float %20, ptr %5, align 4
%21 = load float, ptr %5, align 4
%22 = fcmp olt float %21, 0.000000e+00
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load float, ptr %5, align 4
%25 = fneg float %24
store float %25, ptr %5, align 4
br label %26
26: ; preds = %23, %2
%27 = load float, ptr %5, align 4
%28 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %27, float 5.000000e-01)
%29 = load float, ptr %3, align 4
%30 = fmul float %28, %29
store float %30, ptr %3, align 4
%31 = load float, ptr %3, align 4
ret float %31
}
declare float @sin(i32 noundef) #1
declare i32 @pow(float noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2e193pt.c'
source_filename = "/tmp/tmpw2e193pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tpd1(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr 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 i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 3, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 4
br i1 %24, label %28, label %25
25: ; preds = %6
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 2, %26
br i1 %27, label %28, label %29
28: ; preds = %25, %6
store i32 1, ptr %7, align 4
br label %122
29: ; preds = %25
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
store double %32, ptr %16, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 1
%35 = load double, ptr %34, align 8
store double %35, ptr %17, align 8
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 5
%38 = load i32, ptr %37, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %70
40: ; preds = %29
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds double, ptr %44, i64 1
%46 = load double, ptr %45, align 8
%47 = load double, ptr %16, align 8
%48 = call double @llvm.fmuladd.f64(double %46, double %47, double %43)
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds double, ptr %49, i64 2
%51 = load double, ptr %50, align 8
%52 = load double, ptr %17, align 8
%53 = call double @llvm.fmuladd.f64(double %51, double %52, double %48)
store double %53, ptr %14, align 8
%54 = load ptr, ptr %10, align 8
%55 = getelementptr inbounds double, ptr %54, i64 3
%56 = load double, ptr %55, align 8
%57 = load ptr, ptr %10, align 8
%58 = getelementptr inbounds double, ptr %57, i64 4
%59 = load double, ptr %58, align 8
%60 = load double, ptr %16, align 8
%61 = call double @llvm.fmuladd.f64(double %59, double %60, double %56)
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds double, ptr %62, i64 5
%64 = load double, ptr %63, align 8
%65 = load double, ptr %17, align 8
%66 = call double @llvm.fmuladd.f64(double %64, double %65, double %61)
store double %66, ptr %17, align 8
%67 = load double, ptr %14, align 8
store double %67, ptr %16, align 8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds double, ptr %68, i64 6
store ptr %69, ptr %10, align 8
br label %70
70: ; preds = %40, %29
%71 = load i32, ptr %8, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %70
%74 = load ptr, ptr %9, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 3
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %10, align 8
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds double, ptr %77, i64 %78
store ptr %79, ptr %10, align 8
br label %80
80: ; preds = %73, %70
%81 = load ptr, ptr %10, align 8
%82 = getelementptr inbounds double, ptr %81, i64 0
%83 = load double, ptr %82, align 8
%84 = load double, ptr %16, align 8
%85 = load ptr, ptr %10, align 8
%86 = getelementptr inbounds double, ptr %85, i64 1
%87 = load double, ptr %86, align 8
%88 = call double @llvm.fmuladd.f64(double %84, double %87, double %83)
%89 = load ptr, ptr %13, align 8
store double %88, ptr %89, align 8
%90 = load i32, ptr %11, align 4
%91 = icmp eq i32 %90, 1
br i1 %91, label %92, label %93
92: ; preds = %80
store i32 0, ptr %7, align 4
br label %122
93: ; preds = %80
%94 = load double, ptr %17, align 8
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds double, ptr %95, i64 2
%97 = load double, ptr %96, align 8
%98 = load ptr, ptr %13, align 8
%99 = load double, ptr %98, align 8
%100 = call double @llvm.fmuladd.f64(double %94, double %97, double %99)
store double %100, ptr %98, align 8
%101 = load ptr, ptr %9, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 6
%103 = load i32, ptr %102, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %121
105: ; preds = %93
%106 = load double, ptr %16, align 8
%107 = load double, ptr %16, align 8
%108 = load double, ptr %17, align 8
%109 = load double, ptr %17, align 8
%110 = fmul double %108, %109
%111 = call double @llvm.fmuladd.f64(double %106, double %107, double %110)
store double %111, ptr %15, align 8
%112 = load double, ptr %15, align 8
%113 = call double @sqrt(double noundef %112) #3
store double %113, ptr %14, align 8
%114 = load double, ptr %14, align 8
%115 = load ptr, ptr %10, align 8
%116 = getelementptr inbounds double, ptr %115, i64 3
%117 = load double, ptr %116, align 8
%118 = load ptr, ptr %13, align 8
%119 = load double, ptr %118, align 8
%120 = call double @llvm.fmuladd.f64(double %114, double %117, double %119)
store double %120, ptr %118, align 8
br label %121
121: ; preds = %105, %93
store i32 0, ptr %7, align 4
br label %122
122: ; preds = %121, %92, %28
%123 = load i32, ptr %7, align 4
ret i32 %123
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2e193pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tpd1(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr 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 i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 3, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 4
br i1 %24, label %28, label %25
25: ; preds = %6
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 2, %26
br i1 %27, label %28, label %29
28: ; preds = %25, %6
store i32 1, ptr %7, align 4
br label %122
29: ; preds = %25
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
store double %32, ptr %16, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 1
%35 = load double, ptr %34, align 8
store double %35, ptr %17, align 8
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 5
%38 = load i32, ptr %37, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %70
40: ; preds = %29
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds double, ptr %44, i64 1
%46 = load double, ptr %45, align 8
%47 = load double, ptr %16, align 8
%48 = call double @llvm.fmuladd.f64(double %46, double %47, double %43)
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds double, ptr %49, i64 2
%51 = load double, ptr %50, align 8
%52 = load double, ptr %17, align 8
%53 = call double @llvm.fmuladd.f64(double %51, double %52, double %48)
store double %53, ptr %14, align 8
%54 = load ptr, ptr %10, align 8
%55 = getelementptr inbounds double, ptr %54, i64 3
%56 = load double, ptr %55, align 8
%57 = load ptr, ptr %10, align 8
%58 = getelementptr inbounds double, ptr %57, i64 4
%59 = load double, ptr %58, align 8
%60 = load double, ptr %16, align 8
%61 = call double @llvm.fmuladd.f64(double %59, double %60, double %56)
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds double, ptr %62, i64 5
%64 = load double, ptr %63, align 8
%65 = load double, ptr %17, align 8
%66 = call double @llvm.fmuladd.f64(double %64, double %65, double %61)
store double %66, ptr %17, align 8
%67 = load double, ptr %14, align 8
store double %67, ptr %16, align 8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds double, ptr %68, i64 6
store ptr %69, ptr %10, align 8
br label %70
70: ; preds = %40, %29
%71 = load i32, ptr %8, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %70
%74 = load ptr, ptr %9, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 3
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %10, align 8
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds double, ptr %77, i64 %78
store ptr %79, ptr %10, align 8
br label %80
80: ; preds = %73, %70
%81 = load ptr, ptr %10, align 8
%82 = getelementptr inbounds double, ptr %81, i64 0
%83 = load double, ptr %82, align 8
%84 = load double, ptr %16, align 8
%85 = load ptr, ptr %10, align 8
%86 = getelementptr inbounds double, ptr %85, i64 1
%87 = load double, ptr %86, align 8
%88 = call double @llvm.fmuladd.f64(double %84, double %87, double %83)
%89 = load ptr, ptr %13, align 8
store double %88, ptr %89, align 8
%90 = load i32, ptr %11, align 4
%91 = icmp eq i32 %90, 1
br i1 %91, label %92, label %93
92: ; preds = %80
store i32 0, ptr %7, align 4
br label %122
93: ; preds = %80
%94 = load double, ptr %17, align 8
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds double, ptr %95, i64 2
%97 = load double, ptr %96, align 8
%98 = load ptr, ptr %13, align 8
%99 = load double, ptr %98, align 8
%100 = call double @llvm.fmuladd.f64(double %94, double %97, double %99)
store double %100, ptr %98, align 8
%101 = load ptr, ptr %9, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 6
%103 = load i32, ptr %102, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %121
105: ; preds = %93
%106 = load double, ptr %16, align 8
%107 = load double, ptr %16, align 8
%108 = load double, ptr %17, align 8
%109 = load double, ptr %17, align 8
%110 = fmul double %108, %109
%111 = call double @llvm.fmuladd.f64(double %106, double %107, double %110)
store double %111, ptr %15, align 8
%112 = load double, ptr %15, align 8
%113 = call double @sqrt(double noundef %112) #3
store double %113, ptr %14, align 8
%114 = load double, ptr %14, align 8
%115 = load ptr, ptr %10, align 8
%116 = getelementptr inbounds double, ptr %115, i64 3
%117 = load double, ptr %116, align 8
%118 = load ptr, ptr %13, align 8
%119 = load double, ptr %118, align 8
%120 = call double @llvm.fmuladd.f64(double %114, double %117, double %119)
store double %120, ptr %118, align 8
br label %121
121: ; preds = %105, %93
store i32 0, ptr %7, align 4
br label %122
122: ; preds = %121, %92, %28
%123 = load i32, ptr %7, align 4
ret i32 %123
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg02jc34r.c'
source_filename = "/tmp/tmpg02jc34r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s/\00", align 1
@EOF = 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %23
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
br label %15
15: ; preds = %19, %10
%16 = call i32 (...) @getchar()
store i32 %16, ptr %6, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = call i32 @putchar(i32 noundef %20)
br label %15, !llvm.loop !6
22: ; preds = %15
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %9
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg02jc34r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s/\00", align 1
@EOF = 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %25
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = call i32 (...) @getchar()
store i32 %15, ptr %6, align 4
%16 = load i32, ptr @EOF, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %.lr.ph, label %24
.lr.ph: ; preds = %10
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i32, ptr %6, align 4
%20 = call i32 @putchar(i32 noundef %19)
%21 = call i32 (...) @getchar()
store i32 %21, ptr %6, align 4
%22 = load i32, ptr @EOF, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %10
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %9
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7n58uyvr.c'
source_filename = "/tmp/tmp7n58uyvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'h' - help\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"'b' - brighten\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"'s' - saturate\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"'c' - contrast\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"'z' - sharpen\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"'a' - color balance\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"left mouse - increase alpha\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"middle mouse - decrease alpha\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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)
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/tmp7n58uyvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'h' - help\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"'b' - brighten\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"'s' - saturate\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"'c' - contrast\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"'z' - sharpen\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"'a' - color balance\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"left mouse - increase alpha\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"middle mouse - decrease alpha\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3l2x1jv.c'
source_filename = "/tmp/tmp_3l2x1jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gera(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = call i32 (...) @rand()
%13 = load i32, ptr %4, align 4
%14 = srem i32 %12, %13
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_3l2x1jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gera(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = call i32 (...) @rand()
%12 = load i32, ptr %4, align 4
%13 = srem i32 %11, %12
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkc_5ldvp.c'
source_filename = "/tmp/tmpkc_5ldvp.c"
target datalayout = "e-m:e-p270: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/tmpkc_5ldvp.c"
target datalayout = "e-m:e-p270: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/tmp4y0olshe.c'
source_filename = "/tmp/tmp4y0olshe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_strtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @flu_strrtrim(ptr noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
br label %10
10: ; preds = %1, %32
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
store i8 %12, ptr %5, align 1
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %28, label %16
16: ; preds = %10
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 9
br i1 %19, label %28, label %20
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 10
br i1 %23, label %28, label %24
24: ; preds = %20
%25 = load i8, ptr %5, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 13
br i1 %27, label %28, label %31
28: ; preds = %24, %20, %16, %10
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %32
31: ; preds = %24
br label %33
32: ; preds = %28
br label %10
33: ; preds = %31
%34 = load ptr, ptr %4, align 8
%35 = call ptr @strdup(ptr noundef %34)
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %3, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load ptr, ptr %6, align 8
ret ptr %38
}
declare ptr @flu_strrtrim(ptr noundef) #1
declare ptr @strdup(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/tmp4y0olshe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_strtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @flu_strrtrim(ptr noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
br label %10
10: ; preds = %32, %1
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
store i8 %12, ptr %5, align 1
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %28, label %16
16: ; preds = %10
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 9
br i1 %19, label %28, label %20
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 10
br i1 %23, label %28, label %24
24: ; preds = %20
%25 = load i8, ptr %5, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 13
br i1 %27, label %28, label %31
28: ; preds = %24, %20, %16, %10
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %32
31: ; preds = %24
br label %33
32: ; preds = %28
br label %10
33: ; preds = %31
%34 = load ptr, ptr %4, align 8
%35 = call ptr @strdup(ptr noundef %34)
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %3, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load ptr, ptr %6, align 8
ret ptr %38
}
declare ptr @flu_strrtrim(ptr noundef) #1
declare ptr @strdup(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/tmp1ipy0s_3.c'
source_filename = "/tmp/tmp1ipy0s_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i64 (...) @getegid()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i64 @getegid(...) #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/tmp1ipy0s_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i64 (...) @getegid()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i64 @getegid(...) #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/tmpg01eeicu.c'
source_filename = "/tmp/tmpg01eeicu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @STDopenFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @fopen(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/tmpg01eeicu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @STDopenFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @fopen(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/tmp2pih7i8g.c'
source_filename = "/tmp/tmp2pih7i8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c" %4.2f NaN %4dd %3.0fm %8.1f NaN NaN %8.1f %8.1f\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" %4.2f NaN %4dd %3.0fm %8.1f %8.1f %8.1f %8.1f %8.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [66 x i8] c" %4.2f %4dd %3.0fm %4dd %3.0fm %8.1f %8.1f %8.1f %8.1f %8.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_result(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
store double %0, ptr %9, align 8
store double %1, ptr %10, align 8
store double %2, ptr %11, align 8
store double %3, ptr %12, align 8
store double %4, ptr %13, align 8
store double %5, ptr %14, align 8
store double %6, ptr %15, align 8
store double %7, ptr %16, align 8
%21 = load double, ptr %10, align 8
%22 = fptosi double %21 to i32
store i32 %22, ptr %17, align 4
%23 = load double, ptr %10, align 8
%24 = load i32, ptr %17, align 4
%25 = sitofp i32 %24 to double
%26 = fsub double %23, %25
%27 = fmul double %26, 6.000000e+01
store double %27, ptr %19, align 8
%28 = load double, ptr %10, align 8
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %30, label %38
30: ; preds = %8
%31 = load double, ptr %19, align 8
%32 = fcmp oge double %31, 5.950000e+01
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load double, ptr %19, align 8
%35 = fsub double %34, 6.000000e+01
store double %35, ptr %19, align 8
%36 = load i32, ptr %17, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %17, align 4
br label %38
38: ; preds = %33, %30, %8
%39 = load double, ptr %10, align 8
%40 = fcmp olt double %39, 0.000000e+00
br i1 %40, label %41, label %49
41: ; preds = %38
%42 = load double, ptr %19, align 8
%43 = fcmp ole double %42, -5.950000e+01
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load double, ptr %19, align 8
%46 = fadd double %45, 6.000000e+01
store double %46, ptr %19, align 8
%47 = load i32, ptr %17, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %17, align 4
br label %49
49: ; preds = %44, %41, %38
%50 = load i32, ptr %17, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load double, ptr %19, align 8
%54 = call double @llvm.fabs.f64(double %53)
store double %54, ptr %19, align 8
br label %55
55: ; preds = %52, %49
%56 = load double, ptr %11, align 8
%57 = fptosi double %56 to i32
store i32 %57, ptr %18, align 4
%58 = load double, ptr %11, align 8
%59 = load i32, ptr %18, align 4
%60 = sitofp i32 %59 to double
%61 = fsub double %58, %60
%62 = fmul double %61, 6.000000e+01
store double %62, ptr %20, align 8
%63 = load double, ptr %11, align 8
%64 = fcmp ogt double %63, 0.000000e+00
br i1 %64, label %65, label %73
65: ; preds = %55
%66 = load double, ptr %20, align 8
%67 = fcmp oge double %66, 5.950000e+01
br i1 %67, label %68, label %73
68: ; preds = %65
%69 = load double, ptr %20, align 8
%70 = fsub double %69, 6.000000e+01
store double %70, ptr %20, align 8
%71 = load i32, ptr %18, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %18, align 4
br label %73
73: ; preds = %68, %65, %55
%74 = load double, ptr %11, align 8
%75 = fcmp olt double %74, 0.000000e+00
br i1 %75, label %76, label %84
76: ; preds = %73
%77 = load double, ptr %20, align 8
%78 = fcmp ole double %77, -5.950000e+01
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load double, ptr %20, align 8
%81 = fadd double %80, 6.000000e+01
store double %81, ptr %20, align 8
%82 = load i32, ptr %18, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %18, align 4
br label %84
84: ; preds = %79, %76, %73
%85 = load i32, ptr %18, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load double, ptr %20, align 8
%89 = call double @llvm.fabs.f64(double %88)
store double %89, ptr %20, align 8
br label %90
90: ; preds = %87, %84
%91 = load double, ptr %10, align 8
%92 = call i64 @my_isnan(double noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %119
94: ; preds = %90
%95 = load double, ptr %13, align 8
%96 = call i64 @my_isnan(double noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %107
98: ; preds = %94
%99 = load double, ptr %9, align 8
%100 = load i32, ptr %18, align 4
%101 = load double, ptr %20, align 8
%102 = load double, ptr %12, align 8
%103 = fptosi double %102 to i32
%104 = load double, ptr %15, align 8
%105 = load double, ptr %16, align 8
%106 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str, double noundef %99, i32 noundef %100, double noundef %101, i32 noundef %103, double noundef %104, double noundef %105)
br label %118
107: ; preds = %94
%108 = load double, ptr %9, align 8
%109 = load i32, ptr %18, align 4
%110 = load double, ptr %20, align 8
%111 = load double, ptr %12, align 8
%112 = fptosi double %111 to i32
%113 = load double, ptr %13, align 8
%114 = load double, ptr %14, align 8
%115 = load double, ptr %15, align 8
%116 = load double, ptr %16, align 8
%117 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str.1, double noundef %108, i32 noundef %109, double noundef %110, i32 noundef %112, double noundef %113, double noundef %114, double noundef %115, double noundef %116)
br label %118
118: ; preds = %107, %98
br label %131
119: ; preds = %90
%120 = load double, ptr %9, align 8
%121 = load i32, ptr %17, align 4
%122 = load double, ptr %19, align 8
%123 = load i32, ptr %18, align 4
%124 = load double, ptr %20, align 8
%125 = load double, ptr %12, align 8
%126 = load double, ptr %13, align 8
%127 = load double, ptr %14, align 8
%128 = load double, ptr %15, align 8
%129 = load double, ptr %16, align 8
%130 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str.2, double noundef %120, i32 noundef %121, double noundef %122, i32 noundef %123, double noundef %124, double noundef %125, double noundef %126, double noundef %127, double noundef %128, double noundef %129)
br label %131
131: ; preds = %119, %118
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i64 @my_isnan(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, i32 noundef, double noundef, i32 noundef, double noundef, double noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2pih7i8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c" %4.2f NaN %4dd %3.0fm %8.1f NaN NaN %8.1f %8.1f\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" %4.2f NaN %4dd %3.0fm %8.1f %8.1f %8.1f %8.1f %8.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [66 x i8] c" %4.2f %4dd %3.0fm %4dd %3.0fm %8.1f %8.1f %8.1f %8.1f %8.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_result(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
store double %0, ptr %9, align 8
store double %1, ptr %10, align 8
store double %2, ptr %11, align 8
store double %3, ptr %12, align 8
store double %4, ptr %13, align 8
store double %5, ptr %14, align 8
store double %6, ptr %15, align 8
store double %7, ptr %16, align 8
%21 = load double, ptr %10, align 8
%22 = fptosi double %21 to i32
store i32 %22, ptr %17, align 4
%23 = load double, ptr %10, align 8
%24 = load i32, ptr %17, align 4
%25 = sitofp i32 %24 to double
%26 = fsub double %23, %25
%27 = fmul double %26, 6.000000e+01
store double %27, ptr %19, align 8
%28 = load double, ptr %10, align 8
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %30, label %38
30: ; preds = %8
%31 = load double, ptr %19, align 8
%32 = fcmp oge double %31, 5.950000e+01
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load double, ptr %19, align 8
%35 = fsub double %34, 6.000000e+01
store double %35, ptr %19, align 8
%36 = load i32, ptr %17, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %17, align 4
br label %38
38: ; preds = %33, %30, %8
%39 = load double, ptr %10, align 8
%40 = fcmp olt double %39, 0.000000e+00
br i1 %40, label %41, label %49
41: ; preds = %38
%42 = load double, ptr %19, align 8
%43 = fcmp ole double %42, -5.950000e+01
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load double, ptr %19, align 8
%46 = fadd double %45, 6.000000e+01
store double %46, ptr %19, align 8
%47 = load i32, ptr %17, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %17, align 4
br label %49
49: ; preds = %44, %41, %38
%50 = load i32, ptr %17, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load double, ptr %19, align 8
%54 = call double @llvm.fabs.f64(double %53)
store double %54, ptr %19, align 8
br label %55
55: ; preds = %52, %49
%56 = load double, ptr %11, align 8
%57 = fptosi double %56 to i32
store i32 %57, ptr %18, align 4
%58 = load double, ptr %11, align 8
%59 = load i32, ptr %18, align 4
%60 = sitofp i32 %59 to double
%61 = fsub double %58, %60
%62 = fmul double %61, 6.000000e+01
store double %62, ptr %20, align 8
%63 = load double, ptr %11, align 8
%64 = fcmp ogt double %63, 0.000000e+00
br i1 %64, label %65, label %73
65: ; preds = %55
%66 = load double, ptr %20, align 8
%67 = fcmp oge double %66, 5.950000e+01
br i1 %67, label %68, label %73
68: ; preds = %65
%69 = load double, ptr %20, align 8
%70 = fsub double %69, 6.000000e+01
store double %70, ptr %20, align 8
%71 = load i32, ptr %18, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %18, align 4
br label %73
73: ; preds = %68, %65, %55
%74 = load double, ptr %11, align 8
%75 = fcmp olt double %74, 0.000000e+00
br i1 %75, label %76, label %84
76: ; preds = %73
%77 = load double, ptr %20, align 8
%78 = fcmp ole double %77, -5.950000e+01
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load double, ptr %20, align 8
%81 = fadd double %80, 6.000000e+01
store double %81, ptr %20, align 8
%82 = load i32, ptr %18, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %18, align 4
br label %84
84: ; preds = %79, %76, %73
%85 = load i32, ptr %18, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load double, ptr %20, align 8
%89 = call double @llvm.fabs.f64(double %88)
store double %89, ptr %20, align 8
br label %90
90: ; preds = %87, %84
%91 = load double, ptr %10, align 8
%92 = call i64 @my_isnan(double noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %119
94: ; preds = %90
%95 = load double, ptr %13, align 8
%96 = call i64 @my_isnan(double noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %107
98: ; preds = %94
%99 = load double, ptr %9, align 8
%100 = load i32, ptr %18, align 4
%101 = load double, ptr %20, align 8
%102 = load double, ptr %12, align 8
%103 = fptosi double %102 to i32
%104 = load double, ptr %15, align 8
%105 = load double, ptr %16, align 8
%106 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str, double noundef %99, i32 noundef %100, double noundef %101, i32 noundef %103, double noundef %104, double noundef %105)
br label %118
107: ; preds = %94
%108 = load double, ptr %9, align 8
%109 = load i32, ptr %18, align 4
%110 = load double, ptr %20, align 8
%111 = load double, ptr %12, align 8
%112 = fptosi double %111 to i32
%113 = load double, ptr %13, align 8
%114 = load double, ptr %14, align 8
%115 = load double, ptr %15, align 8
%116 = load double, ptr %16, align 8
%117 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str.1, double noundef %108, i32 noundef %109, double noundef %110, i32 noundef %112, double noundef %113, double noundef %114, double noundef %115, double noundef %116)
br label %118
118: ; preds = %107, %98
br label %131
119: ; preds = %90
%120 = load double, ptr %9, align 8
%121 = load i32, ptr %17, align 4
%122 = load double, ptr %19, align 8
%123 = load i32, ptr %18, align 4
%124 = load double, ptr %20, align 8
%125 = load double, ptr %12, align 8
%126 = load double, ptr %13, align 8
%127 = load double, ptr %14, align 8
%128 = load double, ptr %15, align 8
%129 = load double, ptr %16, align 8
%130 = call i32 (ptr, double, i32, double, i32, double, double, ...) @printf(ptr noundef @.str.2, double noundef %120, i32 noundef %121, double noundef %122, i32 noundef %123, double noundef %124, double noundef %125, double noundef %126, double noundef %127, double noundef %128, double noundef %129)
br label %131
131: ; preds = %119, %118
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i64 @my_isnan(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, i32 noundef, double noundef, i32 noundef, double noundef, double noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5sq166e.c'
source_filename = "/tmp/tmpu5sq166e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"iterations = teams\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"iterations > teams\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"iterations < teams\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"num_teams(512) dist_schedule(static,1)\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"num_teams(512) dist_schedule(static,512)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"num_teams(512) dist_schedule(static, chunkSize)\0A\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"num_teams(1024) dist_schedule(static, chunkSize)\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"num_teams(1024) dist_schedule(static, 1)\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"num_teams(3) dist_schedule(static, 1)\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"num_teams(3) dist_schedule(static, 3)\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"num_teams(10) dist_schedule(static, 99)\0A\00", align 1
@.str.12 = private unnamed_addr constant [43 x i8] c"num_teams(256) dist_schedule(static, 992)\0A\00", align 1
@.str.13 = private unnamed_addr constant [61 x i8] c"num_teams(nte) thread_limit(tl) with parallel for innermost\0A\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"Error at A[%d], h = %lf, d = %lf\0A\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.16 = private unnamed_addr constant [28 x i8] c"num_teams(512) collapse(2)\0A\00", align 1
@.str.17 = private unnamed_addr constant [36 x i8] c"Error at (%d,%d), h = %lf, d = %lf\0A\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"num_teams(512) collapse(3)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%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 i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca i32, align 4
%60 = alloca i32, align 4
%61 = alloca i32, align 4
%62 = alloca i32, align 4
%63 = alloca i32, align 4
%64 = alloca i32, align 4
%65 = alloca i32, align 4
%66 = alloca ptr, align 8
%67 = alloca ptr, align 8
%68 = alloca ptr, align 8
%69 = alloca i32, align 4
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca i32, align 4
%76 = alloca i32, align 4
%77 = alloca ptr, align 8
%78 = alloca ptr, align 8
%79 = alloca i32, align 4
%80 = alloca i32, align 4
%81 = alloca i32, align 4
%82 = alloca i32, align 4
%83 = alloca i32, align 4
%84 = alloca i32, align 4
%85 = alloca i32, align 4
%86 = alloca i32, align 4
%87 = alloca i32, align 4
%88 = alloca i32, align 4
store i32 0, ptr %1, align 4
%89 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 2.000000e+00, ptr %11, align 8
store double 4.000000e+00, ptr %12, align 8
store i32 0, ptr %16, align 4
br label %90
90: ; preds = %108, %0
%91 = load i32, ptr %16, align 4
%92 = icmp slt i32 %91, 992
br i1 %92, label %93, label %111
93: ; preds = %90
%94 = load i32, ptr %16, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %95
store double 1.000000e+00, ptr %96, align 8
%97 = load i32, ptr %16, align 4
%98 = sitofp i32 %97 to double
%99 = load i32, ptr %16, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %100
store double %98, ptr %101, align 8
%102 = load i32, ptr %16, align 4
%103 = sub nsw i32 0, %102
%104 = sitofp i32 %103 to double
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %106
store double %104, ptr %107, align 8
br label %108
108: ; preds = %93
%109 = load i32, ptr %16, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %16, align 4
br label %90, !llvm.loop !6
111: ; preds = %90
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %17, align 4
br label %113
113: ; preds = %120, %111
%114 = load i32, ptr %17, align 4
%115 = icmp slt i32 %114, 992
br i1 %115, label %116, label %123
116: ; preds = %113
%117 = load i32, ptr %17, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %118
store double 0.000000e+00, ptr %119, align 8
br label %120
120: ; preds = %116
%121 = load i32, ptr %17, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %17, align 4
br label %113, !llvm.loop !8
123: ; preds = %113
store i32 0, ptr %9, align 4
store i32 0, ptr %18, align 4
br label %124
124: ; preds = %145, %123
%125 = load i32, ptr %18, align 4
%126 = icmp slt i32 %125, 1
br i1 %126, label %127, label %148
127: ; preds = %124
store i32 0, ptr %19, align 4
br label %128
128: ; preds = %141, %127
%129 = load i32, ptr %19, align 4
%130 = icmp slt i32 %129, 992
br i1 %130, label %131, label %144
131: ; preds = %128
%132 = load i32, ptr %19, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %133
%135 = load double, ptr %134, align 8
%136 = load i32, ptr %19, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %137
%139 = load double, ptr %138, align 8
%140 = fadd double %139, %135
store double %140, ptr %138, align 8
br label %141
141: ; preds = %131
%142 = load i32, ptr %19, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %19, align 4
br label %128, !llvm.loop !9
144: ; preds = %128
br label %145
145: ; preds = %144
%146 = load i32, ptr %18, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %18, align 4
br label %124, !llvm.loop !10
148: ; preds = %124
%149 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%150 = call i64 @check_results(ptr noundef %149)
%151 = load i32, ptr %9, align 4
%152 = sext i32 %151 to i64
%153 = add nsw i64 %152, %150
%154 = trunc i64 %153 to i32
store i32 %154, ptr %9, align 4
%155 = load i32, ptr %9, align 4
%156 = load i32, ptr %8, align 4
%157 = icmp eq i32 %155, %156
br i1 %157, label %158, label %160
158: ; preds = %148
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %160
160: ; preds = %158, %148
%161 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %20, align 4
br label %162
162: ; preds = %169, %160
%163 = load i32, ptr %20, align 4
%164 = icmp slt i32 %163, 992
br i1 %164, label %165, label %172
165: ; preds = %162
%166 = load i32, ptr %20, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %167
store double 0.000000e+00, ptr %168, align 8
br label %169
169: ; preds = %165
%170 = load i32, ptr %20, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %20, align 4
br label %162, !llvm.loop !11
172: ; preds = %162
store i32 0, ptr %9, align 4
store i32 0, ptr %21, align 4
br label %173
173: ; preds = %194, %172
%174 = load i32, ptr %21, align 4
%175 = icmp slt i32 %174, 1
br i1 %175, label %176, label %197
176: ; preds = %173
store i32 0, ptr %22, align 4
br label %177
177: ; preds = %190, %176
%178 = load i32, ptr %22, align 4
%179 = icmp slt i32 %178, 992
br i1 %179, label %180, label %193
180: ; preds = %177
%181 = load i32, ptr %22, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %182
%184 = load double, ptr %183, align 8
%185 = load i32, ptr %22, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %186
%188 = load double, ptr %187, align 8
%189 = fadd double %188, %184
store double %189, ptr %187, align 8
br label %190
190: ; preds = %180
%191 = load i32, ptr %22, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %22, align 4
br label %177, !llvm.loop !12
193: ; preds = %177
br label %194
194: ; preds = %193
%195 = load i32, ptr %21, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %21, align 4
br label %173, !llvm.loop !13
197: ; preds = %173
%198 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%199 = call i64 @check_results(ptr noundef %198)
%200 = load i32, ptr %9, align 4
%201 = sext i32 %200 to i64
%202 = add nsw i64 %201, %199
%203 = trunc i64 %202 to i32
store i32 %203, ptr %9, align 4
%204 = load i32, ptr %9, align 4
%205 = load i32, ptr %8, align 4
%206 = icmp eq i32 %204, %205
br i1 %206, label %207, label %209
207: ; preds = %197
%208 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %209
209: ; preds = %207, %197
%210 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %23, align 4
br label %211
211: ; preds = %218, %209
%212 = load i32, ptr %23, align 4
%213 = icmp slt i32 %212, 992
br i1 %213, label %214, label %221
214: ; preds = %211
%215 = load i32, ptr %23, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %216
store double 0.000000e+00, ptr %217, align 8
br label %218
218: ; preds = %214
%219 = load i32, ptr %23, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %23, align 4
br label %211, !llvm.loop !14
221: ; preds = %211
store i32 0, ptr %9, align 4
store i32 0, ptr %24, align 4
br label %222
222: ; preds = %243, %221
%223 = load i32, ptr %24, align 4
%224 = icmp slt i32 %223, 1
br i1 %224, label %225, label %246
225: ; preds = %222
store i32 0, ptr %25, align 4
br label %226
226: ; preds = %239, %225
%227 = load i32, ptr %25, align 4
%228 = icmp slt i32 %227, 992
br i1 %228, label %229, label %242
229: ; preds = %226
%230 = load i32, ptr %25, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %231
%233 = load double, ptr %232, align 8
%234 = load i32, ptr %25, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %235
%237 = load double, ptr %236, align 8
%238 = fadd double %237, %233
store double %238, ptr %236, align 8
br label %239
239: ; preds = %229
%240 = load i32, ptr %25, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %25, align 4
br label %226, !llvm.loop !15
242: ; preds = %226
br label %243
243: ; preds = %242
%244 = load i32, ptr %24, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %24, align 4
br label %222, !llvm.loop !16
246: ; preds = %222
%247 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%248 = call i64 @check_results(ptr noundef %247)
%249 = load i32, ptr %9, align 4
%250 = sext i32 %249 to i64
%251 = add nsw i64 %250, %248
%252 = trunc i64 %251 to i32
store i32 %252, ptr %9, align 4
%253 = load i32, ptr %9, align 4
%254 = load i32, ptr %8, align 4
%255 = icmp eq i32 %253, %254
br i1 %255, label %256, label %258
256: ; preds = %246
%257 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %258
258: ; preds = %256, %246
%259 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %26, align 4
br label %260
260: ; preds = %267, %258
%261 = load i32, ptr %26, align 4
%262 = icmp slt i32 %261, 992
br i1 %262, label %263, label %270
263: ; preds = %260
%264 = load i32, ptr %26, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %265
store double 0.000000e+00, ptr %266, align 8
br label %267
267: ; preds = %263
%268 = load i32, ptr %26, align 4
%269 = add nsw i32 %268, 1
store i32 %269, ptr %26, align 4
br label %260, !llvm.loop !17
270: ; preds = %260
store i32 0, ptr %9, align 4
store i32 0, ptr %27, align 4
br label %271
271: ; preds = %292, %270
%272 = load i32, ptr %27, align 4
%273 = icmp slt i32 %272, 1
br i1 %273, label %274, label %295
274: ; preds = %271
store i32 0, ptr %28, align 4
br label %275
275: ; preds = %288, %274
%276 = load i32, ptr %28, align 4
%277 = icmp slt i32 %276, 992
br i1 %277, label %278, label %291
278: ; preds = %275
%279 = load i32, ptr %28, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %280
%282 = load double, ptr %281, align 8
%283 = load i32, ptr %28, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %284
%286 = load double, ptr %285, align 8
%287 = fadd double %286, %282
store double %287, ptr %285, align 8
br label %288
288: ; preds = %278
%289 = load i32, ptr %28, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %28, align 4
br label %275, !llvm.loop !18
291: ; preds = %275
br label %292
292: ; preds = %291
%293 = load i32, ptr %27, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %27, align 4
br label %271, !llvm.loop !19
295: ; preds = %271
%296 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%297 = call i64 @check_results(ptr noundef %296)
%298 = load i32, ptr %9, align 4
%299 = sext i32 %298 to i64
%300 = add nsw i64 %299, %297
%301 = trunc i64 %300 to i32
store i32 %301, ptr %9, align 4
%302 = load i32, ptr %9, align 4
%303 = load i32, ptr %8, align 4
%304 = icmp eq i32 %302, %303
br i1 %304, label %305, label %307
305: ; preds = %295
%306 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %307
307: ; preds = %305, %295
%308 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %29, align 4
br label %309
309: ; preds = %316, %307
%310 = load i32, ptr %29, align 4
%311 = icmp slt i32 %310, 992
br i1 %311, label %312, label %319
312: ; preds = %309
%313 = load i32, ptr %29, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %314
store double 0.000000e+00, ptr %315, align 8
br label %316
316: ; preds = %312
%317 = load i32, ptr %29, align 4
%318 = add nsw i32 %317, 1
store i32 %318, ptr %29, align 4
br label %309, !llvm.loop !20
319: ; preds = %309
store i32 0, ptr %9, align 4
store i32 0, ptr %30, align 4
br label %320
320: ; preds = %341, %319
%321 = load i32, ptr %30, align 4
%322 = icmp slt i32 %321, 1
br i1 %322, label %323, label %344
323: ; preds = %320
store i32 0, ptr %31, align 4
br label %324
324: ; preds = %337, %323
%325 = load i32, ptr %31, align 4
%326 = icmp slt i32 %325, 992
br i1 %326, label %327, label %340
327: ; preds = %324
%328 = load i32, ptr %31, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %329
%331 = load double, ptr %330, align 8
%332 = load i32, ptr %31, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %333
%335 = load double, ptr %334, align 8
%336 = fadd double %335, %331
store double %336, ptr %334, align 8
br label %337
337: ; preds = %327
%338 = load i32, ptr %31, align 4
%339 = add nsw i32 %338, 1
store i32 %339, ptr %31, align 4
br label %324, !llvm.loop !21
340: ; preds = %324
br label %341
341: ; preds = %340
%342 = load i32, ptr %30, align 4
%343 = add nsw i32 %342, 1
store i32 %343, ptr %30, align 4
br label %320, !llvm.loop !22
344: ; preds = %320
%345 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%346 = call i64 @check_results(ptr noundef %345)
%347 = load i32, ptr %9, align 4
%348 = sext i32 %347 to i64
%349 = add nsw i64 %348, %346
%350 = trunc i64 %349 to i32
store i32 %350, ptr %9, align 4
%351 = load i32, ptr %9, align 4
%352 = load i32, ptr %8, align 4
%353 = icmp eq i32 %351, %352
br i1 %353, label %354, label %356
354: ; preds = %344
%355 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %356
356: ; preds = %354, %344
%357 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 99, ptr %10, align 4
store i32 0, ptr %32, align 4
br label %358
358: ; preds = %365, %356
%359 = load i32, ptr %32, align 4
%360 = icmp slt i32 %359, 992
br i1 %360, label %361, label %368
361: ; preds = %358
%362 = load i32, ptr %32, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %363
store double 0.000000e+00, ptr %364, align 8
br label %365
365: ; preds = %361
%366 = load i32, ptr %32, align 4
%367 = add nsw i32 %366, 1
store i32 %367, ptr %32, align 4
br label %358, !llvm.loop !23
368: ; preds = %358
store i32 0, ptr %9, align 4
store i32 0, ptr %33, align 4
br label %369
369: ; preds = %390, %368
%370 = load i32, ptr %33, align 4
%371 = icmp slt i32 %370, 1
br i1 %371, label %372, label %393
372: ; preds = %369
store i32 0, ptr %34, align 4
br label %373
373: ; preds = %386, %372
%374 = load i32, ptr %34, align 4
%375 = icmp slt i32 %374, 992
br i1 %375, label %376, label %389
376: ; preds = %373
%377 = load i32, ptr %34, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %378
%380 = load double, ptr %379, align 8
%381 = load i32, ptr %34, align 4
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %382
%384 = load double, ptr %383, align 8
%385 = fadd double %384, %380
store double %385, ptr %383, align 8
br label %386
386: ; preds = %376
%387 = load i32, ptr %34, align 4
%388 = add nsw i32 %387, 1
store i32 %388, ptr %34, align 4
br label %373, !llvm.loop !24
389: ; preds = %373
br label %390
390: ; preds = %389
%391 = load i32, ptr %33, align 4
%392 = add nsw i32 %391, 1
store i32 %392, ptr %33, align 4
br label %369, !llvm.loop !25
393: ; preds = %369
%394 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%395 = call i64 @check_results(ptr noundef %394)
%396 = load i32, ptr %9, align 4
%397 = sext i32 %396 to i64
%398 = add nsw i64 %397, %395
%399 = trunc i64 %398 to i32
store i32 %399, ptr %9, align 4
%400 = load i32, ptr %9, align 4
%401 = load i32, ptr %8, align 4
%402 = icmp eq i32 %400, %401
br i1 %402, label %403, label %405
403: ; preds = %393
%404 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %405
405: ; preds = %403, %393
%406 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 99, ptr %10, align 4
store i32 0, ptr %35, align 4
br label %407
407: ; preds = %414, %405
%408 = load i32, ptr %35, align 4
%409 = icmp slt i32 %408, 992
br i1 %409, label %410, label %417
410: ; preds = %407
%411 = load i32, ptr %35, align 4
%412 = sext i32 %411 to i64
%413 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %412
store double 0.000000e+00, ptr %413, align 8
br label %414
414: ; preds = %410
%415 = load i32, ptr %35, align 4
%416 = add nsw i32 %415, 1
store i32 %416, ptr %35, align 4
br label %407, !llvm.loop !26
417: ; preds = %407
store i32 0, ptr %9, align 4
store i32 0, ptr %36, align 4
br label %418
418: ; preds = %439, %417
%419 = load i32, ptr %36, align 4
%420 = icmp slt i32 %419, 1
br i1 %420, label %421, label %442
421: ; preds = %418
store i32 0, ptr %37, align 4
br label %422
422: ; preds = %435, %421
%423 = load i32, ptr %37, align 4
%424 = icmp slt i32 %423, 992
br i1 %424, label %425, label %438
425: ; preds = %422
%426 = load i32, ptr %37, align 4
%427 = sext i32 %426 to i64
%428 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %427
%429 = load double, ptr %428, align 8
%430 = load i32, ptr %37, align 4
%431 = sext i32 %430 to i64
%432 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %431
%433 = load double, ptr %432, align 8
%434 = fadd double %433, %429
store double %434, ptr %432, align 8
br label %435
435: ; preds = %425
%436 = load i32, ptr %37, align 4
%437 = add nsw i32 %436, 1
store i32 %437, ptr %37, align 4
br label %422, !llvm.loop !27
438: ; preds = %422
br label %439
439: ; preds = %438
%440 = load i32, ptr %36, align 4
%441 = add nsw i32 %440, 1
store i32 %441, ptr %36, align 4
br label %418, !llvm.loop !28
442: ; preds = %418
%443 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%444 = call i64 @check_results(ptr noundef %443)
%445 = load i32, ptr %9, align 4
%446 = sext i32 %445 to i64
%447 = add nsw i64 %446, %444
%448 = trunc i64 %447 to i32
store i32 %448, ptr %9, align 4
%449 = load i32, ptr %9, align 4
%450 = load i32, ptr %8, align 4
%451 = icmp eq i32 %449, %450
br i1 %451, label %452, label %454
452: ; preds = %442
%453 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %454
454: ; preds = %452, %442
%455 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %38, align 4
br label %456
456: ; preds = %463, %454
%457 = load i32, ptr %38, align 4
%458 = icmp slt i32 %457, 992
br i1 %458, label %459, label %466
459: ; preds = %456
%460 = load i32, ptr %38, align 4
%461 = sext i32 %460 to i64
%462 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %461
store double 0.000000e+00, ptr %462, align 8
br label %463
463: ; preds = %459
%464 = load i32, ptr %38, align 4
%465 = add nsw i32 %464, 1
store i32 %465, ptr %38, align 4
br label %456, !llvm.loop !29
466: ; preds = %456
store i32 0, ptr %9, align 4
store i32 0, ptr %39, align 4
br label %467
467: ; preds = %488, %466
%468 = load i32, ptr %39, align 4
%469 = icmp slt i32 %468, 1
br i1 %469, label %470, label %491
470: ; preds = %467
store i32 0, ptr %40, align 4
br label %471
471: ; preds = %484, %470
%472 = load i32, ptr %40, align 4
%473 = icmp slt i32 %472, 992
br i1 %473, label %474, label %487
474: ; preds = %471
%475 = load i32, ptr %40, align 4
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %476
%478 = load double, ptr %477, align 8
%479 = load i32, ptr %40, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %480
%482 = load double, ptr %481, align 8
%483 = fadd double %482, %478
store double %483, ptr %481, align 8
br label %484
484: ; preds = %474
%485 = load i32, ptr %40, align 4
%486 = add nsw i32 %485, 1
store i32 %486, ptr %40, align 4
br label %471, !llvm.loop !30
487: ; preds = %471
br label %488
488: ; preds = %487
%489 = load i32, ptr %39, align 4
%490 = add nsw i32 %489, 1
store i32 %490, ptr %39, align 4
br label %467, !llvm.loop !31
491: ; preds = %467
%492 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%493 = call i64 @check_results(ptr noundef %492)
%494 = load i32, ptr %9, align 4
%495 = sext i32 %494 to i64
%496 = add nsw i64 %495, %493
%497 = trunc i64 %496 to i32
store i32 %497, ptr %9, align 4
%498 = load i32, ptr %9, align 4
%499 = load i32, ptr %8, align 4
%500 = icmp eq i32 %498, %499
br i1 %500, label %501, label %503
501: ; preds = %491
%502 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %503
503: ; preds = %501, %491
%504 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %41, align 4
br label %505
505: ; preds = %512, %503
%506 = load i32, ptr %41, align 4
%507 = icmp slt i32 %506, 992
br i1 %507, label %508, label %515
508: ; preds = %505
%509 = load i32, ptr %41, align 4
%510 = sext i32 %509 to i64
%511 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %510
store double 0.000000e+00, ptr %511, align 8
br label %512
512: ; preds = %508
%513 = load i32, ptr %41, align 4
%514 = add nsw i32 %513, 1
store i32 %514, ptr %41, align 4
br label %505, !llvm.loop !32
515: ; preds = %505
store i32 0, ptr %9, align 4
store i32 0, ptr %42, align 4
br label %516
516: ; preds = %537, %515
%517 = load i32, ptr %42, align 4
%518 = icmp slt i32 %517, 1
br i1 %518, label %519, label %540
519: ; preds = %516
store i32 0, ptr %43, align 4
br label %520
520: ; preds = %533, %519
%521 = load i32, ptr %43, align 4
%522 = icmp slt i32 %521, 992
br i1 %522, label %523, label %536
523: ; preds = %520
%524 = load i32, ptr %43, align 4
%525 = sext i32 %524 to i64
%526 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %525
%527 = load double, ptr %526, align 8
%528 = load i32, ptr %43, align 4
%529 = sext i32 %528 to i64
%530 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %529
%531 = load double, ptr %530, align 8
%532 = fadd double %531, %527
store double %532, ptr %530, align 8
br label %533
533: ; preds = %523
%534 = load i32, ptr %43, align 4
%535 = add nsw i32 %534, 1
store i32 %535, ptr %43, align 4
br label %520, !llvm.loop !33
536: ; preds = %520
br label %537
537: ; preds = %536
%538 = load i32, ptr %42, align 4
%539 = add nsw i32 %538, 1
store i32 %539, ptr %42, align 4
br label %516, !llvm.loop !34
540: ; preds = %516
%541 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%542 = call i64 @check_results(ptr noundef %541)
%543 = load i32, ptr %9, align 4
%544 = sext i32 %543 to i64
%545 = add nsw i64 %544, %542
%546 = trunc i64 %545 to i32
store i32 %546, ptr %9, align 4
%547 = load i32, ptr %9, align 4
%548 = load i32, ptr %8, align 4
%549 = icmp eq i32 %547, %548
br i1 %549, label %550, label %552
550: ; preds = %540
%551 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %552
552: ; preds = %550, %540
%553 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %44, align 4
br label %554
554: ; preds = %561, %552
%555 = load i32, ptr %44, align 4
%556 = icmp slt i32 %555, 992
br i1 %556, label %557, label %564
557: ; preds = %554
%558 = load i32, ptr %44, align 4
%559 = sext i32 %558 to i64
%560 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %559
store double 0.000000e+00, ptr %560, align 8
br label %561
561: ; preds = %557
%562 = load i32, ptr %44, align 4
%563 = add nsw i32 %562, 1
store i32 %563, ptr %44, align 4
br label %554, !llvm.loop !35
564: ; preds = %554
store i32 0, ptr %9, align 4
store i32 0, ptr %45, align 4
br label %565
565: ; preds = %586, %564
%566 = load i32, ptr %45, align 4
%567 = icmp slt i32 %566, 1
br i1 %567, label %568, label %589
568: ; preds = %565
store i32 0, ptr %46, align 4
br label %569
569: ; preds = %582, %568
%570 = load i32, ptr %46, align 4
%571 = icmp slt i32 %570, 992
br i1 %571, label %572, label %585
572: ; preds = %569
%573 = load i32, ptr %46, align 4
%574 = sext i32 %573 to i64
%575 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %574
%576 = load double, ptr %575, align 8
%577 = load i32, ptr %46, align 4
%578 = sext i32 %577 to i64
%579 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %578
%580 = load double, ptr %579, align 8
%581 = fadd double %580, %576
store double %581, ptr %579, align 8
br label %582
582: ; preds = %572
%583 = load i32, ptr %46, align 4
%584 = add nsw i32 %583, 1
store i32 %584, ptr %46, align 4
br label %569, !llvm.loop !36
585: ; preds = %569
br label %586
586: ; preds = %585
%587 = load i32, ptr %45, align 4
%588 = add nsw i32 %587, 1
store i32 %588, ptr %45, align 4
br label %565, !llvm.loop !37
589: ; preds = %565
%590 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%591 = call i64 @check_results(ptr noundef %590)
%592 = load i32, ptr %9, align 4
%593 = sext i32 %592 to i64
%594 = add nsw i64 %593, %591
%595 = trunc i64 %594 to i32
store i32 %595, ptr %9, align 4
%596 = load i32, ptr %9, align 4
%597 = load i32, ptr %8, align 4
%598 = icmp eq i32 %596, %597
br i1 %598, label %599, label %601
599: ; preds = %589
%600 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %601
601: ; preds = %599, %589
%602 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %47, align 4
br label %603
603: ; preds = %610, %601
%604 = load i32, ptr %47, align 4
%605 = icmp slt i32 %604, 992
br i1 %605, label %606, label %613
606: ; preds = %603
%607 = load i32, ptr %47, align 4
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %608
store double 0.000000e+00, ptr %609, align 8
br label %610
610: ; preds = %606
%611 = load i32, ptr %47, align 4
%612 = add nsw i32 %611, 1
store i32 %612, ptr %47, align 4
br label %603, !llvm.loop !38
613: ; preds = %603
store i32 0, ptr %9, align 4
store i32 0, ptr %48, align 4
br label %614
614: ; preds = %635, %613
%615 = load i32, ptr %48, align 4
%616 = icmp slt i32 %615, 1
br i1 %616, label %617, label %638
617: ; preds = %614
store i32 0, ptr %49, align 4
br label %618
618: ; preds = %631, %617
%619 = load i32, ptr %49, align 4
%620 = icmp slt i32 %619, 992
br i1 %620, label %621, label %634
621: ; preds = %618
%622 = load i32, ptr %49, align 4
%623 = sext i32 %622 to i64
%624 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %623
%625 = load double, ptr %624, align 8
%626 = load i32, ptr %49, align 4
%627 = sext i32 %626 to i64
%628 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %627
%629 = load double, ptr %628, align 8
%630 = fadd double %629, %625
store double %630, ptr %628, align 8
br label %631
631: ; preds = %621
%632 = load i32, ptr %49, align 4
%633 = add nsw i32 %632, 1
store i32 %633, ptr %49, align 4
br label %618, !llvm.loop !39
634: ; preds = %618
br label %635
635: ; preds = %634
%636 = load i32, ptr %48, align 4
%637 = add nsw i32 %636, 1
store i32 %637, ptr %48, align 4
br label %614, !llvm.loop !40
638: ; preds = %614
%639 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%640 = call i64 @check_results(ptr noundef %639)
%641 = load i32, ptr %9, align 4
%642 = sext i32 %641 to i64
%643 = add nsw i64 %642, %640
%644 = trunc i64 %643 to i32
store i32 %644, ptr %9, align 4
%645 = load i32, ptr %9, align 4
%646 = load i32, ptr %8, align 4
%647 = icmp eq i32 %645, %646
br i1 %647, label %648, label %650
648: ; preds = %638
%649 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %650
650: ; preds = %648, %638
%651 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %50, align 4
br label %652
652: ; preds = %659, %650
%653 = load i32, ptr %50, align 4
%654 = icmp slt i32 %653, 992
br i1 %654, label %655, label %662
655: ; preds = %652
%656 = load i32, ptr %50, align 4
%657 = sext i32 %656 to i64
%658 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %657
store double 0.000000e+00, ptr %658, align 8
br label %659
659: ; preds = %655
%660 = load i32, ptr %50, align 4
%661 = add nsw i32 %660, 1
store i32 %661, ptr %50, align 4
br label %652, !llvm.loop !41
662: ; preds = %652
store i32 0, ptr %9, align 4
store i32 0, ptr %51, align 4
br label %663
663: ; preds = %684, %662
%664 = load i32, ptr %51, align 4
%665 = icmp slt i32 %664, 1
br i1 %665, label %666, label %687
666: ; preds = %663
store i32 0, ptr %52, align 4
br label %667
667: ; preds = %680, %666
%668 = load i32, ptr %52, align 4
%669 = icmp slt i32 %668, 992
br i1 %669, label %670, label %683
670: ; preds = %667
%671 = load i32, ptr %52, align 4
%672 = sext i32 %671 to i64
%673 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %672
%674 = load double, ptr %673, align 8
%675 = load i32, ptr %52, align 4
%676 = sext i32 %675 to i64
%677 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %676
%678 = load double, ptr %677, align 8
%679 = fadd double %678, %674
store double %679, ptr %677, align 8
br label %680
680: ; preds = %670
%681 = load i32, ptr %52, align 4
%682 = add nsw i32 %681, 1
store i32 %682, ptr %52, align 4
br label %667, !llvm.loop !42
683: ; preds = %667
br label %684
684: ; preds = %683
%685 = load i32, ptr %51, align 4
%686 = add nsw i32 %685, 1
store i32 %686, ptr %51, align 4
br label %663, !llvm.loop !43
687: ; preds = %663
%688 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%689 = call i64 @check_results(ptr noundef %688)
%690 = load i32, ptr %9, align 4
%691 = sext i32 %690 to i64
%692 = add nsw i64 %691, %689
%693 = trunc i64 %692 to i32
store i32 %693, ptr %9, align 4
%694 = load i32, ptr %9, align 4
%695 = load i32, ptr %8, align 4
%696 = icmp eq i32 %694, %695
br i1 %696, label %697, label %699
697: ; preds = %687
%698 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %699
699: ; preds = %697, %687
%700 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %9, align 4
store i32 0, ptr %53, align 4
br label %701
701: ; preds = %708, %699
%702 = load i32, ptr %53, align 4
%703 = icmp slt i32 %702, 992
br i1 %703, label %704, label %711
704: ; preds = %701
%705 = load i32, ptr %53, align 4
%706 = sext i32 %705 to i64
%707 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %706
store double 0.000000e+00, ptr %707, align 8
br label %708
708: ; preds = %704
%709 = load i32, ptr %53, align 4
%710 = add nsw i32 %709, 1
store i32 %710, ptr %53, align 4
br label %701, !llvm.loop !44
711: ; preds = %701
store i32 0, ptr %54, align 4
br label %712
712: ; preds = %719, %711
%713 = load i32, ptr %54, align 4
%714 = icmp slt i32 %713, 992
br i1 %714, label %715, label %722
715: ; preds = %712
%716 = load i32, ptr %54, align 4
%717 = sext i32 %716 to i64
%718 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %717
store double 0.000000e+00, ptr %718, align 8
br label %719
719: ; preds = %715
%720 = load i32, ptr %54, align 4
%721 = add nsw i32 %720, 1
store i32 %721, ptr %54, align 4
br label %712, !llvm.loop !45
722: ; preds = %712
store i32 32, ptr %13, align 4
store i32 64, ptr %14, align 4
%723 = load i32, ptr %14, align 4
store i32 %723, ptr %15, align 4
store i32 0, ptr %55, align 4
br label %724
724: ; preds = %763, %722
%725 = load i32, ptr %55, align 4
%726 = icmp slt i32 %725, 1
br i1 %726, label %727, label %766
727: ; preds = %724
store i32 0, ptr %56, align 4
br label %728
728: ; preds = %758, %727
%729 = load i32, ptr %56, align 4
%730 = icmp slt i32 %729, 256
br i1 %730, label %731, label %762
731: ; preds = %728
%732 = load i32, ptr %56, align 4
store i32 %732, ptr %57, align 4
br label %733
733: ; preds = %754, %731
%734 = load i32, ptr %57, align 4
%735 = load i32, ptr %56, align 4
%736 = load i32, ptr %15, align 4
%737 = add nsw i32 %735, %736
%738 = icmp slt i32 %734, %737
br i1 %738, label %739, label %757
739: ; preds = %733
%740 = load i32, ptr %57, align 4
%741 = sext i32 %740 to i64
%742 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %741
%743 = load double, ptr %742, align 8
%744 = load i32, ptr %57, align 4
%745 = sext i32 %744 to i64
%746 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %745
%747 = load double, ptr %746, align 8
%748 = fadd double %743, %747
%749 = load i32, ptr %57, align 4
%750 = sext i32 %749 to i64
%751 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %750
%752 = load double, ptr %751, align 8
%753 = fadd double %752, %748
store double %753, ptr %751, align 8
br label %754
754: ; preds = %739
%755 = load i32, ptr %57, align 4
%756 = add nsw i32 %755, 1
store i32 %756, ptr %57, align 4
br label %733, !llvm.loop !46
757: ; preds = %733
br label %758
758: ; preds = %757
%759 = load i32, ptr %15, align 4
%760 = load i32, ptr %56, align 4
%761 = add nsw i32 %760, %759
store i32 %761, ptr %56, align 4
br label %728, !llvm.loop !47
762: ; preds = %728
br label %763
763: ; preds = %762
%764 = load i32, ptr %55, align 4
%765 = add nsw i32 %764, 1
store i32 %765, ptr %55, align 4
br label %724, !llvm.loop !48
766: ; preds = %724
store i32 0, ptr %58, align 4
br label %767
767: ; preds = %784, %766
%768 = load i32, ptr %58, align 4
%769 = icmp slt i32 %768, 256
br i1 %769, label %770, label %787
770: ; preds = %767
%771 = load i32, ptr %58, align 4
%772 = sext i32 %771 to i64
%773 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %772
%774 = load double, ptr %773, align 8
%775 = fcmp une double %774, 1.000000e+00
br i1 %775, label %776, label %783
776: ; preds = %770
%777 = load i32, ptr %58, align 4
%778 = load i32, ptr %58, align 4
%779 = sext i32 %778 to i64
%780 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %779
%781 = load double, ptr %780, align 8
%782 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %777, double noundef 5.000000e+00, double noundef %781)
store i32 1, ptr %7, align 4
br label %783
783: ; preds = %776, %770
br label %784
784: ; preds = %783
%785 = load i32, ptr %58, align 4
%786 = add nsw i32 %785, 1
store i32 %786, ptr %58, align 4
br label %767, !llvm.loop !49
787: ; preds = %767
%788 = load i32, ptr %7, align 4
%789 = icmp ne i32 %788, 0
br i1 %789, label %790, label %792
790: ; preds = %787
%791 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %794
792: ; preds = %787
%793 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %794
794: ; preds = %792, %790
%795 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %9, align 4
store i32 0, ptr %59, align 4
br label %796
796: ; preds = %803, %794
%797 = load i32, ptr %59, align 4
%798 = icmp slt i32 %797, 992
br i1 %798, label %799, label %806
799: ; preds = %796
%800 = load i32, ptr %59, align 4
%801 = sext i32 %800 to i64
%802 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %801
store double 0.000000e+00, ptr %802, align 8
br label %803
803: ; preds = %799
%804 = load i32, ptr %59, align 4
%805 = add nsw i32 %804, 1
store i32 %805, ptr %59, align 4
br label %796, !llvm.loop !50
806: ; preds = %796
store i32 0, ptr %60, align 4
br label %807
807: ; preds = %814, %806
%808 = load i32, ptr %60, align 4
%809 = icmp slt i32 %808, 992
br i1 %809, label %810, label %817
810: ; preds = %807
%811 = load i32, ptr %60, align 4
%812 = sext i32 %811 to i64
%813 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %812
store double 0.000000e+00, ptr %813, align 8
br label %814
814: ; preds = %810
%815 = load i32, ptr %60, align 4
%816 = add nsw i32 %815, 1
store i32 %816, ptr %60, align 4
br label %807, !llvm.loop !51
817: ; preds = %807
store i32 32, ptr %13, align 4
store i32 64, ptr %14, align 4
%818 = load i32, ptr %14, align 4
store i32 %818, ptr %15, align 4
store i32 0, ptr %61, align 4
br label %819
819: ; preds = %867, %817
%820 = load i32, ptr %61, align 4
%821 = icmp slt i32 %820, 1
br i1 %821, label %822, label %870
822: ; preds = %819
store i32 0, ptr %62, align 4
br label %823
823: ; preds = %862, %822
%824 = load i32, ptr %62, align 4
%825 = icmp slt i32 %824, 510
br i1 %825, label %826, label %866
826: ; preds = %823
%827 = load i32, ptr %62, align 4
%828 = load i32, ptr %15, align 4
%829 = add nsw i32 %827, %828
%830 = icmp slt i32 %829, 510
br i1 %830, label %831, label %835
831: ; preds = %826
%832 = load i32, ptr %62, align 4
%833 = load i32, ptr %15, align 4
%834 = add nsw i32 %832, %833
br label %836
835: ; preds = %826
br label %836
836: ; preds = %835, %831
%837 = phi i32 [ %834, %831 ], [ 512, %835 ]
store i32 %837, ptr %63, align 4
%838 = load i32, ptr %62, align 4
store i32 %838, ptr %64, align 4
br label %839
839: ; preds = %858, %836
%840 = load i32, ptr %64, align 4
%841 = load i32, ptr %63, align 4
%842 = icmp slt i32 %840, %841
br i1 %842, label %843, label %861
843: ; preds = %839
%844 = load i32, ptr %64, align 4
%845 = sext i32 %844 to i64
%846 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %845
%847 = load double, ptr %846, align 8
%848 = load i32, ptr %64, align 4
%849 = sext i32 %848 to i64
%850 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %849
%851 = load double, ptr %850, align 8
%852 = fadd double %847, %851
%853 = load i32, ptr %64, align 4
%854 = sext i32 %853 to i64
%855 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %854
%856 = load double, ptr %855, align 8
%857 = fadd double %856, %852
store double %857, ptr %855, align 8
br label %858
858: ; preds = %843
%859 = load i32, ptr %64, align 4
%860 = add nsw i32 %859, 1
store i32 %860, ptr %64, align 4
br label %839, !llvm.loop !52
861: ; preds = %839
br label %862
862: ; preds = %861
%863 = load i32, ptr %15, align 4
%864 = load i32, ptr %62, align 4
%865 = add nsw i32 %864, %863
store i32 %865, ptr %62, align 4
br label %823, !llvm.loop !53
866: ; preds = %823
br label %867
867: ; preds = %866
%868 = load i32, ptr %61, align 4
%869 = add nsw i32 %868, 1
store i32 %869, ptr %61, align 4
br label %819, !llvm.loop !54
870: ; preds = %819
store i32 0, ptr %65, align 4
br label %871
871: ; preds = %888, %870
%872 = load i32, ptr %65, align 4
%873 = icmp slt i32 %872, 256
br i1 %873, label %874, label %891
874: ; preds = %871
%875 = load i32, ptr %65, align 4
%876 = sext i32 %875 to i64
%877 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %876
%878 = load double, ptr %877, align 8
%879 = fcmp une double %878, 1.000000e+00
br i1 %879, label %880, label %887
880: ; preds = %874
%881 = load i32, ptr %65, align 4
%882 = load i32, ptr %65, align 4
%883 = sext i32 %882 to i64
%884 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %883
%885 = load double, ptr %884, align 8
%886 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %881, double noundef 5.000000e+00, double noundef %885)
store i32 1, ptr %7, align 4
br label %887
887: ; preds = %880, %874
br label %888
888: ; preds = %887
%889 = load i32, ptr %65, align 4
%890 = add nsw i32 %889, 1
store i32 %890, ptr %65, align 4
br label %871, !llvm.loop !55
891: ; preds = %871
%892 = load i32, ptr %7, align 4
%893 = icmp ne i32 %892, 0
br i1 %893, label %894, label %896
894: ; preds = %891
%895 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %898
896: ; preds = %891
%897 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %898
898: ; preds = %896, %894
%899 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
store i32 0, ptr %9, align 4
%900 = call ptr @malloc(i32 noundef 7872512)
store ptr %900, ptr %66, align 8
%901 = call ptr @malloc(i32 noundef 7872512)
store ptr %901, ptr %67, align 8
%902 = call ptr @malloc(i32 noundef 7872512)
store ptr %902, ptr %68, align 8
store i32 0, ptr %69, align 4
br label %903
903: ; preds = %936, %898
%904 = load i32, ptr %69, align 4
%905 = icmp slt i32 %904, 992
br i1 %905, label %906, label %939
906: ; preds = %903
store i32 0, ptr %70, align 4
br label %907
907: ; preds = %932, %906
%908 = load i32, ptr %70, align 4
%909 = icmp slt i32 %908, 992
br i1 %909, label %910, label %935
910: ; preds = %907
%911 = load ptr, ptr %66, align 8
%912 = load i32, ptr %69, align 4
%913 = mul nsw i32 %912, 992
%914 = load i32, ptr %70, align 4
%915 = add nsw i32 %913, %914
%916 = sext i32 %915 to i64
%917 = getelementptr inbounds double, ptr %911, i64 %916
store double 0.000000e+00, ptr %917, align 8
%918 = load ptr, ptr %67, align 8
%919 = load i32, ptr %69, align 4
%920 = mul nsw i32 %919, 992
%921 = load i32, ptr %70, align 4
%922 = add nsw i32 %920, %921
%923 = sext i32 %922 to i64
%924 = getelementptr inbounds double, ptr %918, i64 %923
store double 1.000000e+00, ptr %924, align 8
%925 = load ptr, ptr %68, align 8
%926 = load i32, ptr %69, align 4
%927 = mul nsw i32 %926, 992
%928 = load i32, ptr %70, align 4
%929 = add nsw i32 %927, %928
%930 = sext i32 %929 to i64
%931 = getelementptr inbounds double, ptr %925, i64 %930
store double 2.000000e+00, ptr %931, align 8
br label %932
932: ; preds = %910
%933 = load i32, ptr %70, align 4
%934 = add nsw i32 %933, 1
store i32 %934, ptr %70, align 4
br label %907, !llvm.loop !56
935: ; preds = %907
br label %936
936: ; preds = %935
%937 = load i32, ptr %69, align 4
%938 = add nsw i32 %937, 1
store i32 %938, ptr %69, align 4
br label %903, !llvm.loop !57
939: ; preds = %903
store i32 0, ptr %71, align 4
br label %940
940: ; preds = %986, %939
%941 = load i32, ptr %71, align 4
%942 = icmp slt i32 %941, 1
br i1 %942, label %943, label %989
943: ; preds = %940
store i32 0, ptr %72, align 4
br label %944
944: ; preds = %982, %943
%945 = load i32, ptr %72, align 4
%946 = icmp slt i32 %945, 992
br i1 %946, label %947, label %985
947: ; preds = %944
store i32 0, ptr %73, align 4
br label %948
948: ; preds = %978, %947
%949 = load i32, ptr %73, align 4
%950 = icmp slt i32 %949, 992
br i1 %950, label %951, label %981
951: ; preds = %948
%952 = load ptr, ptr %67, align 8
%953 = load i32, ptr %72, align 4
%954 = mul nsw i32 %953, 992
%955 = load i32, ptr %73, align 4
%956 = add nsw i32 %954, %955
%957 = sext i32 %956 to i64
%958 = getelementptr inbounds double, ptr %952, i64 %957
%959 = load double, ptr %958, align 8
%960 = load ptr, ptr %68, align 8
%961 = load i32, ptr %72, align 4
%962 = mul nsw i32 %961, 992
%963 = load i32, ptr %73, align 4
%964 = add nsw i32 %962, %963
%965 = sext i32 %964 to i64
%966 = getelementptr inbounds double, ptr %960, i64 %965
%967 = load double, ptr %966, align 8
%968 = fadd double %959, %967
%969 = load ptr, ptr %66, align 8
%970 = load i32, ptr %72, align 4
%971 = mul nsw i32 %970, 992
%972 = load i32, ptr %73, align 4
%973 = add nsw i32 %971, %972
%974 = sext i32 %973 to i64
%975 = getelementptr inbounds double, ptr %969, i64 %974
%976 = load double, ptr %975, align 8
%977 = fadd double %976, %968
store double %977, ptr %975, align 8
br label %978
978: ; preds = %951
%979 = load i32, ptr %73, align 4
%980 = add nsw i32 %979, 1
store i32 %980, ptr %73, align 4
br label %948, !llvm.loop !58
981: ; preds = %948
br label %982
982: ; preds = %981
%983 = load i32, ptr %72, align 4
%984 = add nsw i32 %983, 1
store i32 %984, ptr %72, align 4
br label %944, !llvm.loop !59
985: ; preds = %944
br label %986
986: ; preds = %985
%987 = load i32, ptr %71, align 4
%988 = add nsw i32 %987, 1
store i32 %988, ptr %71, align 4
br label %940, !llvm.loop !60
989: ; preds = %940
store i32 0, ptr %74, align 4
br label %990
990: ; preds = %1024, %989
%991 = load i32, ptr %74, align 4
%992 = icmp slt i32 %991, 992
br i1 %992, label %993, label %1027
993: ; preds = %990
store i32 0, ptr %75, align 4
br label %994
994: ; preds = %1020, %993
%995 = load i32, ptr %75, align 4
%996 = icmp slt i32 %995, 992
br i1 %996, label %997, label %1023
997: ; preds = %994
%998 = load ptr, ptr %66, align 8
%999 = load i32, ptr %74, align 4
%1000 = mul nsw i32 %999, 992
%1001 = load i32, ptr %75, align 4
%1002 = add nsw i32 %1000, %1001
%1003 = sext i32 %1002 to i64
%1004 = getelementptr inbounds double, ptr %998, i64 %1003
%1005 = load double, ptr %1004, align 8
%1006 = fcmp une double %1005, 3.000000e+00
br i1 %1006, label %1007, label %1019
1007: ; preds = %997
%1008 = load i32, ptr %74, align 4
%1009 = load i32, ptr %75, align 4
%1010 = load ptr, ptr %66, align 8
%1011 = load i32, ptr %74, align 4
%1012 = mul nsw i32 %1011, 992
%1013 = load i32, ptr %75, align 4
%1014 = add nsw i32 %1012, %1013
%1015 = sext i32 %1014 to i64
%1016 = getelementptr inbounds double, ptr %1010, i64 %1015
%1017 = load double, ptr %1016, align 8
%1018 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %1008, i32 noundef %1009, double noundef 3.000000e+00, double noundef %1017)
store i32 1, ptr %7, align 4
br label %1019
1019: ; preds = %1007, %997
br label %1020
1020: ; preds = %1019
%1021 = load i32, ptr %75, align 4
%1022 = add nsw i32 %1021, 1
store i32 %1022, ptr %75, align 4
br label %994, !llvm.loop !61
1023: ; preds = %994
br label %1024
1024: ; preds = %1023
%1025 = load i32, ptr %74, align 4
%1026 = add nsw i32 %1025, 1
store i32 %1026, ptr %74, align 4
br label %990, !llvm.loop !62
1027: ; preds = %990
%1028 = load i32, ptr %7, align 4
%1029 = icmp ne i32 %1028, 0
br i1 %1029, label %1030, label %1032
1030: ; preds = %1027
%1031 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %1034
1032: ; preds = %1027
%1033 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1034
1034: ; preds = %1032, %1030
%1035 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
store i32 0, ptr %9, align 4
store i32 124, ptr %76, align 4
%1036 = load i32, ptr %76, align 4
%1037 = load i32, ptr %76, align 4
%1038 = mul nsw i32 %1036, %1037
%1039 = load i32, ptr %76, align 4
%1040 = mul nsw i32 %1038, %1039
%1041 = sext i32 %1040 to i64
%1042 = mul i64 %1041, 8
%1043 = trunc i64 %1042 to i32
%1044 = call ptr @malloc(i32 noundef %1043)
store ptr %1044, ptr %77, align 8
%1045 = load i32, ptr %76, align 4
%1046 = load i32, ptr %76, align 4
%1047 = mul nsw i32 %1045, %1046
%1048 = load i32, ptr %76, align 4
%1049 = mul nsw i32 %1047, %1048
%1050 = sext i32 %1049 to i64
%1051 = mul i64 %1050, 8
%1052 = trunc i64 %1051 to i32
%1053 = call ptr @malloc(i32 noundef %1052)
store ptr %1053, ptr %78, align 8
store i32 0, ptr %79, align 4
br label %1054
1054: ; preds = %1105, %1034
%1055 = load i32, ptr %79, align 4
%1056 = load i32, ptr %76, align 4
%1057 = icmp slt i32 %1055, %1056
br i1 %1057, label %1058, label %1108
1058: ; preds = %1054
store i32 0, ptr %80, align 4
br label %1059
1059: ; preds = %1101, %1058
%1060 = load i32, ptr %80, align 4
%1061 = load i32, ptr %76, align 4
%1062 = icmp slt i32 %1060, %1061
br i1 %1062, label %1063, label %1104
1063: ; preds = %1059
store i32 0, ptr %81, align 4
br label %1064
1064: ; preds = %1097, %1063
%1065 = load i32, ptr %81, align 4
%1066 = load i32, ptr %76, align 4
%1067 = icmp slt i32 %1065, %1066
br i1 %1067, label %1068, label %1100
1068: ; preds = %1064
%1069 = load ptr, ptr %77, align 8
%1070 = load i32, ptr %79, align 4
%1071 = load i32, ptr %76, align 4
%1072 = mul nsw i32 %1070, %1071
%1073 = load i32, ptr %76, align 4
%1074 = mul nsw i32 %1072, %1073
%1075 = load i32, ptr %80, align 4
%1076 = load i32, ptr %76, align 4
%1077 = mul nsw i32 %1075, %1076
%1078 = add nsw i32 %1074, %1077
%1079 = load i32, ptr %81, align 4
%1080 = add nsw i32 %1078, %1079
%1081 = sext i32 %1080 to i64
%1082 = getelementptr inbounds double, ptr %1069, i64 %1081
store double 2.000000e+00, ptr %1082, align 8
%1083 = load ptr, ptr %78, align 8
%1084 = load i32, ptr %79, align 4
%1085 = load i32, ptr %76, align 4
%1086 = mul nsw i32 %1084, %1085
%1087 = load i32, ptr %76, align 4
%1088 = mul nsw i32 %1086, %1087
%1089 = load i32, ptr %80, align 4
%1090 = load i32, ptr %76, align 4
%1091 = mul nsw i32 %1089, %1090
%1092 = add nsw i32 %1088, %1091
%1093 = load i32, ptr %81, align 4
%1094 = add nsw i32 %1092, %1093
%1095 = sext i32 %1094 to i64
%1096 = getelementptr inbounds double, ptr %1083, i64 %1095
store double 3.000000e+00, ptr %1096, align 8
br label %1097
1097: ; preds = %1068
%1098 = load i32, ptr %81, align 4
%1099 = add nsw i32 %1098, 1
store i32 %1099, ptr %81, align 4
br label %1064, !llvm.loop !63
1100: ; preds = %1064
br label %1101
1101: ; preds = %1100
%1102 = load i32, ptr %80, align 4
%1103 = add nsw i32 %1102, 1
store i32 %1103, ptr %80, align 4
br label %1059, !llvm.loop !64
1104: ; preds = %1059
br label %1105
1105: ; preds = %1104
%1106 = load i32, ptr %79, align 4
%1107 = add nsw i32 %1106, 1
store i32 %1107, ptr %79, align 4
br label %1054, !llvm.loop !65
1108: ; preds = %1054
store i32 0, ptr %82, align 4
br label %1109
1109: ; preds = %1171, %1108
%1110 = load i32, ptr %82, align 4
%1111 = icmp slt i32 %1110, 1
br i1 %1111, label %1112, label %1174
1112: ; preds = %1109
store i32 0, ptr %83, align 4
br label %1113
1113: ; preds = %1167, %1112
%1114 = load i32, ptr %83, align 4
%1115 = load i32, ptr %76, align 4
%1116 = icmp slt i32 %1114, %1115
br i1 %1116, label %1117, label %1170
1117: ; preds = %1113
store i32 0, ptr %84, align 4
br label %1118
1118: ; preds = %1163, %1117
%1119 = load i32, ptr %84, align 4
%1120 = load i32, ptr %76, align 4
%1121 = icmp slt i32 %1119, %1120
br i1 %1121, label %1122, label %1166
1122: ; preds = %1118
store i32 0, ptr %85, align 4
br label %1123
1123: ; preds = %1159, %1122
%1124 = load i32, ptr %85, align 4
%1125 = load i32, ptr %76, align 4
%1126 = icmp slt i32 %1124, %1125
br i1 %1126, label %1127, label %1162
1127: ; preds = %1123
%1128 = load ptr, ptr %78, align 8
%1129 = load i32, ptr %83, align 4
%1130 = load i32, ptr %76, align 4
%1131 = mul nsw i32 %1129, %1130
%1132 = load i32, ptr %76, align 4
%1133 = mul nsw i32 %1131, %1132
%1134 = load i32, ptr %84, align 4
%1135 = load i32, ptr %76, align 4
%1136 = mul nsw i32 %1134, %1135
%1137 = add nsw i32 %1133, %1136
%1138 = load i32, ptr %85, align 4
%1139 = add nsw i32 %1137, %1138
%1140 = sext i32 %1139 to i64
%1141 = getelementptr inbounds double, ptr %1128, i64 %1140
%1142 = load double, ptr %1141, align 8
%1143 = load ptr, ptr %77, align 8
%1144 = load i32, ptr %83, align 4
%1145 = load i32, ptr %76, align 4
%1146 = mul nsw i32 %1144, %1145
%1147 = load i32, ptr %76, align 4
%1148 = mul nsw i32 %1146, %1147
%1149 = load i32, ptr %84, align 4
%1150 = load i32, ptr %76, align 4
%1151 = mul nsw i32 %1149, %1150
%1152 = add nsw i32 %1148, %1151
%1153 = load i32, ptr %85, align 4
%1154 = add nsw i32 %1152, %1153
%1155 = sext i32 %1154 to i64
%1156 = getelementptr inbounds double, ptr %1143, i64 %1155
%1157 = load double, ptr %1156, align 8
%1158 = fadd double %1157, %1142
store double %1158, ptr %1156, align 8
br label %1159
1159: ; preds = %1127
%1160 = load i32, ptr %85, align 4
%1161 = add nsw i32 %1160, 1
store i32 %1161, ptr %85, align 4
br label %1123, !llvm.loop !66
1162: ; preds = %1123
br label %1163
1163: ; preds = %1162
%1164 = load i32, ptr %84, align 4
%1165 = add nsw i32 %1164, 1
store i32 %1165, ptr %84, align 4
br label %1118, !llvm.loop !67
1166: ; preds = %1118
br label %1167
1167: ; preds = %1166
%1168 = load i32, ptr %83, align 4
%1169 = add nsw i32 %1168, 1
store i32 %1169, ptr %83, align 4
br label %1113, !llvm.loop !68
1170: ; preds = %1113
br label %1171
1171: ; preds = %1170
%1172 = load i32, ptr %82, align 4
%1173 = add nsw i32 %1172, 1
store i32 %1173, ptr %82, align 4
br label %1109, !llvm.loop !69
1174: ; preds = %1109
store i32 0, ptr %86, align 4
br label %1175
1175: ; preds = %1234, %1174
%1176 = load i32, ptr %86, align 4
%1177 = load i32, ptr %76, align 4
%1178 = icmp slt i32 %1176, %1177
br i1 %1178, label %1179, label %1237
1179: ; preds = %1175
store i32 0, ptr %87, align 4
br label %1180
1180: ; preds = %1230, %1179
%1181 = load i32, ptr %87, align 4
%1182 = load i32, ptr %76, align 4
%1183 = icmp slt i32 %1181, %1182
br i1 %1183, label %1184, label %1233
1184: ; preds = %1180
store i32 0, ptr %88, align 4
br label %1185
1185: ; preds = %1226, %1184
%1186 = load i32, ptr %88, align 4
%1187 = load i32, ptr %76, align 4
%1188 = icmp slt i32 %1186, %1187
br i1 %1188, label %1189, label %1229
1189: ; preds = %1185
%1190 = load ptr, ptr %77, align 8
%1191 = load i32, ptr %86, align 4
%1192 = load i32, ptr %76, align 4
%1193 = mul nsw i32 %1191, %1192
%1194 = load i32, ptr %76, align 4
%1195 = mul nsw i32 %1193, %1194
%1196 = load i32, ptr %87, align 4
%1197 = load i32, ptr %76, align 4
%1198 = mul nsw i32 %1196, %1197
%1199 = add nsw i32 %1195, %1198
%1200 = load i32, ptr %88, align 4
%1201 = add nsw i32 %1199, %1200
%1202 = sext i32 %1201 to i64
%1203 = getelementptr inbounds double, ptr %1190, i64 %1202
%1204 = load double, ptr %1203, align 8
%1205 = fcmp une double %1204, 5.000000e+00
br i1 %1205, label %1206, label %1225
1206: ; preds = %1189
%1207 = load i32, ptr %86, align 4
%1208 = load i32, ptr %87, align 4
%1209 = load ptr, ptr %77, align 8
%1210 = load i32, ptr %86, align 4
%1211 = load i32, ptr %76, align 4
%1212 = mul nsw i32 %1210, %1211
%1213 = load i32, ptr %76, align 4
%1214 = mul nsw i32 %1212, %1213
%1215 = load i32, ptr %87, align 4
%1216 = load i32, ptr %76, align 4
%1217 = mul nsw i32 %1215, %1216
%1218 = add nsw i32 %1214, %1217
%1219 = load i32, ptr %88, align 4
%1220 = add nsw i32 %1218, %1219
%1221 = sext i32 %1220 to i64
%1222 = getelementptr inbounds double, ptr %1209, i64 %1221
%1223 = load double, ptr %1222, align 8
%1224 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %1207, i32 noundef %1208, double noundef 3.000000e+00, double noundef %1223)
store i32 1, ptr %7, align 4
br label %1225
1225: ; preds = %1206, %1189
br label %1226
1226: ; preds = %1225
%1227 = load i32, ptr %88, align 4
%1228 = add nsw i32 %1227, 1
store i32 %1228, ptr %88, align 4
br label %1185, !llvm.loop !70
1229: ; preds = %1185
br label %1230
1230: ; preds = %1229
%1231 = load i32, ptr %87, align 4
%1232 = add nsw i32 %1231, 1
store i32 %1232, ptr %87, align 4
br label %1180, !llvm.loop !71
1233: ; preds = %1180
br label %1234
1234: ; preds = %1233
%1235 = load i32, ptr %86, align 4
%1236 = add nsw i32 %1235, 1
store i32 %1236, ptr %86, align 4
br label %1175, !llvm.loop !72
1237: ; preds = %1175
%1238 = load i32, ptr %7, align 4
%1239 = icmp ne i32 %1238, 0
br i1 %1239, label %1240, label %1242
1240: ; preds = %1237
%1241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %1244
1242: ; preds = %1237
%1243 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1244
1244: ; preds = %1242, %1240
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @check_results(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!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}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
!57 = distinct !{!57, !7}
!58 = distinct !{!58, !7}
!59 = distinct !{!59, !7}
!60 = distinct !{!60, !7}
!61 = distinct !{!61, !7}
!62 = distinct !{!62, !7}
!63 = distinct !{!63, !7}
!64 = distinct !{!64, !7}
!65 = distinct !{!65, !7}
!66 = distinct !{!66, !7}
!67 = distinct !{!67, !7}
!68 = distinct !{!68, !7}
!69 = distinct !{!69, !7}
!70 = distinct !{!70, !7}
!71 = distinct !{!71, !7}
!72 = distinct !{!72, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5sq166e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"iterations = teams\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"iterations > teams\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"iterations < teams\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"num_teams(512) dist_schedule(static,1)\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"num_teams(512) dist_schedule(static,512)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"num_teams(512) dist_schedule(static, chunkSize)\0A\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"num_teams(1024) dist_schedule(static, chunkSize)\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"num_teams(1024) dist_schedule(static, 1)\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"num_teams(3) dist_schedule(static, 1)\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"num_teams(3) dist_schedule(static, 3)\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"num_teams(10) dist_schedule(static, 99)\0A\00", align 1
@.str.12 = private unnamed_addr constant [43 x i8] c"num_teams(256) dist_schedule(static, 992)\0A\00", align 1
@.str.13 = private unnamed_addr constant [61 x i8] c"num_teams(nte) thread_limit(tl) with parallel for innermost\0A\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"Error at A[%d], h = %lf, d = %lf\0A\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.16 = private unnamed_addr constant [28 x i8] c"num_teams(512) collapse(2)\0A\00", align 1
@.str.17 = private unnamed_addr constant [36 x i8] c"Error at (%d,%d), h = %lf, d = %lf\0A\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"num_teams(512) collapse(3)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%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 i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca i32, align 4
%60 = alloca i32, align 4
%61 = alloca i32, align 4
%62 = alloca i32, align 4
%63 = alloca i32, align 4
%64 = alloca i32, align 4
%65 = alloca i32, align 4
%66 = alloca ptr, align 8
%67 = alloca ptr, align 8
%68 = alloca ptr, align 8
%69 = alloca i32, align 4
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca i32, align 4
%76 = alloca i32, align 4
%77 = alloca ptr, align 8
%78 = alloca ptr, align 8
%79 = alloca i32, align 4
%80 = alloca i32, align 4
%81 = alloca i32, align 4
%82 = alloca i32, align 4
%83 = alloca i32, align 4
%84 = alloca i32, align 4
%85 = alloca i32, align 4
%86 = alloca i32, align 4
%87 = alloca i32, align 4
%88 = alloca i32, align 4
store i32 0, ptr %1, align 4
%89 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 2.000000e+00, ptr %11, align 8
store double 4.000000e+00, ptr %12, align 8
store i32 0, ptr %16, align 4
%90 = load i32, ptr %16, align 4
%91 = icmp slt i32 %90, 992
br i1 %91, label %.lr.ph, label %112
.lr.ph: ; preds = %0
br label %92
92: ; preds = %.lr.ph, %107
%93 = load i32, ptr %16, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %94
store double 1.000000e+00, ptr %95, align 8
%96 = load i32, ptr %16, align 4
%97 = sitofp i32 %96 to double
%98 = load i32, ptr %16, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %99
store double %97, ptr %100, align 8
%101 = load i32, ptr %16, align 4
%102 = sub nsw i32 0, %101
%103 = sitofp i32 %102 to double
%104 = load i32, ptr %16, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %105
store double %103, ptr %106, align 8
br label %107
107: ; preds = %92
%108 = load i32, ptr %16, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %16, align 4
%110 = load i32, ptr %16, align 4
%111 = icmp slt i32 %110, 992
br i1 %111, label %92, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %107
br label %112
112: ; preds = %._crit_edge, %0
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %17, align 4
%114 = load i32, ptr %17, align 4
%115 = icmp slt i32 %114, 992
br i1 %115, label %.lr.ph2, label %125
.lr.ph2: ; preds = %112
br label %116
116: ; preds = %.lr.ph2, %120
%117 = load i32, ptr %17, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %118
store double 0.000000e+00, ptr %119, align 8
br label %120
120: ; preds = %116
%121 = load i32, ptr %17, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %17, align 4
%123 = load i32, ptr %17, align 4
%124 = icmp slt i32 %123, 992
br i1 %124, label %116, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %125
125: ; preds = %._crit_edge3, %112
store i32 0, ptr %9, align 4
store i32 0, ptr %18, align 4
%126 = load i32, ptr %18, align 4
%127 = icmp slt i32 %126, 1
br i1 %127, label %.lr.ph8, label %152
.lr.ph8: ; preds = %125
br label %128
128: ; preds = %.lr.ph8, %147
store i32 0, ptr %19, align 4
%129 = load i32, ptr %19, align 4
%130 = icmp slt i32 %129, 992
br i1 %130, label %.lr.ph5, label %146
.lr.ph5: ; preds = %128
br label %131
131: ; preds = %.lr.ph5, %141
%132 = load i32, ptr %19, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %133
%135 = load double, ptr %134, align 8
%136 = load i32, ptr %19, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %137
%139 = load double, ptr %138, align 8
%140 = fadd double %139, %135
store double %140, ptr %138, align 8
br label %141
141: ; preds = %131
%142 = load i32, ptr %19, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %19, align 4
%144 = load i32, ptr %19, align 4
%145 = icmp slt i32 %144, 992
br i1 %145, label %131, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %141
br label %146
146: ; preds = %._crit_edge6, %128
br label %147
147: ; preds = %146
%148 = load i32, ptr %18, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %18, align 4
%150 = load i32, ptr %18, align 4
%151 = icmp slt i32 %150, 1
br i1 %151, label %128, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %147
br label %152
152: ; preds = %._crit_edge9, %125
%153 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%154 = call i64 @check_results(ptr noundef %153)
%155 = load i32, ptr %9, align 4
%156 = sext i32 %155 to i64
%157 = add nsw i64 %156, %154
%158 = trunc i64 %157 to i32
store i32 %158, ptr %9, align 4
%159 = load i32, ptr %9, align 4
%160 = load i32, ptr %8, align 4
%161 = icmp eq i32 %159, %160
br i1 %161, label %162, label %164
162: ; preds = %152
%163 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %164
164: ; preds = %162, %152
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %20, align 4
%166 = load i32, ptr %20, align 4
%167 = icmp slt i32 %166, 992
br i1 %167, label %.lr.ph11, label %177
.lr.ph11: ; preds = %164
br label %168
168: ; preds = %.lr.ph11, %172
%169 = load i32, ptr %20, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %170
store double 0.000000e+00, ptr %171, align 8
br label %172
172: ; preds = %168
%173 = load i32, ptr %20, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %20, align 4
%175 = load i32, ptr %20, align 4
%176 = icmp slt i32 %175, 992
br i1 %176, label %168, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %172
br label %177
177: ; preds = %._crit_edge12, %164
store i32 0, ptr %9, align 4
store i32 0, ptr %21, align 4
%178 = load i32, ptr %21, align 4
%179 = icmp slt i32 %178, 1
br i1 %179, label %.lr.ph17, label %204
.lr.ph17: ; preds = %177
br label %180
180: ; preds = %.lr.ph17, %199
store i32 0, ptr %22, align 4
%181 = load i32, ptr %22, align 4
%182 = icmp slt i32 %181, 992
br i1 %182, label %.lr.ph14, label %198
.lr.ph14: ; preds = %180
br label %183
183: ; preds = %.lr.ph14, %193
%184 = load i32, ptr %22, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %185
%187 = load double, ptr %186, align 8
%188 = load i32, ptr %22, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %189
%191 = load double, ptr %190, align 8
%192 = fadd double %191, %187
store double %192, ptr %190, align 8
br label %193
193: ; preds = %183
%194 = load i32, ptr %22, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %22, align 4
%196 = load i32, ptr %22, align 4
%197 = icmp slt i32 %196, 992
br i1 %197, label %183, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %193
br label %198
198: ; preds = %._crit_edge15, %180
br label %199
199: ; preds = %198
%200 = load i32, ptr %21, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %21, align 4
%202 = load i32, ptr %21, align 4
%203 = icmp slt i32 %202, 1
br i1 %203, label %180, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %199
br label %204
204: ; preds = %._crit_edge18, %177
%205 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%206 = call i64 @check_results(ptr noundef %205)
%207 = load i32, ptr %9, align 4
%208 = sext i32 %207 to i64
%209 = add nsw i64 %208, %206
%210 = trunc i64 %209 to i32
store i32 %210, ptr %9, align 4
%211 = load i32, ptr %9, align 4
%212 = load i32, ptr %8, align 4
%213 = icmp eq i32 %211, %212
br i1 %213, label %214, label %216
214: ; preds = %204
%215 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %216
216: ; preds = %214, %204
%217 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %23, align 4
%218 = load i32, ptr %23, align 4
%219 = icmp slt i32 %218, 992
br i1 %219, label %.lr.ph20, label %229
.lr.ph20: ; preds = %216
br label %220
220: ; preds = %.lr.ph20, %224
%221 = load i32, ptr %23, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %222
store double 0.000000e+00, ptr %223, align 8
br label %224
224: ; preds = %220
%225 = load i32, ptr %23, align 4
%226 = add nsw i32 %225, 1
store i32 %226, ptr %23, align 4
%227 = load i32, ptr %23, align 4
%228 = icmp slt i32 %227, 992
br i1 %228, label %220, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %224
br label %229
229: ; preds = %._crit_edge21, %216
store i32 0, ptr %9, align 4
store i32 0, ptr %24, align 4
%230 = load i32, ptr %24, align 4
%231 = icmp slt i32 %230, 1
br i1 %231, label %.lr.ph26, label %256
.lr.ph26: ; preds = %229
br label %232
232: ; preds = %.lr.ph26, %251
store i32 0, ptr %25, align 4
%233 = load i32, ptr %25, align 4
%234 = icmp slt i32 %233, 992
br i1 %234, label %.lr.ph23, label %250
.lr.ph23: ; preds = %232
br label %235
235: ; preds = %.lr.ph23, %245
%236 = load i32, ptr %25, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %237
%239 = load double, ptr %238, align 8
%240 = load i32, ptr %25, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %241
%243 = load double, ptr %242, align 8
%244 = fadd double %243, %239
store double %244, ptr %242, align 8
br label %245
245: ; preds = %235
%246 = load i32, ptr %25, align 4
%247 = add nsw i32 %246, 1
store i32 %247, ptr %25, align 4
%248 = load i32, ptr %25, align 4
%249 = icmp slt i32 %248, 992
br i1 %249, label %235, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %245
br label %250
250: ; preds = %._crit_edge24, %232
br label %251
251: ; preds = %250
%252 = load i32, ptr %24, align 4
%253 = add nsw i32 %252, 1
store i32 %253, ptr %24, align 4
%254 = load i32, ptr %24, align 4
%255 = icmp slt i32 %254, 1
br i1 %255, label %232, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %251
br label %256
256: ; preds = %._crit_edge27, %229
%257 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%258 = call i64 @check_results(ptr noundef %257)
%259 = load i32, ptr %9, align 4
%260 = sext i32 %259 to i64
%261 = add nsw i64 %260, %258
%262 = trunc i64 %261 to i32
store i32 %262, ptr %9, align 4
%263 = load i32, ptr %9, align 4
%264 = load i32, ptr %8, align 4
%265 = icmp eq i32 %263, %264
br i1 %265, label %266, label %268
266: ; preds = %256
%267 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %268
268: ; preds = %266, %256
%269 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %26, align 4
%270 = load i32, ptr %26, align 4
%271 = icmp slt i32 %270, 992
br i1 %271, label %.lr.ph29, label %281
.lr.ph29: ; preds = %268
br label %272
272: ; preds = %.lr.ph29, %276
%273 = load i32, ptr %26, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %274
store double 0.000000e+00, ptr %275, align 8
br label %276
276: ; preds = %272
%277 = load i32, ptr %26, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %26, align 4
%279 = load i32, ptr %26, align 4
%280 = icmp slt i32 %279, 992
br i1 %280, label %272, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %276
br label %281
281: ; preds = %._crit_edge30, %268
store i32 0, ptr %9, align 4
store i32 0, ptr %27, align 4
%282 = load i32, ptr %27, align 4
%283 = icmp slt i32 %282, 1
br i1 %283, label %.lr.ph35, label %308
.lr.ph35: ; preds = %281
br label %284
284: ; preds = %.lr.ph35, %303
store i32 0, ptr %28, align 4
%285 = load i32, ptr %28, align 4
%286 = icmp slt i32 %285, 992
br i1 %286, label %.lr.ph32, label %302
.lr.ph32: ; preds = %284
br label %287
287: ; preds = %.lr.ph32, %297
%288 = load i32, ptr %28, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %289
%291 = load double, ptr %290, align 8
%292 = load i32, ptr %28, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %293
%295 = load double, ptr %294, align 8
%296 = fadd double %295, %291
store double %296, ptr %294, align 8
br label %297
297: ; preds = %287
%298 = load i32, ptr %28, align 4
%299 = add nsw i32 %298, 1
store i32 %299, ptr %28, align 4
%300 = load i32, ptr %28, align 4
%301 = icmp slt i32 %300, 992
br i1 %301, label %287, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %297
br label %302
302: ; preds = %._crit_edge33, %284
br label %303
303: ; preds = %302
%304 = load i32, ptr %27, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %27, align 4
%306 = load i32, ptr %27, align 4
%307 = icmp slt i32 %306, 1
br i1 %307, label %284, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %303
br label %308
308: ; preds = %._crit_edge36, %281
%309 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%310 = call i64 @check_results(ptr noundef %309)
%311 = load i32, ptr %9, align 4
%312 = sext i32 %311 to i64
%313 = add nsw i64 %312, %310
%314 = trunc i64 %313 to i32
store i32 %314, ptr %9, align 4
%315 = load i32, ptr %9, align 4
%316 = load i32, ptr %8, align 4
%317 = icmp eq i32 %315, %316
br i1 %317, label %318, label %320
318: ; preds = %308
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %320
320: ; preds = %318, %308
%321 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %29, align 4
%322 = load i32, ptr %29, align 4
%323 = icmp slt i32 %322, 992
br i1 %323, label %.lr.ph38, label %333
.lr.ph38: ; preds = %320
br label %324
324: ; preds = %.lr.ph38, %328
%325 = load i32, ptr %29, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %326
store double 0.000000e+00, ptr %327, align 8
br label %328
328: ; preds = %324
%329 = load i32, ptr %29, align 4
%330 = add nsw i32 %329, 1
store i32 %330, ptr %29, align 4
%331 = load i32, ptr %29, align 4
%332 = icmp slt i32 %331, 992
br i1 %332, label %324, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %328
br label %333
333: ; preds = %._crit_edge39, %320
store i32 0, ptr %9, align 4
store i32 0, ptr %30, align 4
%334 = load i32, ptr %30, align 4
%335 = icmp slt i32 %334, 1
br i1 %335, label %.lr.ph44, label %360
.lr.ph44: ; preds = %333
br label %336
336: ; preds = %.lr.ph44, %355
store i32 0, ptr %31, align 4
%337 = load i32, ptr %31, align 4
%338 = icmp slt i32 %337, 992
br i1 %338, label %.lr.ph41, label %354
.lr.ph41: ; preds = %336
br label %339
339: ; preds = %.lr.ph41, %349
%340 = load i32, ptr %31, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %341
%343 = load double, ptr %342, align 8
%344 = load i32, ptr %31, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %345
%347 = load double, ptr %346, align 8
%348 = fadd double %347, %343
store double %348, ptr %346, align 8
br label %349
349: ; preds = %339
%350 = load i32, ptr %31, align 4
%351 = add nsw i32 %350, 1
store i32 %351, ptr %31, align 4
%352 = load i32, ptr %31, align 4
%353 = icmp slt i32 %352, 992
br i1 %353, label %339, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %349
br label %354
354: ; preds = %._crit_edge42, %336
br label %355
355: ; preds = %354
%356 = load i32, ptr %30, align 4
%357 = add nsw i32 %356, 1
store i32 %357, ptr %30, align 4
%358 = load i32, ptr %30, align 4
%359 = icmp slt i32 %358, 1
br i1 %359, label %336, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %355
br label %360
360: ; preds = %._crit_edge45, %333
%361 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%362 = call i64 @check_results(ptr noundef %361)
%363 = load i32, ptr %9, align 4
%364 = sext i32 %363 to i64
%365 = add nsw i64 %364, %362
%366 = trunc i64 %365 to i32
store i32 %366, ptr %9, align 4
%367 = load i32, ptr %9, align 4
%368 = load i32, ptr %8, align 4
%369 = icmp eq i32 %367, %368
br i1 %369, label %370, label %372
370: ; preds = %360
%371 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %372
372: ; preds = %370, %360
%373 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 99, ptr %10, align 4
store i32 0, ptr %32, align 4
%374 = load i32, ptr %32, align 4
%375 = icmp slt i32 %374, 992
br i1 %375, label %.lr.ph47, label %385
.lr.ph47: ; preds = %372
br label %376
376: ; preds = %.lr.ph47, %380
%377 = load i32, ptr %32, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %378
store double 0.000000e+00, ptr %379, align 8
br label %380
380: ; preds = %376
%381 = load i32, ptr %32, align 4
%382 = add nsw i32 %381, 1
store i32 %382, ptr %32, align 4
%383 = load i32, ptr %32, align 4
%384 = icmp slt i32 %383, 992
br i1 %384, label %376, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %380
br label %385
385: ; preds = %._crit_edge48, %372
store i32 0, ptr %9, align 4
store i32 0, ptr %33, align 4
%386 = load i32, ptr %33, align 4
%387 = icmp slt i32 %386, 1
br i1 %387, label %.lr.ph53, label %412
.lr.ph53: ; preds = %385
br label %388
388: ; preds = %.lr.ph53, %407
store i32 0, ptr %34, align 4
%389 = load i32, ptr %34, align 4
%390 = icmp slt i32 %389, 992
br i1 %390, label %.lr.ph50, label %406
.lr.ph50: ; preds = %388
br label %391
391: ; preds = %.lr.ph50, %401
%392 = load i32, ptr %34, align 4
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %393
%395 = load double, ptr %394, align 8
%396 = load i32, ptr %34, align 4
%397 = sext i32 %396 to i64
%398 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %397
%399 = load double, ptr %398, align 8
%400 = fadd double %399, %395
store double %400, ptr %398, align 8
br label %401
401: ; preds = %391
%402 = load i32, ptr %34, align 4
%403 = add nsw i32 %402, 1
store i32 %403, ptr %34, align 4
%404 = load i32, ptr %34, align 4
%405 = icmp slt i32 %404, 992
br i1 %405, label %391, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %401
br label %406
406: ; preds = %._crit_edge51, %388
br label %407
407: ; preds = %406
%408 = load i32, ptr %33, align 4
%409 = add nsw i32 %408, 1
store i32 %409, ptr %33, align 4
%410 = load i32, ptr %33, align 4
%411 = icmp slt i32 %410, 1
br i1 %411, label %388, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %407
br label %412
412: ; preds = %._crit_edge54, %385
%413 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%414 = call i64 @check_results(ptr noundef %413)
%415 = load i32, ptr %9, align 4
%416 = sext i32 %415 to i64
%417 = add nsw i64 %416, %414
%418 = trunc i64 %417 to i32
store i32 %418, ptr %9, align 4
%419 = load i32, ptr %9, align 4
%420 = load i32, ptr %8, align 4
%421 = icmp eq i32 %419, %420
br i1 %421, label %422, label %424
422: ; preds = %412
%423 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %424
424: ; preds = %422, %412
%425 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 99, ptr %10, align 4
store i32 0, ptr %35, align 4
%426 = load i32, ptr %35, align 4
%427 = icmp slt i32 %426, 992
br i1 %427, label %.lr.ph56, label %437
.lr.ph56: ; preds = %424
br label %428
428: ; preds = %.lr.ph56, %432
%429 = load i32, ptr %35, align 4
%430 = sext i32 %429 to i64
%431 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %430
store double 0.000000e+00, ptr %431, align 8
br label %432
432: ; preds = %428
%433 = load i32, ptr %35, align 4
%434 = add nsw i32 %433, 1
store i32 %434, ptr %35, align 4
%435 = load i32, ptr %35, align 4
%436 = icmp slt i32 %435, 992
br i1 %436, label %428, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %432
br label %437
437: ; preds = %._crit_edge57, %424
store i32 0, ptr %9, align 4
store i32 0, ptr %36, align 4
%438 = load i32, ptr %36, align 4
%439 = icmp slt i32 %438, 1
br i1 %439, label %.lr.ph62, label %464
.lr.ph62: ; preds = %437
br label %440
440: ; preds = %.lr.ph62, %459
store i32 0, ptr %37, align 4
%441 = load i32, ptr %37, align 4
%442 = icmp slt i32 %441, 992
br i1 %442, label %.lr.ph59, label %458
.lr.ph59: ; preds = %440
br label %443
443: ; preds = %.lr.ph59, %453
%444 = load i32, ptr %37, align 4
%445 = sext i32 %444 to i64
%446 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %445
%447 = load double, ptr %446, align 8
%448 = load i32, ptr %37, align 4
%449 = sext i32 %448 to i64
%450 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %449
%451 = load double, ptr %450, align 8
%452 = fadd double %451, %447
store double %452, ptr %450, align 8
br label %453
453: ; preds = %443
%454 = load i32, ptr %37, align 4
%455 = add nsw i32 %454, 1
store i32 %455, ptr %37, align 4
%456 = load i32, ptr %37, align 4
%457 = icmp slt i32 %456, 992
br i1 %457, label %443, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %453
br label %458
458: ; preds = %._crit_edge60, %440
br label %459
459: ; preds = %458
%460 = load i32, ptr %36, align 4
%461 = add nsw i32 %460, 1
store i32 %461, ptr %36, align 4
%462 = load i32, ptr %36, align 4
%463 = icmp slt i32 %462, 1
br i1 %463, label %440, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %459
br label %464
464: ; preds = %._crit_edge63, %437
%465 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%466 = call i64 @check_results(ptr noundef %465)
%467 = load i32, ptr %9, align 4
%468 = sext i32 %467 to i64
%469 = add nsw i64 %468, %466
%470 = trunc i64 %469 to i32
store i32 %470, ptr %9, align 4
%471 = load i32, ptr %9, align 4
%472 = load i32, ptr %8, align 4
%473 = icmp eq i32 %471, %472
br i1 %473, label %474, label %476
474: ; preds = %464
%475 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %476
476: ; preds = %474, %464
%477 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %38, align 4
%478 = load i32, ptr %38, align 4
%479 = icmp slt i32 %478, 992
br i1 %479, label %.lr.ph65, label %489
.lr.ph65: ; preds = %476
br label %480
480: ; preds = %.lr.ph65, %484
%481 = load i32, ptr %38, align 4
%482 = sext i32 %481 to i64
%483 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %482
store double 0.000000e+00, ptr %483, align 8
br label %484
484: ; preds = %480
%485 = load i32, ptr %38, align 4
%486 = add nsw i32 %485, 1
store i32 %486, ptr %38, align 4
%487 = load i32, ptr %38, align 4
%488 = icmp slt i32 %487, 992
br i1 %488, label %480, label %._crit_edge66, !llvm.loop !29
._crit_edge66: ; preds = %484
br label %489
489: ; preds = %._crit_edge66, %476
store i32 0, ptr %9, align 4
store i32 0, ptr %39, align 4
%490 = load i32, ptr %39, align 4
%491 = icmp slt i32 %490, 1
br i1 %491, label %.lr.ph71, label %516
.lr.ph71: ; preds = %489
br label %492
492: ; preds = %.lr.ph71, %511
store i32 0, ptr %40, align 4
%493 = load i32, ptr %40, align 4
%494 = icmp slt i32 %493, 992
br i1 %494, label %.lr.ph68, label %510
.lr.ph68: ; preds = %492
br label %495
495: ; preds = %.lr.ph68, %505
%496 = load i32, ptr %40, align 4
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %497
%499 = load double, ptr %498, align 8
%500 = load i32, ptr %40, align 4
%501 = sext i32 %500 to i64
%502 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %501
%503 = load double, ptr %502, align 8
%504 = fadd double %503, %499
store double %504, ptr %502, align 8
br label %505
505: ; preds = %495
%506 = load i32, ptr %40, align 4
%507 = add nsw i32 %506, 1
store i32 %507, ptr %40, align 4
%508 = load i32, ptr %40, align 4
%509 = icmp slt i32 %508, 992
br i1 %509, label %495, label %._crit_edge69, !llvm.loop !30
._crit_edge69: ; preds = %505
br label %510
510: ; preds = %._crit_edge69, %492
br label %511
511: ; preds = %510
%512 = load i32, ptr %39, align 4
%513 = add nsw i32 %512, 1
store i32 %513, ptr %39, align 4
%514 = load i32, ptr %39, align 4
%515 = icmp slt i32 %514, 1
br i1 %515, label %492, label %._crit_edge72, !llvm.loop !31
._crit_edge72: ; preds = %511
br label %516
516: ; preds = %._crit_edge72, %489
%517 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%518 = call i64 @check_results(ptr noundef %517)
%519 = load i32, ptr %9, align 4
%520 = sext i32 %519 to i64
%521 = add nsw i64 %520, %518
%522 = trunc i64 %521 to i32
store i32 %522, ptr %9, align 4
%523 = load i32, ptr %9, align 4
%524 = load i32, ptr %8, align 4
%525 = icmp eq i32 %523, %524
br i1 %525, label %526, label %528
526: ; preds = %516
%527 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %528
528: ; preds = %526, %516
%529 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %41, align 4
%530 = load i32, ptr %41, align 4
%531 = icmp slt i32 %530, 992
br i1 %531, label %.lr.ph74, label %541
.lr.ph74: ; preds = %528
br label %532
532: ; preds = %.lr.ph74, %536
%533 = load i32, ptr %41, align 4
%534 = sext i32 %533 to i64
%535 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %534
store double 0.000000e+00, ptr %535, align 8
br label %536
536: ; preds = %532
%537 = load i32, ptr %41, align 4
%538 = add nsw i32 %537, 1
store i32 %538, ptr %41, align 4
%539 = load i32, ptr %41, align 4
%540 = icmp slt i32 %539, 992
br i1 %540, label %532, label %._crit_edge75, !llvm.loop !32
._crit_edge75: ; preds = %536
br label %541
541: ; preds = %._crit_edge75, %528
store i32 0, ptr %9, align 4
store i32 0, ptr %42, align 4
%542 = load i32, ptr %42, align 4
%543 = icmp slt i32 %542, 1
br i1 %543, label %.lr.ph80, label %568
.lr.ph80: ; preds = %541
br label %544
544: ; preds = %.lr.ph80, %563
store i32 0, ptr %43, align 4
%545 = load i32, ptr %43, align 4
%546 = icmp slt i32 %545, 992
br i1 %546, label %.lr.ph77, label %562
.lr.ph77: ; preds = %544
br label %547
547: ; preds = %.lr.ph77, %557
%548 = load i32, ptr %43, align 4
%549 = sext i32 %548 to i64
%550 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %549
%551 = load double, ptr %550, align 8
%552 = load i32, ptr %43, align 4
%553 = sext i32 %552 to i64
%554 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %553
%555 = load double, ptr %554, align 8
%556 = fadd double %555, %551
store double %556, ptr %554, align 8
br label %557
557: ; preds = %547
%558 = load i32, ptr %43, align 4
%559 = add nsw i32 %558, 1
store i32 %559, ptr %43, align 4
%560 = load i32, ptr %43, align 4
%561 = icmp slt i32 %560, 992
br i1 %561, label %547, label %._crit_edge78, !llvm.loop !33
._crit_edge78: ; preds = %557
br label %562
562: ; preds = %._crit_edge78, %544
br label %563
563: ; preds = %562
%564 = load i32, ptr %42, align 4
%565 = add nsw i32 %564, 1
store i32 %565, ptr %42, align 4
%566 = load i32, ptr %42, align 4
%567 = icmp slt i32 %566, 1
br i1 %567, label %544, label %._crit_edge81, !llvm.loop !34
._crit_edge81: ; preds = %563
br label %568
568: ; preds = %._crit_edge81, %541
%569 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%570 = call i64 @check_results(ptr noundef %569)
%571 = load i32, ptr %9, align 4
%572 = sext i32 %571 to i64
%573 = add nsw i64 %572, %570
%574 = trunc i64 %573 to i32
store i32 %574, ptr %9, align 4
%575 = load i32, ptr %9, align 4
%576 = load i32, ptr %8, align 4
%577 = icmp eq i32 %575, %576
br i1 %577, label %578, label %580
578: ; preds = %568
%579 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %580
580: ; preds = %578, %568
%581 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %44, align 4
%582 = load i32, ptr %44, align 4
%583 = icmp slt i32 %582, 992
br i1 %583, label %.lr.ph83, label %593
.lr.ph83: ; preds = %580
br label %584
584: ; preds = %.lr.ph83, %588
%585 = load i32, ptr %44, align 4
%586 = sext i32 %585 to i64
%587 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %586
store double 0.000000e+00, ptr %587, align 8
br label %588
588: ; preds = %584
%589 = load i32, ptr %44, align 4
%590 = add nsw i32 %589, 1
store i32 %590, ptr %44, align 4
%591 = load i32, ptr %44, align 4
%592 = icmp slt i32 %591, 992
br i1 %592, label %584, label %._crit_edge84, !llvm.loop !35
._crit_edge84: ; preds = %588
br label %593
593: ; preds = %._crit_edge84, %580
store i32 0, ptr %9, align 4
store i32 0, ptr %45, align 4
%594 = load i32, ptr %45, align 4
%595 = icmp slt i32 %594, 1
br i1 %595, label %.lr.ph89, label %620
.lr.ph89: ; preds = %593
br label %596
596: ; preds = %.lr.ph89, %615
store i32 0, ptr %46, align 4
%597 = load i32, ptr %46, align 4
%598 = icmp slt i32 %597, 992
br i1 %598, label %.lr.ph86, label %614
.lr.ph86: ; preds = %596
br label %599
599: ; preds = %.lr.ph86, %609
%600 = load i32, ptr %46, align 4
%601 = sext i32 %600 to i64
%602 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %601
%603 = load double, ptr %602, align 8
%604 = load i32, ptr %46, align 4
%605 = sext i32 %604 to i64
%606 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %605
%607 = load double, ptr %606, align 8
%608 = fadd double %607, %603
store double %608, ptr %606, align 8
br label %609
609: ; preds = %599
%610 = load i32, ptr %46, align 4
%611 = add nsw i32 %610, 1
store i32 %611, ptr %46, align 4
%612 = load i32, ptr %46, align 4
%613 = icmp slt i32 %612, 992
br i1 %613, label %599, label %._crit_edge87, !llvm.loop !36
._crit_edge87: ; preds = %609
br label %614
614: ; preds = %._crit_edge87, %596
br label %615
615: ; preds = %614
%616 = load i32, ptr %45, align 4
%617 = add nsw i32 %616, 1
store i32 %617, ptr %45, align 4
%618 = load i32, ptr %45, align 4
%619 = icmp slt i32 %618, 1
br i1 %619, label %596, label %._crit_edge90, !llvm.loop !37
._crit_edge90: ; preds = %615
br label %620
620: ; preds = %._crit_edge90, %593
%621 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%622 = call i64 @check_results(ptr noundef %621)
%623 = load i32, ptr %9, align 4
%624 = sext i32 %623 to i64
%625 = add nsw i64 %624, %622
%626 = trunc i64 %625 to i32
store i32 %626, ptr %9, align 4
%627 = load i32, ptr %9, align 4
%628 = load i32, ptr %8, align 4
%629 = icmp eq i32 %627, %628
br i1 %629, label %630, label %632
630: ; preds = %620
%631 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %632
632: ; preds = %630, %620
%633 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %47, align 4
%634 = load i32, ptr %47, align 4
%635 = icmp slt i32 %634, 992
br i1 %635, label %.lr.ph92, label %645
.lr.ph92: ; preds = %632
br label %636
636: ; preds = %.lr.ph92, %640
%637 = load i32, ptr %47, align 4
%638 = sext i32 %637 to i64
%639 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %638
store double 0.000000e+00, ptr %639, align 8
br label %640
640: ; preds = %636
%641 = load i32, ptr %47, align 4
%642 = add nsw i32 %641, 1
store i32 %642, ptr %47, align 4
%643 = load i32, ptr %47, align 4
%644 = icmp slt i32 %643, 992
br i1 %644, label %636, label %._crit_edge93, !llvm.loop !38
._crit_edge93: ; preds = %640
br label %645
645: ; preds = %._crit_edge93, %632
store i32 0, ptr %9, align 4
store i32 0, ptr %48, align 4
%646 = load i32, ptr %48, align 4
%647 = icmp slt i32 %646, 1
br i1 %647, label %.lr.ph98, label %672
.lr.ph98: ; preds = %645
br label %648
648: ; preds = %.lr.ph98, %667
store i32 0, ptr %49, align 4
%649 = load i32, ptr %49, align 4
%650 = icmp slt i32 %649, 992
br i1 %650, label %.lr.ph95, label %666
.lr.ph95: ; preds = %648
br label %651
651: ; preds = %.lr.ph95, %661
%652 = load i32, ptr %49, align 4
%653 = sext i32 %652 to i64
%654 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %653
%655 = load double, ptr %654, align 8
%656 = load i32, ptr %49, align 4
%657 = sext i32 %656 to i64
%658 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %657
%659 = load double, ptr %658, align 8
%660 = fadd double %659, %655
store double %660, ptr %658, align 8
br label %661
661: ; preds = %651
%662 = load i32, ptr %49, align 4
%663 = add nsw i32 %662, 1
store i32 %663, ptr %49, align 4
%664 = load i32, ptr %49, align 4
%665 = icmp slt i32 %664, 992
br i1 %665, label %651, label %._crit_edge96, !llvm.loop !39
._crit_edge96: ; preds = %661
br label %666
666: ; preds = %._crit_edge96, %648
br label %667
667: ; preds = %666
%668 = load i32, ptr %48, align 4
%669 = add nsw i32 %668, 1
store i32 %669, ptr %48, align 4
%670 = load i32, ptr %48, align 4
%671 = icmp slt i32 %670, 1
br i1 %671, label %648, label %._crit_edge99, !llvm.loop !40
._crit_edge99: ; preds = %667
br label %672
672: ; preds = %._crit_edge99, %645
%673 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%674 = call i64 @check_results(ptr noundef %673)
%675 = load i32, ptr %9, align 4
%676 = sext i32 %675 to i64
%677 = add nsw i64 %676, %674
%678 = trunc i64 %677 to i32
store i32 %678, ptr %9, align 4
%679 = load i32, ptr %9, align 4
%680 = load i32, ptr %8, align 4
%681 = icmp eq i32 %679, %680
br i1 %681, label %682, label %684
682: ; preds = %672
%683 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %684
684: ; preds = %682, %672
%685 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %50, align 4
%686 = load i32, ptr %50, align 4
%687 = icmp slt i32 %686, 992
br i1 %687, label %.lr.ph101, label %697
.lr.ph101: ; preds = %684
br label %688
688: ; preds = %.lr.ph101, %692
%689 = load i32, ptr %50, align 4
%690 = sext i32 %689 to i64
%691 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %690
store double 0.000000e+00, ptr %691, align 8
br label %692
692: ; preds = %688
%693 = load i32, ptr %50, align 4
%694 = add nsw i32 %693, 1
store i32 %694, ptr %50, align 4
%695 = load i32, ptr %50, align 4
%696 = icmp slt i32 %695, 992
br i1 %696, label %688, label %._crit_edge102, !llvm.loop !41
._crit_edge102: ; preds = %692
br label %697
697: ; preds = %._crit_edge102, %684
store i32 0, ptr %9, align 4
store i32 0, ptr %51, align 4
%698 = load i32, ptr %51, align 4
%699 = icmp slt i32 %698, 1
br i1 %699, label %.lr.ph107, label %724
.lr.ph107: ; preds = %697
br label %700
700: ; preds = %.lr.ph107, %719
store i32 0, ptr %52, align 4
%701 = load i32, ptr %52, align 4
%702 = icmp slt i32 %701, 992
br i1 %702, label %.lr.ph104, label %718
.lr.ph104: ; preds = %700
br label %703
703: ; preds = %.lr.ph104, %713
%704 = load i32, ptr %52, align 4
%705 = sext i32 %704 to i64
%706 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %705
%707 = load double, ptr %706, align 8
%708 = load i32, ptr %52, align 4
%709 = sext i32 %708 to i64
%710 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %709
%711 = load double, ptr %710, align 8
%712 = fadd double %711, %707
store double %712, ptr %710, align 8
br label %713
713: ; preds = %703
%714 = load i32, ptr %52, align 4
%715 = add nsw i32 %714, 1
store i32 %715, ptr %52, align 4
%716 = load i32, ptr %52, align 4
%717 = icmp slt i32 %716, 992
br i1 %717, label %703, label %._crit_edge105, !llvm.loop !42
._crit_edge105: ; preds = %713
br label %718
718: ; preds = %._crit_edge105, %700
br label %719
719: ; preds = %718
%720 = load i32, ptr %51, align 4
%721 = add nsw i32 %720, 1
store i32 %721, ptr %51, align 4
%722 = load i32, ptr %51, align 4
%723 = icmp slt i32 %722, 1
br i1 %723, label %700, label %._crit_edge108, !llvm.loop !43
._crit_edge108: ; preds = %719
br label %724
724: ; preds = %._crit_edge108, %697
%725 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 0
%726 = call i64 @check_results(ptr noundef %725)
%727 = load i32, ptr %9, align 4
%728 = sext i32 %727 to i64
%729 = add nsw i64 %728, %726
%730 = trunc i64 %729 to i32
store i32 %730, ptr %9, align 4
%731 = load i32, ptr %9, align 4
%732 = load i32, ptr %8, align 4
%733 = icmp eq i32 %731, %732
br i1 %733, label %734, label %736
734: ; preds = %724
%735 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %736
736: ; preds = %734, %724
%737 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %9, align 4
store i32 0, ptr %53, align 4
%738 = load i32, ptr %53, align 4
%739 = icmp slt i32 %738, 992
br i1 %739, label %.lr.ph110, label %749
.lr.ph110: ; preds = %736
br label %740
740: ; preds = %.lr.ph110, %744
%741 = load i32, ptr %53, align 4
%742 = sext i32 %741 to i64
%743 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %742
store double 0.000000e+00, ptr %743, align 8
br label %744
744: ; preds = %740
%745 = load i32, ptr %53, align 4
%746 = add nsw i32 %745, 1
store i32 %746, ptr %53, align 4
%747 = load i32, ptr %53, align 4
%748 = icmp slt i32 %747, 992
br i1 %748, label %740, label %._crit_edge111, !llvm.loop !44
._crit_edge111: ; preds = %744
br label %749
749: ; preds = %._crit_edge111, %736
store i32 0, ptr %54, align 4
%750 = load i32, ptr %54, align 4
%751 = icmp slt i32 %750, 992
br i1 %751, label %.lr.ph113, label %761
.lr.ph113: ; preds = %749
br label %752
752: ; preds = %.lr.ph113, %756
%753 = load i32, ptr %54, align 4
%754 = sext i32 %753 to i64
%755 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %754
store double 0.000000e+00, ptr %755, align 8
br label %756
756: ; preds = %752
%757 = load i32, ptr %54, align 4
%758 = add nsw i32 %757, 1
store i32 %758, ptr %54, align 4
%759 = load i32, ptr %54, align 4
%760 = icmp slt i32 %759, 992
br i1 %760, label %752, label %._crit_edge114, !llvm.loop !45
._crit_edge114: ; preds = %756
br label %761
761: ; preds = %._crit_edge114, %749
store i32 32, ptr %13, align 4
store i32 64, ptr %14, align 4
%762 = load i32, ptr %14, align 4
store i32 %762, ptr %15, align 4
store i32 0, ptr %55, align 4
%763 = load i32, ptr %55, align 4
%764 = icmp slt i32 %763, 1
br i1 %764, label %.lr.ph122, label %811
.lr.ph122: ; preds = %761
br label %765
765: ; preds = %.lr.ph122, %806
store i32 0, ptr %56, align 4
%766 = load i32, ptr %56, align 4
%767 = icmp slt i32 %766, 256
br i1 %767, label %.lr.ph119, label %805
.lr.ph119: ; preds = %765
br label %768
768: ; preds = %.lr.ph119, %799
%769 = load i32, ptr %56, align 4
store i32 %769, ptr %57, align 4
%770 = load i32, ptr %57, align 4
%771 = load i32, ptr %56, align 4
%772 = load i32, ptr %15, align 4
%773 = add nsw i32 %771, %772
%774 = icmp slt i32 %770, %773
br i1 %774, label %.lr.ph116, label %798
.lr.ph116: ; preds = %768
br label %775
775: ; preds = %.lr.ph116, %790
%776 = load i32, ptr %57, align 4
%777 = sext i32 %776 to i64
%778 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %777
%779 = load double, ptr %778, align 8
%780 = load i32, ptr %57, align 4
%781 = sext i32 %780 to i64
%782 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %781
%783 = load double, ptr %782, align 8
%784 = fadd double %779, %783
%785 = load i32, ptr %57, align 4
%786 = sext i32 %785 to i64
%787 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %786
%788 = load double, ptr %787, align 8
%789 = fadd double %788, %784
store double %789, ptr %787, align 8
br label %790
790: ; preds = %775
%791 = load i32, ptr %57, align 4
%792 = add nsw i32 %791, 1
store i32 %792, ptr %57, align 4
%793 = load i32, ptr %57, align 4
%794 = load i32, ptr %56, align 4
%795 = load i32, ptr %15, align 4
%796 = add nsw i32 %794, %795
%797 = icmp slt i32 %793, %796
br i1 %797, label %775, label %._crit_edge117, !llvm.loop !46
._crit_edge117: ; preds = %790
br label %798
798: ; preds = %._crit_edge117, %768
br label %799
799: ; preds = %798
%800 = load i32, ptr %15, align 4
%801 = load i32, ptr %56, align 4
%802 = add nsw i32 %801, %800
store i32 %802, ptr %56, align 4
%803 = load i32, ptr %56, align 4
%804 = icmp slt i32 %803, 256
br i1 %804, label %768, label %._crit_edge120, !llvm.loop !47
._crit_edge120: ; preds = %799
br label %805
805: ; preds = %._crit_edge120, %765
br label %806
806: ; preds = %805
%807 = load i32, ptr %55, align 4
%808 = add nsw i32 %807, 1
store i32 %808, ptr %55, align 4
%809 = load i32, ptr %55, align 4
%810 = icmp slt i32 %809, 1
br i1 %810, label %765, label %._crit_edge123, !llvm.loop !48
._crit_edge123: ; preds = %806
br label %811
811: ; preds = %._crit_edge123, %761
store i32 0, ptr %58, align 4
%812 = load i32, ptr %58, align 4
%813 = icmp slt i32 %812, 256
br i1 %813, label %.lr.ph125, label %833
.lr.ph125: ; preds = %811
br label %814
814: ; preds = %.lr.ph125, %828
%815 = load i32, ptr %58, align 4
%816 = sext i32 %815 to i64
%817 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %816
%818 = load double, ptr %817, align 8
%819 = fcmp une double %818, 1.000000e+00
br i1 %819, label %820, label %827
820: ; preds = %814
%821 = load i32, ptr %58, align 4
%822 = load i32, ptr %58, align 4
%823 = sext i32 %822 to i64
%824 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %823
%825 = load double, ptr %824, align 8
%826 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %821, double noundef 5.000000e+00, double noundef %825)
store i32 1, ptr %7, align 4
br label %827
827: ; preds = %820, %814
br label %828
828: ; preds = %827
%829 = load i32, ptr %58, align 4
%830 = add nsw i32 %829, 1
store i32 %830, ptr %58, align 4
%831 = load i32, ptr %58, align 4
%832 = icmp slt i32 %831, 256
br i1 %832, label %814, label %._crit_edge126, !llvm.loop !49
._crit_edge126: ; preds = %828
br label %833
833: ; preds = %._crit_edge126, %811
%834 = load i32, ptr %7, align 4
%835 = icmp ne i32 %834, 0
br i1 %835, label %836, label %838
836: ; preds = %833
%837 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %840
838: ; preds = %833
%839 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %840
840: ; preds = %838, %836
%841 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %9, align 4
store i32 0, ptr %59, align 4
%842 = load i32, ptr %59, align 4
%843 = icmp slt i32 %842, 992
br i1 %843, label %.lr.ph128, label %853
.lr.ph128: ; preds = %840
br label %844
844: ; preds = %.lr.ph128, %848
%845 = load i32, ptr %59, align 4
%846 = sext i32 %845 to i64
%847 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %846
store double 0.000000e+00, ptr %847, align 8
br label %848
848: ; preds = %844
%849 = load i32, ptr %59, align 4
%850 = add nsw i32 %849, 1
store i32 %850, ptr %59, align 4
%851 = load i32, ptr %59, align 4
%852 = icmp slt i32 %851, 992
br i1 %852, label %844, label %._crit_edge129, !llvm.loop !50
._crit_edge129: ; preds = %848
br label %853
853: ; preds = %._crit_edge129, %840
store i32 0, ptr %60, align 4
%854 = load i32, ptr %60, align 4
%855 = icmp slt i32 %854, 992
br i1 %855, label %.lr.ph131, label %865
.lr.ph131: ; preds = %853
br label %856
856: ; preds = %.lr.ph131, %860
%857 = load i32, ptr %60, align 4
%858 = sext i32 %857 to i64
%859 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %858
store double 0.000000e+00, ptr %859, align 8
br label %860
860: ; preds = %856
%861 = load i32, ptr %60, align 4
%862 = add nsw i32 %861, 1
store i32 %862, ptr %60, align 4
%863 = load i32, ptr %60, align 4
%864 = icmp slt i32 %863, 992
br i1 %864, label %856, label %._crit_edge132, !llvm.loop !51
._crit_edge132: ; preds = %860
br label %865
865: ; preds = %._crit_edge132, %853
store i32 32, ptr %13, align 4
store i32 64, ptr %14, align 4
%866 = load i32, ptr %14, align 4
store i32 %866, ptr %15, align 4
store i32 0, ptr %61, align 4
%867 = load i32, ptr %61, align 4
%868 = icmp slt i32 %867, 1
br i1 %868, label %.lr.ph140, label %922
.lr.ph140: ; preds = %865
br label %869
869: ; preds = %.lr.ph140, %917
store i32 0, ptr %62, align 4
%870 = load i32, ptr %62, align 4
%871 = icmp slt i32 %870, 510
br i1 %871, label %.lr.ph137, label %916
.lr.ph137: ; preds = %869
br label %872
872: ; preds = %.lr.ph137, %910
%873 = load i32, ptr %62, align 4
%874 = load i32, ptr %15, align 4
%875 = add nsw i32 %873, %874
%876 = icmp slt i32 %875, 510
br i1 %876, label %877, label %881
877: ; preds = %872
%878 = load i32, ptr %62, align 4
%879 = load i32, ptr %15, align 4
%880 = add nsw i32 %878, %879
br label %882
881: ; preds = %872
br label %882
882: ; preds = %881, %877
%883 = phi i32 [ %880, %877 ], [ 512, %881 ]
store i32 %883, ptr %63, align 4
%884 = load i32, ptr %62, align 4
store i32 %884, ptr %64, align 4
%885 = load i32, ptr %64, align 4
%886 = load i32, ptr %63, align 4
%887 = icmp slt i32 %885, %886
br i1 %887, label %.lr.ph134, label %909
.lr.ph134: ; preds = %882
br label %888
888: ; preds = %.lr.ph134, %903
%889 = load i32, ptr %64, align 4
%890 = sext i32 %889 to i64
%891 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %890
%892 = load double, ptr %891, align 8
%893 = load i32, ptr %64, align 4
%894 = sext i32 %893 to i64
%895 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %894
%896 = load double, ptr %895, align 8
%897 = fadd double %892, %896
%898 = load i32, ptr %64, align 4
%899 = sext i32 %898 to i64
%900 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %899
%901 = load double, ptr %900, align 8
%902 = fadd double %901, %897
store double %902, ptr %900, align 8
br label %903
903: ; preds = %888
%904 = load i32, ptr %64, align 4
%905 = add nsw i32 %904, 1
store i32 %905, ptr %64, align 4
%906 = load i32, ptr %64, align 4
%907 = load i32, ptr %63, align 4
%908 = icmp slt i32 %906, %907
br i1 %908, label %888, label %._crit_edge135, !llvm.loop !52
._crit_edge135: ; preds = %903
br label %909
909: ; preds = %._crit_edge135, %882
br label %910
910: ; preds = %909
%911 = load i32, ptr %15, align 4
%912 = load i32, ptr %62, align 4
%913 = add nsw i32 %912, %911
store i32 %913, ptr %62, align 4
%914 = load i32, ptr %62, align 4
%915 = icmp slt i32 %914, 510
br i1 %915, label %872, label %._crit_edge138, !llvm.loop !53
._crit_edge138: ; preds = %910
br label %916
916: ; preds = %._crit_edge138, %869
br label %917
917: ; preds = %916
%918 = load i32, ptr %61, align 4
%919 = add nsw i32 %918, 1
store i32 %919, ptr %61, align 4
%920 = load i32, ptr %61, align 4
%921 = icmp slt i32 %920, 1
br i1 %921, label %869, label %._crit_edge141, !llvm.loop !54
._crit_edge141: ; preds = %917
br label %922
922: ; preds = %._crit_edge141, %865
store i32 0, ptr %65, align 4
%923 = load i32, ptr %65, align 4
%924 = icmp slt i32 %923, 256
br i1 %924, label %.lr.ph143, label %944
.lr.ph143: ; preds = %922
br label %925
925: ; preds = %.lr.ph143, %939
%926 = load i32, ptr %65, align 4
%927 = sext i32 %926 to i64
%928 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %927
%929 = load double, ptr %928, align 8
%930 = fcmp une double %929, 1.000000e+00
br i1 %930, label %931, label %938
931: ; preds = %925
%932 = load i32, ptr %65, align 4
%933 = load i32, ptr %65, align 4
%934 = sext i32 %933 to i64
%935 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %934
%936 = load double, ptr %935, align 8
%937 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %932, double noundef 5.000000e+00, double noundef %936)
store i32 1, ptr %7, align 4
br label %938
938: ; preds = %931, %925
br label %939
939: ; preds = %938
%940 = load i32, ptr %65, align 4
%941 = add nsw i32 %940, 1
store i32 %941, ptr %65, align 4
%942 = load i32, ptr %65, align 4
%943 = icmp slt i32 %942, 256
br i1 %943, label %925, label %._crit_edge144, !llvm.loop !55
._crit_edge144: ; preds = %939
br label %944
944: ; preds = %._crit_edge144, %922
%945 = load i32, ptr %7, align 4
%946 = icmp ne i32 %945, 0
br i1 %946, label %947, label %949
947: ; preds = %944
%948 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %951
949: ; preds = %944
%950 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %951
951: ; preds = %949, %947
%952 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
store i32 0, ptr %9, align 4
%953 = call ptr @malloc(i32 noundef 7872512)
store ptr %953, ptr %66, align 8
%954 = call ptr @malloc(i32 noundef 7872512)
store ptr %954, ptr %67, align 8
%955 = call ptr @malloc(i32 noundef 7872512)
store ptr %955, ptr %68, align 8
store i32 0, ptr %69, align 4
%956 = load i32, ptr %69, align 4
%957 = icmp slt i32 %956, 992
br i1 %957, label %.lr.ph149, label %994
.lr.ph149: ; preds = %951
br label %958
958: ; preds = %.lr.ph149, %989
store i32 0, ptr %70, align 4
%959 = load i32, ptr %70, align 4
%960 = icmp slt i32 %959, 992
br i1 %960, label %.lr.ph146, label %988
.lr.ph146: ; preds = %958
br label %961
961: ; preds = %.lr.ph146, %983
%962 = load ptr, ptr %66, align 8
%963 = load i32, ptr %69, align 4
%964 = mul nsw i32 %963, 992
%965 = load i32, ptr %70, align 4
%966 = add nsw i32 %964, %965
%967 = sext i32 %966 to i64
%968 = getelementptr inbounds double, ptr %962, i64 %967
store double 0.000000e+00, ptr %968, align 8
%969 = load ptr, ptr %67, align 8
%970 = load i32, ptr %69, align 4
%971 = mul nsw i32 %970, 992
%972 = load i32, ptr %70, align 4
%973 = add nsw i32 %971, %972
%974 = sext i32 %973 to i64
%975 = getelementptr inbounds double, ptr %969, i64 %974
store double 1.000000e+00, ptr %975, align 8
%976 = load ptr, ptr %68, align 8
%977 = load i32, ptr %69, align 4
%978 = mul nsw i32 %977, 992
%979 = load i32, ptr %70, align 4
%980 = add nsw i32 %978, %979
%981 = sext i32 %980 to i64
%982 = getelementptr inbounds double, ptr %976, i64 %981
store double 2.000000e+00, ptr %982, align 8
br label %983
983: ; preds = %961
%984 = load i32, ptr %70, align 4
%985 = add nsw i32 %984, 1
store i32 %985, ptr %70, align 4
%986 = load i32, ptr %70, align 4
%987 = icmp slt i32 %986, 992
br i1 %987, label %961, label %._crit_edge147, !llvm.loop !56
._crit_edge147: ; preds = %983
br label %988
988: ; preds = %._crit_edge147, %958
br label %989
989: ; preds = %988
%990 = load i32, ptr %69, align 4
%991 = add nsw i32 %990, 1
store i32 %991, ptr %69, align 4
%992 = load i32, ptr %69, align 4
%993 = icmp slt i32 %992, 992
br i1 %993, label %958, label %._crit_edge150, !llvm.loop !57
._crit_edge150: ; preds = %989
br label %994
994: ; preds = %._crit_edge150, %951
store i32 0, ptr %71, align 4
%995 = load i32, ptr %71, align 4
%996 = icmp slt i32 %995, 1
br i1 %996, label %.lr.ph158, label %1047
.lr.ph158: ; preds = %994
br label %997
997: ; preds = %.lr.ph158, %1042
store i32 0, ptr %72, align 4
%998 = load i32, ptr %72, align 4
%999 = icmp slt i32 %998, 992
br i1 %999, label %.lr.ph155, label %1041
.lr.ph155: ; preds = %997
br label %1000
1000: ; preds = %.lr.ph155, %1036
store i32 0, ptr %73, align 4
%1001 = load i32, ptr %73, align 4
%1002 = icmp slt i32 %1001, 992
br i1 %1002, label %.lr.ph152, label %1035
.lr.ph152: ; preds = %1000
br label %1003
1003: ; preds = %.lr.ph152, %1030
%1004 = load ptr, ptr %67, align 8
%1005 = load i32, ptr %72, align 4
%1006 = mul nsw i32 %1005, 992
%1007 = load i32, ptr %73, align 4
%1008 = add nsw i32 %1006, %1007
%1009 = sext i32 %1008 to i64
%1010 = getelementptr inbounds double, ptr %1004, i64 %1009
%1011 = load double, ptr %1010, align 8
%1012 = load ptr, ptr %68, align 8
%1013 = load i32, ptr %72, align 4
%1014 = mul nsw i32 %1013, 992
%1015 = load i32, ptr %73, align 4
%1016 = add nsw i32 %1014, %1015
%1017 = sext i32 %1016 to i64
%1018 = getelementptr inbounds double, ptr %1012, i64 %1017
%1019 = load double, ptr %1018, align 8
%1020 = fadd double %1011, %1019
%1021 = load ptr, ptr %66, align 8
%1022 = load i32, ptr %72, align 4
%1023 = mul nsw i32 %1022, 992
%1024 = load i32, ptr %73, align 4
%1025 = add nsw i32 %1023, %1024
%1026 = sext i32 %1025 to i64
%1027 = getelementptr inbounds double, ptr %1021, i64 %1026
%1028 = load double, ptr %1027, align 8
%1029 = fadd double %1028, %1020
store double %1029, ptr %1027, align 8
br label %1030
1030: ; preds = %1003
%1031 = load i32, ptr %73, align 4
%1032 = add nsw i32 %1031, 1
store i32 %1032, ptr %73, align 4
%1033 = load i32, ptr %73, align 4
%1034 = icmp slt i32 %1033, 992
br i1 %1034, label %1003, label %._crit_edge153, !llvm.loop !58
._crit_edge153: ; preds = %1030
br label %1035
1035: ; preds = %._crit_edge153, %1000
br label %1036
1036: ; preds = %1035
%1037 = load i32, ptr %72, align 4
%1038 = add nsw i32 %1037, 1
store i32 %1038, ptr %72, align 4
%1039 = load i32, ptr %72, align 4
%1040 = icmp slt i32 %1039, 992
br i1 %1040, label %1000, label %._crit_edge156, !llvm.loop !59
._crit_edge156: ; preds = %1036
br label %1041
1041: ; preds = %._crit_edge156, %997
br label %1042
1042: ; preds = %1041
%1043 = load i32, ptr %71, align 4
%1044 = add nsw i32 %1043, 1
store i32 %1044, ptr %71, align 4
%1045 = load i32, ptr %71, align 4
%1046 = icmp slt i32 %1045, 1
br i1 %1046, label %997, label %._crit_edge159, !llvm.loop !60
._crit_edge159: ; preds = %1042
br label %1047
1047: ; preds = %._crit_edge159, %994
store i32 0, ptr %74, align 4
%1048 = load i32, ptr %74, align 4
%1049 = icmp slt i32 %1048, 992
br i1 %1049, label %.lr.ph164, label %1087
.lr.ph164: ; preds = %1047
br label %1050
1050: ; preds = %.lr.ph164, %1082
store i32 0, ptr %75, align 4
%1051 = load i32, ptr %75, align 4
%1052 = icmp slt i32 %1051, 992
br i1 %1052, label %.lr.ph161, label %1081
.lr.ph161: ; preds = %1050
br label %1053
1053: ; preds = %.lr.ph161, %1076
%1054 = load ptr, ptr %66, align 8
%1055 = load i32, ptr %74, align 4
%1056 = mul nsw i32 %1055, 992
%1057 = load i32, ptr %75, align 4
%1058 = add nsw i32 %1056, %1057
%1059 = sext i32 %1058 to i64
%1060 = getelementptr inbounds double, ptr %1054, i64 %1059
%1061 = load double, ptr %1060, align 8
%1062 = fcmp une double %1061, 3.000000e+00
br i1 %1062, label %1063, label %1075
1063: ; preds = %1053
%1064 = load i32, ptr %74, align 4
%1065 = load i32, ptr %75, align 4
%1066 = load ptr, ptr %66, align 8
%1067 = load i32, ptr %74, align 4
%1068 = mul nsw i32 %1067, 992
%1069 = load i32, ptr %75, align 4
%1070 = add nsw i32 %1068, %1069
%1071 = sext i32 %1070 to i64
%1072 = getelementptr inbounds double, ptr %1066, i64 %1071
%1073 = load double, ptr %1072, align 8
%1074 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %1064, i32 noundef %1065, double noundef 3.000000e+00, double noundef %1073)
store i32 1, ptr %7, align 4
br label %1075
1075: ; preds = %1063, %1053
br label %1076
1076: ; preds = %1075
%1077 = load i32, ptr %75, align 4
%1078 = add nsw i32 %1077, 1
store i32 %1078, ptr %75, align 4
%1079 = load i32, ptr %75, align 4
%1080 = icmp slt i32 %1079, 992
br i1 %1080, label %1053, label %._crit_edge162, !llvm.loop !61
._crit_edge162: ; preds = %1076
br label %1081
1081: ; preds = %._crit_edge162, %1050
br label %1082
1082: ; preds = %1081
%1083 = load i32, ptr %74, align 4
%1084 = add nsw i32 %1083, 1
store i32 %1084, ptr %74, align 4
%1085 = load i32, ptr %74, align 4
%1086 = icmp slt i32 %1085, 992
br i1 %1086, label %1050, label %._crit_edge165, !llvm.loop !62
._crit_edge165: ; preds = %1082
br label %1087
1087: ; preds = %._crit_edge165, %1047
%1088 = load i32, ptr %7, align 4
%1089 = icmp ne i32 %1088, 0
br i1 %1089, label %1090, label %1092
1090: ; preds = %1087
%1091 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %1094
1092: ; preds = %1087
%1093 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1094
1094: ; preds = %1092, %1090
%1095 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
store i32 0, ptr %9, align 4
store i32 124, ptr %76, align 4
%1096 = load i32, ptr %76, align 4
%1097 = load i32, ptr %76, align 4
%1098 = mul nsw i32 %1096, %1097
%1099 = load i32, ptr %76, align 4
%1100 = mul nsw i32 %1098, %1099
%1101 = sext i32 %1100 to i64
%1102 = mul i64 %1101, 8
%1103 = trunc i64 %1102 to i32
%1104 = call ptr @malloc(i32 noundef %1103)
store ptr %1104, ptr %77, align 8
%1105 = load i32, ptr %76, align 4
%1106 = load i32, ptr %76, align 4
%1107 = mul nsw i32 %1105, %1106
%1108 = load i32, ptr %76, align 4
%1109 = mul nsw i32 %1107, %1108
%1110 = sext i32 %1109 to i64
%1111 = mul i64 %1110, 8
%1112 = trunc i64 %1111 to i32
%1113 = call ptr @malloc(i32 noundef %1112)
store ptr %1113, ptr %78, align 8
store i32 0, ptr %79, align 4
%1114 = load i32, ptr %79, align 4
%1115 = load i32, ptr %76, align 4
%1116 = icmp slt i32 %1114, %1115
br i1 %1116, label %.lr.ph173, label %1174
.lr.ph173: ; preds = %1094
br label %1117
1117: ; preds = %.lr.ph173, %1168
store i32 0, ptr %80, align 4
%1118 = load i32, ptr %80, align 4
%1119 = load i32, ptr %76, align 4
%1120 = icmp slt i32 %1118, %1119
br i1 %1120, label %.lr.ph170, label %1167
.lr.ph170: ; preds = %1117
br label %1121
1121: ; preds = %.lr.ph170, %1161
store i32 0, ptr %81, align 4
%1122 = load i32, ptr %81, align 4
%1123 = load i32, ptr %76, align 4
%1124 = icmp slt i32 %1122, %1123
br i1 %1124, label %.lr.ph167, label %1160
.lr.ph167: ; preds = %1121
br label %1125
1125: ; preds = %.lr.ph167, %1154
%1126 = load ptr, ptr %77, align 8
%1127 = load i32, ptr %79, align 4
%1128 = load i32, ptr %76, align 4
%1129 = mul nsw i32 %1127, %1128
%1130 = load i32, ptr %76, align 4
%1131 = mul nsw i32 %1129, %1130
%1132 = load i32, ptr %80, align 4
%1133 = load i32, ptr %76, align 4
%1134 = mul nsw i32 %1132, %1133
%1135 = add nsw i32 %1131, %1134
%1136 = load i32, ptr %81, align 4
%1137 = add nsw i32 %1135, %1136
%1138 = sext i32 %1137 to i64
%1139 = getelementptr inbounds double, ptr %1126, i64 %1138
store double 2.000000e+00, ptr %1139, align 8
%1140 = load ptr, ptr %78, align 8
%1141 = load i32, ptr %79, align 4
%1142 = load i32, ptr %76, align 4
%1143 = mul nsw i32 %1141, %1142
%1144 = load i32, ptr %76, align 4
%1145 = mul nsw i32 %1143, %1144
%1146 = load i32, ptr %80, align 4
%1147 = load i32, ptr %76, align 4
%1148 = mul nsw i32 %1146, %1147
%1149 = add nsw i32 %1145, %1148
%1150 = load i32, ptr %81, align 4
%1151 = add nsw i32 %1149, %1150
%1152 = sext i32 %1151 to i64
%1153 = getelementptr inbounds double, ptr %1140, i64 %1152
store double 3.000000e+00, ptr %1153, align 8
br label %1154
1154: ; preds = %1125
%1155 = load i32, ptr %81, align 4
%1156 = add nsw i32 %1155, 1
store i32 %1156, ptr %81, align 4
%1157 = load i32, ptr %81, align 4
%1158 = load i32, ptr %76, align 4
%1159 = icmp slt i32 %1157, %1158
br i1 %1159, label %1125, label %._crit_edge168, !llvm.loop !63
._crit_edge168: ; preds = %1154
br label %1160
1160: ; preds = %._crit_edge168, %1121
br label %1161
1161: ; preds = %1160
%1162 = load i32, ptr %80, align 4
%1163 = add nsw i32 %1162, 1
store i32 %1163, ptr %80, align 4
%1164 = load i32, ptr %80, align 4
%1165 = load i32, ptr %76, align 4
%1166 = icmp slt i32 %1164, %1165
br i1 %1166, label %1121, label %._crit_edge171, !llvm.loop !64
._crit_edge171: ; preds = %1161
br label %1167
1167: ; preds = %._crit_edge171, %1117
br label %1168
1168: ; preds = %1167
%1169 = load i32, ptr %79, align 4
%1170 = add nsw i32 %1169, 1
store i32 %1170, ptr %79, align 4
%1171 = load i32, ptr %79, align 4
%1172 = load i32, ptr %76, align 4
%1173 = icmp slt i32 %1171, %1172
br i1 %1173, label %1117, label %._crit_edge174, !llvm.loop !65
._crit_edge174: ; preds = %1168
br label %1174
1174: ; preds = %._crit_edge174, %1094
store i32 0, ptr %82, align 4
%1175 = load i32, ptr %82, align 4
%1176 = icmp slt i32 %1175, 1
br i1 %1176, label %.lr.ph185, label %1247
.lr.ph185: ; preds = %1174
br label %1177
1177: ; preds = %.lr.ph185, %1242
store i32 0, ptr %83, align 4
%1178 = load i32, ptr %83, align 4
%1179 = load i32, ptr %76, align 4
%1180 = icmp slt i32 %1178, %1179
br i1 %1180, label %.lr.ph182, label %1241
.lr.ph182: ; preds = %1177
br label %1181
1181: ; preds = %.lr.ph182, %1235
store i32 0, ptr %84, align 4
%1182 = load i32, ptr %84, align 4
%1183 = load i32, ptr %76, align 4
%1184 = icmp slt i32 %1182, %1183
br i1 %1184, label %.lr.ph179, label %1234
.lr.ph179: ; preds = %1181
br label %1185
1185: ; preds = %.lr.ph179, %1228
store i32 0, ptr %85, align 4
%1186 = load i32, ptr %85, align 4
%1187 = load i32, ptr %76, align 4
%1188 = icmp slt i32 %1186, %1187
br i1 %1188, label %.lr.ph176, label %1227
.lr.ph176: ; preds = %1185
br label %1189
1189: ; preds = %.lr.ph176, %1221
%1190 = load ptr, ptr %78, align 8
%1191 = load i32, ptr %83, align 4
%1192 = load i32, ptr %76, align 4
%1193 = mul nsw i32 %1191, %1192
%1194 = load i32, ptr %76, align 4
%1195 = mul nsw i32 %1193, %1194
%1196 = load i32, ptr %84, align 4
%1197 = load i32, ptr %76, align 4
%1198 = mul nsw i32 %1196, %1197
%1199 = add nsw i32 %1195, %1198
%1200 = load i32, ptr %85, align 4
%1201 = add nsw i32 %1199, %1200
%1202 = sext i32 %1201 to i64
%1203 = getelementptr inbounds double, ptr %1190, i64 %1202
%1204 = load double, ptr %1203, align 8
%1205 = load ptr, ptr %77, align 8
%1206 = load i32, ptr %83, align 4
%1207 = load i32, ptr %76, align 4
%1208 = mul nsw i32 %1206, %1207
%1209 = load i32, ptr %76, align 4
%1210 = mul nsw i32 %1208, %1209
%1211 = load i32, ptr %84, align 4
%1212 = load i32, ptr %76, align 4
%1213 = mul nsw i32 %1211, %1212
%1214 = add nsw i32 %1210, %1213
%1215 = load i32, ptr %85, align 4
%1216 = add nsw i32 %1214, %1215
%1217 = sext i32 %1216 to i64
%1218 = getelementptr inbounds double, ptr %1205, i64 %1217
%1219 = load double, ptr %1218, align 8
%1220 = fadd double %1219, %1204
store double %1220, ptr %1218, align 8
br label %1221
1221: ; preds = %1189
%1222 = load i32, ptr %85, align 4
%1223 = add nsw i32 %1222, 1
store i32 %1223, ptr %85, align 4
%1224 = load i32, ptr %85, align 4
%1225 = load i32, ptr %76, align 4
%1226 = icmp slt i32 %1224, %1225
br i1 %1226, label %1189, label %._crit_edge177, !llvm.loop !66
._crit_edge177: ; preds = %1221
br label %1227
1227: ; preds = %._crit_edge177, %1185
br label %1228
1228: ; preds = %1227
%1229 = load i32, ptr %84, align 4
%1230 = add nsw i32 %1229, 1
store i32 %1230, ptr %84, align 4
%1231 = load i32, ptr %84, align 4
%1232 = load i32, ptr %76, align 4
%1233 = icmp slt i32 %1231, %1232
br i1 %1233, label %1185, label %._crit_edge180, !llvm.loop !67
._crit_edge180: ; preds = %1228
br label %1234
1234: ; preds = %._crit_edge180, %1181
br label %1235
1235: ; preds = %1234
%1236 = load i32, ptr %83, align 4
%1237 = add nsw i32 %1236, 1
store i32 %1237, ptr %83, align 4
%1238 = load i32, ptr %83, align 4
%1239 = load i32, ptr %76, align 4
%1240 = icmp slt i32 %1238, %1239
br i1 %1240, label %1181, label %._crit_edge183, !llvm.loop !68
._crit_edge183: ; preds = %1235
br label %1241
1241: ; preds = %._crit_edge183, %1177
br label %1242
1242: ; preds = %1241
%1243 = load i32, ptr %82, align 4
%1244 = add nsw i32 %1243, 1
store i32 %1244, ptr %82, align 4
%1245 = load i32, ptr %82, align 4
%1246 = icmp slt i32 %1245, 1
br i1 %1246, label %1177, label %._crit_edge186, !llvm.loop !69
._crit_edge186: ; preds = %1242
br label %1247
1247: ; preds = %._crit_edge186, %1174
store i32 0, ptr %86, align 4
%1248 = load i32, ptr %86, align 4
%1249 = load i32, ptr %76, align 4
%1250 = icmp slt i32 %1248, %1249
br i1 %1250, label %.lr.ph194, label %1316
.lr.ph194: ; preds = %1247
br label %1251
1251: ; preds = %.lr.ph194, %1310
store i32 0, ptr %87, align 4
%1252 = load i32, ptr %87, align 4
%1253 = load i32, ptr %76, align 4
%1254 = icmp slt i32 %1252, %1253
br i1 %1254, label %.lr.ph191, label %1309
.lr.ph191: ; preds = %1251
br label %1255
1255: ; preds = %.lr.ph191, %1303
store i32 0, ptr %88, align 4
%1256 = load i32, ptr %88, align 4
%1257 = load i32, ptr %76, align 4
%1258 = icmp slt i32 %1256, %1257
br i1 %1258, label %.lr.ph188, label %1302
.lr.ph188: ; preds = %1255
br label %1259
1259: ; preds = %.lr.ph188, %1296
%1260 = load ptr, ptr %77, align 8
%1261 = load i32, ptr %86, align 4
%1262 = load i32, ptr %76, align 4
%1263 = mul nsw i32 %1261, %1262
%1264 = load i32, ptr %76, align 4
%1265 = mul nsw i32 %1263, %1264
%1266 = load i32, ptr %87, align 4
%1267 = load i32, ptr %76, align 4
%1268 = mul nsw i32 %1266, %1267
%1269 = add nsw i32 %1265, %1268
%1270 = load i32, ptr %88, align 4
%1271 = add nsw i32 %1269, %1270
%1272 = sext i32 %1271 to i64
%1273 = getelementptr inbounds double, ptr %1260, i64 %1272
%1274 = load double, ptr %1273, align 8
%1275 = fcmp une double %1274, 5.000000e+00
br i1 %1275, label %1276, label %1295
1276: ; preds = %1259
%1277 = load i32, ptr %86, align 4
%1278 = load i32, ptr %87, align 4
%1279 = load ptr, ptr %77, align 8
%1280 = load i32, ptr %86, align 4
%1281 = load i32, ptr %76, align 4
%1282 = mul nsw i32 %1280, %1281
%1283 = load i32, ptr %76, align 4
%1284 = mul nsw i32 %1282, %1283
%1285 = load i32, ptr %87, align 4
%1286 = load i32, ptr %76, align 4
%1287 = mul nsw i32 %1285, %1286
%1288 = add nsw i32 %1284, %1287
%1289 = load i32, ptr %88, align 4
%1290 = add nsw i32 %1288, %1289
%1291 = sext i32 %1290 to i64
%1292 = getelementptr inbounds double, ptr %1279, i64 %1291
%1293 = load double, ptr %1292, align 8
%1294 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %1277, i32 noundef %1278, double noundef 3.000000e+00, double noundef %1293)
store i32 1, ptr %7, align 4
br label %1295
1295: ; preds = %1276, %1259
br label %1296
1296: ; preds = %1295
%1297 = load i32, ptr %88, align 4
%1298 = add nsw i32 %1297, 1
store i32 %1298, ptr %88, align 4
%1299 = load i32, ptr %88, align 4
%1300 = load i32, ptr %76, align 4
%1301 = icmp slt i32 %1299, %1300
br i1 %1301, label %1259, label %._crit_edge189, !llvm.loop !70
._crit_edge189: ; preds = %1296
br label %1302
1302: ; preds = %._crit_edge189, %1255
br label %1303
1303: ; preds = %1302
%1304 = load i32, ptr %87, align 4
%1305 = add nsw i32 %1304, 1
store i32 %1305, ptr %87, align 4
%1306 = load i32, ptr %87, align 4
%1307 = load i32, ptr %76, align 4
%1308 = icmp slt i32 %1306, %1307
br i1 %1308, label %1255, label %._crit_edge192, !llvm.loop !71
._crit_edge192: ; preds = %1303
br label %1309
1309: ; preds = %._crit_edge192, %1251
br label %1310
1310: ; preds = %1309
%1311 = load i32, ptr %86, align 4
%1312 = add nsw i32 %1311, 1
store i32 %1312, ptr %86, align 4
%1313 = load i32, ptr %86, align 4
%1314 = load i32, ptr %76, align 4
%1315 = icmp slt i32 %1313, %1314
br i1 %1315, label %1251, label %._crit_edge195, !llvm.loop !72
._crit_edge195: ; preds = %1310
br label %1316
1316: ; preds = %._crit_edge195, %1247
%1317 = load i32, ptr %7, align 4
%1318 = icmp ne i32 %1317, 0
br i1 %1318, label %1319, label %1321
1319: ; preds = %1316
%1320 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %1323
1321: ; preds = %1316
%1322 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1323
1323: ; preds = %1321, %1319
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @check_results(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!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}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
!57 = distinct !{!57, !7}
!58 = distinct !{!58, !7}
!59 = distinct !{!59, !7}
!60 = distinct !{!60, !7}
!61 = distinct !{!61, !7}
!62 = distinct !{!62, !7}
!63 = distinct !{!63, !7}
!64 = distinct !{!64, !7}
!65 = distinct !{!65, !7}
!66 = distinct !{!66, !7}
!67 = distinct !{!67, !7}
!68 = distinct !{!68, !7}
!69 = distinct !{!69, !7}
!70 = distinct !{!70, !7}
!71 = distinct !{!71, !7}
!72 = distinct !{!72, !7}
|
; ModuleID = '/tmp/tmp4o1t0n98.c'
source_filename = "/tmp/tmp4o1t0n98.c"
target datalayout = "e-m:e-p270: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/tmp4o1t0n98.c"
target datalayout = "e-m:e-p270: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/tmpx8ekinu4.c'
source_filename = "/tmp/tmpx8ekinu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sec(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @cos(double noundef %3) #2
%5 = fdiv double 1.000000e+00, %4
ret double %5
}
; Function Attrs: nounwind
declare double @cos(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/tmpx8ekinu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sec(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @cos(double noundef %3) #2
%5 = fdiv double 1.000000e+00, %4
ret double %5
}
; Function Attrs: nounwind
declare double @cos(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/tmp10rirfuc.c'
source_filename = "/tmp/tmp10rirfuc.c"
target datalayout = "e-m:e-p270: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/tmp10rirfuc.c"
target datalayout = "e-m:e-p270: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/tmp4sg831yi.c'
source_filename = "/tmp/tmp4sg831yi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wcsrtombs_chk(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
%14 = zext i1 %13 to i32
%15 = call i64 @__glibc_unlikely(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %5
%18 = call i32 (...) @__chk_fail()
br label %19
19: ; preds = %17, %5
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %8, align 8
%23 = load ptr, ptr %9, align 8
%24 = call i64 @__wcsrtombs(ptr noundef %20, ptr noundef %21, i64 noundef %22, ptr noundef %23)
ret i64 %24
}
declare i64 @__glibc_unlikely(i32 noundef) #1
declare i32 @__chk_fail(...) #1
declare i64 @__wcsrtombs(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4sg831yi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wcsrtombs_chk(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
%14 = zext i1 %13 to i32
%15 = call i64 @__glibc_unlikely(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %5
%18 = call i32 (...) @__chk_fail()
br label %19
19: ; preds = %17, %5
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %8, align 8
%23 = load ptr, ptr %9, align 8
%24 = call i64 @__wcsrtombs(ptr noundef %20, ptr noundef %21, i64 noundef %22, ptr noundef %23)
ret i64 %24
}
declare i64 @__glibc_unlikely(i32 noundef) #1
declare i32 @__chk_fail(...) #1
declare i64 @__wcsrtombs(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpczeuywua.c'
source_filename = "/tmp/tmpczeuywua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @AIC3204_rget(i16 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca [2 x i8], align 1
store i16 %0, ptr %3, align 2
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%7 = load i16, ptr %3, align 2
%8 = zext i16 %7 to i32
%9 = and i32 %8, 127
%10 = trunc i32 %9 to i8
%11 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
store i8 %10, ptr %11, align 1
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%14 = call signext i16 @EVM5515_I2C_write(i32 noundef 24, ptr noundef %13, i32 noundef 1)
%15 = sext i16 %14 to i32
%16 = load i16, ptr %5, align 2
%17 = sext i16 %16 to i32
%18 = or i32 %17, %15
%19 = trunc i32 %18 to i16
store i16 %19, ptr %5, align 2
%20 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%21 = call signext i16 @EVM5515_I2C_read(i32 noundef 24, ptr noundef %20, i32 noundef 1)
%22 = sext i16 %21 to i32
%23 = load i16, ptr %5, align 2
%24 = sext i16 %23 to i32
%25 = or i32 %24, %22
%26 = trunc i32 %25 to i16
store i16 %26, ptr %5, align 2
%27 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i16
%30 = load ptr, ptr %4, align 8
store i16 %29, ptr %30, align 2
%31 = call i32 @EVM5515_wait(i32 noundef 10)
%32 = load i16, ptr %5, align 2
ret i16 %32
}
declare signext i16 @EVM5515_I2C_write(i32 noundef, ptr noundef, i32 noundef) #1
declare signext i16 @EVM5515_I2C_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @EVM5515_wait(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpczeuywua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @AIC3204_rget(i16 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca [2 x i8], align 1
store i16 %0, ptr %3, align 2
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%7 = load i16, ptr %3, align 2
%8 = zext i16 %7 to i32
%9 = and i32 %8, 127
%10 = trunc i32 %9 to i8
%11 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
store i8 %10, ptr %11, align 1
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%14 = call signext i16 @EVM5515_I2C_write(i32 noundef 24, ptr noundef %13, i32 noundef 1)
%15 = sext i16 %14 to i32
%16 = load i16, ptr %5, align 2
%17 = sext i16 %16 to i32
%18 = or i32 %17, %15
%19 = trunc i32 %18 to i16
store i16 %19, ptr %5, align 2
%20 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%21 = call signext i16 @EVM5515_I2C_read(i32 noundef 24, ptr noundef %20, i32 noundef 1)
%22 = sext i16 %21 to i32
%23 = load i16, ptr %5, align 2
%24 = sext i16 %23 to i32
%25 = or i32 %24, %22
%26 = trunc i32 %25 to i16
store i16 %26, ptr %5, align 2
%27 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i16
%30 = load ptr, ptr %4, align 8
store i16 %29, ptr %30, align 2
%31 = call i32 @EVM5515_wait(i32 noundef 10)
%32 = load i16, ptr %5, align 2
ret i16 %32
}
declare signext i16 @EVM5515_I2C_write(i32 noundef, ptr noundef, i32 noundef) #1
declare signext i16 @EVM5515_I2C_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @EVM5515_wait(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkhfy5vr3.c'
source_filename = "/tmp/tmpkhfy5vr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Partition(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %55, %3
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %22, label %56
22: ; preds = %18
br label %23
23: ; preds = %31, %22
%24 = load i32, ptr %7, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp sgt i32 %24, %29
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %23, !llvm.loop !6
34: ; preds = %23
br label %35
35: ; preds = %43, %34
%36 = load i32, ptr %7, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %36, %41
br i1 %42, label %43, label %46
43: ; preds = %35
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %9, align 4
br label %35, !llvm.loop !8
46: ; preds = %35
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %50, label %55
50: ; preds = %46
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %9, align 4
%54 = call i32 @Swap(ptr noundef %51, i32 noundef %52, i32 noundef %53)
br label %55
55: ; preds = %50, %46
br label %18, !llvm.loop !9
56: ; preds = %18
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %9, align 4
%60 = call i32 @Swap(ptr noundef %57, i32 noundef %58, i32 noundef %59)
%61 = load i32, ptr %9, align 4
ret i32 %61
}
declare i32 @Swap(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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkhfy5vr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Partition(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %.lr.ph5, label %70
.lr.ph5: ; preds = %3
br label %21
21: ; preds = %.lr.ph5, %66
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %22, %27
br i1 %28, label %.lr.ph, label %39
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %29
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %7, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp sgt i32 %32, %37
br i1 %38, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %39
39: ; preds = %._crit_edge, %21
%40 = load i32, ptr %7, align 4
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp slt i32 %40, %45
br i1 %46, label %.lr.ph2, label %57
.lr.ph2: ; preds = %39
br label %47
47: ; preds = %.lr.ph2, %47
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %7, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp slt i32 %50, %55
br i1 %56, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %57
57: ; preds = %._crit_edge3, %39
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %61, label %66
61: ; preds = %57
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %9, align 4
%65 = call i32 @Swap(ptr noundef %62, i32 noundef %63, i32 noundef %64)
br label %66
66: ; preds = %61, %57
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %9, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %21, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %66
br label %70
70: ; preds = %._crit_edge6, %3
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %5, align 4
%73 = load i32, ptr %9, align 4
%74 = call i32 @Swap(ptr noundef %71, i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %9, align 4
ret i32 %75
}
declare i32 @Swap(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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp37_6vyun.c'
source_filename = "/tmp/tmp37_6vyun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp37_6vyun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmnnacko5.c'
source_filename = "/tmp/tmpmnnacko5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strccat(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = add nsw i64 %7, 2
%9 = call i64 @malloc(i64 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strncat(ptr noundef %14, ptr noundef %4, i32 noundef 1)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmnnacko5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strccat(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = add nsw i64 %7, 2
%9 = call i64 @malloc(i64 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strncat(ptr noundef %14, ptr noundef %4, i32 noundef 1)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ktd810n.c'
source_filename = "/tmp/tmp1ktd810n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Coprocessor Segment Overrun\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"#NA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_09() #0 {
%1 = call i32 @panic(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @panic(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/tmp1ktd810n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Coprocessor Segment Overrun\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"#NA\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_09() #0 {
%1 = call i32 @panic(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @panic(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/tmpxkyo66zo.c'
source_filename = "/tmp/tmpxkyo66zo.c"
target datalayout = "e-m:e-p270: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/tmpxkyo66zo.c"
target datalayout = "e-m:e-p270: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/tmpfg9wc7or.c'
source_filename = "/tmp/tmpfg9wc7or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uws_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = call ptr @uws_malloc(i64 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %5, align 8
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @uws_free(ptr noundef %14)
%16 = load ptr, ptr %7, align 8
ret ptr %16
}
declare ptr @uws_malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @uws_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/tmpfg9wc7or.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uws_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = call ptr @uws_malloc(i64 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %5, align 8
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @uws_free(ptr noundef %14)
%16 = load ptr, ptr %7, align 8
ret ptr %16
}
declare ptr @uws_malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @uws_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/tmpz3a2bwbt.c'
source_filename = "/tmp/tmpz3a2bwbt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Com_FilterPath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [64 x i8], align 16
%7 = alloca [64 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %51, %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 63
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %54
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 92
br i1 %28, label %37, label %29
29: ; preds = %21
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 58
br i1 %36, label %37, label %41
37: ; preds = %29, %21
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %39
store i8 47, ptr %40, align 1
br label %50
41: ; preds = %29
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %48
store i8 %46, ptr %49, align 1
br label %50
50: ; preds = %41, %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %8, !llvm.loop !6
54: ; preds = %19
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %56
store i8 0, ptr %57, align 1
store i32 0, ptr %5, align 4
br label %58
58: ; preds = %101, %54
%59 = load i32, ptr %5, align 4
%60 = icmp slt i32 %59, 63
br i1 %60, label %61, label %69
61: ; preds = %58
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br label %69
69: ; preds = %61, %58
%70 = phi i1 [ false, %58 ], [ %68, %61 ]
br i1 %70, label %71, label %104
71: ; preds = %69
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 92
br i1 %78, label %87, label %79
79: ; preds = %71
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %5, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 58
br i1 %86, label %87, label %91
87: ; preds = %79, %71
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %89
store i8 47, ptr %90, align 1
br label %100
91: ; preds = %79
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %98
store i8 %96, ptr %99, align 1
br label %100
100: ; preds = %91, %87
br label %101
101: ; preds = %100
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %5, align 4
br label %58, !llvm.loop !8
104: ; preds = %69
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %106
store i8 0, ptr %107, align 1
%108 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%109 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%110 = call i32 @Com_Filter(ptr noundef %108, ptr noundef %109)
ret i32 %110
}
declare i32 @Com_Filter(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz3a2bwbt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Com_FilterPath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [64 x i8], align 16
%7 = alloca [64 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %51, %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 63
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %54
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 92
br i1 %28, label %37, label %29
29: ; preds = %21
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 58
br i1 %36, label %37, label %41
37: ; preds = %29, %21
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %39
store i8 47, ptr %40, align 1
br label %50
41: ; preds = %29
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %48
store i8 %46, ptr %49, align 1
br label %50
50: ; preds = %41, %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %8, !llvm.loop !6
54: ; preds = %19
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %56
store i8 0, ptr %57, align 1
store i32 0, ptr %5, align 4
br label %58
58: ; preds = %101, %54
%59 = load i32, ptr %5, align 4
%60 = icmp slt i32 %59, 63
br i1 %60, label %61, label %69
61: ; preds = %58
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br label %69
69: ; preds = %61, %58
%70 = phi i1 [ false, %58 ], [ %68, %61 ]
br i1 %70, label %71, label %104
71: ; preds = %69
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 92
br i1 %78, label %87, label %79
79: ; preds = %71
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %5, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 58
br i1 %86, label %87, label %91
87: ; preds = %79, %71
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %89
store i8 47, ptr %90, align 1
br label %100
91: ; preds = %79
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %98
store i8 %96, ptr %99, align 1
br label %100
100: ; preds = %91, %87
br label %101
101: ; preds = %100
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %5, align 4
br label %58, !llvm.loop !8
104: ; preds = %69
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %106
store i8 0, ptr %107, align 1
%108 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%109 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%110 = call i32 @Com_Filter(ptr noundef %108, ptr noundef %109)
ret i32 %110
}
declare i32 @Com_Filter(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4jxnfe2c.c'
source_filename = "/tmp/tmp4jxnfe2c.c"
target datalayout = "e-m:e-p270: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/tmp4jxnfe2c.c"
target datalayout = "e-m:e-p270: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/tmpelqa3owt.c'
source_filename = "/tmp/tmpelqa3owt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stopcheck2_mt(double noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, double noundef %7, i32 noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
store double %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store double %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store double %5, ptr %16, align 8
store double %6, ptr %17, align 8
store double %7, ptr %18, align 8
store i32 %8, ptr %19, align 4
store i32 0, ptr %20, align 4
%24 = load i32, ptr %19, align 4
%25 = icmp eq i32 %24, 3
br i1 %25, label %26, label %28
26: ; preds = %9
store i32 4, ptr %20, align 4
%27 = load i32, ptr %20, align 4
store i32 %27, ptr %10, align 4
br label %70
28: ; preds = %9
%29 = load i32, ptr %19, align 4
%30 = icmp eq i32 %29, 15
br i1 %30, label %31, label %33
31: ; preds = %28
store i32 15, ptr %20, align 4
%32 = load i32, ptr %20, align 4
store i32 %32, ptr %10, align 4
br label %70
33: ; preds = %28
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr %12, align 4
%36 = call double @l2norm(ptr noundef %34, i32 noundef %35)
store double %36, ptr %21, align 8
%37 = load double, ptr %21, align 8
%38 = load i32, ptr %12, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
store double %40, ptr %22, align 8
%41 = load double, ptr %13, align 8
%42 = call double @llvm.fabs.f64(double %41)
%43 = load double, ptr %16, align 8
%44 = fcmp olt double %42, %43
br i1 %44, label %45, label %50
45: ; preds = %33
%46 = load double, ptr %11, align 8
%47 = load double, ptr %13, align 8
%48 = fsub double %46, %47
%49 = call double @llvm.fabs.f64(double %48)
store double %49, ptr %23, align 8
br label %57
50: ; preds = %33
%51 = load double, ptr %11, align 8
%52 = load double, ptr %13, align 8
%53 = fsub double %51, %52
%54 = load double, ptr %13, align 8
%55 = fdiv double %53, %54
%56 = call double @llvm.fabs.f64(double %55)
store double %56, ptr %23, align 8
br label %57
57: ; preds = %50, %45
%58 = load double, ptr %22, align 8
%59 = load double, ptr %17, align 8
%60 = fcmp olt double %58, %59
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 1, ptr %10, align 4
br label %70
62: ; preds = %57
%63 = load double, ptr %23, align 8
%64 = load double, ptr %18, align 8
%65 = fcmp olt double %63, %64
br i1 %65, label %66, label %67
66: ; preds = %62
store i32 6, ptr %10, align 4
br label %70
67: ; preds = %62
br label %68
68: ; preds = %67
%69 = load i32, ptr %20, align 4
store i32 %69, ptr %10, align 4
br label %70
70: ; preds = %68, %66, %61, %31, %26
%71 = load i32, ptr %10, align 4
ret i32 %71
}
declare double @l2norm(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelqa3owt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stopcheck2_mt(double noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, double noundef %7, i32 noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
store double %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store double %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store double %5, ptr %16, align 8
store double %6, ptr %17, align 8
store double %7, ptr %18, align 8
store i32 %8, ptr %19, align 4
store i32 0, ptr %20, align 4
%24 = load i32, ptr %19, align 4
%25 = icmp eq i32 %24, 3
br i1 %25, label %26, label %28
26: ; preds = %9
store i32 4, ptr %20, align 4
%27 = load i32, ptr %20, align 4
store i32 %27, ptr %10, align 4
br label %70
28: ; preds = %9
%29 = load i32, ptr %19, align 4
%30 = icmp eq i32 %29, 15
br i1 %30, label %31, label %33
31: ; preds = %28
store i32 15, ptr %20, align 4
%32 = load i32, ptr %20, align 4
store i32 %32, ptr %10, align 4
br label %70
33: ; preds = %28
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr %12, align 4
%36 = call double @l2norm(ptr noundef %34, i32 noundef %35)
store double %36, ptr %21, align 8
%37 = load double, ptr %21, align 8
%38 = load i32, ptr %12, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
store double %40, ptr %22, align 8
%41 = load double, ptr %13, align 8
%42 = call double @llvm.fabs.f64(double %41)
%43 = load double, ptr %16, align 8
%44 = fcmp olt double %42, %43
br i1 %44, label %45, label %50
45: ; preds = %33
%46 = load double, ptr %11, align 8
%47 = load double, ptr %13, align 8
%48 = fsub double %46, %47
%49 = call double @llvm.fabs.f64(double %48)
store double %49, ptr %23, align 8
br label %57
50: ; preds = %33
%51 = load double, ptr %11, align 8
%52 = load double, ptr %13, align 8
%53 = fsub double %51, %52
%54 = load double, ptr %13, align 8
%55 = fdiv double %53, %54
%56 = call double @llvm.fabs.f64(double %55)
store double %56, ptr %23, align 8
br label %57
57: ; preds = %50, %45
%58 = load double, ptr %22, align 8
%59 = load double, ptr %17, align 8
%60 = fcmp olt double %58, %59
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 1, ptr %10, align 4
br label %70
62: ; preds = %57
%63 = load double, ptr %23, align 8
%64 = load double, ptr %18, align 8
%65 = fcmp olt double %63, %64
br i1 %65, label %66, label %67
66: ; preds = %62
store i32 6, ptr %10, align 4
br label %70
67: ; preds = %62
br label %68
68: ; preds = %67
%69 = load i32, ptr %20, align 4
store i32 %69, ptr %10, align 4
br label %70
70: ; preds = %68, %66, %61, %31, %26
%71 = load i32, ptr %10, align 4
ret i32 %71
}
declare double @l2norm(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_9u75ki.c'
source_filename = "/tmp/tmpb_9u75ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
br label %7
7: ; preds = %10, %2
%8 = call i64 (...) @__VERIFIER_nondet()
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = fsub float %11, %12
%14 = fpext float %13 to double
%15 = fmul double 6.800000e-01, %14
%16 = fptrunc double %15 to float
store float %16, ptr %5, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %4, align 4
%19 = fadd float %17, %18
%20 = fpext float %19 to double
%21 = fmul double 6.800000e-01, %20
%22 = fptrunc double %21 to float
store float %22, ptr %6, align 4
%23 = load float, ptr %5, align 4
store float %23, ptr %3, align 4
%24 = load float, ptr %6, align 4
store float %24, ptr %4, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = load float, ptr %3, align 4
%27 = fcmp ole float -2.000000e+00, %26
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load float, ptr %3, align 4
%30 = fcmp ole float %29, 2.000000e+00
br label %31
31: ; preds = %28, %25
%32 = phi i1 [ false, %25 ], [ %30, %28 ]
%33 = zext i1 %32 to i32
%34 = call i32 @__VERIFIER_assert(i32 noundef %33)
%35 = load float, ptr %4, align 4
%36 = fcmp ole float -2.000000e+00, %35
br i1 %36, label %37, label %40
37: ; preds = %31
%38 = load float, ptr %4, align 4
%39 = fcmp ole float %38, 2.000000e+00
br label %40
40: ; preds = %37, %31
%41 = phi i1 [ false, %31 ], [ %39, %37 ]
%42 = zext i1 %41 to i32
%43 = call i32 @__VERIFIER_assert(i32 noundef %42)
ret void
}
declare i64 @__VERIFIER_nondet(...) #1
declare i32 @__VERIFIER_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/tmpb_9u75ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%7 = call i64 (...) @__VERIFIER_nondet()
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load float, ptr %3, align 4
%11 = load float, ptr %4, align 4
%12 = fsub float %10, %11
%13 = fpext float %12 to double
%14 = fmul double 6.800000e-01, %13
%15 = fptrunc double %14 to float
store float %15, ptr %5, align 4
%16 = load float, ptr %3, align 4
%17 = load float, ptr %4, align 4
%18 = fadd float %16, %17
%19 = fpext float %18 to double
%20 = fmul double 6.800000e-01, %19
%21 = fptrunc double %20 to float
store float %21, ptr %6, align 4
%22 = load float, ptr %5, align 4
store float %22, ptr %3, align 4
%23 = load float, ptr %6, align 4
store float %23, ptr %4, align 4
%24 = call i64 (...) @__VERIFIER_nondet()
%25 = icmp ne i64 %24, 0
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %26
26: ; preds = %._crit_edge, %2
%27 = load float, ptr %3, align 4
%28 = fcmp ole float -2.000000e+00, %27
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load float, ptr %3, align 4
%31 = fcmp ole float %30, 2.000000e+00
br label %32
32: ; preds = %29, %26
%33 = phi i1 [ false, %26 ], [ %31, %29 ]
%34 = zext i1 %33 to i32
%35 = call i32 @__VERIFIER_assert(i32 noundef %34)
%36 = load float, ptr %4, align 4
%37 = fcmp ole float -2.000000e+00, %36
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = load float, ptr %4, align 4
%40 = fcmp ole float %39, 2.000000e+00
br label %41
41: ; preds = %38, %32
%42 = phi i1 [ false, %32 ], [ %40, %38 ]
%43 = zext i1 %42 to i32
%44 = call i32 @__VERIFIER_assert(i32 noundef %43)
ret void
}
declare i64 @__VERIFIER_nondet(...) #1
declare i32 @__VERIFIER_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/tmptcz4ysfc.c'
source_filename = "/tmp/tmptcz4ysfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Digite um ano: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Ano %d \C3\A9 bissexto!\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Ano %d n\C3\A3o \C3\A9 bissexto!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = srem i32 %5, 400
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
br label %26
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 100
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %25
22: ; preds = %15, %11
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23)
br label %25
25: ; preds = %22, %19
br label %26
26: ; preds = %25, %8
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcz4ysfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Digite um ano: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Ano %d \C3\A9 bissexto!\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Ano %d n\C3\A3o \C3\A9 bissexto!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = srem i32 %5, 400
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
br label %26
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 100
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %25
22: ; preds = %15, %11
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23)
br label %25
25: ; preds = %22, %19
br label %26
26: ; preds = %25, %8
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv1_h791a.c'
source_filename = "/tmp/tmpv1_h791a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@snorm.a = internal global [32 x float] [float 0.000000e+00, float 0x3FA40EE380000000, float 0x3FB412D600000000, float 0x3FBE262CC0000000, float 0x3FC422C1C0000000, float 0x3FC93A8B20000000, float 0x3FCE5CA360000000, float 0x3FD1C5AE00000000, float 0x3FD4649680000000, float 0x3FD70C5EC0000000, float 0x3FD9BE7740000000, float 0x3FDC7C7600000000, float 0x3FDF481CC0000000, float 0x3FE111B140000000, float 0x3FE2884040000000, float 0x3FE40900C0000000, float 0x3FE5956BA0000000, float 0x3FE72F38E0000000, float 0x3FE8D87280000000, float 0x3FEA938BA0000000, float 0x3FEC638140000000, float 0x3FEE4C0960000000, float 0x3FF028EB40000000, float 0x3FF13D8160000000, float 0x3FF267D460000000, float 0x3FF3AD80A0000000, float 0x3FF51692C0000000, float 0x3FF6AF4BE0000000, float 0x3FF88BC280000000, float 0x3FFAD0A680000000, float 0x3FFDCDC020000000, float 0x40013B22E0000000], align 16
@snorm.d = internal global [31 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0x3FD0E03420000000, float 0x3FCF0A84C0000000, float 0x3FCCDF6480000000, float 0x3FCB16D460000000, float 0x3FC9971EA0000000, float 0x3FC84EFF40000000, float 0x3FC7326320000000, float 0x3FC6389220000000, float 0x3FC55B1340000000, float 0x3FC494FC80000000, float 0x3FC3E27FC0000000, float 0x3FC3409D80000000, float 0x3FC2ACEFC0000000, float 0x3FC2258500000000, float 0x3FC1A8C740000000, float 0x3FC1356380000000, float 0x3FC0CA4020000000, float 0x3FC0666EC0000000, float 0x3FC0092540000000, float 0x3FBF636D80000000, float 0x3FBEBF1C00000000, float 0x3FBE2451E0000000, float 0x3FBD923020000000, float 0x3FBD07EEE0000000, float 0x3FBC84E320000000, float 0x3FBC0872A0000000], align 16
@snorm.t = internal global [31 x float] [float 0x3F49254600000000, float 0x3F62E5DB60000000, float 0x3F6FA04D80000000, float 0x3F7646A1E0000000, float 0x3F7CE131E0000000, float 0x3F81D5B520000000, float 0x3F8558F3E0000000, float 0x3F89014F60000000, float 0x3F8CD6A160000000, float 0x3F9070EDE0000000, float 0x3F9296AC80000000, float 0x3F94E29E40000000, float 0x3F975BF800000000, float 0x3F9A0B6380000000, float 0x3F9CFB7380000000, float 0x3FA01C9A40000000, float 0x3FA1EA83C0000000, float 0x3FA3F1E340000000, float 0x3FA6403AA0000000, float 0x3FA8E76360000000, float 0x3FABFF7460000000, float 0x3FAFA9C8A0000000, float 0x3FB20AF760000000, float 0x3FB4C51040000000, float 0x3FB8394EA0000000, float 0x3FBCBFB300000000, float 0x3FC178C440000000, float 0x3FC5F9E460000000, float 0x3FCD22C960000000, float 0x3FD526E120000000, float 0x3FE2B5E340000000], align 16
@snorm.h = internal global [31 x float] [float 0x3FA412D4C0000000, float 0x3FA422ACE0000000, float 0x3FA43AA7A0000000, float 0x3FA45B0880000000, float 0x3FA4842D40000000, float 0x3FA4B68FA0000000, float 0x3FA4F2C940000000, float 0x3FA5399960000000, float 0x3FA58BEAE0000000, float 0x3FA5EADCA0000000, float 0x3FA657CD80000000, float 0x3FA6D46940000000, float 0x3FA762BE60000000, float 0x3FA8055600000000, float 0x3FA8BF5920000000, float 0x3FA994BF60000000, float 0x3FAA8A9680000000, float 0x3FABA76120000000, float 0x3FACF3ABC0000000, float 0x3FAE7AE300000000, float 0x3FB02654E0000000, float 0x3FB13F7D60000000, float 0x3FB298E440000000, float 0x3FB44AB120000000, float 0x3FB67B5200000000, float 0x3FB96BFC60000000, float 0x3FBD955720000000, float 0x3FC1F9C120000000, float 0x3FC780AB80000000, float 0x3FD1DB2980000000, float 0x3FE66EFB00000000], align 16
@snorm.i = internal global i64 0, align 8
@snorm.snorm = internal global float 0.000000e+00, align 4
@snorm.u = internal global float 0.000000e+00, align 4
@snorm.s = internal global float 0.000000e+00, align 4
@snorm.ustar = internal global float 0.000000e+00, align 4
@snorm.aa = internal global float 0.000000e+00, align 4
@snorm.w = internal global float 0.000000e+00, align 4
@snorm.y = internal global float 0.000000e+00, align 4
@snorm.tt = internal global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @snorm() #0 {
%1 = call float (...) @ranf()
store float %1, ptr @snorm.u, align 4
store float 0.000000e+00, ptr @snorm.s, align 4
%2 = load float, ptr @snorm.u, align 4
%3 = fpext float %2 to double
%4 = fcmp ogt double %3, 5.000000e-01
br i1 %4, label %5, label %6
5: ; preds = %0
store float 1.000000e+00, ptr @snorm.s, align 4
br label %6
6: ; preds = %5, %0
%7 = load float, ptr @snorm.u, align 4
%8 = load float, ptr @snorm.s, align 4
%9 = fsub float %7, %8
%10 = load float, ptr @snorm.u, align 4
%11 = fadd float %10, %9
store float %11, ptr @snorm.u, align 4
%12 = load float, ptr @snorm.u, align 4
%13 = fpext float %12 to double
%14 = fmul double 3.200000e+01, %13
%15 = fptrunc double %14 to float
store float %15, ptr @snorm.u, align 4
%16 = load float, ptr @snorm.u, align 4
%17 = fptosi float %16 to i64
store i64 %17, ptr @snorm.i, align 8
%18 = load i64, ptr @snorm.i, align 8
%19 = icmp eq i64 %18, 32
br i1 %19, label %20, label %21
20: ; preds = %6
store i64 31, ptr @snorm.i, align 8
br label %21
21: ; preds = %20, %6
%22 = load i64, ptr @snorm.i, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
br label %101
25: ; preds = %21
%26 = load float, ptr @snorm.u, align 4
%27 = load i64, ptr @snorm.i, align 8
%28 = sitofp i64 %27 to float
%29 = fsub float %26, %28
store float %29, ptr @snorm.ustar, align 4
%30 = load i64, ptr @snorm.i, align 8
%31 = getelementptr inbounds float, ptr @snorm.a, i64 %30
%32 = getelementptr inbounds float, ptr %31, i64 -1
%33 = load float, ptr %32, align 4
store float %33, ptr @snorm.aa, align 4
br label %34
34: ; preds = %99, %25
%35 = load float, ptr @snorm.ustar, align 4
%36 = load i64, ptr @snorm.i, align 8
%37 = getelementptr inbounds float, ptr @snorm.t, i64 %36
%38 = getelementptr inbounds float, ptr %37, i64 -1
%39 = load float, ptr %38, align 4
%40 = fcmp ole float %35, %39
br i1 %40, label %41, label %42
41: ; preds = %34
br label %67
42: ; preds = %34
%43 = load float, ptr @snorm.ustar, align 4
%44 = load i64, ptr @snorm.i, align 8
%45 = getelementptr inbounds float, ptr @snorm.t, i64 %44
%46 = getelementptr inbounds float, ptr %45, i64 -1
%47 = load float, ptr %46, align 4
%48 = fsub float %43, %47
%49 = load i64, ptr @snorm.i, align 8
%50 = getelementptr inbounds float, ptr @snorm.h, i64 %49
%51 = getelementptr inbounds float, ptr %50, i64 -1
%52 = load float, ptr %51, align 4
%53 = fmul float %48, %52
store float %53, ptr @snorm.w, align 4
br label %54
54: ; preds = %148, %92, %42
%55 = load float, ptr @snorm.aa, align 4
%56 = load float, ptr @snorm.w, align 4
%57 = fadd float %55, %56
store float %57, ptr @snorm.y, align 4
%58 = load float, ptr @snorm.y, align 4
store float %58, ptr @snorm.snorm, align 4
%59 = load float, ptr @snorm.s, align 4
%60 = fpext float %59 to double
%61 = fcmp oeq double %60, 1.000000e+00
br i1 %61, label %62, label %65
62: ; preds = %54
%63 = load float, ptr @snorm.y, align 4
%64 = fneg float %63
store float %64, ptr @snorm.snorm, align 4
br label %65
65: ; preds = %62, %54
%66 = load float, ptr @snorm.snorm, align 4
ret float %66
67: ; preds = %41
%68 = call float (...) @ranf()
store float %68, ptr @snorm.u, align 4
%69 = load float, ptr @snorm.u, align 4
%70 = load i64, ptr @snorm.i, align 8
%71 = getelementptr inbounds float, ptr @snorm.a, i64 %70
%72 = load float, ptr %71, align 4
%73 = load float, ptr @snorm.aa, align 4
%74 = fsub float %72, %73
%75 = fmul float %69, %74
store float %75, ptr @snorm.w, align 4
%76 = load float, ptr @snorm.w, align 4
%77 = fpext float %76 to double
%78 = load float, ptr @snorm.aa, align 4
%79 = fpext float %78 to double
%80 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %77, double %79)
%81 = load float, ptr @snorm.w, align 4
%82 = fpext float %81 to double
%83 = fmul double %80, %82
%84 = fptrunc double %83 to float
store float %84, ptr @snorm.tt, align 4
br label %88
85: ; preds = %98
%86 = load float, ptr @snorm.u, align 4
store float %86, ptr @snorm.tt, align 4
%87 = call float (...) @ranf()
store float %87, ptr @snorm.ustar, align 4
br label %88
88: ; preds = %85, %67
%89 = load float, ptr @snorm.ustar, align 4
%90 = load float, ptr @snorm.tt, align 4
%91 = fcmp ogt float %89, %90
br i1 %91, label %92, label %93
92: ; preds = %88
br label %54
93: ; preds = %88
%94 = call float (...) @ranf()
store float %94, ptr @snorm.u, align 4
%95 = load float, ptr @snorm.ustar, align 4
%96 = load float, ptr @snorm.u, align 4
%97 = fcmp oge float %95, %96
br i1 %97, label %98, label %99
98: ; preds = %93
br label %85
99: ; preds = %93
%100 = call float (...) @ranf()
store float %100, ptr @snorm.ustar, align 4
br label %34
101: ; preds = %24
store i64 6, ptr @snorm.i, align 8
%102 = load float, ptr getelementptr inbounds (float, ptr @snorm.a, i64 31), align 4
store float %102, ptr @snorm.aa, align 4
br label %112
103: ; preds = %119
%104 = load i64, ptr @snorm.i, align 8
%105 = getelementptr inbounds float, ptr @snorm.d, i64 %104
%106 = getelementptr inbounds float, ptr %105, i64 -1
%107 = load float, ptr %106, align 4
%108 = load float, ptr @snorm.aa, align 4
%109 = fadd float %108, %107
store float %109, ptr @snorm.aa, align 4
%110 = load i64, ptr @snorm.i, align 8
%111 = add nsw i64 %110, 1
store i64 %111, ptr @snorm.i, align 8
br label %112
112: ; preds = %103, %101
%113 = load float, ptr @snorm.u, align 4
%114 = load float, ptr @snorm.u, align 4
%115 = fadd float %114, %113
store float %115, ptr @snorm.u, align 4
%116 = load float, ptr @snorm.u, align 4
%117 = fpext float %116 to double
%118 = fcmp olt double %117, 1.000000e+00
br i1 %118, label %119, label %120
119: ; preds = %112
br label %103
120: ; preds = %112
%121 = load float, ptr @snorm.u, align 4
%122 = fpext float %121 to double
%123 = fsub double %122, 1.000000e+00
%124 = fptrunc double %123 to float
store float %124, ptr @snorm.u, align 4
br label %125
125: ; preds = %155, %120
%126 = load float, ptr @snorm.u, align 4
%127 = load i64, ptr @snorm.i, align 8
%128 = getelementptr inbounds float, ptr @snorm.d, i64 %127
%129 = getelementptr inbounds float, ptr %128, i64 -1
%130 = load float, ptr %129, align 4
%131 = fmul float %126, %130
store float %131, ptr @snorm.w, align 4
%132 = load float, ptr @snorm.w, align 4
%133 = fpext float %132 to double
%134 = load float, ptr @snorm.aa, align 4
%135 = fpext float %134 to double
%136 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %133, double %135)
%137 = load float, ptr @snorm.w, align 4
%138 = fpext float %137 to double
%139 = fmul double %136, %138
%140 = fptrunc double %139 to float
store float %140, ptr @snorm.tt, align 4
br label %143
141: ; preds = %154
%142 = load float, ptr @snorm.u, align 4
store float %142, ptr @snorm.tt, align 4
br label %143
143: ; preds = %141, %125
%144 = call float (...) @ranf()
store float %144, ptr @snorm.ustar, align 4
%145 = load float, ptr @snorm.ustar, align 4
%146 = load float, ptr @snorm.tt, align 4
%147 = fcmp ogt float %145, %146
br i1 %147, label %148, label %149
148: ; preds = %143
br label %54
149: ; preds = %143
%150 = call float (...) @ranf()
store float %150, ptr @snorm.u, align 4
%151 = load float, ptr @snorm.ustar, align 4
%152 = load float, ptr @snorm.u, align 4
%153 = fcmp oge float %151, %152
br i1 %153, label %154, label %155
154: ; preds = %149
br label %141
155: ; preds = %149
%156 = call float (...) @ranf()
store float %156, ptr @snorm.u, align 4
br label %125
}
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1_h791a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@snorm.a = internal global [32 x float] [float 0.000000e+00, float 0x3FA40EE380000000, float 0x3FB412D600000000, float 0x3FBE262CC0000000, float 0x3FC422C1C0000000, float 0x3FC93A8B20000000, float 0x3FCE5CA360000000, float 0x3FD1C5AE00000000, float 0x3FD4649680000000, float 0x3FD70C5EC0000000, float 0x3FD9BE7740000000, float 0x3FDC7C7600000000, float 0x3FDF481CC0000000, float 0x3FE111B140000000, float 0x3FE2884040000000, float 0x3FE40900C0000000, float 0x3FE5956BA0000000, float 0x3FE72F38E0000000, float 0x3FE8D87280000000, float 0x3FEA938BA0000000, float 0x3FEC638140000000, float 0x3FEE4C0960000000, float 0x3FF028EB40000000, float 0x3FF13D8160000000, float 0x3FF267D460000000, float 0x3FF3AD80A0000000, float 0x3FF51692C0000000, float 0x3FF6AF4BE0000000, float 0x3FF88BC280000000, float 0x3FFAD0A680000000, float 0x3FFDCDC020000000, float 0x40013B22E0000000], align 16
@snorm.d = internal global [31 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0x3FD0E03420000000, float 0x3FCF0A84C0000000, float 0x3FCCDF6480000000, float 0x3FCB16D460000000, float 0x3FC9971EA0000000, float 0x3FC84EFF40000000, float 0x3FC7326320000000, float 0x3FC6389220000000, float 0x3FC55B1340000000, float 0x3FC494FC80000000, float 0x3FC3E27FC0000000, float 0x3FC3409D80000000, float 0x3FC2ACEFC0000000, float 0x3FC2258500000000, float 0x3FC1A8C740000000, float 0x3FC1356380000000, float 0x3FC0CA4020000000, float 0x3FC0666EC0000000, float 0x3FC0092540000000, float 0x3FBF636D80000000, float 0x3FBEBF1C00000000, float 0x3FBE2451E0000000, float 0x3FBD923020000000, float 0x3FBD07EEE0000000, float 0x3FBC84E320000000, float 0x3FBC0872A0000000], align 16
@snorm.t = internal global [31 x float] [float 0x3F49254600000000, float 0x3F62E5DB60000000, float 0x3F6FA04D80000000, float 0x3F7646A1E0000000, float 0x3F7CE131E0000000, float 0x3F81D5B520000000, float 0x3F8558F3E0000000, float 0x3F89014F60000000, float 0x3F8CD6A160000000, float 0x3F9070EDE0000000, float 0x3F9296AC80000000, float 0x3F94E29E40000000, float 0x3F975BF800000000, float 0x3F9A0B6380000000, float 0x3F9CFB7380000000, float 0x3FA01C9A40000000, float 0x3FA1EA83C0000000, float 0x3FA3F1E340000000, float 0x3FA6403AA0000000, float 0x3FA8E76360000000, float 0x3FABFF7460000000, float 0x3FAFA9C8A0000000, float 0x3FB20AF760000000, float 0x3FB4C51040000000, float 0x3FB8394EA0000000, float 0x3FBCBFB300000000, float 0x3FC178C440000000, float 0x3FC5F9E460000000, float 0x3FCD22C960000000, float 0x3FD526E120000000, float 0x3FE2B5E340000000], align 16
@snorm.h = internal global [31 x float] [float 0x3FA412D4C0000000, float 0x3FA422ACE0000000, float 0x3FA43AA7A0000000, float 0x3FA45B0880000000, float 0x3FA4842D40000000, float 0x3FA4B68FA0000000, float 0x3FA4F2C940000000, float 0x3FA5399960000000, float 0x3FA58BEAE0000000, float 0x3FA5EADCA0000000, float 0x3FA657CD80000000, float 0x3FA6D46940000000, float 0x3FA762BE60000000, float 0x3FA8055600000000, float 0x3FA8BF5920000000, float 0x3FA994BF60000000, float 0x3FAA8A9680000000, float 0x3FABA76120000000, float 0x3FACF3ABC0000000, float 0x3FAE7AE300000000, float 0x3FB02654E0000000, float 0x3FB13F7D60000000, float 0x3FB298E440000000, float 0x3FB44AB120000000, float 0x3FB67B5200000000, float 0x3FB96BFC60000000, float 0x3FBD955720000000, float 0x3FC1F9C120000000, float 0x3FC780AB80000000, float 0x3FD1DB2980000000, float 0x3FE66EFB00000000], align 16
@snorm.i = internal global i64 0, align 8
@snorm.snorm = internal global float 0.000000e+00, align 4
@snorm.u = internal global float 0.000000e+00, align 4
@snorm.s = internal global float 0.000000e+00, align 4
@snorm.ustar = internal global float 0.000000e+00, align 4
@snorm.aa = internal global float 0.000000e+00, align 4
@snorm.w = internal global float 0.000000e+00, align 4
@snorm.y = internal global float 0.000000e+00, align 4
@snorm.tt = internal global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @snorm() #0 {
%1 = call float (...) @ranf()
store float %1, ptr @snorm.u, align 4
store float 0.000000e+00, ptr @snorm.s, align 4
%2 = load float, ptr @snorm.u, align 4
%3 = fpext float %2 to double
%4 = fcmp ogt double %3, 5.000000e-01
br i1 %4, label %5, label %6
5: ; preds = %0
store float 1.000000e+00, ptr @snorm.s, align 4
br label %6
6: ; preds = %5, %0
%7 = load float, ptr @snorm.u, align 4
%8 = load float, ptr @snorm.s, align 4
%9 = fsub float %7, %8
%10 = load float, ptr @snorm.u, align 4
%11 = fadd float %10, %9
store float %11, ptr @snorm.u, align 4
%12 = load float, ptr @snorm.u, align 4
%13 = fpext float %12 to double
%14 = fmul double 3.200000e+01, %13
%15 = fptrunc double %14 to float
store float %15, ptr @snorm.u, align 4
%16 = load float, ptr @snorm.u, align 4
%17 = fptosi float %16 to i64
store i64 %17, ptr @snorm.i, align 8
%18 = load i64, ptr @snorm.i, align 8
%19 = icmp eq i64 %18, 32
br i1 %19, label %20, label %21
20: ; preds = %6
store i64 31, ptr @snorm.i, align 8
br label %21
21: ; preds = %20, %6
%22 = load i64, ptr @snorm.i, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
br label %108
25: ; preds = %21
%26 = load float, ptr @snorm.u, align 4
%27 = load i64, ptr @snorm.i, align 8
%28 = sitofp i64 %27 to float
%29 = fsub float %26, %28
store float %29, ptr @snorm.ustar, align 4
%30 = load i64, ptr @snorm.i, align 8
%31 = getelementptr inbounds float, ptr @snorm.a, i64 %30
%32 = getelementptr inbounds float, ptr %31, i64 -1
%33 = load float, ptr %32, align 4
store float %33, ptr @snorm.aa, align 4
%34 = load float, ptr @snorm.ustar, align 4
%35 = load i64, ptr @snorm.i, align 8
%36 = getelementptr inbounds float, ptr @snorm.t, i64 %35
%37 = getelementptr inbounds float, ptr %36, i64 -1
%38 = load float, ptr %37, align 4
%39 = fcmp ole float %34, %38
br i1 %39, label %.lr.ph3, label %41
.lr.ph3: ; preds = %25
br label %40
40: ; preds = %.lr.ph3, %100
br label %66
._crit_edge4: ; preds = %100
br label %41
41: ; preds = %._crit_edge4, %25
%42 = load float, ptr @snorm.ustar, align 4
%43 = load i64, ptr @snorm.i, align 8
%44 = getelementptr inbounds float, ptr @snorm.t, i64 %43
%45 = getelementptr inbounds float, ptr %44, i64 -1
%46 = load float, ptr %45, align 4
%47 = fsub float %42, %46
%48 = load i64, ptr @snorm.i, align 8
%49 = getelementptr inbounds float, ptr @snorm.h, i64 %48
%50 = getelementptr inbounds float, ptr %49, i64 -1
%51 = load float, ptr %50, align 4
%52 = fmul float %47, %51
store float %52, ptr @snorm.w, align 4
br label %53
53: ; preds = %163, %93, %41
%54 = load float, ptr @snorm.aa, align 4
%55 = load float, ptr @snorm.w, align 4
%56 = fadd float %54, %55
store float %56, ptr @snorm.y, align 4
%57 = load float, ptr @snorm.y, align 4
store float %57, ptr @snorm.snorm, align 4
%58 = load float, ptr @snorm.s, align 4
%59 = fpext float %58 to double
%60 = fcmp oeq double %59, 1.000000e+00
br i1 %60, label %61, label %64
61: ; preds = %53
%62 = load float, ptr @snorm.y, align 4
%63 = fneg float %62
store float %63, ptr @snorm.snorm, align 4
br label %64
64: ; preds = %61, %53
%65 = load float, ptr @snorm.snorm, align 4
ret float %65
66: ; preds = %40
%67 = call float (...) @ranf()
store float %67, ptr @snorm.u, align 4
%68 = load float, ptr @snorm.u, align 4
%69 = load i64, ptr @snorm.i, align 8
%70 = getelementptr inbounds float, ptr @snorm.a, i64 %69
%71 = load float, ptr %70, align 4
%72 = load float, ptr @snorm.aa, align 4
%73 = fsub float %71, %72
%74 = fmul float %68, %73
store float %74, ptr @snorm.w, align 4
%75 = load float, ptr @snorm.w, align 4
%76 = fpext float %75 to double
%77 = load float, ptr @snorm.aa, align 4
%78 = fpext float %77 to double
%79 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %76, double %78)
%80 = load float, ptr @snorm.w, align 4
%81 = fpext float %80 to double
%82 = fmul double %79, %81
%83 = fptrunc double %82 to float
store float %83, ptr @snorm.tt, align 4
%84 = load float, ptr @snorm.ustar, align 4
%85 = load float, ptr @snorm.tt, align 4
%86 = fcmp ogt float %84, %85
br i1 %86, label %._crit_edge, label %.lr.ph
.lr.ph: ; preds = %66
br label %94
87: ; preds = %99
%88 = load float, ptr @snorm.u, align 4
store float %88, ptr @snorm.tt, align 4
%89 = call float (...) @ranf()
store float %89, ptr @snorm.ustar, align 4
%90 = load float, ptr @snorm.ustar, align 4
%91 = load float, ptr @snorm.tt, align 4
%92 = fcmp ogt float %90, %91
br i1 %92, label %._crit_edge1, label %94
._crit_edge: ; preds = %66
br label %93
._crit_edge1: ; preds = %87
br label %93
93: ; preds = %._crit_edge1, %._crit_edge
br label %53
94: ; preds = %.lr.ph, %87
%95 = call float (...) @ranf()
store float %95, ptr @snorm.u, align 4
%96 = load float, ptr @snorm.ustar, align 4
%97 = load float, ptr @snorm.u, align 4
%98 = fcmp oge float %96, %97
br i1 %98, label %99, label %100
99: ; preds = %94
br label %87
100: ; preds = %94
%101 = call float (...) @ranf()
store float %101, ptr @snorm.ustar, align 4
%102 = load float, ptr @snorm.ustar, align 4
%103 = load i64, ptr @snorm.i, align 8
%104 = getelementptr inbounds float, ptr @snorm.t, i64 %103
%105 = getelementptr inbounds float, ptr %104, i64 -1
%106 = load float, ptr %105, align 4
%107 = fcmp ole float %102, %106
br i1 %107, label %40, label %._crit_edge4
108: ; preds = %24
store i64 6, ptr @snorm.i, align 8
%109 = load float, ptr getelementptr inbounds (float, ptr @snorm.a, i64 31), align 4
store float %109, ptr @snorm.aa, align 4
%110 = load float, ptr @snorm.u, align 4
%111 = load float, ptr @snorm.u, align 4
%112 = fadd float %111, %110
store float %112, ptr @snorm.u, align 4
%113 = load float, ptr @snorm.u, align 4
%114 = fpext float %113 to double
%115 = fcmp olt double %114, 1.000000e+00
br i1 %115, label %.lr.ph6, label %132
.lr.ph6: ; preds = %108
br label %131
116: ; preds = %131
%117 = load i64, ptr @snorm.i, align 8
%118 = getelementptr inbounds float, ptr @snorm.d, i64 %117
%119 = getelementptr inbounds float, ptr %118, i64 -1
%120 = load float, ptr %119, align 4
%121 = load float, ptr @snorm.aa, align 4
%122 = fadd float %121, %120
store float %122, ptr @snorm.aa, align 4
%123 = load i64, ptr @snorm.i, align 8
%124 = add nsw i64 %123, 1
store i64 %124, ptr @snorm.i, align 8
%125 = load float, ptr @snorm.u, align 4
%126 = load float, ptr @snorm.u, align 4
%127 = fadd float %126, %125
store float %127, ptr @snorm.u, align 4
%128 = load float, ptr @snorm.u, align 4
%129 = fpext float %128 to double
%130 = fcmp olt double %129, 1.000000e+00
br i1 %130, label %131, label %._crit_edge7
131: ; preds = %.lr.ph6, %116
br label %116
._crit_edge7: ; preds = %116
br label %132
132: ; preds = %._crit_edge7, %108
%133 = load float, ptr @snorm.u, align 4
%134 = fpext float %133 to double
%135 = fsub double %134, 1.000000e+00
%136 = fptrunc double %135 to float
store float %136, ptr @snorm.u, align 4
br label %137
137: ; preds = %170, %132
%138 = load float, ptr @snorm.u, align 4
%139 = load i64, ptr @snorm.i, align 8
%140 = getelementptr inbounds float, ptr @snorm.d, i64 %139
%141 = getelementptr inbounds float, ptr %140, i64 -1
%142 = load float, ptr %141, align 4
%143 = fmul float %138, %142
store float %143, ptr @snorm.w, align 4
%144 = load float, ptr @snorm.w, align 4
%145 = fpext float %144 to double
%146 = load float, ptr @snorm.aa, align 4
%147 = fpext float %146 to double
%148 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %145, double %147)
%149 = load float, ptr @snorm.w, align 4
%150 = fpext float %149 to double
%151 = fmul double %148, %150
%152 = fptrunc double %151 to float
store float %152, ptr @snorm.tt, align 4
%153 = call float (...) @ranf()
store float %153, ptr @snorm.ustar, align 4
%154 = load float, ptr @snorm.ustar, align 4
%155 = load float, ptr @snorm.tt, align 4
%156 = fcmp ogt float %154, %155
br i1 %156, label %._crit_edge10, label %.lr.ph9
.lr.ph9: ; preds = %137
br label %164
157: ; preds = %169
%158 = load float, ptr @snorm.u, align 4
store float %158, ptr @snorm.tt, align 4
%159 = call float (...) @ranf()
store float %159, ptr @snorm.ustar, align 4
%160 = load float, ptr @snorm.ustar, align 4
%161 = load float, ptr @snorm.tt, align 4
%162 = fcmp ogt float %160, %161
br i1 %162, label %._crit_edge11, label %164
._crit_edge10: ; preds = %137
br label %163
._crit_edge11: ; preds = %157
br label %163
163: ; preds = %._crit_edge11, %._crit_edge10
br label %53
164: ; preds = %.lr.ph9, %157
%165 = call float (...) @ranf()
store float %165, ptr @snorm.u, align 4
%166 = load float, ptr @snorm.ustar, align 4
%167 = load float, ptr @snorm.u, align 4
%168 = fcmp oge float %166, %167
br i1 %168, label %169, label %170
169: ; preds = %164
br label %157
170: ; preds = %164
%171 = call float (...) @ranf()
store float %171, ptr @snorm.u, align 4
br label %137
}
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt3ee37t0.c'
source_filename = "/tmp/tmpt3ee37t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag_memdup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = call ptr @mag_malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %4, align 8
%17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16)
br label %18
18: ; preds = %13, %8
br label %19
19: ; preds = %18, %2
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @mag_malloc(i64 noundef) #1
declare i32 @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/tmpt3ee37t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag_memdup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = call ptr @mag_malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %4, align 8
%17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16)
br label %18
18: ; preds = %13, %8
br label %19
19: ; preds = %18, %2
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @mag_malloc(i64 noundef) #1
declare i32 @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/tmpyjj6iimi.c'
source_filename = "/tmp/tmpyjj6iimi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sl_set_level(ptr noundef null, i32 noundef 20)
%8 = call i32 (...) @linked_list_test()
%9 = call i32 (...) @array_list_test()
%10 = call i32 (...) @hash_table_test()
%11 = call i32 (...) @hta_test()
%12 = call i32 (...) @bit_field_test()
%13 = call i32 (...) @iter_test()
%14 = call i32 (...) @list_test()
%15 = call i32 (...) @args_test()
%16 = call i32 (...) @charbuf_test()
%17 = call i32 (...) @string_test()
%18 = call i32 (...) @parse_test()
%19 = call i32 (...) @lex_test()
%20 = call i32 (...) @codegen_test()
%21 = call i32 (...) @pike_test()
%22 = call i32 (...) @log_test()
%23 = call i32 (...) @ringbuf_test()
ret i32 0
}
declare i32 @sl_set_level(ptr noundef, i32 noundef) #1
declare i32 @linked_list_test(...) #1
declare i32 @array_list_test(...) #1
declare i32 @hash_table_test(...) #1
declare i32 @hta_test(...) #1
declare i32 @bit_field_test(...) #1
declare i32 @iter_test(...) #1
declare i32 @list_test(...) #1
declare i32 @args_test(...) #1
declare i32 @charbuf_test(...) #1
declare i32 @string_test(...) #1
declare i32 @parse_test(...) #1
declare i32 @lex_test(...) #1
declare i32 @codegen_test(...) #1
declare i32 @pike_test(...) #1
declare i32 @log_test(...) #1
declare i32 @ringbuf_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjj6iimi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sl_set_level(ptr noundef null, i32 noundef 20)
%8 = call i32 (...) @linked_list_test()
%9 = call i32 (...) @array_list_test()
%10 = call i32 (...) @hash_table_test()
%11 = call i32 (...) @hta_test()
%12 = call i32 (...) @bit_field_test()
%13 = call i32 (...) @iter_test()
%14 = call i32 (...) @list_test()
%15 = call i32 (...) @args_test()
%16 = call i32 (...) @charbuf_test()
%17 = call i32 (...) @string_test()
%18 = call i32 (...) @parse_test()
%19 = call i32 (...) @lex_test()
%20 = call i32 (...) @codegen_test()
%21 = call i32 (...) @pike_test()
%22 = call i32 (...) @log_test()
%23 = call i32 (...) @ringbuf_test()
ret i32 0
}
declare i32 @sl_set_level(ptr noundef, i32 noundef) #1
declare i32 @linked_list_test(...) #1
declare i32 @array_list_test(...) #1
declare i32 @hash_table_test(...) #1
declare i32 @hta_test(...) #1
declare i32 @bit_field_test(...) #1
declare i32 @iter_test(...) #1
declare i32 @list_test(...) #1
declare i32 @args_test(...) #1
declare i32 @charbuf_test(...) #1
declare i32 @string_test(...) #1
declare i32 @parse_test(...) #1
declare i32 @lex_test(...) #1
declare i32 @codegen_test(...) #1
declare i32 @pike_test(...) #1
declare i32 @log_test(...) #1
declare i32 @ringbuf_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn0xcdnt5.c'
source_filename = "/tmp/tmpn0xcdnt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(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 %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %29
12: ; preds = %3
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp uge i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i64, ptr %6, align 8
%18 = sub i64 %17, 1
store i64 %18, ptr %6, align 8
br label %21
19: ; preds = %12
%20 = load i64, ptr %7, align 8
store i64 %20, ptr %6, align 8
br label %21
21: ; preds = %19, %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call i32 @strncpy(ptr noundef %22, ptr noundef %23, i64 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 0, ptr %28, align 1
br label %29
29: ; preds = %21, %3
%30 = load i64, ptr %6, align 8
ret i64 %30
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(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/tmpn0xcdnt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(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 %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %29
12: ; preds = %3
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp uge i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i64, ptr %6, align 8
%18 = sub i64 %17, 1
store i64 %18, ptr %6, align 8
br label %21
19: ; preds = %12
%20 = load i64, ptr %7, align 8
store i64 %20, ptr %6, align 8
br label %21
21: ; preds = %19, %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call i32 @strncpy(ptr noundef %22, ptr noundef %23, i64 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 0, ptr %28, align 1
br label %29
29: ; preds = %21, %3
%30 = load i64, ptr %6, align 8
ret i64 %30
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(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/tmptflgsp64.c'
source_filename = "/tmp/tmptflgsp64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Couldn't send out socket: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SendData(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @SendHTMSocket(ptr noundef %7, i32 noundef %8, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @CloseHTMSocket(ptr noundef %14)
%16 = call i32 @exit(i32 noundef 3) #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @SendHTMSocket(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @CloseHTMSocket(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/tmptflgsp64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Couldn't send out socket: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SendData(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @SendHTMSocket(ptr noundef %7, i32 noundef %8, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @CloseHTMSocket(ptr noundef %14)
%16 = call i32 @exit(i32 noundef 3) #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @SendHTMSocket(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @CloseHTMSocket(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/tmpt544_csr.c'
source_filename = "/tmp/tmpt544_csr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wav_write_nothing(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = icmp ult i32 %5, 36
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @wav_store_word(i32 noundef 0, ptr noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @wav_store_word(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt544_csr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wav_write_nothing(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ult i32 %4, 36
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %9
%7 = load ptr, ptr %2, align 8
%8 = call i32 @wav_store_word(i32 noundef 0, ptr noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp ult i32 %12, 36
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %1
ret void
}
declare i32 @wav_store_word(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjo_qimyr.c'
source_filename = "/tmp/tmpjo_qimyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evenly_divisible(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %6, align 4
br label %8
8: ; preds = %18, %2
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %11, label %21
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %6, align 4
%14 = srem i32 %12, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %3, align 4
br label %22
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %6, align 4
br label %8, !llvm.loop !6
21: ; preds = %8
store i32 1, ptr %3, align 4
br label %22
22: ; preds = %21, %16
%23 = load i32, ptr %3, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjo_qimyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evenly_divisible(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp sgt i32 %8, 2
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = srem i32 %11, %12
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
store i32 0, ptr %3, align 4
br label %23
16: ; preds = %10
br label %17
17: ; preds = %16
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sgt i32 %20, 2
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %23
23: ; preds = %22, %15
%24 = load i32, ptr %3, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbrs9mq3a.c'
source_filename = "/tmp/tmpbrs9mq3a.c"
target datalayout = "e-m:e-p270: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/tmpbrs9mq3a.c"
target datalayout = "e-m:e-p270: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/tmpflowt6c2.c'
source_filename = "/tmp/tmpflowt6c2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [25 x i8] c"%d is a multiple of 11.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"%d is not a multiple of 11.\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
br label %3
3: ; preds = %20, %0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %21
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %6
br label %21
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
br label %20
17: ; preds = %10
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18)
br label %20
20: ; preds = %17, %14
br label %3, !llvm.loop !6
21: ; preds = %9, %3
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/tmpflowt6c2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [25 x i8] c"%d is a multiple of 11.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"%d is not a multiple of 11.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = icmp eq i32 %3, 1
br i1 %4, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %19
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
br label %22
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 11
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
br label %19
16: ; preds = %9
%17 = load i32, ptr %2, align 4
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17)
br label %19
19: ; preds = %16, %13
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%21 = icmp eq i32 %20, 1
br i1 %21, label %5, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %19
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %22
22: ; preds = %.loopexit, %8
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/tmp2cyf1lby.c'
source_filename = "/tmp/tmp2cyf1lby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isFourOFAKind(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %7, align 4
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
%14 = call i32 @getCardFace(ptr noundef %10, i32 noundef %13)
store i32 %14, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 1, ptr %5, align 4
br label %15
15: ; preds = %39, %2
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @getCardFace(ptr noundef %19, i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %18
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = icmp eq i32 %31, 4
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %9, align 4
br label %35
35: ; preds = %33, %29
br label %37
36: ; preds = %18
store i32 1, ptr %7, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %6, align 4
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %37
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %15, !llvm.loop !6
42: ; preds = %15
%43 = load i32, ptr %9, align 4
ret i32 %43
}
declare i32 @getCardFace(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/tmp2cyf1lby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isFourOFAKind(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %7, align 4
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
%14 = call i32 @getCardFace(ptr noundef %10, i32 noundef %13)
store i32 %14, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 1, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %.lr.ph, label %43
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %38
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @getCardFace(ptr noundef %18, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %35
28: ; preds = %17
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = icmp eq i32 %30, 4
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %9, align 4
br label %34
34: ; preds = %32, %28
br label %36
35: ; preds = %17
store i32 1, ptr %7, align 4
br label %36
36: ; preds = %35, %34
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %8, align 4
br label %38
38: ; preds = %36
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 5
br i1 %42, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %2
%44 = load i32, ptr %9, align 4
ret i32 %44
}
declare i32 @getCardFace(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/tmpr436yav9.c'
source_filename = "/tmp/tmpr436yav9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/zero\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [65 x i8] c"Cannot open /dev/zero for READ+WRITE. Check permissions! error: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mmap_anon(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load i32, ptr @O_RDWR, align 4
%15 = call i32 @open(ptr noundef @.str, i32 noundef %14)
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %5
%19 = call i32 @perror(ptr noundef @.str.1)
store ptr null, ptr %6, align 8
br label %31
20: ; preds = %5
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %11, align 4
%27 = call ptr @mmap(ptr noundef %21, i64 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
store ptr %27, ptr %12, align 8
%28 = load i32, ptr %13, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = load ptr, ptr %12, align 8
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %20, %18
%32 = load ptr, ptr %6, align 8
ret ptr %32
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr436yav9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/zero\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [65 x i8] c"Cannot open /dev/zero for READ+WRITE. Check permissions! error: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mmap_anon(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load i32, ptr @O_RDWR, align 4
%15 = call i32 @open(ptr noundef @.str, i32 noundef %14)
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %5
%19 = call i32 @perror(ptr noundef @.str.1)
store ptr null, ptr %6, align 8
br label %31
20: ; preds = %5
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %11, align 4
%27 = call ptr @mmap(ptr noundef %21, i64 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
store ptr %27, ptr %12, align 8
%28 = load i32, ptr %13, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = load ptr, ptr %12, align 8
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %20, %18
%32 = load ptr, ptr %6, align 8
ret ptr %32
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprh82lnuc.c'
source_filename = "/tmp/tmprh82lnuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ABC\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"str = %s\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 [8 x i8], align 1
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprh82lnuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ABC\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"str = %s\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 [8 x i8], align 1
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgzndzlz5.c'
source_filename = "/tmp/tmpgzndzlz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getChipVersion.nChipVersion = internal global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"can't access /proc/cpuinfo\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Hardware\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Revision\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"can't get the chip info.\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"MX27ADS\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"VPU does not support %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"0020\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getChipVersion() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca [32 x i8], align 16
%5 = alloca [8 x i8], align 1
%6 = alloca ptr, align 8
%7 = load i32, ptr @getChipVersion.nChipVersion, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = load i32, ptr @getChipVersion.nChipVersion, align 4
store i32 %10, ptr %1, align 4
br label %69
11: ; preds = %0
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %3, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %69
16: ; preds = %11
br label %17
17: ; preds = %44, %16
%18 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%19 = load ptr, ptr %3, align 8
%20 = call ptr @fgets(ptr noundef %18, i32 noundef 80, ptr noundef %19)
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %45
22: ; preds = %17
%23 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%24 = call i64 @strncmp(ptr noundef %23, ptr noundef @.str.3, i32 noundef 8)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %33
26: ; preds = %22
%27 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%28 = call ptr @index(ptr noundef %27, i8 noundef signext 58)
store ptr %28, ptr %6, align 8
%29 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 2
%32 = call i32 @strcpy(ptr noundef %29, ptr noundef %31)
br label %33
33: ; preds = %26, %22
%34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%35 = call i64 @strncmp(ptr noundef %34, ptr noundef @.str.4, i32 noundef 8)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%39 = call ptr @index(ptr noundef %38, i8 noundef signext 58)
store ptr %39, ptr %6, align 8
%40 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 2
%43 = call i32 @strcpy(ptr noundef %40, ptr noundef %42)
br label %44
44: ; preds = %37, %33
br label %17, !llvm.loop !6
45: ; preds = %17
%46 = load ptr, ptr %3, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%49 = call i64 @strlen(ptr noundef %48)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %69
53: ; preds = %45
%54 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%55 = call ptr @strstr(ptr noundef %54, ptr noundef @.str.6)
%56 = icmp eq ptr %55, null
br i1 %56, label %57, label %60
57: ; preds = %53
%58 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %58)
store i32 -1, ptr %1, align 4
br label %69
60: ; preds = %53
br label %61
61: ; preds = %60
%62 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%63 = call i64 @strncmp(ptr noundef %62, ptr noundef @.str.8, i32 noundef 4)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %61
store i32 411176989, ptr @getChipVersion.nChipVersion, align 4
br label %67
66: ; preds = %61
store i32 142741533, ptr @getChipVersion.nChipVersion, align 4
br label %67
67: ; preds = %66, %65
%68 = load i32, ptr @getChipVersion.nChipVersion, align 4
store i32 %68, ptr %1, align 4
br label %69
69: ; preds = %67, %57, %51, %14, %9
%70 = load i32, ptr %1, align 4
ret i32 %70
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @index(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmpgzndzlz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getChipVersion.nChipVersion = internal global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"can't access /proc/cpuinfo\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Hardware\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Revision\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"can't get the chip info.\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"MX27ADS\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"VPU does not support %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"0020\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getChipVersion() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca [32 x i8], align 16
%5 = alloca [8 x i8], align 1
%6 = alloca ptr, align 8
%7 = load i32, ptr @getChipVersion.nChipVersion, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = load i32, ptr @getChipVersion.nChipVersion, align 4
store i32 %10, ptr %1, align 4
br label %71
11: ; preds = %0
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %3, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %71
16: ; preds = %11
%17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%18 = load ptr, ptr %3, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 80, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %47
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %43
%22 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.3, i32 noundef 8)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%27 = call ptr @index(ptr noundef %26, i8 noundef signext 58)
store ptr %27, ptr %6, align 8
%28 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 2
%31 = call i32 @strcpy(ptr noundef %28, ptr noundef %30)
br label %32
32: ; preds = %25, %21
%33 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%34 = call i64 @strncmp(ptr noundef %33, ptr noundef @.str.4, i32 noundef 8)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%38 = call ptr @index(ptr noundef %37, i8 noundef signext 58)
store ptr %38, ptr %6, align 8
%39 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 2
%42 = call i32 @strcpy(ptr noundef %39, ptr noundef %41)
br label %43
43: ; preds = %36, %32
%44 = load ptr, ptr %3, align 8
%45 = call ptr @fgets(ptr noundef %17, i32 noundef 80, ptr noundef %44)
%46 = icmp ne ptr %45, null
br i1 %46, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %47
47: ; preds = %._crit_edge, %16
%48 = load ptr, ptr %3, align 8
%49 = call i32 @fclose(ptr noundef %48)
%50 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%51 = call i64 @strlen(ptr noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %47
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %71
55: ; preds = %47
%56 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%57 = call ptr @strstr(ptr noundef %56, ptr noundef @.str.6)
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %60)
store i32 -1, ptr %1, align 4
br label %71
62: ; preds = %55
br label %63
63: ; preds = %62
%64 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%65 = call i64 @strncmp(ptr noundef %64, ptr noundef @.str.8, i32 noundef 4)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 411176989, ptr @getChipVersion.nChipVersion, align 4
br label %69
68: ; preds = %63
store i32 142741533, ptr @getChipVersion.nChipVersion, align 4
br label %69
69: ; preds = %68, %67
%70 = load i32, ptr @getChipVersion.nChipVersion, align 4
store i32 %70, ptr %1, align 4
br label %71
71: ; preds = %69, %59, %53, %14, %9
%72 = load i32, ptr %1, align 4
ret i32 %72
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @index(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmps1_s61qc.c'
source_filename = "/tmp/tmps1_s61qc.c"
target datalayout = "e-m:e-p270: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/tmps1_s61qc.c"
target datalayout = "e-m:e-p270: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/tmphig5cb7e.c'
source_filename = "/tmp/tmphig5cb7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @concatenate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %8, %10
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %6, align 8
ret ptr %20
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphig5cb7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @concatenate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %8, %10
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %6, align 8
ret ptr %20
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7614gto.c'
source_filename = "/tmp/tmpg7614gto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UPNP_GetGeneralVariable(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
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 4096, ptr %11, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17, %14, %4
store i32 -1, ptr %5, align 4
br label %31
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%27 = call i32 @simpleUPnPcommand(i32 noundef -1, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %11)
%28 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%29 = load i32, ptr %11, align 4
%30 = call i32 @DisplayNameValueList(ptr noundef %28, i32 noundef %29)
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %21, %20
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i32 @simpleUPnPcommand(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @DisplayNameValueList(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/tmpg7614gto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UPNP_GetGeneralVariable(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
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 4096, ptr %11, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17, %14, %4
store i32 -1, ptr %5, align 4
br label %31
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%27 = call i32 @simpleUPnPcommand(i32 noundef -1, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %11)
%28 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%29 = load i32, ptr %11, align 4
%30 = call i32 @DisplayNameValueList(ptr noundef %28, i32 noundef %29)
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %21, %20
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i32 @simpleUPnPcommand(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @DisplayNameValueList(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/tmpbf8fzmob.c'
source_filename = "/tmp/tmpbf8fzmob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @getCommandStatus() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = call i32 (...) @dxl_get_result()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %9 [
i32 7, label %5
i32 1, label %6
i32 0, label %6
i32 6, label %7
i32 4, label %8
]
5: ; preds = %0
store i8 2, ptr %1, align 1
br label %10
6: ; preds = %0, %0
store i8 0, ptr %1, align 1
br label %10
7: ; preds = %0
store i8 1, ptr %1, align 1
br label %10
8: ; preds = %0
store i8 5, ptr %1, align 1
br label %10
9: ; preds = %0
store i8 3, ptr %1, align 1
br label %10
10: ; preds = %9, %8, %7, %6, %5
%11 = load i8, ptr %1, align 1
ret i8 %11
}
declare i32 @dxl_get_result(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf8fzmob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @getCommandStatus() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = call i32 (...) @dxl_get_result()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %9 [
i32 7, label %5
i32 1, label %6
i32 0, label %6
i32 6, label %7
i32 4, label %8
]
5: ; preds = %0
store i8 2, ptr %1, align 1
br label %10
6: ; preds = %0, %0
store i8 0, ptr %1, align 1
br label %10
7: ; preds = %0
store i8 1, ptr %1, align 1
br label %10
8: ; preds = %0
store i8 5, ptr %1, align 1
br label %10
9: ; preds = %0
store i8 3, ptr %1, align 1
br label %10
10: ; preds = %9, %8, %7, %6, %5
%11 = load i8, ptr %1, align 1
ret i8 %11
}
declare i32 @dxl_get_result(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm5dkzvkk.c'
source_filename = "/tmp/tmpm5dkzvkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srandom(i32 noundef %7)
%9 = call i32 (...) @random()
%10 = srem i32 %9, 3
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
ret i32 %16
}
declare i32 @srandom(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @random(...) #1
declare i32 @printf(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/tmpm5dkzvkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srandom(i32 noundef %7)
%9 = call i32 (...) @random()
%10 = srem i32 %9, 3
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
ret i32 %16
}
declare i32 @srandom(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @random(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_oz8mxfe.c'
source_filename = "/tmp/tmp_oz8mxfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"Hello, World.\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [105 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [105 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = getelementptr inbounds [105 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_oz8mxfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"Hello, World.\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [105 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [105 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = getelementptr inbounds [105 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpphr3sjrr.c'
source_filename = "/tmp/tmpphr3sjrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EDacos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fneg double %3
%6 = call double @llvm.fmuladd.f64(double %5, double %4, double 1.000000e+00)
%7 = fptosi double %6 to i32
%8 = call i32 @sqrt(i32 noundef %7)
%9 = sitofp i32 %8 to double
%10 = fdiv double -1.000000e+00, %9
ret double %10
}
declare i32 @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpphr3sjrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EDacos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fneg double %3
%6 = call double @llvm.fmuladd.f64(double %5, double %4, double 1.000000e+00)
%7 = fptosi double %6 to i32
%8 = call i32 @sqrt(i32 noundef %7)
%9 = sitofp i32 %8 to double
%10 = fdiv double -1.000000e+00, %9
ret double %10
}
declare i32 @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd5ujaime.c'
source_filename = "/tmp/tmpd5ujaime.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5ujaime.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjx40lpcy.c'
source_filename = "/tmp/tmpjx40lpcy.c"
target datalayout = "e-m:e-p270: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.inotify_event = type { i64 }
@NAME_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"--gtk\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"--qt\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"inotify_init\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"/usr/bin/pacman\00", align 1
@IN_OPEN = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"inotify_add_watch\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Watching '/usr/bin/pacman' using wd %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr @NAME_MAX, align 4
%15 = sext i32 %14 to i64
%16 = add i64 8, %15
%17 = add i64 %16, 1
%18 = mul i64 10, %17
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %9, align 8
%20 = alloca i8, i64 %18, align 16
store i64 %18, ptr %10, align 8
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 2
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = call i32 @print_usage(ptr noundef %24)
br label %91
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %41
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = load ptr, ptr %5, align 8
%40 = call i32 @print_usage(ptr noundef %39)
br label %90
41: ; preds = %32, %26
%42 = call i32 (...) @checkDatabase()
%43 = call i32 (...) @inotify_init()
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %41
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr @IN_OPEN, align 4
%51 = call i32 @inotify_add_watch(i32 noundef %49, ptr noundef @.str.3, i32 noundef %50)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.4)
br label %56
56: ; preds = %54, %48
%57 = load i32, ptr %7, align 4
%58 = call i32 @printf(ptr noundef @.str.5, i32 noundef %57)
br label %59
59: ; preds = %89, %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr @NAME_MAX, align 4
%62 = sext i32 %61 to i64
%63 = add i64 8, %62
%64 = add i64 %63, 1
%65 = mul i64 10, %64
%66 = trunc i64 %65 to i32
%67 = call i64 @read(i32 noundef %60, ptr noundef %20, i32 noundef %66)
store i64 %67, ptr %11, align 8
%68 = load i64, ptr %11, align 8
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %59
%71 = call i32 @perror(ptr noundef @.str.6)
br label %72
72: ; preds = %70, %59
store ptr %20, ptr %12, align 8
br label %73
73: ; preds = %78, %72
%74 = load ptr, ptr %12, align 8
%75 = load i64, ptr %11, align 8
%76 = getelementptr inbounds i8, ptr %20, i64 %75
%77 = icmp ult ptr %74, %76
br i1 %77, label %78, label %89
78: ; preds = %73
%79 = load ptr, ptr %12, align 8
store ptr %79, ptr %13, align 8
%80 = load ptr, ptr %13, align 8
%81 = load ptr, ptr %5, align 8
%82 = call i32 @displayInotifyEvent(ptr noundef %80, ptr noundef %81)
%83 = load ptr, ptr %13, align 8
%84 = getelementptr inbounds %struct.inotify_event, ptr %83, i32 0, i32 0
%85 = load i64, ptr %84, align 8
%86 = add i64 8, %85
%87 = load ptr, ptr %12, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 %86
store ptr %88, ptr %12, align 8
br label %73, !llvm.loop !6
89: ; preds = %73
br label %59
90: ; preds = %38
br label %91
91: ; preds = %90, %23
%92 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %92)
%93 = load i32, ptr %3, align 4
ret i32 %93
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @print_usage(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @checkDatabase(...) #2
declare i32 @inotify_init(...) #2
declare i32 @perror(ptr noundef) #2
declare i32 @inotify_add_watch(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @displayInotifyEvent(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjx40lpcy.c"
target datalayout = "e-m:e-p270: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.inotify_event = type { i64 }
@NAME_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"--gtk\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"--qt\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"inotify_init\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"/usr/bin/pacman\00", align 1
@IN_OPEN = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"inotify_add_watch\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Watching '/usr/bin/pacman' using wd %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr @NAME_MAX, align 4
%15 = sext i32 %14 to i64
%16 = add i64 8, %15
%17 = add i64 %16, 1
%18 = mul i64 10, %17
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %9, align 8
%20 = alloca i8, i64 %18, align 16
store i64 %18, ptr %10, align 8
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 2
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = call i32 @print_usage(ptr noundef %24)
br label %94
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %41
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = load ptr, ptr %5, align 8
%40 = call i32 @print_usage(ptr noundef %39)
br label %93
41: ; preds = %32, %26
%42 = call i32 (...) @checkDatabase()
%43 = call i32 (...) @inotify_init()
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %41
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr @IN_OPEN, align 4
%51 = call i32 @inotify_add_watch(i32 noundef %49, ptr noundef @.str.3, i32 noundef %50)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.4)
br label %56
56: ; preds = %54, %48
%57 = load i32, ptr %7, align 4
%58 = call i32 @printf(ptr noundef @.str.5, i32 noundef %57)
br label %59
59: ; preds = %92, %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr @NAME_MAX, align 4
%62 = sext i32 %61 to i64
%63 = add i64 8, %62
%64 = add i64 %63, 1
%65 = mul i64 10, %64
%66 = trunc i64 %65 to i32
%67 = call i64 @read(i32 noundef %60, ptr noundef %20, i32 noundef %66)
store i64 %67, ptr %11, align 8
%68 = load i64, ptr %11, align 8
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %59
%71 = call i32 @perror(ptr noundef @.str.6)
br label %72
72: ; preds = %70, %59
store ptr %20, ptr %12, align 8
%73 = load ptr, ptr %12, align 8
%74 = load i64, ptr %11, align 8
%75 = getelementptr inbounds i8, ptr %20, i64 %74
%76 = icmp ult ptr %73, %75
br i1 %76, label %.lr.ph, label %92
.lr.ph: ; preds = %72
br label %77
77: ; preds = %.lr.ph, %77
%78 = load ptr, ptr %12, align 8
store ptr %78, ptr %13, align 8
%79 = load ptr, ptr %13, align 8
%80 = load ptr, ptr %5, align 8
%81 = call i32 @displayInotifyEvent(ptr noundef %79, ptr noundef %80)
%82 = load ptr, ptr %13, align 8
%83 = getelementptr inbounds %struct.inotify_event, ptr %82, i32 0, i32 0
%84 = load i64, ptr %83, align 8
%85 = add i64 8, %84
%86 = load ptr, ptr %12, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 %85
store ptr %87, ptr %12, align 8
%88 = load ptr, ptr %12, align 8
%89 = load i64, ptr %11, align 8
%90 = getelementptr inbounds i8, ptr %20, i64 %89
%91 = icmp ult ptr %88, %90
br i1 %91, label %77, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %92
92: ; preds = %._crit_edge, %72
br label %59
93: ; preds = %38
br label %94
94: ; preds = %93, %23
%95 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %95)
%96 = load i32, ptr %3, align 4
ret i32 %96
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @print_usage(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @checkDatabase(...) #2
declare i32 @inotify_init(...) #2
declare i32 @perror(ptr noundef) #2
declare i32 @inotify_add_watch(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @displayInotifyEvent(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwp9rrp6k.c'
source_filename = "/tmp/tmpwp9rrp6k.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Too many steps in routine qromb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @qromb(ptr noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [21 x float], align 16
%11 = alloca [22 x float], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%13 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 1
store float 1.000000e+00, ptr %13, align 4
store i32 1, ptr %12, align 4
br label %14
14: ; preds = %59, %3
%15 = load i32, ptr %12, align 4
%16 = icmp sle i32 %15, 20
br i1 %16, label %17, label %62
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = load float, ptr %6, align 4
%20 = load float, ptr %7, align 4
%21 = load i32, ptr %12, align 4
%22 = call float @trapzd(ptr noundef %18, float noundef %19, float noundef %20, i32 noundef %21)
%23 = load i32, ptr %12, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [21 x float], ptr %10, i64 0, i64 %24
store float %22, ptr %25, align 4
%26 = load i32, ptr %12, align 4
%27 = icmp sge i32 %26, 5
br i1 %27, label %28, label %47
28: ; preds = %17
%29 = load i32, ptr %12, align 4
%30 = sub nsw i32 %29, 5
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %31
%33 = load i32, ptr %12, align 4
%34 = sub nsw i32 %33, 5
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [21 x float], ptr %10, i64 0, i64 %35
%37 = call i32 @polint(ptr noundef %32, ptr noundef %36, i32 noundef 5, double noundef 0.000000e+00, ptr noundef %8, ptr noundef %9)
%38 = load float, ptr %9, align 4
%39 = call double @fabs(float noundef %38)
%40 = load float, ptr %8, align 4
%41 = call double @fabs(float noundef %40)
%42 = fmul double 0x3EB0C6F7A0B5ED8D, %41
%43 = fcmp ole double %39, %42
br i1 %43, label %44, label %46
44: ; preds = %28
%45 = load float, ptr %8, align 4
store float %45, ptr %4, align 4
br label %65
46: ; preds = %28
br label %47
47: ; preds = %46, %17
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %49
%51 = load float, ptr %50, align 4
%52 = fpext float %51 to double
%53 = fmul double 2.500000e-01, %52
%54 = fptrunc double %53 to float
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %57
store float %54, ptr %58, align 4
br label %59
59: ; preds = %47
%60 = load i32, ptr %12, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %12, align 4
br label %14, !llvm.loop !6
62: ; preds = %14
%63 = load i32, ptr @stderr, align 4
%64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str)
store float 0.000000e+00, ptr %4, align 4
br label %65
65: ; preds = %62, %44
%66 = load float, ptr %4, align 4
ret float %66
}
declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1
declare i32 @polint(ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1
declare double @fabs(float noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwp9rrp6k.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Too many steps in routine qromb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @qromb(ptr noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [21 x float], align 16
%11 = alloca [22 x float], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%13 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 1
store float 1.000000e+00, ptr %13, align 4
store i32 1, ptr %12, align 4
%14 = load i32, ptr %12, align 4
%15 = icmp sle i32 %14, 20
br i1 %15, label %.lr.ph, label %63
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %58
%17 = load ptr, ptr %5, align 8
%18 = load float, ptr %6, align 4
%19 = load float, ptr %7, align 4
%20 = load i32, ptr %12, align 4
%21 = call float @trapzd(ptr noundef %17, float noundef %18, float noundef %19, i32 noundef %20)
%22 = load i32, ptr %12, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [21 x float], ptr %10, i64 0, i64 %23
store float %21, ptr %24, align 4
%25 = load i32, ptr %12, align 4
%26 = icmp sge i32 %25, 5
br i1 %26, label %27, label %46
27: ; preds = %16
%28 = load i32, ptr %12, align 4
%29 = sub nsw i32 %28, 5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %30
%32 = load i32, ptr %12, align 4
%33 = sub nsw i32 %32, 5
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [21 x float], ptr %10, i64 0, i64 %34
%36 = call i32 @polint(ptr noundef %31, ptr noundef %35, i32 noundef 5, double noundef 0.000000e+00, ptr noundef %8, ptr noundef %9)
%37 = load float, ptr %9, align 4
%38 = call double @fabs(float noundef %37)
%39 = load float, ptr %8, align 4
%40 = call double @fabs(float noundef %39)
%41 = fmul double 0x3EB0C6F7A0B5ED8D, %40
%42 = fcmp ole double %38, %41
br i1 %42, label %43, label %45
43: ; preds = %27
%44 = load float, ptr %8, align 4
store float %44, ptr %4, align 4
br label %66
45: ; preds = %27
br label %46
46: ; preds = %45, %16
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %48
%50 = load float, ptr %49, align 4
%51 = fpext float %50 to double
%52 = fmul double 2.500000e-01, %51
%53 = fptrunc double %52 to float
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [22 x float], ptr %11, i64 0, i64 %56
store float %53, ptr %57, align 4
br label %58
58: ; preds = %46
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %12, align 4
%61 = load i32, ptr %12, align 4
%62 = icmp sle i32 %61, 20
br i1 %62, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %63
63: ; preds = %._crit_edge, %3
%64 = load i32, ptr @stderr, align 4
%65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str)
store float 0.000000e+00, ptr %4, align 4
br label %66
66: ; preds = %63, %43
%67 = load float, ptr %4, align 4
ret float %67
}
declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1
declare i32 @polint(ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1
declare double @fabs(float noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdqs1sn_0.c'
source_filename = "/tmp/tmpdqs1sn_0.c"
target datalayout = "e-m:e-p270: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/tmpdqs1sn_0.c"
target datalayout = "e-m:e-p270: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/tmpykakdl8t.c'
source_filename = "/tmp/tmpykakdl8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shuffle version 1.18.6\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"Copyright (c) 2000-2018 Ruda Moura <[email protected]>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykakdl8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shuffle version 1.18.6\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"Copyright (c) 2000-2018 Ruda Moura <[email protected]>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptx_vu9sk.c'
source_filename = "/tmp/tmptx_vu9sk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@die1 = external global i32, align 4
@die2 = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @roll() #0 {
%1 = call i32 (...) @rand()
%2 = ashr i32 %1, 8
%3 = srem i32 %2, 6
%4 = add nsw i32 %3, 1
store i32 %4, ptr @die1, align 4
%5 = call i32 (...) @rand()
%6 = ashr i32 %5, 8
%7 = srem i32 %6, 6
%8 = add nsw i32 %7, 1
store i32 %8, ptr @die2, align 4
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptx_vu9sk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@die1 = external global i32, align 4
@die2 = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @roll() #0 {
%1 = call i32 (...) @rand()
%2 = ashr i32 %1, 8
%3 = srem i32 %2, 6
%4 = add nsw i32 %3, 1
store i32 %4, ptr @die1, align 4
%5 = call i32 (...) @rand()
%6 = ashr i32 %5, 8
%7 = srem i32 %6, 6
%8 = add nsw i32 %7, 1
store i32 %8, ptr @die2, align 4
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpunp8i9ab.c'
source_filename = "/tmp/tmpunp8i9ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @hanoi(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %3
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
br label %47
16: ; preds = %3
store i32 1, ptr %7, align 4
br label %17
17: ; preds = %31, %16
%18 = load i32, ptr %7, align 4
%19 = icmp sle i32 %18, 3
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr %7, align 4
store i32 %29, ptr %8, align 4
br label %34
30: ; preds = %24, %20
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %17, !llvm.loop !6
34: ; preds = %28, %17
%35 = load i32, ptr %4, align 4
%36 = sub nsw i32 %35, 1
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %8, align 4
call void @hanoi(i32 noundef %36, i32 noundef %37, i32 noundef %38)
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 1
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
call void @hanoi(i32 noundef %44, i32 noundef %45, i32 noundef %46)
br label %47
47: ; preds = %34, %11
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpunp8i9ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @hanoi(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %3
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
br label %48
16: ; preds = %3
store i32 1, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp sle i32 %17, 3
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %30
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = load i32, ptr %7, align 4
store i32 %28, ptr %8, align 4
br label %35
29: ; preds = %23, %19
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp sle i32 %33, 3
br i1 %34, label %19, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %30
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %35
35: ; preds = %.loopexit, %27
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 %36, 1
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %8, align 4
call void @hanoi(i32 noundef %37, i32 noundef %38, i32 noundef %39)
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %4, align 4
%45 = sub nsw i32 %44, 1
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %6, align 4
call void @hanoi(i32 noundef %45, i32 noundef %46, i32 noundef %47)
br label %48
48: ; preds = %35, %11
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphkcda8sw.c'
source_filename = "/tmp/tmphkcda8sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample_Mult_smooth(double noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca i32, align 4
store double %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = sub nsw i32 %13, %14
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %12, i64 %17
%19 = load double, ptr %18, align 8
%20 = load double, ptr %6, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
%25 = sitofp i32 %24 to double
%26 = call double @llvm.fmuladd.f64(double %20, double %25, double %19)
store double %26, ptr %10, align 8
%27 = call double (...) @ranf()
%28 = load double, ptr %10, align 8
%29 = fmul double %27, %28
store double %29, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %30
30: ; preds = %53, %4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
%35 = icmp sle i32 %31, %34
br i1 %35, label %36, label %56
36: ; preds = %30
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load double, ptr %6, align 8
%43 = fadd double %41, %42
%44 = load double, ptr %10, align 8
%45 = fsub double %44, %43
store double %45, ptr %10, align 8
%46 = load double, ptr %10, align 8
%47 = fcmp olt double %46, 0.000000e+00
br i1 %47, label %48, label %52
48: ; preds = %36
%49 = load i32, ptr %11, align 4
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %49, %50
store i32 %51, ptr %5, align 4
br label %58
52: ; preds = %36
br label %53
53: ; preds = %52
%54 = load i32, ptr %11, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %11, align 4
br label %30, !llvm.loop !6
56: ; preds = %30
%57 = load i32, ptr %8, align 4
store i32 %57, ptr %5, align 4
br label %58
58: ; preds = %56, %48
%59 = load i32, ptr %5, align 4
ret i32 %59
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @ranf(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphkcda8sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample_Mult_smooth(double noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca i32, align 4
store double %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = sub nsw i32 %13, %14
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %12, i64 %17
%19 = load double, ptr %18, align 8
%20 = load double, ptr %6, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
%25 = sitofp i32 %24 to double
%26 = call double @llvm.fmuladd.f64(double %20, double %25, double %19)
store double %26, ptr %10, align 8
%27 = call double (...) @ranf()
%28 = load double, ptr %10, align 8
%29 = fmul double %27, %28
store double %29, ptr %10, align 8
store i32 0, ptr %11, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %31, %32
%34 = icmp sle i32 %30, %33
br i1 %34, label %.lr.ph, label %60
.lr.ph: ; preds = %4
br label %35
35: ; preds = %.lr.ph, %52
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = load double, ptr %6, align 8
%42 = fadd double %40, %41
%43 = load double, ptr %10, align 8
%44 = fsub double %43, %42
store double %44, ptr %10, align 8
%45 = load double, ptr %10, align 8
%46 = fcmp olt double %45, 0.000000e+00
br i1 %46, label %47, label %51
47: ; preds = %35
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
store i32 %50, ptr %5, align 4
br label %62
51: ; preds = %35
br label %52
52: ; preds = %51
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %8, align 4
%58 = sub nsw i32 %56, %57
%59 = icmp sle i32 %55, %58
br i1 %59, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %60
60: ; preds = %._crit_edge, %4
%61 = load i32, ptr %8, align 4
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %60, %47
%63 = load i32, ptr %5, align 4
ret i32 %63
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @ranf(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvq_p20jc.c'
source_filename = "/tmp/tmpvq_p20jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvq_p20jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8995_42r.c'
source_filename = "/tmp/tmp8995_42r.c"
target datalayout = "e-m:e-p270: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/tmp8995_42r.c"
target datalayout = "e-m:e-p270: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_catpkns.c'
source_filename = "/tmp/tmp_catpkns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi1i4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i8 noundef zeroext %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i8 %5, ptr %17, align 1
store i64 %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %96
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %51
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %51
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %47, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i64
%44 = load ptr, ptr %21, align 8
%45 = load i64, ptr %23, align 8
%46 = getelementptr inbounds i64, ptr %44, i64 %45
store i64 %43, ptr %46, align 8
br label %47
47: ; preds = %38
%48 = load i64, ptr %23, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr %23, align 8
br label %34, !llvm.loop !6
50: ; preds = %34
br label %95
51: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %52
52: ; preds = %91, %51
%53 = load i64, ptr %23, align 8
%54 = load i64, ptr %13, align 8
%55 = icmp slt i64 %53, %54
br i1 %55, label %56, label %94
56: ; preds = %52
%57 = load ptr, ptr %12, align 8
%58 = load i64, ptr %23, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = sitofp i32 %61 to double
%63 = load double, ptr %14, align 8
%64 = load double, ptr %15, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
store double %65, ptr %24, align 8
%66 = load double, ptr %24, align 8
%67 = fcmp olt double %66, 0xC3DFFFFFFFFFFFFF
br i1 %67, label %68, label %74
68: ; preds = %56
%69 = load ptr, ptr %22, align 8
store i32 -11, ptr %69, align 4
%70 = load i64, ptr @LONG_MIN, align 8
%71 = load ptr, ptr %21, align 8
%72 = load i64, ptr %23, align 8
%73 = getelementptr inbounds i64, ptr %71, i64 %72
store i64 %70, ptr %73, align 8
br label %90
74: ; preds = %56
%75 = load double, ptr %24, align 8
%76 = fcmp ogt double %75, 0x43DFFFFFFFFFFFFF
br i1 %76, label %77, label %83
77: ; preds = %74
%78 = load ptr, ptr %22, align 8
store i32 -11, ptr %78, align 4
%79 = load i64, ptr @LONG_MAX, align 8
%80 = load ptr, ptr %21, align 8
%81 = load i64, ptr %23, align 8
%82 = getelementptr inbounds i64, ptr %80, i64 %81
store i64 %79, ptr %82, align 8
br label %89
83: ; preds = %74
%84 = load double, ptr %24, align 8
%85 = fptosi double %84 to i64
%86 = load ptr, ptr %21, align 8
%87 = load i64, ptr %23, align 8
%88 = getelementptr inbounds i64, ptr %86, i64 %87
store i64 %85, ptr %88, align 8
br label %89
89: ; preds = %83, %77
br label %90
90: ; preds = %89, %68
br label %91
91: ; preds = %90
%92 = load i64, ptr %23, align 8
%93 = add nsw i64 %92, 1
store i64 %93, ptr %23, align 8
br label %52, !llvm.loop !8
94: ; preds = %52
br label %95
95: ; preds = %94, %50
br label %213
96: ; preds = %11
%97 = load double, ptr %14, align 8
%98 = fcmp oeq double %97, 1.000000e+00
br i1 %98, label %99, label %144
99: ; preds = %96
%100 = load double, ptr %15, align 8
%101 = fcmp oeq double %100, 0.000000e+00
br i1 %101, label %102, label %144
102: ; preds = %99
store i64 0, ptr %23, align 8
br label %103
103: ; preds = %140, %102
%104 = load i64, ptr %23, align 8
%105 = load i64, ptr %13, align 8
%106 = icmp slt i64 %104, %105
br i1 %106, label %107, label %143
107: ; preds = %103
%108 = load ptr, ptr %12, align 8
%109 = load i64, ptr %23, align 8
%110 = getelementptr inbounds i8, ptr %108, i64 %109
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = load i8, ptr %17, align 1
%114 = zext i8 %113 to i32
%115 = icmp eq i32 %112, %114
br i1 %115, label %116, label %130
116: ; preds = %107
%117 = load ptr, ptr %20, align 8
store i32 1, ptr %117, align 4
%118 = load i32, ptr %16, align 4
%119 = icmp eq i32 %118, 1
br i1 %119, label %120, label %125
120: ; preds = %116
%121 = load i64, ptr %18, align 8
%122 = load ptr, ptr %21, align 8
%123 = load i64, ptr %23, align 8
%124 = getelementptr inbounds i64, ptr %122, i64 %123
store i64 %121, ptr %124, align 8
br label %129
125: ; preds = %116
%126 = load ptr, ptr %19, align 8
%127 = load i64, ptr %23, align 8
%128 = getelementptr inbounds i8, ptr %126, i64 %127
store i8 1, ptr %128, align 1
br label %129
129: ; preds = %125, %120
br label %139
130: ; preds = %107
%131 = load ptr, ptr %12, align 8
%132 = load i64, ptr %23, align 8
%133 = getelementptr inbounds i8, ptr %131, i64 %132
%134 = load i8, ptr %133, align 1
%135 = zext i8 %134 to i64
%136 = load ptr, ptr %21, align 8
%137 = load i64, ptr %23, align 8
%138 = getelementptr inbounds i64, ptr %136, i64 %137
store i64 %135, ptr %138, align 8
br label %139
139: ; preds = %130, %129
br label %140
140: ; preds = %139
%141 = load i64, ptr %23, align 8
%142 = add nsw i64 %141, 1
store i64 %142, ptr %23, align 8
br label %103, !llvm.loop !9
143: ; preds = %103
br label %212
144: ; preds = %99, %96
store i64 0, ptr %23, align 8
br label %145
145: ; preds = %208, %144
%146 = load i64, ptr %23, align 8
%147 = load i64, ptr %13, align 8
%148 = icmp slt i64 %146, %147
br i1 %148, label %149, label %211
149: ; preds = %145
%150 = load ptr, ptr %12, align 8
%151 = load i64, ptr %23, align 8
%152 = getelementptr inbounds i8, ptr %150, i64 %151
%153 = load i8, ptr %152, align 1
%154 = zext i8 %153 to i32
%155 = load i8, ptr %17, align 1
%156 = zext i8 %155 to i32
%157 = icmp eq i32 %154, %156
br i1 %157, label %158, label %172
158: ; preds = %149
%159 = load ptr, ptr %20, align 8
store i32 1, ptr %159, align 4
%160 = load i32, ptr %16, align 4
%161 = icmp eq i32 %160, 1
br i1 %161, label %162, label %167
162: ; preds = %158
%163 = load i64, ptr %18, align 8
%164 = load ptr, ptr %21, align 8
%165 = load i64, ptr %23, align 8
%166 = getelementptr inbounds i64, ptr %164, i64 %165
store i64 %163, ptr %166, align 8
br label %171
167: ; preds = %158
%168 = load ptr, ptr %19, align 8
%169 = load i64, ptr %23, align 8
%170 = getelementptr inbounds i8, ptr %168, i64 %169
store i8 1, ptr %170, align 1
br label %171
171: ; preds = %167, %162
br label %207
172: ; preds = %149
%173 = load ptr, ptr %12, align 8
%174 = load i64, ptr %23, align 8
%175 = getelementptr inbounds i8, ptr %173, i64 %174
%176 = load i8, ptr %175, align 1
%177 = zext i8 %176 to i32
%178 = sitofp i32 %177 to double
%179 = load double, ptr %14, align 8
%180 = load double, ptr %15, align 8
%181 = call double @llvm.fmuladd.f64(double %178, double %179, double %180)
store double %181, ptr %24, align 8
%182 = load double, ptr %24, align 8
%183 = fcmp olt double %182, 0xC3DFFFFFFFFFFFFF
br i1 %183, label %184, label %190
184: ; preds = %172
%185 = load ptr, ptr %22, align 8
store i32 -11, ptr %185, align 4
%186 = load i64, ptr @LONG_MIN, align 8
%187 = load ptr, ptr %21, align 8
%188 = load i64, ptr %23, align 8
%189 = getelementptr inbounds i64, ptr %187, i64 %188
store i64 %186, ptr %189, align 8
br label %206
190: ; preds = %172
%191 = load double, ptr %24, align 8
%192 = fcmp ogt double %191, 0x43DFFFFFFFFFFFFF
br i1 %192, label %193, label %199
193: ; preds = %190
%194 = load ptr, ptr %22, align 8
store i32 -11, ptr %194, align 4
%195 = load i64, ptr @LONG_MAX, align 8
%196 = load ptr, ptr %21, align 8
%197 = load i64, ptr %23, align 8
%198 = getelementptr inbounds i64, ptr %196, i64 %197
store i64 %195, ptr %198, align 8
br label %205
199: ; preds = %190
%200 = load double, ptr %24, align 8
%201 = fptosi double %200 to i64
%202 = load ptr, ptr %21, align 8
%203 = load i64, ptr %23, align 8
%204 = getelementptr inbounds i64, ptr %202, i64 %203
store i64 %201, ptr %204, align 8
br label %205
205: ; preds = %199, %193
br label %206
206: ; preds = %205, %184
br label %207
207: ; preds = %206, %171
br label %208
208: ; preds = %207
%209 = load i64, ptr %23, align 8
%210 = add nsw i64 %209, 1
store i64 %210, ptr %23, align 8
br label %145, !llvm.loop !10
211: ; preds = %145
br label %212
212: ; preds = %211, %143
br label %213
213: ; preds = %212, %95
%214 = load ptr, ptr %22, align 8
%215 = load i32, ptr %214, align 4
ret i32 %215
}
; 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_catpkns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi1i4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i8 noundef zeroext %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i8 %5, ptr %17, align 1
store i64 %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %100
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %53
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %53
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %52
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %46
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i64
%43 = load ptr, ptr %21, align 8
%44 = load i64, ptr %23, align 8
%45 = getelementptr inbounds i64, ptr %43, i64 %44
store i64 %42, ptr %45, align 8
br label %46
46: ; preds = %37
%47 = load i64, ptr %23, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr %23, align 8
%49 = load i64, ptr %23, align 8
%50 = load i64, ptr %13, align 8
%51 = icmp slt i64 %49, %50
br i1 %51, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %46
br label %52
52: ; preds = %._crit_edge9, %33
br label %99
53: ; preds = %30, %27
store i64 0, ptr %23, align 8
%54 = load i64, ptr %23, align 8
%55 = load i64, ptr %13, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %.lr.ph5, label %98
.lr.ph5: ; preds = %53
br label %57
57: ; preds = %.lr.ph5, %92
%58 = load ptr, ptr %12, align 8
%59 = load i64, ptr %23, align 8
%60 = getelementptr inbounds i8, ptr %58, i64 %59
%61 = load i8, ptr %60, align 1
%62 = zext i8 %61 to i32
%63 = sitofp i32 %62 to double
%64 = load double, ptr %14, align 8
%65 = load double, ptr %15, align 8
%66 = call double @llvm.fmuladd.f64(double %63, double %64, double %65)
store double %66, ptr %24, align 8
%67 = load double, ptr %24, align 8
%68 = fcmp olt double %67, 0xC3DFFFFFFFFFFFFF
br i1 %68, label %69, label %75
69: ; preds = %57
%70 = load ptr, ptr %22, align 8
store i32 -11, ptr %70, align 4
%71 = load i64, ptr @LONG_MIN, align 8
%72 = load ptr, ptr %21, align 8
%73 = load i64, ptr %23, align 8
%74 = getelementptr inbounds i64, ptr %72, i64 %73
store i64 %71, ptr %74, align 8
br label %91
75: ; preds = %57
%76 = load double, ptr %24, align 8
%77 = fcmp ogt double %76, 0x43DFFFFFFFFFFFFF
br i1 %77, label %78, label %84
78: ; preds = %75
%79 = load ptr, ptr %22, align 8
store i32 -11, ptr %79, align 4
%80 = load i64, ptr @LONG_MAX, align 8
%81 = load ptr, ptr %21, align 8
%82 = load i64, ptr %23, align 8
%83 = getelementptr inbounds i64, ptr %81, i64 %82
store i64 %80, ptr %83, align 8
br label %90
84: ; preds = %75
%85 = load double, ptr %24, align 8
%86 = fptosi double %85 to i64
%87 = load ptr, ptr %21, align 8
%88 = load i64, ptr %23, align 8
%89 = getelementptr inbounds i64, ptr %87, i64 %88
store i64 %86, ptr %89, align 8
br label %90
90: ; preds = %84, %78
br label %91
91: ; preds = %90, %69
br label %92
92: ; preds = %91
%93 = load i64, ptr %23, align 8
%94 = add nsw i64 %93, 1
store i64 %94, ptr %23, align 8
%95 = load i64, ptr %23, align 8
%96 = load i64, ptr %13, align 8
%97 = icmp slt i64 %95, %96
br i1 %97, label %57, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %92
br label %98
98: ; preds = %._crit_edge6, %53
br label %99
99: ; preds = %98, %52
br label %221
100: ; preds = %11
%101 = load double, ptr %14, align 8
%102 = fcmp oeq double %101, 1.000000e+00
br i1 %102, label %103, label %150
103: ; preds = %100
%104 = load double, ptr %15, align 8
%105 = fcmp oeq double %104, 0.000000e+00
br i1 %105, label %106, label %150
106: ; preds = %103
store i64 0, ptr %23, align 8
%107 = load i64, ptr %23, align 8
%108 = load i64, ptr %13, align 8
%109 = icmp slt i64 %107, %108
br i1 %109, label %.lr.ph2, label %149
.lr.ph2: ; preds = %106
br label %110
110: ; preds = %.lr.ph2, %143
%111 = load ptr, ptr %12, align 8
%112 = load i64, ptr %23, align 8
%113 = getelementptr inbounds i8, ptr %111, i64 %112
%114 = load i8, ptr %113, align 1
%115 = zext i8 %114 to i32
%116 = load i8, ptr %17, align 1
%117 = zext i8 %116 to i32
%118 = icmp eq i32 %115, %117
br i1 %118, label %119, label %133
119: ; preds = %110
%120 = load ptr, ptr %20, align 8
store i32 1, ptr %120, align 4
%121 = load i32, ptr %16, align 4
%122 = icmp eq i32 %121, 1
br i1 %122, label %123, label %128
123: ; preds = %119
%124 = load i64, ptr %18, align 8
%125 = load ptr, ptr %21, align 8
%126 = load i64, ptr %23, align 8
%127 = getelementptr inbounds i64, ptr %125, i64 %126
store i64 %124, ptr %127, align 8
br label %132
128: ; preds = %119
%129 = load ptr, ptr %19, align 8
%130 = load i64, ptr %23, align 8
%131 = getelementptr inbounds i8, ptr %129, i64 %130
store i8 1, ptr %131, align 1
br label %132
132: ; preds = %128, %123
br label %142
133: ; preds = %110
%134 = load ptr, ptr %12, align 8
%135 = load i64, ptr %23, align 8
%136 = getelementptr inbounds i8, ptr %134, i64 %135
%137 = load i8, ptr %136, align 1
%138 = zext i8 %137 to i64
%139 = load ptr, ptr %21, align 8
%140 = load i64, ptr %23, align 8
%141 = getelementptr inbounds i64, ptr %139, i64 %140
store i64 %138, ptr %141, align 8
br label %142
142: ; preds = %133, %132
br label %143
143: ; preds = %142
%144 = load i64, ptr %23, align 8
%145 = add nsw i64 %144, 1
store i64 %145, ptr %23, align 8
%146 = load i64, ptr %23, align 8
%147 = load i64, ptr %13, align 8
%148 = icmp slt i64 %146, %147
br i1 %148, label %110, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %143
br label %149
149: ; preds = %._crit_edge3, %106
br label %220
150: ; preds = %103, %100
store i64 0, ptr %23, align 8
%151 = load i64, ptr %23, align 8
%152 = load i64, ptr %13, align 8
%153 = icmp slt i64 %151, %152
br i1 %153, label %.lr.ph, label %219
.lr.ph: ; preds = %150
br label %154
154: ; preds = %.lr.ph, %213
%155 = load ptr, ptr %12, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i8, ptr %155, i64 %156
%158 = load i8, ptr %157, align 1
%159 = zext i8 %158 to i32
%160 = load i8, ptr %17, align 1
%161 = zext i8 %160 to i32
%162 = icmp eq i32 %159, %161
br i1 %162, label %163, label %177
163: ; preds = %154
%164 = load ptr, ptr %20, align 8
store i32 1, ptr %164, align 4
%165 = load i32, ptr %16, align 4
%166 = icmp eq i32 %165, 1
br i1 %166, label %167, label %172
167: ; preds = %163
%168 = load i64, ptr %18, align 8
%169 = load ptr, ptr %21, align 8
%170 = load i64, ptr %23, align 8
%171 = getelementptr inbounds i64, ptr %169, i64 %170
store i64 %168, ptr %171, align 8
br label %176
172: ; preds = %163
%173 = load ptr, ptr %19, align 8
%174 = load i64, ptr %23, align 8
%175 = getelementptr inbounds i8, ptr %173, i64 %174
store i8 1, ptr %175, align 1
br label %176
176: ; preds = %172, %167
br label %212
177: ; preds = %154
%178 = load ptr, ptr %12, align 8
%179 = load i64, ptr %23, align 8
%180 = getelementptr inbounds i8, ptr %178, i64 %179
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = sitofp i32 %182 to double
%184 = load double, ptr %14, align 8
%185 = load double, ptr %15, align 8
%186 = call double @llvm.fmuladd.f64(double %183, double %184, double %185)
store double %186, ptr %24, align 8
%187 = load double, ptr %24, align 8
%188 = fcmp olt double %187, 0xC3DFFFFFFFFFFFFF
br i1 %188, label %189, label %195
189: ; preds = %177
%190 = load ptr, ptr %22, align 8
store i32 -11, ptr %190, align 4
%191 = load i64, ptr @LONG_MIN, align 8
%192 = load ptr, ptr %21, align 8
%193 = load i64, ptr %23, align 8
%194 = getelementptr inbounds i64, ptr %192, i64 %193
store i64 %191, ptr %194, align 8
br label %211
195: ; preds = %177
%196 = load double, ptr %24, align 8
%197 = fcmp ogt double %196, 0x43DFFFFFFFFFFFFF
br i1 %197, label %198, label %204
198: ; preds = %195
%199 = load ptr, ptr %22, align 8
store i32 -11, ptr %199, align 4
%200 = load i64, ptr @LONG_MAX, align 8
%201 = load ptr, ptr %21, align 8
%202 = load i64, ptr %23, align 8
%203 = getelementptr inbounds i64, ptr %201, i64 %202
store i64 %200, ptr %203, align 8
br label %210
204: ; preds = %195
%205 = load double, ptr %24, align 8
%206 = fptosi double %205 to i64
%207 = load ptr, ptr %21, align 8
%208 = load i64, ptr %23, align 8
%209 = getelementptr inbounds i64, ptr %207, i64 %208
store i64 %206, ptr %209, align 8
br label %210
210: ; preds = %204, %198
br label %211
211: ; preds = %210, %189
br label %212
212: ; preds = %211, %176
br label %213
213: ; preds = %212
%214 = load i64, ptr %23, align 8
%215 = add nsw i64 %214, 1
store i64 %215, ptr %23, align 8
%216 = load i64, ptr %23, align 8
%217 = load i64, ptr %13, align 8
%218 = icmp slt i64 %216, %217
br i1 %218, label %154, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %213
br label %219
219: ; preds = %._crit_edge, %150
br label %220
220: ; preds = %219, %149
br label %221
221: ; preds = %220, %99
%222 = load ptr, ptr %22, align 8
%223 = load i32, ptr %222, align 4
ret i32 %223
}
; 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}
|
; ModuleID = '/tmp/tmp5b4s32u2.c'
source_filename = "/tmp/tmp5b4s32u2.c"
target datalayout = "e-m:e-p270: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/tmp5b4s32u2.c"
target datalayout = "e-m:e-p270: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/tmpmrxckoud.c'
source_filename = "/tmp/tmpmrxckoud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getIPString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 20)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %38
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = and i32 %16, 255
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %18, i32 0, i32 0
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = and i32 %21, 65280
%23 = ashr i32 %22, 8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = and i32 %27, 16711680
%29 = ashr i32 %28, 16
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %30, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = and i32 %33, -16777216
%35 = lshr i32 %34, 24
%36 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %17, i32 noundef %23, i32 noundef %29, i32 noundef %35)
store ptr null, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %2, align 8
br label %38
38: ; preds = %10, %9
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmpmrxckoud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getIPString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 20)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %38
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = and i32 %16, 255
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %18, i32 0, i32 0
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = and i32 %21, 65280
%23 = ashr i32 %22, 8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = and i32 %27, 16711680
%29 = ashr i32 %28, 16
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %30, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = and i32 %33, -16777216
%35 = lshr i32 %34, 24
%36 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %17, i32 noundef %23, i32 noundef %29, i32 noundef %35)
store ptr null, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %2, align 8
br label %38
38: ; preds = %10, %9
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmprbr71wmy.c'
source_filename = "/tmp/tmprbr71wmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" . \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c" (vid) \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @h_email(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %31, %1
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %26 [
i32 46, label %20
i32 64, label %23
]
20: ; preds = %16
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fputs(ptr noundef @.str, i32 noundef %21)
store i32 %22, ptr %4, align 4
br label %30
23: ; preds = %16
%24 = load i32, ptr @stdout, align 4
%25 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %24)
store i32 %25, ptr %4, align 4
br label %30
26: ; preds = %16
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @h_putc(i8 noundef signext %28)
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %26, %23, %20
br label %31
31: ; preds = %30
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %3, align 8
br label %6, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @h_putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbr71wmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" . \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c" (vid) \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @h_email(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %31, %1
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %26 [
i32 46, label %20
i32 64, label %23
]
20: ; preds = %16
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fputs(ptr noundef @.str, i32 noundef %21)
store i32 %22, ptr %4, align 4
br label %30
23: ; preds = %16
%24 = load i32, ptr @stdout, align 4
%25 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %24)
store i32 %25, ptr %4, align 4
br label %30
26: ; preds = %16
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @h_putc(i8 noundef signext %28)
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %26, %23, %20
br label %31
31: ; preds = %30
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %3, align 8
br label %6, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @h_putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa5l6lpat.c'
source_filename = "/tmp/tmpa5l6lpat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Error opendir\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"Error write\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Error stat\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"REG\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"Error open file\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Error malloc\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Error read\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Error closing file\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"Error: the length of the filename is too big. Memory leak\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"Error close file\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"Error closedir\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"Error close\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @put(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %11, align 8
store i8 45, ptr %15, align 1
store i8 102, ptr %16, align 1
%17 = call ptr @opendir(ptr noundef @.str)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %2
br label %25
25: ; preds = %397, %24
%26 = load ptr, ptr %5, align 8
%27 = call ptr @readdir(ptr noundef %26)
store ptr %27, ptr %7, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %398
29: ; preds = %25
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds %struct.dirent, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i64 @strcmp(ptr noundef %32, ptr noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %397
36: ; preds = %29
store i32 1, ptr %9, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 (i32, ...) @write(i32 noundef %37, ptr noundef %9, i64 noundef 4)
%39 = sext i32 %38 to i64
%40 = icmp ult i64 %39, 4
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = load i32, ptr @EXIT_FAILURE, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
45: ; preds = %36
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0
%48 = load ptr, ptr %47, align 8
%49 = call i32 @stat(ptr noundef %48, ptr noundef %8)
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %55
51: ; preds = %45
%52 = call i32 @perror(ptr noundef @.str.3)
%53 = load i32, ptr @EXIT_FAILURE, align 4
%54 = call i32 @exit(i32 noundef %53) #3
unreachable
55: ; preds = %45
%56 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = call i64 @S_ISREG(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %175
60: ; preds = %55
%61 = load i32, ptr %3, align 4
%62 = call i32 (i32, ...) @write(i32 noundef %61, ptr noundef @.str.4, i32 noundef 3)
%63 = icmp slt i32 %62, 3
br i1 %63, label %64, label %68
64: ; preds = %60
%65 = call i32 @perror(ptr noundef @.str.2)
%66 = load i32, ptr @EXIT_FAILURE, align 4
%67 = call i32 @exit(i32 noundef %66) #3
unreachable
68: ; preds = %60
%69 = load ptr, ptr %4, align 8
%70 = call i32 @strlen(ptr noundef %69)
%71 = sext i32 %70 to i64
store i64 %71, ptr %11, align 8
%72 = load i32, ptr %3, align 4
%73 = call i32 (i32, ...) @write(i32 noundef %72, ptr noundef %11, i64 noundef 8)
%74 = sext i32 %73 to i64
%75 = icmp ult i64 %74, 8
br i1 %75, label %76, label %80
76: ; preds = %68
%77 = call i32 @perror(ptr noundef @.str.2)
%78 = load i32, ptr @EXIT_FAILURE, align 4
%79 = call i32 @exit(i32 noundef %78) #3
unreachable
80: ; preds = %68
%81 = load i32, ptr %3, align 4
%82 = load ptr, ptr %4, align 8
%83 = load i64, ptr %11, align 8
%84 = call i32 (i32, ...) @write(i32 noundef %81, ptr noundef %82, i64 noundef %83)
%85 = sext i32 %84 to i64
%86 = load i64, ptr %11, align 8
%87 = icmp ult i64 %85, %86
br i1 %87, label %88, label %92
88: ; preds = %80
%89 = call i32 @perror(ptr noundef @.str.2)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @exit(i32 noundef %90) #3
unreachable
92: ; preds = %80
%93 = load ptr, ptr %4, align 8
%94 = load i32, ptr @O_RDONLY, align 4
%95 = call i32 @open(ptr noundef %93, i32 noundef %94)
store i32 %95, ptr %10, align 4
%96 = load i32, ptr %10, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %102
98: ; preds = %92
%99 = call i32 @perror(ptr noundef @.str.5)
%100 = load i32, ptr @EXIT_FAILURE, align 4
%101 = call i32 @exit(i32 noundef %100) #3
unreachable
102: ; preds = %92
%103 = call i64 @malloc(i32 noundef 1025)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %13, align 8
%105 = load ptr, ptr %13, align 8
%106 = icmp eq ptr %105, null
br i1 %106, label %107, label %111
107: ; preds = %102
%108 = call i32 @perror(ptr noundef @.str.6)
%109 = load i32, ptr @EXIT_FAILURE, align 4
%110 = call i32 @exit(i32 noundef %109) #3
unreachable
111: ; preds = %102
br label %112
112: ; preds = %153, %111
%113 = load i32, ptr %10, align 4
%114 = load ptr, ptr %13, align 8
%115 = call i32 @read(i32 noundef %113, ptr noundef %114, i32 noundef 100)
store i32 %115, ptr %12, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %155
117: ; preds = %112
%118 = load i32, ptr %12, align 4
%119 = icmp eq i32 %118, -1
br i1 %119, label %120, label %124
120: ; preds = %117
%121 = call i32 @perror(ptr noundef @.str.7)
%122 = load i32, ptr @EXIT_FAILURE, align 4
%123 = call i32 @exit(i32 noundef %122) #3
unreachable
124: ; preds = %117
%125 = load i32, ptr %3, align 4
%126 = call i32 (i32, ...) @write(i32 noundef %125, ptr noundef %15, i64 noundef 1)
%127 = sext i32 %126 to i64
%128 = icmp ult i64 %127, 1
br i1 %128, label %129, label %133
129: ; preds = %124
%130 = call i32 @perror(ptr noundef @.str.2)
%131 = load i32, ptr @EXIT_FAILURE, align 4
%132 = call i32 @exit(i32 noundef %131) #3
unreachable
133: ; preds = %124
%134 = load i32, ptr %3, align 4
%135 = call i32 (i32, ...) @write(i32 noundef %134, ptr noundef %12, i64 noundef 4)
%136 = sext i32 %135 to i64
%137 = icmp ult i64 %136, 4
br i1 %137, label %138, label %142
138: ; preds = %133
%139 = call i32 @perror(ptr noundef @.str.2)
%140 = load i32, ptr @EXIT_FAILURE, align 4
%141 = call i32 @exit(i32 noundef %140) #3
unreachable
142: ; preds = %133
%143 = load i32, ptr %3, align 4
%144 = load ptr, ptr %13, align 8
%145 = load i32, ptr %12, align 4
%146 = call i32 (i32, ...) @write(i32 noundef %143, ptr noundef %144, i32 noundef %145)
%147 = load i32, ptr %12, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %149, label %153
149: ; preds = %142
%150 = call i32 @perror(ptr noundef @.str.2)
%151 = load i32, ptr @EXIT_FAILURE, align 4
%152 = call i32 @exit(i32 noundef %151) #3
unreachable
153: ; preds = %142
%154 = call i32 @sleep(i32 noundef 1)
br label %112, !llvm.loop !6
155: ; preds = %112
store i8 43, ptr %15, align 1
%156 = load i32, ptr %3, align 4
%157 = call i32 (i32, ...) @write(i32 noundef %156, ptr noundef %15, i64 noundef 1)
%158 = sext i32 %157 to i64
%159 = icmp ult i64 %158, 1
br i1 %159, label %160, label %164
160: ; preds = %155
%161 = call i32 @perror(ptr noundef @.str.2)
%162 = load i32, ptr @EXIT_FAILURE, align 4
%163 = call i32 @exit(i32 noundef %162) #3
unreachable
164: ; preds = %155
%165 = load i32, ptr %10, align 4
%166 = call i32 @close(i32 noundef %165)
%167 = icmp eq i32 %166, -1
br i1 %167, label %168, label %172
168: ; preds = %164
%169 = call i32 @perror(ptr noundef @.str.8)
%170 = load i32, ptr @EXIT_FAILURE, align 4
%171 = call i32 @exit(i32 noundef %170) #3
unreachable
172: ; preds = %164
%173 = load ptr, ptr %13, align 8
%174 = call i32 @free(ptr noundef %173)
br label %396
175: ; preds = %55
%176 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%177 = load i32, ptr %176, align 4
%178 = call i64 @S_ISDIR(i32 noundef %177)
%179 = icmp ne i64 %178, 0
br i1 %179, label %180, label %395
180: ; preds = %175
%181 = load i32, ptr %3, align 4
%182 = call i32 (i32, ...) @write(i32 noundef %181, ptr noundef @.str.9, i32 noundef 3)
%183 = icmp slt i32 %182, 3
br i1 %183, label %184, label %188
184: ; preds = %180
%185 = call i32 @perror(ptr noundef @.str.2)
%186 = load i32, ptr @EXIT_FAILURE, align 4
%187 = call i32 @exit(i32 noundef %186) #3
unreachable
188: ; preds = %180
%189 = load ptr, ptr %4, align 8
%190 = call i32 @chdir(ptr noundef %189)
%191 = call ptr @opendir(ptr noundef @.str)
store ptr %191, ptr %6, align 8
%192 = load ptr, ptr %6, align 8
%193 = icmp eq ptr %192, null
br i1 %193, label %194, label %198
194: ; preds = %188
%195 = call i32 @perror(ptr noundef @.str.1)
%196 = load i32, ptr @EXIT_FAILURE, align 4
%197 = call i32 @exit(i32 noundef %196) #3
unreachable
198: ; preds = %188
br label %199
199: ; preds = %376, %215, %198
%200 = load ptr, ptr %6, align 8
%201 = call ptr @readdir(ptr noundef %200)
store ptr %201, ptr %7, align 8
%202 = icmp ne ptr %201, null
br i1 %202, label %203, label %377
203: ; preds = %199
%204 = load ptr, ptr %7, align 8
%205 = getelementptr inbounds %struct.dirent, ptr %204, i32 0, i32 0
%206 = load ptr, ptr %205, align 8
%207 = call i64 @strcmp(ptr noundef %206, ptr noundef @.str)
%208 = icmp eq i64 %207, 0
br i1 %208, label %215, label %209
209: ; preds = %203
%210 = load ptr, ptr %7, align 8
%211 = getelementptr inbounds %struct.dirent, ptr %210, i32 0, i32 0
%212 = load ptr, ptr %211, align 8
%213 = call i64 @strcmp(ptr noundef %212, ptr noundef @.str.10)
%214 = icmp eq i64 %213, 0
br i1 %214, label %215, label %216
215: ; preds = %209, %203
br label %199, !llvm.loop !8
216: ; preds = %209
%217 = load ptr, ptr %7, align 8
%218 = getelementptr inbounds %struct.dirent, ptr %217, i32 0, i32 0
%219 = load ptr, ptr %218, align 8
%220 = call i32 @stat(ptr noundef %219, ptr noundef %8)
%221 = icmp eq i32 %220, -1
br i1 %221, label %222, label %226
222: ; preds = %216
%223 = call i32 @perror(ptr noundef @.str.3)
%224 = load i32, ptr @EXIT_FAILURE, align 4
%225 = call i32 @exit(i32 noundef %224) #3
unreachable
226: ; preds = %216
%227 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%228 = load i32, ptr %227, align 4
%229 = call i64 @S_ISREG(i32 noundef %228)
%230 = icmp ne i64 %229, 0
br i1 %230, label %231, label %366
231: ; preds = %226
store i8 102, ptr %16, align 1
%232 = load i32, ptr %3, align 4
%233 = call i32 (i32, ...) @write(i32 noundef %232, ptr noundef %16, i64 noundef 1)
%234 = sext i32 %233 to i64
%235 = icmp ult i64 %234, 1
br i1 %235, label %236, label %240
236: ; preds = %231
%237 = call i32 @perror(ptr noundef @.str.2)
%238 = load i32, ptr @EXIT_FAILURE, align 4
%239 = call i32 @exit(i32 noundef %238) #3
unreachable
240: ; preds = %231
%241 = call i64 @malloc(i32 noundef 1025)
%242 = inttoptr i64 %241 to ptr
store ptr %242, ptr %14, align 8
%243 = load ptr, ptr %14, align 8
%244 = icmp eq ptr %243, null
br i1 %244, label %245, label %249
245: ; preds = %240
%246 = call i32 @perror(ptr noundef @.str.6)
%247 = load i32, ptr @EXIT_FAILURE, align 4
%248 = call i32 @exit(i32 noundef %247) #3
unreachable
249: ; preds = %240
%250 = call i64 @malloc(i32 noundef 1025)
%251 = inttoptr i64 %250 to ptr
store ptr %251, ptr %13, align 8
%252 = load ptr, ptr %13, align 8
%253 = icmp eq ptr %252, null
br i1 %253, label %254, label %258
254: ; preds = %249
%255 = call i32 @perror(ptr noundef @.str.6)
%256 = load i32, ptr @EXIT_FAILURE, align 4
%257 = call i32 @exit(i32 noundef %256) #3
unreachable
258: ; preds = %249
%259 = load ptr, ptr %7, align 8
%260 = getelementptr inbounds %struct.dirent, ptr %259, i32 0, i32 0
%261 = load ptr, ptr %260, align 8
%262 = call i32 @strlen(ptr noundef %261)
%263 = icmp sge i32 %262, 1024
br i1 %263, label %264, label %268
264: ; preds = %258
%265 = call i32 @perror(ptr noundef @.str.11)
%266 = load i32, ptr @EXIT_FAILURE, align 4
%267 = call i32 @exit(i32 noundef %266) #3
unreachable
268: ; preds = %258
%269 = load ptr, ptr %14, align 8
%270 = load ptr, ptr %7, align 8
%271 = getelementptr inbounds %struct.dirent, ptr %270, i32 0, i32 0
%272 = load ptr, ptr %271, align 8
%273 = call i32 @strcpy(ptr noundef %269, ptr noundef %272)
%274 = load ptr, ptr %14, align 8
%275 = call i32 @strlen(ptr noundef %274)
%276 = sext i32 %275 to i64
store i64 %276, ptr %11, align 8
%277 = load i32, ptr %3, align 4
%278 = call i32 (i32, ...) @write(i32 noundef %277, ptr noundef %11, i64 noundef 8)
%279 = sext i32 %278 to i64
%280 = icmp ult i64 %279, 8
br i1 %280, label %281, label %285
281: ; preds = %268
%282 = call i32 @perror(ptr noundef @.str.2)
%283 = load i32, ptr @EXIT_FAILURE, align 4
%284 = call i32 @exit(i32 noundef %283) #3
unreachable
285: ; preds = %268
%286 = load i32, ptr %3, align 4
%287 = load ptr, ptr %14, align 8
%288 = load i64, ptr %11, align 8
%289 = call i32 (i32, ...) @write(i32 noundef %286, ptr noundef %287, i64 noundef %288)
%290 = sext i32 %289 to i64
%291 = load i64, ptr %11, align 8
%292 = icmp ult i64 %290, %291
br i1 %292, label %293, label %297
293: ; preds = %285
%294 = call i32 @perror(ptr noundef @.str.2)
%295 = load i32, ptr @EXIT_FAILURE, align 4
%296 = call i32 @exit(i32 noundef %295) #3
unreachable
297: ; preds = %285
%298 = load ptr, ptr %14, align 8
%299 = load i32, ptr @O_RDONLY, align 4
%300 = call i32 @open(ptr noundef %298, i32 noundef %299)
store i32 %300, ptr %10, align 4
%301 = load i32, ptr %10, align 4
%302 = icmp eq i32 %301, -1
br i1 %302, label %303, label %307
303: ; preds = %297
%304 = call i32 @perror(ptr noundef @.str.5)
%305 = load i32, ptr @EXIT_FAILURE, align 4
%306 = call i32 @exit(i32 noundef %305) #3
unreachable
307: ; preds = %297
br label %308
308: ; preds = %342, %307
%309 = load i32, ptr %10, align 4
%310 = load ptr, ptr %13, align 8
%311 = call i32 @read(i32 noundef %309, ptr noundef %310, i32 noundef 100)
store i32 %311, ptr %12, align 4
%312 = icmp ne i32 %311, 0
br i1 %312, label %313, label %344
313: ; preds = %308
store i8 45, ptr %15, align 1
%314 = load i32, ptr %3, align 4
%315 = call i32 (i32, ...) @write(i32 noundef %314, ptr noundef %15, i64 noundef 1)
%316 = sext i32 %315 to i64
%317 = icmp ult i64 %316, 1
br i1 %317, label %318, label %322
318: ; preds = %313
%319 = call i32 @perror(ptr noundef @.str.2)
%320 = load i32, ptr @EXIT_FAILURE, align 4
%321 = call i32 @exit(i32 noundef %320) #3
unreachable
322: ; preds = %313
%323 = load i32, ptr %3, align 4
%324 = call i32 (i32, ...) @write(i32 noundef %323, ptr noundef %12, i64 noundef 4)
%325 = sext i32 %324 to i64
%326 = icmp ult i64 %325, 4
br i1 %326, label %327, label %331
327: ; preds = %322
%328 = call i32 @perror(ptr noundef @.str.2)
%329 = load i32, ptr @EXIT_FAILURE, align 4
%330 = call i32 @exit(i32 noundef %329) #3
unreachable
331: ; preds = %322
%332 = load i32, ptr %3, align 4
%333 = load ptr, ptr %13, align 8
%334 = load i32, ptr %12, align 4
%335 = call i32 (i32, ...) @write(i32 noundef %332, ptr noundef %333, i32 noundef %334)
%336 = load i32, ptr %12, align 4
%337 = icmp slt i32 %335, %336
br i1 %337, label %338, label %342
338: ; preds = %331
%339 = call i32 @perror(ptr noundef @.str.2)
%340 = load i32, ptr @EXIT_FAILURE, align 4
%341 = call i32 @exit(i32 noundef %340) #3
unreachable
342: ; preds = %331
%343 = call i32 @sleep(i32 noundef 1)
br label %308, !llvm.loop !9
344: ; preds = %308
store i8 43, ptr %15, align 1
%345 = load i32, ptr %3, align 4
%346 = call i32 (i32, ...) @write(i32 noundef %345, ptr noundef %15, i64 noundef 1)
%347 = sext i32 %346 to i64
%348 = icmp ult i64 %347, 1
br i1 %348, label %349, label %353
349: ; preds = %344
%350 = call i32 @perror(ptr noundef @.str.2)
%351 = load i32, ptr @EXIT_FAILURE, align 4
%352 = call i32 @exit(i32 noundef %351) #3
unreachable
353: ; preds = %344
%354 = load i32, ptr %10, align 4
%355 = call i32 @close(i32 noundef %354)
%356 = icmp eq i32 %355, -1
br i1 %356, label %357, label %361
357: ; preds = %353
%358 = call i32 @perror(ptr noundef @.str.12)
%359 = load i32, ptr @EXIT_FAILURE, align 4
%360 = call i32 @exit(i32 noundef %359) #3
unreachable
361: ; preds = %353
%362 = load ptr, ptr %13, align 8
%363 = call i32 @free(ptr noundef %362)
%364 = load ptr, ptr %14, align 8
%365 = call i32 @free(ptr noundef %364)
br label %376
366: ; preds = %226
store i8 100, ptr %16, align 1
%367 = load i32, ptr %3, align 4
%368 = call i32 (i32, ...) @write(i32 noundef %367, ptr noundef %16, i64 noundef 1)
%369 = sext i32 %368 to i64
%370 = icmp ult i64 %369, 1
br i1 %370, label %371, label %375
371: ; preds = %366
%372 = call i32 @perror(ptr noundef @.str.2)
%373 = load i32, ptr @EXIT_FAILURE, align 4
%374 = call i32 @exit(i32 noundef %373) #3
unreachable
375: ; preds = %366
br label %376
376: ; preds = %375, %361
br label %199, !llvm.loop !8
377: ; preds = %199
store i8 101, ptr %16, align 1
%378 = load i32, ptr %3, align 4
%379 = call i32 (i32, ...) @write(i32 noundef %378, ptr noundef %16, i64 noundef 1)
%380 = sext i32 %379 to i64
%381 = icmp ult i64 %380, 1
br i1 %381, label %382, label %386
382: ; preds = %377
%383 = call i32 @perror(ptr noundef @.str.2)
%384 = load i32, ptr @EXIT_FAILURE, align 4
%385 = call i32 @exit(i32 noundef %384) #3
unreachable
386: ; preds = %377
%387 = load ptr, ptr %6, align 8
%388 = call i32 @closedir(ptr noundef %387)
%389 = icmp eq i32 %388, -1
br i1 %389, label %390, label %394
390: ; preds = %386
%391 = call i32 @perror(ptr noundef @.str.13)
%392 = load i32, ptr @EXIT_FAILURE, align 4
%393 = call i32 @exit(i32 noundef %392) #3
unreachable
394: ; preds = %386
br label %395
395: ; preds = %394, %175
br label %396
396: ; preds = %395, %172
br label %397
397: ; preds = %396, %29
br label %25, !llvm.loop !10
398: ; preds = %25
%399 = load ptr, ptr %5, align 8
%400 = call i32 @closedir(ptr noundef %399)
%401 = icmp eq i32 %400, -1
br i1 %401, label %402, label %406
402: ; preds = %398
%403 = call i32 @perror(ptr noundef @.str.14)
%404 = load i32, ptr @EXIT_FAILURE, align 4
%405 = call i32 @exit(i32 noundef %404) #3
unreachable
406: ; preds = %398
%407 = load i32, ptr @EXIT_SUCCESS, align 4
%408 = call i32 @exit(i32 noundef %407) #3
unreachable
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ...) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa5l6lpat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Error opendir\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"Error write\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Error stat\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"REG\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"Error open file\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Error malloc\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Error read\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Error closing file\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"Error: the length of the filename is too big. Memory leak\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"Error close file\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"Error closedir\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"Error close\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @put(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %11, align 8
store i8 45, ptr %15, align 1
store i8 102, ptr %16, align 1
%17 = call ptr @opendir(ptr noundef @.str)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = call ptr @readdir(ptr noundef %25)
store ptr %26, ptr %7, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph8, label %408
.lr.ph8: ; preds = %24
br label %28
28: ; preds = %.lr.ph8, %404
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i64 @strcmp(ptr noundef %31, ptr noundef %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %404
35: ; preds = %28
store i32 1, ptr %9, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 (i32, ...) @write(i32 noundef %36, ptr noundef %9, i64 noundef 4)
%38 = sext i32 %37 to i64
%39 = icmp ult i64 %38, 4
br i1 %39, label %40, label %44
40: ; preds = %35
%41 = call i32 @perror(ptr noundef @.str.2)
%42 = load i32, ptr @EXIT_FAILURE, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; preds = %35
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @stat(ptr noundef %47, ptr noundef %8)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %54
50: ; preds = %44
%51 = call i32 @perror(ptr noundef @.str.3)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; preds = %44
%55 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i64 @S_ISREG(i32 noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %177
59: ; preds = %54
%60 = load i32, ptr %3, align 4
%61 = call i32 (i32, ...) @write(i32 noundef %60, ptr noundef @.str.4, i32 noundef 3)
%62 = icmp slt i32 %61, 3
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = call i32 @perror(ptr noundef @.str.2)
%65 = load i32, ptr @EXIT_FAILURE, align 4
%66 = call i32 @exit(i32 noundef %65) #3
unreachable
67: ; preds = %59
%68 = load ptr, ptr %4, align 8
%69 = call i32 @strlen(ptr noundef %68)
%70 = sext i32 %69 to i64
store i64 %70, ptr %11, align 8
%71 = load i32, ptr %3, align 4
%72 = call i32 (i32, ...) @write(i32 noundef %71, ptr noundef %11, i64 noundef 8)
%73 = sext i32 %72 to i64
%74 = icmp ult i64 %73, 8
br i1 %74, label %75, label %79
75: ; preds = %67
%76 = call i32 @perror(ptr noundef @.str.2)
%77 = load i32, ptr @EXIT_FAILURE, align 4
%78 = call i32 @exit(i32 noundef %77) #3
unreachable
79: ; preds = %67
%80 = load i32, ptr %3, align 4
%81 = load ptr, ptr %4, align 8
%82 = load i64, ptr %11, align 8
%83 = call i32 (i32, ...) @write(i32 noundef %80, ptr noundef %81, i64 noundef %82)
%84 = sext i32 %83 to i64
%85 = load i64, ptr %11, align 8
%86 = icmp ult i64 %84, %85
br i1 %86, label %87, label %91
87: ; preds = %79
%88 = call i32 @perror(ptr noundef @.str.2)
%89 = load i32, ptr @EXIT_FAILURE, align 4
%90 = call i32 @exit(i32 noundef %89) #3
unreachable
91: ; preds = %79
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr @O_RDONLY, align 4
%94 = call i32 @open(ptr noundef %92, i32 noundef %93)
store i32 %94, ptr %10, align 4
%95 = load i32, ptr %10, align 4
%96 = icmp eq i32 %95, -1
br i1 %96, label %97, label %101
97: ; preds = %91
%98 = call i32 @perror(ptr noundef @.str.5)
%99 = load i32, ptr @EXIT_FAILURE, align 4
%100 = call i32 @exit(i32 noundef %99) #3
unreachable
101: ; preds = %91
%102 = call i64 @malloc(i32 noundef 1025)
%103 = inttoptr i64 %102 to ptr
store ptr %103, ptr %13, align 8
%104 = load ptr, ptr %13, align 8
%105 = icmp eq ptr %104, null
br i1 %105, label %106, label %110
106: ; preds = %101
%107 = call i32 @perror(ptr noundef @.str.6)
%108 = load i32, ptr @EXIT_FAILURE, align 4
%109 = call i32 @exit(i32 noundef %108) #3
unreachable
110: ; preds = %101
%111 = load i32, ptr %10, align 4
%112 = load ptr, ptr %13, align 8
%113 = call i32 @read(i32 noundef %111, ptr noundef %112, i32 noundef 100)
store i32 %113, ptr %12, align 4
%114 = icmp ne i32 %113, 0
br i1 %114, label %.lr.ph5, label %157
.lr.ph5: ; preds = %110
br label %115
115: ; preds = %.lr.ph5, %151
%116 = load i32, ptr %12, align 4
%117 = icmp eq i32 %116, -1
br i1 %117, label %118, label %122
118: ; preds = %115
%119 = call i32 @perror(ptr noundef @.str.7)
%120 = load i32, ptr @EXIT_FAILURE, align 4
%121 = call i32 @exit(i32 noundef %120) #3
unreachable
122: ; preds = %115
%123 = load i32, ptr %3, align 4
%124 = call i32 (i32, ...) @write(i32 noundef %123, ptr noundef %15, i64 noundef 1)
%125 = sext i32 %124 to i64
%126 = icmp ult i64 %125, 1
br i1 %126, label %127, label %131
127: ; preds = %122
%128 = call i32 @perror(ptr noundef @.str.2)
%129 = load i32, ptr @EXIT_FAILURE, align 4
%130 = call i32 @exit(i32 noundef %129) #3
unreachable
131: ; preds = %122
%132 = load i32, ptr %3, align 4
%133 = call i32 (i32, ...) @write(i32 noundef %132, ptr noundef %12, i64 noundef 4)
%134 = sext i32 %133 to i64
%135 = icmp ult i64 %134, 4
br i1 %135, label %136, label %140
136: ; preds = %131
%137 = call i32 @perror(ptr noundef @.str.2)
%138 = load i32, ptr @EXIT_FAILURE, align 4
%139 = call i32 @exit(i32 noundef %138) #3
unreachable
140: ; preds = %131
%141 = load i32, ptr %3, align 4
%142 = load ptr, ptr %13, align 8
%143 = load i32, ptr %12, align 4
%144 = call i32 (i32, ...) @write(i32 noundef %141, ptr noundef %142, i32 noundef %143)
%145 = load i32, ptr %12, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %147, label %151
147: ; preds = %140
%148 = call i32 @perror(ptr noundef @.str.2)
%149 = load i32, ptr @EXIT_FAILURE, align 4
%150 = call i32 @exit(i32 noundef %149) #3
unreachable
151: ; preds = %140
%152 = call i32 @sleep(i32 noundef 1)
%153 = load i32, ptr %10, align 4
%154 = load ptr, ptr %13, align 8
%155 = call i32 @read(i32 noundef %153, ptr noundef %154, i32 noundef 100)
store i32 %155, ptr %12, align 4
%156 = icmp ne i32 %155, 0
br i1 %156, label %115, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %151
br label %157
157: ; preds = %._crit_edge6, %110
store i8 43, ptr %15, align 1
%158 = load i32, ptr %3, align 4
%159 = call i32 (i32, ...) @write(i32 noundef %158, ptr noundef %15, i64 noundef 1)
%160 = sext i32 %159 to i64
%161 = icmp ult i64 %160, 1
br i1 %161, label %162, label %166
162: ; preds = %157
%163 = call i32 @perror(ptr noundef @.str.2)
%164 = load i32, ptr @EXIT_FAILURE, align 4
%165 = call i32 @exit(i32 noundef %164) #3
unreachable
166: ; preds = %157
%167 = load i32, ptr %10, align 4
%168 = call i32 @close(i32 noundef %167)
%169 = icmp eq i32 %168, -1
br i1 %169, label %170, label %174
170: ; preds = %166
%171 = call i32 @perror(ptr noundef @.str.8)
%172 = load i32, ptr @EXIT_FAILURE, align 4
%173 = call i32 @exit(i32 noundef %172) #3
unreachable
174: ; preds = %166
%175 = load ptr, ptr %13, align 8
%176 = call i32 @free(ptr noundef %175)
br label %403
177: ; preds = %54
%178 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%179 = load i32, ptr %178, align 4
%180 = call i64 @S_ISDIR(i32 noundef %179)
%181 = icmp ne i64 %180, 0
br i1 %181, label %182, label %402
182: ; preds = %177
%183 = load i32, ptr %3, align 4
%184 = call i32 (i32, ...) @write(i32 noundef %183, ptr noundef @.str.9, i32 noundef 3)
%185 = icmp slt i32 %184, 3
br i1 %185, label %186, label %190
186: ; preds = %182
%187 = call i32 @perror(ptr noundef @.str.2)
%188 = load i32, ptr @EXIT_FAILURE, align 4
%189 = call i32 @exit(i32 noundef %188) #3
unreachable
190: ; preds = %182
%191 = load ptr, ptr %4, align 8
%192 = call i32 @chdir(ptr noundef %191)
%193 = call ptr @opendir(ptr noundef @.str)
store ptr %193, ptr %6, align 8
%194 = load ptr, ptr %6, align 8
%195 = icmp eq ptr %194, null
br i1 %195, label %196, label %200
196: ; preds = %190
%197 = call i32 @perror(ptr noundef @.str.1)
%198 = load i32, ptr @EXIT_FAILURE, align 4
%199 = call i32 @exit(i32 noundef %198) #3
unreachable
200: ; preds = %190
%201 = load ptr, ptr %6, align 8
%202 = call ptr @readdir(ptr noundef %201)
store ptr %202, ptr %7, align 8
%203 = icmp ne ptr %202, null
br i1 %203, label %.lr.ph2, label %384
.lr.ph2: ; preds = %200
br label %204
204: ; preds = %.lr.ph2, %.backedge
%205 = load ptr, ptr %7, align 8
%206 = getelementptr inbounds %struct.dirent, ptr %205, i32 0, i32 0
%207 = load ptr, ptr %206, align 8
%208 = call i64 @strcmp(ptr noundef %207, ptr noundef @.str)
%209 = icmp eq i64 %208, 0
br i1 %209, label %216, label %210
210: ; preds = %204
%211 = load ptr, ptr %7, align 8
%212 = getelementptr inbounds %struct.dirent, ptr %211, i32 0, i32 0
%213 = load ptr, ptr %212, align 8
%214 = call i64 @strcmp(ptr noundef %213, ptr noundef @.str.10)
%215 = icmp eq i64 %214, 0
br i1 %215, label %216, label %220
216: ; preds = %210, %204
br label %.backedge
.backedge: ; preds = %216, %383
%217 = load ptr, ptr %6, align 8
%218 = call ptr @readdir(ptr noundef %217)
store ptr %218, ptr %7, align 8
%219 = icmp ne ptr %218, null
br i1 %219, label %204, label %._crit_edge3, !llvm.loop !8
220: ; preds = %210
%221 = load ptr, ptr %7, align 8
%222 = getelementptr inbounds %struct.dirent, ptr %221, i32 0, i32 0
%223 = load ptr, ptr %222, align 8
%224 = call i32 @stat(ptr noundef %223, ptr noundef %8)
%225 = icmp eq i32 %224, -1
br i1 %225, label %226, label %230
226: ; preds = %220
%227 = call i32 @perror(ptr noundef @.str.3)
%228 = load i32, ptr @EXIT_FAILURE, align 4
%229 = call i32 @exit(i32 noundef %228) #3
unreachable
230: ; preds = %220
%231 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%232 = load i32, ptr %231, align 4
%233 = call i64 @S_ISREG(i32 noundef %232)
%234 = icmp ne i64 %233, 0
br i1 %234, label %235, label %373
235: ; preds = %230
store i8 102, ptr %16, align 1
%236 = load i32, ptr %3, align 4
%237 = call i32 (i32, ...) @write(i32 noundef %236, ptr noundef %16, i64 noundef 1)
%238 = sext i32 %237 to i64
%239 = icmp ult i64 %238, 1
br i1 %239, label %240, label %244
240: ; preds = %235
%241 = call i32 @perror(ptr noundef @.str.2)
%242 = load i32, ptr @EXIT_FAILURE, align 4
%243 = call i32 @exit(i32 noundef %242) #3
unreachable
244: ; preds = %235
%245 = call i64 @malloc(i32 noundef 1025)
%246 = inttoptr i64 %245 to ptr
store ptr %246, ptr %14, align 8
%247 = load ptr, ptr %14, align 8
%248 = icmp eq ptr %247, null
br i1 %248, label %249, label %253
249: ; preds = %244
%250 = call i32 @perror(ptr noundef @.str.6)
%251 = load i32, ptr @EXIT_FAILURE, align 4
%252 = call i32 @exit(i32 noundef %251) #3
unreachable
253: ; preds = %244
%254 = call i64 @malloc(i32 noundef 1025)
%255 = inttoptr i64 %254 to ptr
store ptr %255, ptr %13, align 8
%256 = load ptr, ptr %13, align 8
%257 = icmp eq ptr %256, null
br i1 %257, label %258, label %262
258: ; preds = %253
%259 = call i32 @perror(ptr noundef @.str.6)
%260 = load i32, ptr @EXIT_FAILURE, align 4
%261 = call i32 @exit(i32 noundef %260) #3
unreachable
262: ; preds = %253
%263 = load ptr, ptr %7, align 8
%264 = getelementptr inbounds %struct.dirent, ptr %263, i32 0, i32 0
%265 = load ptr, ptr %264, align 8
%266 = call i32 @strlen(ptr noundef %265)
%267 = icmp sge i32 %266, 1024
br i1 %267, label %268, label %272
268: ; preds = %262
%269 = call i32 @perror(ptr noundef @.str.11)
%270 = load i32, ptr @EXIT_FAILURE, align 4
%271 = call i32 @exit(i32 noundef %270) #3
unreachable
272: ; preds = %262
%273 = load ptr, ptr %14, align 8
%274 = load ptr, ptr %7, align 8
%275 = getelementptr inbounds %struct.dirent, ptr %274, i32 0, i32 0
%276 = load ptr, ptr %275, align 8
%277 = call i32 @strcpy(ptr noundef %273, ptr noundef %276)
%278 = load ptr, ptr %14, align 8
%279 = call i32 @strlen(ptr noundef %278)
%280 = sext i32 %279 to i64
store i64 %280, ptr %11, align 8
%281 = load i32, ptr %3, align 4
%282 = call i32 (i32, ...) @write(i32 noundef %281, ptr noundef %11, i64 noundef 8)
%283 = sext i32 %282 to i64
%284 = icmp ult i64 %283, 8
br i1 %284, label %285, label %289
285: ; preds = %272
%286 = call i32 @perror(ptr noundef @.str.2)
%287 = load i32, ptr @EXIT_FAILURE, align 4
%288 = call i32 @exit(i32 noundef %287) #3
unreachable
289: ; preds = %272
%290 = load i32, ptr %3, align 4
%291 = load ptr, ptr %14, align 8
%292 = load i64, ptr %11, align 8
%293 = call i32 (i32, ...) @write(i32 noundef %290, ptr noundef %291, i64 noundef %292)
%294 = sext i32 %293 to i64
%295 = load i64, ptr %11, align 8
%296 = icmp ult i64 %294, %295
br i1 %296, label %297, label %301
297: ; preds = %289
%298 = call i32 @perror(ptr noundef @.str.2)
%299 = load i32, ptr @EXIT_FAILURE, align 4
%300 = call i32 @exit(i32 noundef %299) #3
unreachable
301: ; preds = %289
%302 = load ptr, ptr %14, align 8
%303 = load i32, ptr @O_RDONLY, align 4
%304 = call i32 @open(ptr noundef %302, i32 noundef %303)
store i32 %304, ptr %10, align 4
%305 = load i32, ptr %10, align 4
%306 = icmp eq i32 %305, -1
br i1 %306, label %307, label %311
307: ; preds = %301
%308 = call i32 @perror(ptr noundef @.str.5)
%309 = load i32, ptr @EXIT_FAILURE, align 4
%310 = call i32 @exit(i32 noundef %309) #3
unreachable
311: ; preds = %301
%312 = load i32, ptr %10, align 4
%313 = load ptr, ptr %13, align 8
%314 = call i32 @read(i32 noundef %312, ptr noundef %313, i32 noundef 100)
store i32 %314, ptr %12, align 4
%315 = icmp ne i32 %314, 0
br i1 %315, label %.lr.ph, label %351
.lr.ph: ; preds = %311
br label %316
316: ; preds = %.lr.ph, %345
store i8 45, ptr %15, align 1
%317 = load i32, ptr %3, align 4
%318 = call i32 (i32, ...) @write(i32 noundef %317, ptr noundef %15, i64 noundef 1)
%319 = sext i32 %318 to i64
%320 = icmp ult i64 %319, 1
br i1 %320, label %321, label %325
321: ; preds = %316
%322 = call i32 @perror(ptr noundef @.str.2)
%323 = load i32, ptr @EXIT_FAILURE, align 4
%324 = call i32 @exit(i32 noundef %323) #3
unreachable
325: ; preds = %316
%326 = load i32, ptr %3, align 4
%327 = call i32 (i32, ...) @write(i32 noundef %326, ptr noundef %12, i64 noundef 4)
%328 = sext i32 %327 to i64
%329 = icmp ult i64 %328, 4
br i1 %329, label %330, label %334
330: ; preds = %325
%331 = call i32 @perror(ptr noundef @.str.2)
%332 = load i32, ptr @EXIT_FAILURE, align 4
%333 = call i32 @exit(i32 noundef %332) #3
unreachable
334: ; preds = %325
%335 = load i32, ptr %3, align 4
%336 = load ptr, ptr %13, align 8
%337 = load i32, ptr %12, align 4
%338 = call i32 (i32, ...) @write(i32 noundef %335, ptr noundef %336, i32 noundef %337)
%339 = load i32, ptr %12, align 4
%340 = icmp slt i32 %338, %339
br i1 %340, label %341, label %345
341: ; preds = %334
%342 = call i32 @perror(ptr noundef @.str.2)
%343 = load i32, ptr @EXIT_FAILURE, align 4
%344 = call i32 @exit(i32 noundef %343) #3
unreachable
345: ; preds = %334
%346 = call i32 @sleep(i32 noundef 1)
%347 = load i32, ptr %10, align 4
%348 = load ptr, ptr %13, align 8
%349 = call i32 @read(i32 noundef %347, ptr noundef %348, i32 noundef 100)
store i32 %349, ptr %12, align 4
%350 = icmp ne i32 %349, 0
br i1 %350, label %316, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %345
br label %351
351: ; preds = %._crit_edge, %311
store i8 43, ptr %15, align 1
%352 = load i32, ptr %3, align 4
%353 = call i32 (i32, ...) @write(i32 noundef %352, ptr noundef %15, i64 noundef 1)
%354 = sext i32 %353 to i64
%355 = icmp ult i64 %354, 1
br i1 %355, label %356, label %360
356: ; preds = %351
%357 = call i32 @perror(ptr noundef @.str.2)
%358 = load i32, ptr @EXIT_FAILURE, align 4
%359 = call i32 @exit(i32 noundef %358) #3
unreachable
360: ; preds = %351
%361 = load i32, ptr %10, align 4
%362 = call i32 @close(i32 noundef %361)
%363 = icmp eq i32 %362, -1
br i1 %363, label %364, label %368
364: ; preds = %360
%365 = call i32 @perror(ptr noundef @.str.12)
%366 = load i32, ptr @EXIT_FAILURE, align 4
%367 = call i32 @exit(i32 noundef %366) #3
unreachable
368: ; preds = %360
%369 = load ptr, ptr %13, align 8
%370 = call i32 @free(ptr noundef %369)
%371 = load ptr, ptr %14, align 8
%372 = call i32 @free(ptr noundef %371)
br label %383
373: ; preds = %230
store i8 100, ptr %16, align 1
%374 = load i32, ptr %3, align 4
%375 = call i32 (i32, ...) @write(i32 noundef %374, ptr noundef %16, i64 noundef 1)
%376 = sext i32 %375 to i64
%377 = icmp ult i64 %376, 1
br i1 %377, label %378, label %382
378: ; preds = %373
%379 = call i32 @perror(ptr noundef @.str.2)
%380 = load i32, ptr @EXIT_FAILURE, align 4
%381 = call i32 @exit(i32 noundef %380) #3
unreachable
382: ; preds = %373
br label %383
383: ; preds = %382, %368
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %384
384: ; preds = %._crit_edge3, %200
store i8 101, ptr %16, align 1
%385 = load i32, ptr %3, align 4
%386 = call i32 (i32, ...) @write(i32 noundef %385, ptr noundef %16, i64 noundef 1)
%387 = sext i32 %386 to i64
%388 = icmp ult i64 %387, 1
br i1 %388, label %389, label %393
389: ; preds = %384
%390 = call i32 @perror(ptr noundef @.str.2)
%391 = load i32, ptr @EXIT_FAILURE, align 4
%392 = call i32 @exit(i32 noundef %391) #3
unreachable
393: ; preds = %384
%394 = load ptr, ptr %6, align 8
%395 = call i32 @closedir(ptr noundef %394)
%396 = icmp eq i32 %395, -1
br i1 %396, label %397, label %401
397: ; preds = %393
%398 = call i32 @perror(ptr noundef @.str.13)
%399 = load i32, ptr @EXIT_FAILURE, align 4
%400 = call i32 @exit(i32 noundef %399) #3
unreachable
401: ; preds = %393
br label %402
402: ; preds = %401, %177
br label %403
403: ; preds = %402, %174
br label %404
404: ; preds = %403, %28
%405 = load ptr, ptr %5, align 8
%406 = call ptr @readdir(ptr noundef %405)
store ptr %406, ptr %7, align 8
%407 = icmp ne ptr %406, null
br i1 %407, label %28, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %404
br label %408
408: ; preds = %._crit_edge9, %24
%409 = load ptr, ptr %5, align 8
%410 = call i32 @closedir(ptr noundef %409)
%411 = icmp eq i32 %410, -1
br i1 %411, label %412, label %416
412: ; preds = %408
%413 = call i32 @perror(ptr noundef @.str.14)
%414 = load i32, ptr @EXIT_FAILURE, align 4
%415 = call i32 @exit(i32 noundef %414) #3
unreachable
416: ; preds = %408
%417 = load i32, ptr @EXIT_SUCCESS, align 4
%418 = call i32 @exit(i32 noundef %417) #3
unreachable
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ...) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp41blmlqn.c'
source_filename = "/tmp/tmp41blmlqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"spritz [action] [key] [input file] [output file]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"action: encrypt / decrypt / hash.\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"key: key string (max key length is 245 chars.\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"input file: path to input file.\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"output file: path to output file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage() #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)
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/tmp41blmlqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"spritz [action] [key] [input file] [output file]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"action: encrypt / decrypt / hash.\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"key: key string (max key length is 245 chars.\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"input file: path to input file.\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"output file: path to output file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage() #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)
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/tmpu8hvin12.c'
source_filename = "/tmp/tmpu8hvin12.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(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/tmpu8hvin12.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(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/tmp8v1ap08i.c'
source_filename = "/tmp/tmp8v1ap08i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%9.5f \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 void @s_print_mat(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
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
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %38, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %41
15: ; preds = %11
store i32 0, ptr %10, align 4
br label %16
16: ; preds = %33, %15
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %36
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %8, align 4
%27 = mul nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %24, i64 %28
%30 = load float, ptr %29, align 4
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %31)
br label %33
33: ; preds = %20
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
br label %16, !llvm.loop !6
36: ; preds = %16
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %11, !llvm.loop !8
41: ; preds = %11
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8v1ap08i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%9.5f \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 void @s_print_mat(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
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
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %45
.lr.ph2: ; preds = %4
br label %14
14: ; preds = %.lr.ph2, %39
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %37
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %31
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %8, align 4
%25 = mul nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %22, i64 %26
%28 = load float, ptr %27, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %29)
br label %31
31: ; preds = %18
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %14
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %39
39: ; preds = %37
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcl3h1dm0.c'
source_filename = "/tmp/tmpcl3h1dm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"cmd /c start %s\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"x-www-browser '%s' &\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"open '%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [255 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @system(ptr noundef %7)
%9 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @system(ptr noundef %12)
%14 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15)
%17 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @system(ptr noundef %17)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr 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/tmpcl3h1dm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"cmd /c start %s\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"x-www-browser '%s' &\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"open '%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [255 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @system(ptr noundef %7)
%9 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @system(ptr noundef %12)
%14 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15)
%17 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @system(ptr noundef %17)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr 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/tmpcrefv1al.c'
source_filename = "/tmp/tmpcrefv1al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Load first engine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LoadEngine1Proc() #0 {
%1 = call i32 @LoadEngineProc(i32 noundef 0, ptr noundef @.str)
ret void
}
declare i32 @LoadEngineProc(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/tmpcrefv1al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Load first engine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LoadEngine1Proc() #0 {
%1 = call i32 @LoadEngineProc(i32 noundef 0, ptr noundef @.str)
ret void
}
declare i32 @LoadEngineProc(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/tmpwwry04ym.c'
source_filename = "/tmp/tmpwwry04ym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"List (0x%X, %d) = [ \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%3d, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" ]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_list_16(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i32 @fseek(ptr noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15)
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %36, %2
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %39
21: ; preds = %17
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fflush(i32 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 2
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 %27, 2
%29 = add nsw i32 %26, %28
%30 = load i32, ptr @SEEK_SET, align 4
%31 = call i32 @fseek(ptr noundef %24, i32 noundef %29, i32 noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 @fread(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %32)
%34 = load i32, ptr %7, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %21
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %17, !llvm.loop !6
39: ; preds = %17
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(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/tmpwwry04ym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"List (0x%X, %d) = [ \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%3d, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" ]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_list_16(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i32 @fseek(ptr noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15)
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %35
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fflush(i32 noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 2
%26 = load i32, ptr %6, align 4
%27 = mul nsw i32 %26, 2
%28 = add nsw i32 %25, %27
%29 = load i32, ptr @SEEK_SET, align 4
%30 = call i32 @fseek(ptr noundef %23, i32 noundef %28, i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @fread(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %31)
%33 = load i32, ptr %7, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33)
br label %35
35: ; preds = %20
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %2
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(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/tmp6fcaac89.c'
source_filename = "/tmp/tmp6fcaac89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sqrt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Sqrt(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @sqrt(double noundef %3)
%5 = call double @errcheck(i32 noundef %4, ptr noundef @.str)
ret double %5
}
declare double @errcheck(i32 noundef, ptr noundef) #1
declare i32 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6fcaac89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sqrt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Sqrt(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @sqrt(double noundef %3)
%5 = call double @errcheck(i32 noundef %4, ptr noundef @.str)
ret double %5
}
declare double @errcheck(i32 noundef, ptr noundef) #1
declare i32 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1p8x73bp.c'
source_filename = "/tmp/tmp1p8x73bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @palindrome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call ptr @str_reverse(ptr noundef %7)
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %37, %1
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %12, %9
%21 = phi i1 [ false, %9 ], [ %19, %12 ]
br i1 %21, label %22, label %40
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %28, %34
br i1 %35, label %36, label %37
36: ; preds = %22
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %36, %22
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %9, !llvm.loop !6
40: ; preds = %20
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = call i64 @calloc(i32 noundef 4, i32 noundef 1)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %6, align 8
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
store i8 89, ptr %47, align 1
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
store i8 101, ptr %49, align 1
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 2
store i8 115, ptr %51, align 1
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 3
store i8 0, ptr %53, align 1
br label %63
54: ; preds = %40
%55 = call i64 @calloc(i32 noundef 3, i32 noundef 1)
%56 = inttoptr i64 %55 to ptr
store ptr %56, ptr %6, align 8
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
store i8 78, ptr %58, align 1
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
store i8 111, ptr %60, align 1
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
store i8 0, ptr %62, align 1
br label %63
63: ; preds = %54, %43
%64 = load ptr, ptr %6, align 8
ret ptr %64
}
declare ptr @str_reverse(ptr noundef) #1
declare i64 @calloc(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/tmp1p8x73bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @palindrome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call ptr @str_reverse(ptr noundef %7)
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %37, %1
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %12, %9
%21 = phi i1 [ false, %9 ], [ %19, %12 ]
br i1 %21, label %22, label %40
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %28, %34
br i1 %35, label %36, label %37
36: ; preds = %22
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %36, %22
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %9, !llvm.loop !6
40: ; preds = %20
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = call i64 @calloc(i32 noundef 4, i32 noundef 1)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %6, align 8
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
store i8 89, ptr %47, align 1
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
store i8 101, ptr %49, align 1
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 2
store i8 115, ptr %51, align 1
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 3
store i8 0, ptr %53, align 1
br label %63
54: ; preds = %40
%55 = call i64 @calloc(i32 noundef 3, i32 noundef 1)
%56 = inttoptr i64 %55 to ptr
store ptr %56, ptr %6, align 8
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
store i8 78, ptr %58, align 1
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
store i8 111, ptr %60, align 1
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
store i8 0, ptr %62, align 1
br label %63
63: ; preds = %54, %43
%64 = load ptr, ptr %6, align 8
ret ptr %64
}
declare ptr @str_reverse(ptr noundef) #1
declare i64 @calloc(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/tmpkd7pd806.c'
source_filename = "/tmp/tmpkd7pd806.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @setup_parent(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret i32 0
}
declare i32 @setup_parent(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkd7pd806.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @setup_parent(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret i32 0
}
declare i32 @setup_parent(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw5euncj7.c'
source_filename = "/tmp/tmpw5euncj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 4000000, ptr %6, align 4
br label %7
7: ; preds = %24, %0
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = srem i32 %17, 2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %11
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %20, %11
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
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/tmpw5euncj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 4000000, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %23
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %3, align 4
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %16, 2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %19, %10
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %2, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
%30 = load i32, ptr %1, align 4
ret i32 %30
}
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/tmp7_o21xw2.c'
source_filename = "/tmp/tmp7_o21xw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildheap(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
%9 = sdiv i32 %8, 2
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %18, %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 1
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @heapify(ptr noundef %14, i32 noundef %15, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %5, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
ret void
}
declare i32 @heapify(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7_o21xw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildheap(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
%9 = sdiv i32 %8, 2
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sge i32 %10, 1
br i1 %11, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %17
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @heapify(ptr noundef %13, i32 noundef %14, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp sge i32 %20, 1
br i1 %21, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
ret void
}
declare i32 @heapify(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmglposto.c'
source_filename = "/tmp/tmpmglposto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusInEvent_mode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmglposto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusInEvent_mode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprxqwsek8.c'
source_filename = "/tmp/tmprxqwsek8.c"
target datalayout = "e-m:e-p270: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/tmprxqwsek8.c"
target datalayout = "e-m:e-p270: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/tmpga5l15k4.c'
source_filename = "/tmp/tmpga5l15k4.c"
target datalayout = "e-m:e-p270: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/tmpga5l15k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.