llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpnyl3ni9b.c'
source_filename = "/tmp/tmpnyl3ni9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
%7 = alloca [4 x i8], align 1
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %363, %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %366
15: ; preds = %11
%16 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 4)
%18 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %23, %24
%26 = srem i32 %25, 4
%27 = sub nsw i32 4, %26
%28 = call i32 @memcpy(ptr noundef %18, ptr noundef %22, i32 noundef %27)
%29 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp sge i32 %31, 65
br i1 %32, label %33, label %45
33: ; preds = %15
%34 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp sle i32 %36, 90
br i1 %37, label %38, label %45
38: ; preds = %33
%39 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 65
%43 = trunc i32 %42 to i8
%44 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %43, ptr %44, align 1
br label %101
45: ; preds = %33, %15
%46 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp sge i32 %48, 97
br i1 %49, label %50, label %63
50: ; preds = %45
%51 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp sle i32 %53, 122
br i1 %54, label %55, label %63
55: ; preds = %50
%56 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = sub nsw i32 %58, 97
%60 = add nsw i32 %59, 26
%61 = trunc i32 %60 to i8
%62 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %61, ptr %62, align 1
br label %100
63: ; preds = %50, %45
%64 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp sge i32 %66, 48
br i1 %67, label %68, label %81
68: ; preds = %63
%69 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp sle i32 %71, 57
br i1 %72, label %73, label %81
73: ; preds = %68
%74 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = sub nsw i32 %76, 48
%78 = add nsw i32 %77, 52
%79 = trunc i32 %78 to i8
%80 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %79, ptr %80, align 1
br label %99
81: ; preds = %68, %63
%82 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 43
br i1 %85, label %86, label %88
86: ; preds = %81
%87 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 62, ptr %87, align 1
br label %98
88: ; preds = %81
%89 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 47
br i1 %92, label %93, label %95
93: ; preds = %88
%94 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 63, ptr %94, align 1
br label %97
95: ; preds = %88
%96 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %96, align 1
br label %97
97: ; preds = %95, %93
br label %98
98: ; preds = %97, %86
br label %99
99: ; preds = %98, %73
br label %100
100: ; preds = %99, %55
br label %101
101: ; preds = %100, %38
%102 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp sge i32 %104, 65
br i1 %105, label %106, label %118
106: ; preds = %101
%107 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp sle i32 %109, 90
br i1 %110, label %111, label %118
111: ; preds = %106
%112 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = sub nsw i32 %114, 65
%116 = trunc i32 %115 to i8
%117 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %116, ptr %117, align 1
br label %174
118: ; preds = %106, %101
%119 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp sge i32 %121, 97
br i1 %122, label %123, label %136
123: ; preds = %118
%124 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp sle i32 %126, 122
br i1 %127, label %128, label %136
128: ; preds = %123
%129 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = sub nsw i32 %131, 97
%133 = add nsw i32 %132, 26
%134 = trunc i32 %133 to i8
%135 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %134, ptr %135, align 1
br label %173
136: ; preds = %123, %118
%137 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp sge i32 %139, 48
br i1 %140, label %141, label %154
141: ; preds = %136
%142 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp sle i32 %144, 57
br i1 %145, label %146, label %154
146: ; preds = %141
%147 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = sub nsw i32 %149, 48
%151 = add nsw i32 %150, 52
%152 = trunc i32 %151 to i8
%153 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %152, ptr %153, align 1
br label %172
154: ; preds = %141, %136
%155 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 43
br i1 %158, label %159, label %161
159: ; preds = %154
%160 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 62, ptr %160, align 1
br label %171
161: ; preds = %154
%162 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%163 = load i8, ptr %162, align 1
%164 = sext i8 %163 to i32
%165 = icmp eq i32 %164, 47
br i1 %165, label %166, label %168
166: ; preds = %161
%167 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 63, ptr %167, align 1
br label %170
168: ; preds = %161
%169 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 0, ptr %169, align 1
br label %170
170: ; preds = %168, %166
br label %171
171: ; preds = %170, %159
br label %172
172: ; preds = %171, %146
br label %173
173: ; preds = %172, %128
br label %174
174: ; preds = %173, %111
%175 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%176 = load i8, ptr %175, align 1
%177 = sext i8 %176 to i32
%178 = icmp sge i32 %177, 65
br i1 %178, label %179, label %191
179: ; preds = %174
%180 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp sle i32 %182, 90
br i1 %183, label %184, label %191
184: ; preds = %179
%185 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = sub nsw i32 %187, 65
%189 = trunc i32 %188 to i8
%190 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %189, ptr %190, align 1
br label %247
191: ; preds = %179, %174
%192 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp sge i32 %194, 97
br i1 %195, label %196, label %209
196: ; preds = %191
%197 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp sle i32 %199, 122
br i1 %200, label %201, label %209
201: ; preds = %196
%202 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%203 = load i8, ptr %202, align 1
%204 = sext i8 %203 to i32
%205 = sub nsw i32 %204, 97
%206 = add nsw i32 %205, 26
%207 = trunc i32 %206 to i8
%208 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %207, ptr %208, align 1
br label %246
209: ; preds = %196, %191
%210 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = icmp sge i32 %212, 48
br i1 %213, label %214, label %227
214: ; preds = %209
%215 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%216 = load i8, ptr %215, align 1
%217 = sext i8 %216 to i32
%218 = icmp sle i32 %217, 57
br i1 %218, label %219, label %227
219: ; preds = %214
%220 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%221 = load i8, ptr %220, align 1
%222 = sext i8 %221 to i32
%223 = sub nsw i32 %222, 48
%224 = add nsw i32 %223, 52
%225 = trunc i32 %224 to i8
%226 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %225, ptr %226, align 1
br label %245
227: ; preds = %214, %209
%228 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%229 = load i8, ptr %228, align 1
%230 = sext i8 %229 to i32
%231 = icmp eq i32 %230, 43
br i1 %231, label %232, label %234
232: ; preds = %227
%233 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 62, ptr %233, align 1
br label %244
234: ; preds = %227
%235 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%236 = load i8, ptr %235, align 1
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 47
br i1 %238, label %239, label %241
239: ; preds = %234
%240 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 63, ptr %240, align 1
br label %243
241: ; preds = %234
%242 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 0, ptr %242, align 1
br label %243
243: ; preds = %241, %239
br label %244
244: ; preds = %243, %232
br label %245
245: ; preds = %244, %219
br label %246
246: ; preds = %245, %201
br label %247
247: ; preds = %246, %184
%248 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%249 = load i8, ptr %248, align 1
%250 = sext i8 %249 to i32
%251 = icmp sge i32 %250, 65
br i1 %251, label %252, label %264
252: ; preds = %247
%253 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%254 = load i8, ptr %253, align 1
%255 = sext i8 %254 to i32
%256 = icmp sle i32 %255, 90
br i1 %256, label %257, label %264
257: ; preds = %252
%258 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%259 = load i8, ptr %258, align 1
%260 = sext i8 %259 to i32
%261 = sub nsw i32 %260, 65
%262 = trunc i32 %261 to i8
%263 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %262, ptr %263, align 1
br label %320
264: ; preds = %252, %247
%265 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp sge i32 %267, 97
br i1 %268, label %269, label %282
269: ; preds = %264
%270 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%271 = load i8, ptr %270, align 1
%272 = sext i8 %271 to i32
%273 = icmp sle i32 %272, 122
br i1 %273, label %274, label %282
274: ; preds = %269
%275 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%276 = load i8, ptr %275, align 1
%277 = sext i8 %276 to i32
%278 = sub nsw i32 %277, 97
%279 = add nsw i32 %278, 26
%280 = trunc i32 %279 to i8
%281 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %280, ptr %281, align 1
br label %319
282: ; preds = %269, %264
%283 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%284 = load i8, ptr %283, align 1
%285 = sext i8 %284 to i32
%286 = icmp sge i32 %285, 48
br i1 %286, label %287, label %300
287: ; preds = %282
%288 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%289 = load i8, ptr %288, align 1
%290 = sext i8 %289 to i32
%291 = icmp sle i32 %290, 57
br i1 %291, label %292, label %300
292: ; preds = %287
%293 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%294 = load i8, ptr %293, align 1
%295 = sext i8 %294 to i32
%296 = sub nsw i32 %295, 48
%297 = add nsw i32 %296, 52
%298 = trunc i32 %297 to i8
%299 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %298, ptr %299, align 1
br label %318
300: ; preds = %287, %282
%301 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp eq i32 %303, 43
br i1 %304, label %305, label %307
305: ; preds = %300
%306 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 62, ptr %306, align 1
br label %317
307: ; preds = %300
%308 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%309 = load i8, ptr %308, align 1
%310 = sext i8 %309 to i32
%311 = icmp eq i32 %310, 47
br i1 %311, label %312, label %314
312: ; preds = %307
%313 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 63, ptr %313, align 1
br label %316
314: ; preds = %307
%315 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 0, ptr %315, align 1
br label %316
316: ; preds = %314, %312
br label %317
317: ; preds = %316, %305
br label %318
318: ; preds = %317, %292
br label %319
319: ; preds = %318, %274
br label %320
320: ; preds = %319, %257
%321 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%322 = load i8, ptr %321, align 1
%323 = sext i8 %322 to i32
%324 = shl i32 %323, 2
%325 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%326 = load i8, ptr %325, align 1
%327 = sext i8 %326 to i32
%328 = ashr i32 %327, 4
%329 = or i32 %324, %328
%330 = trunc i32 %329 to i8
%331 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
store i8 %330, ptr %331, align 1
%332 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%333 = load i8, ptr %332, align 1
%334 = sext i8 %333 to i32
%335 = shl i32 %334, 4
%336 = and i32 %335, 240
%337 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%338 = load i8, ptr %337, align 1
%339 = sext i8 %338 to i32
%340 = ashr i32 %339, 2
%341 = or i32 %336, %340
%342 = trunc i32 %341 to i8
%343 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1
store i8 %342, ptr %343, align 1
%344 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%345 = load i8, ptr %344, align 1
%346 = sext i8 %345 to i32
%347 = shl i32 %346, 6
%348 = and i32 %347, 192
%349 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%350 = load i8, ptr %349, align 1
%351 = sext i8 %350 to i32
%352 = or i32 %348, %351
%353 = trunc i32 %352 to i8
%354 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2
store i8 %353, ptr %354, align 1
%355 = load ptr, ptr %8, align 8
%356 = load i32, ptr %4, align 4
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds i8, ptr %355, i64 %357
%359 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%360 = call i32 @memcpy(ptr noundef %358, ptr noundef %359, i32 noundef 3)
%361 = load i32, ptr %4, align 4
%362 = add nsw i32 %361, 3
store i32 %362, ptr %4, align 4
br label %363
363: ; preds = %320
%364 = load i32, ptr %3, align 4
%365 = add nsw i32 %364, 4
store i32 %365, ptr %3, align 4
br label %11, !llvm.loop !6
366: ; preds = %11
%367 = load i32, ptr %4, align 4
ret i32 %367
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnyl3ni9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
%7 = alloca [4 x i8], align 1
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %5, align 4
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %368
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %362
%15 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 4)
%17 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %22, %23
%25 = srem i32 %24, 4
%26 = sub nsw i32 4, %25
%27 = call i32 @memcpy(ptr noundef %17, ptr noundef %21, i32 noundef %26)
%28 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp sge i32 %30, 65
br i1 %31, label %32, label %44
32: ; preds = %14
%33 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp sle i32 %35, 90
br i1 %36, label %37, label %44
37: ; preds = %32
%38 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = sub nsw i32 %40, 65
%42 = trunc i32 %41 to i8
%43 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %42, ptr %43, align 1
br label %100
44: ; preds = %32, %14
%45 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp sge i32 %47, 97
br i1 %48, label %49, label %62
49: ; preds = %44
%50 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sle i32 %52, 122
br i1 %53, label %54, label %62
54: ; preds = %49
%55 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = sub nsw i32 %57, 97
%59 = add nsw i32 %58, 26
%60 = trunc i32 %59 to i8
%61 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %60, ptr %61, align 1
br label %99
62: ; preds = %49, %44
%63 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp sge i32 %65, 48
br i1 %66, label %67, label %80
67: ; preds = %62
%68 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp sle i32 %70, 57
br i1 %71, label %72, label %80
72: ; preds = %67
%73 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = sub nsw i32 %75, 48
%77 = add nsw i32 %76, 52
%78 = trunc i32 %77 to i8
%79 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %78, ptr %79, align 1
br label %98
80: ; preds = %67, %62
%81 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 43
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 62, ptr %86, align 1
br label %97
87: ; preds = %80
%88 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 47
br i1 %91, label %92, label %94
92: ; preds = %87
%93 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 63, ptr %93, align 1
br label %96
94: ; preds = %87
%95 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %95, align 1
br label %96
96: ; preds = %94, %92
br label %97
97: ; preds = %96, %85
br label %98
98: ; preds = %97, %72
br label %99
99: ; preds = %98, %54
br label %100
100: ; preds = %99, %37
%101 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp sge i32 %103, 65
br i1 %104, label %105, label %117
105: ; preds = %100
%106 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp sle i32 %108, 90
br i1 %109, label %110, label %117
110: ; preds = %105
%111 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = sub nsw i32 %113, 65
%115 = trunc i32 %114 to i8
%116 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %115, ptr %116, align 1
br label %173
117: ; preds = %105, %100
%118 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp sge i32 %120, 97
br i1 %121, label %122, label %135
122: ; preds = %117
%123 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp sle i32 %125, 122
br i1 %126, label %127, label %135
127: ; preds = %122
%128 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%129 = load i8, ptr %128, align 1
%130 = sext i8 %129 to i32
%131 = sub nsw i32 %130, 97
%132 = add nsw i32 %131, 26
%133 = trunc i32 %132 to i8
%134 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %133, ptr %134, align 1
br label %172
135: ; preds = %122, %117
%136 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp sge i32 %138, 48
br i1 %139, label %140, label %153
140: ; preds = %135
%141 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%142 = load i8, ptr %141, align 1
%143 = sext i8 %142 to i32
%144 = icmp sle i32 %143, 57
br i1 %144, label %145, label %153
145: ; preds = %140
%146 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
%149 = sub nsw i32 %148, 48
%150 = add nsw i32 %149, 52
%151 = trunc i32 %150 to i8
%152 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %151, ptr %152, align 1
br label %171
153: ; preds = %140, %135
%154 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 43
br i1 %157, label %158, label %160
158: ; preds = %153
%159 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 62, ptr %159, align 1
br label %170
160: ; preds = %153
%161 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%162 = load i8, ptr %161, align 1
%163 = sext i8 %162 to i32
%164 = icmp eq i32 %163, 47
br i1 %164, label %165, label %167
165: ; preds = %160
%166 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 63, ptr %166, align 1
br label %169
167: ; preds = %160
%168 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 0, ptr %168, align 1
br label %169
169: ; preds = %167, %165
br label %170
170: ; preds = %169, %158
br label %171
171: ; preds = %170, %145
br label %172
172: ; preds = %171, %127
br label %173
173: ; preds = %172, %110
%174 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%175 = load i8, ptr %174, align 1
%176 = sext i8 %175 to i32
%177 = icmp sge i32 %176, 65
br i1 %177, label %178, label %190
178: ; preds = %173
%179 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%180 = load i8, ptr %179, align 1
%181 = sext i8 %180 to i32
%182 = icmp sle i32 %181, 90
br i1 %182, label %183, label %190
183: ; preds = %178
%184 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = sub nsw i32 %186, 65
%188 = trunc i32 %187 to i8
%189 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %188, ptr %189, align 1
br label %246
190: ; preds = %178, %173
%191 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp sge i32 %193, 97
br i1 %194, label %195, label %208
195: ; preds = %190
%196 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%197 = load i8, ptr %196, align 1
%198 = sext i8 %197 to i32
%199 = icmp sle i32 %198, 122
br i1 %199, label %200, label %208
200: ; preds = %195
%201 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%202 = load i8, ptr %201, align 1
%203 = sext i8 %202 to i32
%204 = sub nsw i32 %203, 97
%205 = add nsw i32 %204, 26
%206 = trunc i32 %205 to i8
%207 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %206, ptr %207, align 1
br label %245
208: ; preds = %195, %190
%209 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%210 = load i8, ptr %209, align 1
%211 = sext i8 %210 to i32
%212 = icmp sge i32 %211, 48
br i1 %212, label %213, label %226
213: ; preds = %208
%214 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%215 = load i8, ptr %214, align 1
%216 = sext i8 %215 to i32
%217 = icmp sle i32 %216, 57
br i1 %217, label %218, label %226
218: ; preds = %213
%219 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%220 = load i8, ptr %219, align 1
%221 = sext i8 %220 to i32
%222 = sub nsw i32 %221, 48
%223 = add nsw i32 %222, 52
%224 = trunc i32 %223 to i8
%225 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %224, ptr %225, align 1
br label %244
226: ; preds = %213, %208
%227 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%228 = load i8, ptr %227, align 1
%229 = sext i8 %228 to i32
%230 = icmp eq i32 %229, 43
br i1 %230, label %231, label %233
231: ; preds = %226
%232 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 62, ptr %232, align 1
br label %243
233: ; preds = %226
%234 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%235 = load i8, ptr %234, align 1
%236 = sext i8 %235 to i32
%237 = icmp eq i32 %236, 47
br i1 %237, label %238, label %240
238: ; preds = %233
%239 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 63, ptr %239, align 1
br label %242
240: ; preds = %233
%241 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 0, ptr %241, align 1
br label %242
242: ; preds = %240, %238
br label %243
243: ; preds = %242, %231
br label %244
244: ; preds = %243, %218
br label %245
245: ; preds = %244, %200
br label %246
246: ; preds = %245, %183
%247 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%248 = load i8, ptr %247, align 1
%249 = sext i8 %248 to i32
%250 = icmp sge i32 %249, 65
br i1 %250, label %251, label %263
251: ; preds = %246
%252 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%253 = load i8, ptr %252, align 1
%254 = sext i8 %253 to i32
%255 = icmp sle i32 %254, 90
br i1 %255, label %256, label %263
256: ; preds = %251
%257 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = sub nsw i32 %259, 65
%261 = trunc i32 %260 to i8
%262 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %261, ptr %262, align 1
br label %319
263: ; preds = %251, %246
%264 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%265 = load i8, ptr %264, align 1
%266 = sext i8 %265 to i32
%267 = icmp sge i32 %266, 97
br i1 %267, label %268, label %281
268: ; preds = %263
%269 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%270 = load i8, ptr %269, align 1
%271 = sext i8 %270 to i32
%272 = icmp sle i32 %271, 122
br i1 %272, label %273, label %281
273: ; preds = %268
%274 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%275 = load i8, ptr %274, align 1
%276 = sext i8 %275 to i32
%277 = sub nsw i32 %276, 97
%278 = add nsw i32 %277, 26
%279 = trunc i32 %278 to i8
%280 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %279, ptr %280, align 1
br label %318
281: ; preds = %268, %263
%282 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%283 = load i8, ptr %282, align 1
%284 = sext i8 %283 to i32
%285 = icmp sge i32 %284, 48
br i1 %285, label %286, label %299
286: ; preds = %281
%287 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%288 = load i8, ptr %287, align 1
%289 = sext i8 %288 to i32
%290 = icmp sle i32 %289, 57
br i1 %290, label %291, label %299
291: ; preds = %286
%292 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%293 = load i8, ptr %292, align 1
%294 = sext i8 %293 to i32
%295 = sub nsw i32 %294, 48
%296 = add nsw i32 %295, 52
%297 = trunc i32 %296 to i8
%298 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %297, ptr %298, align 1
br label %317
299: ; preds = %286, %281
%300 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%301 = load i8, ptr %300, align 1
%302 = sext i8 %301 to i32
%303 = icmp eq i32 %302, 43
br i1 %303, label %304, label %306
304: ; preds = %299
%305 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 62, ptr %305, align 1
br label %316
306: ; preds = %299
%307 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%308 = load i8, ptr %307, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 47
br i1 %310, label %311, label %313
311: ; preds = %306
%312 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 63, ptr %312, align 1
br label %315
313: ; preds = %306
%314 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 0, ptr %314, align 1
br label %315
315: ; preds = %313, %311
br label %316
316: ; preds = %315, %304
br label %317
317: ; preds = %316, %291
br label %318
318: ; preds = %317, %273
br label %319
319: ; preds = %318, %256
%320 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%321 = load i8, ptr %320, align 1
%322 = sext i8 %321 to i32
%323 = shl i32 %322, 2
%324 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%325 = load i8, ptr %324, align 1
%326 = sext i8 %325 to i32
%327 = ashr i32 %326, 4
%328 = or i32 %323, %327
%329 = trunc i32 %328 to i8
%330 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
store i8 %329, ptr %330, align 1
%331 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%332 = load i8, ptr %331, align 1
%333 = sext i8 %332 to i32
%334 = shl i32 %333, 4
%335 = and i32 %334, 240
%336 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%337 = load i8, ptr %336, align 1
%338 = sext i8 %337 to i32
%339 = ashr i32 %338, 2
%340 = or i32 %335, %339
%341 = trunc i32 %340 to i8
%342 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1
store i8 %341, ptr %342, align 1
%343 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%344 = load i8, ptr %343, align 1
%345 = sext i8 %344 to i32
%346 = shl i32 %345, 6
%347 = and i32 %346, 192
%348 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%349 = load i8, ptr %348, align 1
%350 = sext i8 %349 to i32
%351 = or i32 %347, %350
%352 = trunc i32 %351 to i8
%353 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2
store i8 %352, ptr %353, align 1
%354 = load ptr, ptr %8, align 8
%355 = load i32, ptr %4, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds i8, ptr %354, i64 %356
%358 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%359 = call i32 @memcpy(ptr noundef %357, ptr noundef %358, i32 noundef 3)
%360 = load i32, ptr %4, align 4
%361 = add nsw i32 %360, 3
store i32 %361, ptr %4, align 4
br label %362
362: ; preds = %319
%363 = load i32, ptr %3, align 4
%364 = add nsw i32 %363, 4
store i32 %364, ptr %3, align 4
%365 = load i32, ptr %3, align 4
%366 = load i32, ptr %5, align 4
%367 = icmp slt i32 %365, %366
br i1 %367, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %362
br label %368
368: ; preds = %._crit_edge, %1
%369 = load i32, ptr %4, align 4
ret i32 %369
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpegl5jsw2.c'
source_filename = "/tmp/tmpegl5jsw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpegl5jsw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphhupfsta.c'
source_filename = "/tmp/tmphhupfsta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCIntUnregister(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = add i64 30, %6
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i32 @IntDisable(i64 noundef %8)
%10 = load i64, ptr %5, align 8
%11 = call i32 @IntUnregister(i64 noundef %10)
ret void
}
declare i32 @IntDisable(i64 noundef) #1
declare i32 @IntUnregister(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/tmphhupfsta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCIntUnregister(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = add i64 30, %6
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i32 @IntDisable(i64 noundef %8)
%10 = load i64, ptr %5, align 8
%11 = call i32 @IntUnregister(i64 noundef %10)
ret void
}
declare i32 @IntDisable(i64 noundef) #1
declare i32 @IntUnregister(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/tmpqztrl4g8.c'
source_filename = "/tmp/tmpqztrl4g8.c"
target datalayout = "e-m:e-p270: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/tmpqztrl4g8.c"
target datalayout = "e-m:e-p270: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/tmpedv6exjv.c'
source_filename = "/tmp/tmpedv6exjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appendToString(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %17)
store i32 0, ptr %5, align 4
br label %28
19: ; preds = %2
%20 = load ptr, ptr %3, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %5, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %23, %24
%26 = add nsw i32 %25, 1
%27 = call ptr @realloc(ptr noundef %22, i32 noundef %26)
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %19, %11
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %36, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedv6exjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appendToString(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %17)
store i32 0, ptr %5, align 4
br label %28
19: ; preds = %2
%20 = load ptr, ptr %3, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %5, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %23, %24
%26 = add nsw i32 %25, 1
%27 = call ptr @realloc(ptr noundef %22, i32 noundef %26)
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %19, %11
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %36, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8is2svp2.c'
source_filename = "/tmp/tmp8is2svp2.c"
target datalayout = "e-m:e-p270: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/tmp8is2svp2.c"
target datalayout = "e-m:e-p270: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/tmp6kre16of.c'
source_filename = "/tmp/tmp6kre16of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"Conversion Menu:\0A\091. Lengths\0A\092. Weights\0A\090. Exit the program\0ASelection: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\0AYou selected %d. This program will quit now... Bye.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\0AYou've selected %d. This program will convert lengths\0A\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0AYou've selected %d. This program will convert weights\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %23, %0
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @validate_input(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
switch i32 %10, label %22 [
i32 0, label %11
i32 1, label %14
i32 2, label %18
]
11: ; preds = %4
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
br label %22
14: ; preds = %4
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15)
%17 = call i32 (...) @convert_lengths()
br label %22
18: ; preds = %4
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = call i32 (...) @convert_weights()
br label %22
22: ; preds = %4, %18, %14, %11
br label %23
23: ; preds = %22
%24 = load i32, ptr %2, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %4, label %26, !llvm.loop !6
26: ; preds = %23
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @validate_input(i32 noundef, i32 noundef) #1
declare i32 @convert_lengths(...) #1
declare i32 @convert_weights(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6kre16of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"Conversion Menu:\0A\091. Lengths\0A\092. Weights\0A\090. Exit the program\0ASelection: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\0AYou selected %d. This program will quit now... Bye.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\0AYou've selected %d. This program will convert lengths\0A\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0AYou've selected %d. This program will convert weights\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %23, %0
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @validate_input(i32 noundef %7, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
switch i32 %10, label %22 [
i32 0, label %11
i32 1, label %14
i32 2, label %18
]
11: ; preds = %4
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
br label %22
14: ; preds = %4
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15)
%17 = call i32 (...) @convert_lengths()
br label %22
18: ; preds = %4
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = call i32 (...) @convert_weights()
br label %22
22: ; preds = %18, %14, %11, %4
br label %23
23: ; preds = %22
%24 = load i32, ptr %2, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %4, label %26, !llvm.loop !6
26: ; preds = %23
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @validate_input(i32 noundef, i32 noundef) #1
declare i32 @convert_lengths(...) #1
declare i32 @convert_weights(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpam30tufg.c'
source_filename = "/tmp/tmpam30tufg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_jde(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 8.640000e+04, ptr %4, align 8
%5 = load double, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @ln_get_dynamical_time_diff(double noundef %6)
%8 = load double, ptr %4, align 8
%9 = fdiv double %7, %8
%10 = fadd double %5, %9
store double %10, ptr %3, align 8
%11 = load double, ptr %3, align 8
ret double %11
}
declare double @ln_get_dynamical_time_diff(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/tmpam30tufg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_jde(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 8.640000e+04, ptr %4, align 8
%5 = load double, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @ln_get_dynamical_time_diff(double noundef %6)
%8 = load double, ptr %4, align 8
%9 = fdiv double %7, %8
%10 = fadd double %5, %9
store double %10, ptr %3, align 8
%11 = load double, ptr %3, align 8
ret double %11
}
declare double @ln_get_dynamical_time_diff(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/tmp85u3y1g2.c'
source_filename = "/tmp/tmp85u3y1g2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@timlib_right_string.return_string = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timlib_right_string(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @timlib_strlen(ptr noundef %9)
%11 = icmp sgt i32 %8, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %40
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = icmp sgt i32 %15, 1023
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr null, ptr %3, align 8
br label %40
18: ; preds = %13
store ptr @timlib_right_string.return_string, ptr %6, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = sub i64 0, %25
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store ptr %27, ptr %7, align 8
br label %28
28: ; preds = %32, %18
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = icmp ne i8 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %28
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
store i8 %35, ptr %36, align 1
br label %28, !llvm.loop !6
38: ; preds = %28
%39 = load ptr, ptr %6, align 8
store i8 0, ptr %39, align 1
store ptr @timlib_right_string.return_string, ptr %3, align 8
br label %40
40: ; preds = %38, %17, %12
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @timlib_strlen(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85u3y1g2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@timlib_right_string.return_string = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timlib_right_string(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @timlib_strlen(ptr noundef %9)
%11 = icmp sgt i32 %8, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %42
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = icmp sgt i32 %15, 1023
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr null, ptr %3, align 8
br label %42
18: ; preds = %13
store ptr @timlib_right_string.return_string, ptr %6, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = sub i64 0, %25
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store ptr %27, ptr %7, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i8, ptr %28, align 1
%30 = icmp ne i8 %29, 0
br i1 %30, label %.lr.ph, label %40
.lr.ph: ; preds = %18
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %7, align 8
%34 = load i8, ptr %32, align 1
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
store i8 %34, ptr %35, align 1
%37 = load ptr, ptr %7, align 8
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %40
40: ; preds = %._crit_edge, %18
%41 = load ptr, ptr %6, align 8
store i8 0, ptr %41, align 1
store ptr @timlib_right_string.return_string, ptr %3, align 8
br label %42
42: ; preds = %40, %17, %12
%43 = load ptr, ptr %3, align 8
ret ptr %43
}
declare i32 @timlib_strlen(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvvph6ats.c'
source_filename = "/tmp/tmpvvph6ats.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Numerical Recipes run-time error...\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"...now exiting to system...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nrerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvph6ats.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Numerical Recipes run-time error...\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"...now exiting to system...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nrerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplzz9zlr5.c'
source_filename = "/tmp/tmplzz9zlr5.c"
target datalayout = "e-m:e-p270: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/tmplzz9zlr5.c"
target datalayout = "e-m:e-p270: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/tmp0hmxv0ik.c'
source_filename = "/tmp/tmp0hmxv0ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_memsearch(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 -1, ptr %5, align 4
br label %50
16: ; preds = %4
store i32 0, ptr %10, align 4
br label %17
17: ; preds = %46, %16
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %49
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %10, 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 = load ptr, ptr %8, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %27, %33
br i1 %34, label %35, label %44
35: ; preds = %21
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %11, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %50
43: ; preds = %35
br label %45
44: ; preds = %21
store i32 0, ptr %11, align 4
br label %45
45: ; preds = %44, %43
br label %46
46: ; preds = %45
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %10, align 4
br label %17, !llvm.loop !6
49: ; preds = %17
store i32 -1, ptr %5, align 4
br label %50
50: ; preds = %49, %40, %15
%51 = load i32, ptr %5, align 4
ret i32 %51
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0hmxv0ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_memsearch(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 -1, ptr %5, align 4
br label %52
16: ; preds = %4
store i32 0, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %51
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %45
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %26, %32
br i1 %33, label %34, label %43
34: ; preds = %20
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %52
42: ; preds = %34
br label %44
43: ; preds = %20
store i32 0, ptr %11, align 4
br label %44
44: ; preds = %43, %42
br label %45
45: ; preds = %44
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %16
store i32 -1, ptr %5, align 4
br label %52
52: ; preds = %51, %39, %15
%53 = load i32, ptr %5, align 4
ret i32 %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbqslu22o.c'
source_filename = "/tmp/tmpbqslu22o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2double(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call double @strtod(ptr noundef %9, ptr noundef %7)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
store double %10, ptr %12, align 8
store i32 1, ptr %8, align 4
br label %13
13: ; preds = %24, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = call double @strtod(ptr noundef %18, ptr noundef %7)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
store double %19, ptr %23, align 8
br label %24
24: ; preds = %17
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %13, !llvm.loop !6
27: ; preds = %13
ret void
}
declare double @strtod(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/tmpbqslu22o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2double(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call double @strtod(ptr noundef %9, ptr noundef %7)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
store double %10, ptr %12, align 8
store i32 1, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %7, align 8
%18 = call double @strtod(ptr noundef %17, ptr noundef %7)
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
store double %18, ptr %22, align 8
br label %23
23: ; preds = %16
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
ret void
}
declare double @strtod(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/tmp8jppkgky.c'
source_filename = "/tmp/tmp8jppkgky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %11
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @is_prime(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %1, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @is_prime(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/tmp8jppkgky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %11
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @is_prime(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %1, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @is_prime(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/tmpzg31rlza.c'
source_filename = "/tmp/tmpzg31rlza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_OK = 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/tmpzg31rlza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_OK = 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/tmpdqwvud_s.c'
source_filename = "/tmp/tmpdqwvud_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 double @ey(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fadd double %5, 4.000000e-01
%7 = load double, ptr %4, align 8
%8 = fadd double %7, 3.500000e-01
%9 = call i32 @c(double noundef %6, double noundef %8, double noundef 1.000000e-01)
%10 = load double, ptr %3, align 8
%11 = fadd double %10, 1.500000e-01
%12 = load double, ptr %4, align 8
%13 = fadd double %12, 3.500000e-01
%14 = call i32 @c(double noundef %11, double noundef %13, double noundef 1.000000e-01)
%15 = call double @fmin(i32 noundef %9, i32 noundef %14)
ret double %15
}
declare double @fmin(i32 noundef, i32 noundef) #1
declare i32 @c(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdqwvud_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 double @ey(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fadd double %5, 4.000000e-01
%7 = load double, ptr %4, align 8
%8 = fadd double %7, 3.500000e-01
%9 = call i32 @c(double noundef %6, double noundef %8, double noundef 1.000000e-01)
%10 = load double, ptr %3, align 8
%11 = fadd double %10, 1.500000e-01
%12 = load double, ptr %4, align 8
%13 = fadd double %12, 3.500000e-01
%14 = call i32 @c(double noundef %11, double noundef %13, double noundef 1.000000e-01)
%15 = call double @fmin(i32 noundef %9, i32 noundef %14)
ret double %15
}
declare double @fmin(i32 noundef, i32 noundef) #1
declare i32 @c(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaso9t23s.c'
source_filename = "/tmp/tmpaso9t23s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrayStrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaso9t23s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrayStrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxfj5ae5j.c'
source_filename = "/tmp/tmpxfj5ae5j.c"
target datalayout = "e-m:e-p270: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/tmpxfj5ae5j.c"
target datalayout = "e-m:e-p270: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/tmpy18ynv3h.c'
source_filename = "/tmp/tmpy18ynv3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@PATH_MAX = 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/tmpy18ynv3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@PATH_MAX = 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/tmp3i16y5u8.c'
source_filename = "/tmp/tmp3i16y5u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fadd double 1.000000e+00, %3
%5 = fptosi double %4 to i32
%6 = call i32 @sqrt(i32 noundef %5)
%7 = load double, ptr %2, align 8
%8 = call i32 @sin(double noundef %7)
%9 = add nsw i32 2, %8
%10 = sdiv i32 %6, %9
%11 = sitofp i32 %10 to double
ret double %11
}
declare i32 @sqrt(i32 noundef) #1
declare i32 @sin(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/tmp3i16y5u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fadd double 1.000000e+00, %3
%5 = fptosi double %4 to i32
%6 = call i32 @sqrt(i32 noundef %5)
%7 = load double, ptr %2, align 8
%8 = call i32 @sin(double noundef %7)
%9 = add nsw i32 2, %8
%10 = sdiv i32 %6, %9
%11 = sitofp i32 %10 to double
ret double %11
}
declare i32 @sqrt(i32 noundef) #1
declare i32 @sin(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/tmpiglafiym.c'
source_filename = "/tmp/tmpiglafiym.c"
target datalayout = "e-m:e-p270: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/tmpiglafiym.c"
target datalayout = "e-m:e-p270: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/tmpzrkhbjzw.c'
source_filename = "/tmp/tmpzrkhbjzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clr_keyboard_buffer() #0 {
%1 = alloca i8, align 1
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3
3: ; preds = %7, %0
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3, !llvm.loop !6
9: ; preds = %3
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzrkhbjzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clr_keyboard_buffer() #0 {
%1 = alloca i8, align 1
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i8, ptr %1, align 1
%4 = sext i8 %3 to i32
%5 = icmp ne i32 %4, 10
br i1 %5, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%8 = load i8, ptr %1, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 10
br i1 %10, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1pja3vsk.c'
source_filename = "/tmp/tmp1pja3vsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%d.%d.%d.%d.%d.%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_addr_dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 3
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 4
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 5
%20 = load i32, ptr %19, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmp1pja3vsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%d.%d.%d.%d.%d.%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_addr_dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 3
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 4
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 5
%20 = load i32, ptr %19, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmpsdnzdt6e.c'
source_filename = "/tmp/tmpsdnzdt6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @W(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13, double noundef %14, double noundef %15, double noundef %16, double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25, double noundef %26, double noundef %27, double noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32, double noundef %33, double noundef %34, double noundef %35, double noundef %36, double noundef %37, double noundef %38, double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, double noundef %44, double noundef %45) #0 {
%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 double, align 8
%65 = alloca double, align 8
%66 = alloca double, align 8
%67 = alloca double, align 8
%68 = alloca double, align 8
%69 = alloca double, align 8
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca double, align 8
%73 = alloca double, align 8
%74 = alloca double, align 8
%75 = alloca double, align 8
%76 = alloca double, align 8
%77 = alloca double, align 8
%78 = alloca double, align 8
%79 = alloca double, align 8
%80 = alloca double, align 8
%81 = alloca double, align 8
%82 = alloca double, align 8
%83 = alloca double, align 8
%84 = alloca double, align 8
%85 = alloca double, align 8
%86 = alloca double, align 8
%87 = alloca double, align 8
%88 = alloca double, align 8
%89 = alloca double, align 8
%90 = alloca double, align 8
%91 = alloca double, align 8
%92 = alloca double, align 8
store double %0, ptr %47, align 8
store double %1, ptr %48, align 8
store double %2, ptr %49, align 8
store double %3, ptr %50, align 8
store double %4, ptr %51, align 8
store double %5, ptr %52, align 8
store double %6, ptr %53, align 8
store double %7, ptr %54, align 8
store double %8, ptr %55, align 8
store double %9, ptr %56, align 8
store double %10, ptr %57, align 8
store double %11, ptr %58, align 8
store double %12, ptr %59, align 8
store double %13, ptr %60, align 8
store double %14, ptr %61, align 8
store double %15, ptr %62, align 8
store double %16, ptr %63, align 8
store double %17, ptr %64, align 8
store double %18, ptr %65, align 8
store double %19, ptr %66, align 8
store double %20, ptr %67, align 8
store double %21, ptr %68, align 8
store double %22, ptr %69, align 8
store double %23, ptr %70, align 8
store double %24, ptr %71, align 8
store double %25, ptr %72, align 8
store double %26, ptr %73, align 8
store double %27, ptr %74, align 8
store double %28, ptr %75, align 8
store double %29, ptr %76, align 8
store double %30, ptr %77, align 8
store double %31, ptr %78, align 8
store double %32, ptr %79, align 8
store double %33, ptr %80, align 8
store double %34, ptr %81, align 8
store double %35, ptr %82, align 8
store double %36, ptr %83, align 8
store double %37, ptr %84, align 8
store double %38, ptr %85, align 8
store double %39, ptr %86, align 8
store double %40, ptr %87, align 8
store double %41, ptr %88, align 8
store double %42, ptr %89, align 8
store double %43, ptr %90, align 8
store double %44, ptr %91, align 8
store double %45, ptr %92, align 8
%93 = load double, ptr %47, align 8
%94 = load double, ptr %79, align 8
%95 = load double, ptr %72, align 8
%96 = load double, ptr %86, align 8
%97 = call double @llvm.fmuladd.f64(double %95, double %96, double %94)
%98 = call double @cos(double noundef %97) #3
%99 = load double, ptr %48, align 8
%100 = load double, ptr %80, align 8
%101 = load double, ptr %73, align 8
%102 = load double, ptr %86, align 8
%103 = call double @llvm.fmuladd.f64(double %101, double %102, double %100)
%104 = call double @cos(double noundef %103) #3
%105 = fmul double %99, %104
%106 = load double, ptr %60, align 8
%107 = load double, ptr %54, align 8
%108 = load double, ptr %87, align 8
%109 = fmul double %107, %108
%110 = load double, ptr %90, align 8
%111 = call double @llvm.fmuladd.f64(double %109, double %110, double %106)
%112 = call double @cos(double noundef %111) #3
%113 = fmul double %105, %112
%114 = call double @llvm.fmuladd.f64(double %93, double %98, double %113)
%115 = load double, ptr %51, align 8
%116 = load double, ptr %63, align 8
%117 = load double, ptr %57, align 8
%118 = load double, ptr %88, align 8
%119 = fmul double %117, %118
%120 = load double, ptr %91, align 8
%121 = call double @llvm.fmuladd.f64(double %119, double %120, double %116)
%122 = call double @cos(double noundef %121) #3
%123 = fmul double %115, %122
%124 = load double, ptr %83, align 8
%125 = load double, ptr %76, align 8
%126 = load double, ptr %86, align 8
%127 = call double @llvm.fmuladd.f64(double %125, double %126, double %124)
%128 = call double @cos(double noundef %127) #3
%129 = call double @llvm.fmuladd.f64(double %123, double %128, double %114)
%130 = load double, ptr %53, align 8
%131 = load double, ptr %85, align 8
%132 = load double, ptr %78, align 8
%133 = load double, ptr %86, align 8
%134 = call double @llvm.fmuladd.f64(double %132, double %133, double %131)
%135 = call double @cos(double noundef %134) #3
%136 = fmul double %130, %135
%137 = load double, ptr %65, align 8
%138 = load double, ptr %59, align 8
%139 = load double, ptr %89, align 8
%140 = fmul double %138, %139
%141 = load double, ptr %92, align 8
%142 = call double @llvm.fmuladd.f64(double %140, double %141, double %137)
%143 = call double @cos(double noundef %142) #3
%144 = call double @llvm.fmuladd.f64(double %136, double %143, double %129)
%145 = load double, ptr %49, align 8
%146 = load double, ptr %81, align 8
%147 = load double, ptr %74, align 8
%148 = load double, ptr %86, align 8
%149 = call double @llvm.fmuladd.f64(double %147, double %148, double %146)
%150 = call double @cos(double noundef %149) #3
%151 = fmul double %145, %150
%152 = load double, ptr %61, align 8
%153 = load double, ptr %55, align 8
%154 = load double, ptr %87, align 8
%155 = fmul double %153, %154
%156 = load double, ptr %90, align 8
%157 = call double @llvm.fmuladd.f64(double %155, double %156, double %152)
%158 = call double @cos(double noundef %157) #3
%159 = fmul double %151, %158
%160 = load double, ptr %69, align 8
%161 = load double, ptr %66, align 8
%162 = load double, ptr %88, align 8
%163 = fmul double %161, %162
%164 = load double, ptr %91, align 8
%165 = call double @llvm.fmuladd.f64(double %163, double %164, double %160)
%166 = call double @cos(double noundef %165) #3
%167 = call double @llvm.fmuladd.f64(double %159, double %166, double %144)
%168 = load double, ptr %50, align 8
%169 = load double, ptr %82, align 8
%170 = load double, ptr %75, align 8
%171 = load double, ptr %86, align 8
%172 = call double @llvm.fmuladd.f64(double %170, double %171, double %169)
%173 = call double @cos(double noundef %172) #3
%174 = fmul double %168, %173
%175 = load double, ptr %62, align 8
%176 = load double, ptr %56, align 8
%177 = load double, ptr %87, align 8
%178 = fmul double %176, %177
%179 = load double, ptr %90, align 8
%180 = call double @llvm.fmuladd.f64(double %178, double %179, double %175)
%181 = call double @cos(double noundef %180) #3
%182 = fmul double %174, %181
%183 = load double, ptr %70, align 8
%184 = load double, ptr %67, align 8
%185 = load double, ptr %89, align 8
%186 = fmul double %184, %185
%187 = load double, ptr %92, align 8
%188 = call double @llvm.fmuladd.f64(double %186, double %187, double %183)
%189 = call double @cos(double noundef %188) #3
%190 = call double @llvm.fmuladd.f64(double %182, double %189, double %167)
%191 = load double, ptr %52, align 8
%192 = load double, ptr %84, align 8
%193 = load double, ptr %77, align 8
%194 = load double, ptr %86, align 8
%195 = call double @llvm.fmuladd.f64(double %193, double %194, double %192)
%196 = call double @cos(double noundef %195) #3
%197 = fmul double %191, %196
%198 = load double, ptr %64, align 8
%199 = load double, ptr %58, align 8
%200 = load double, ptr %88, align 8
%201 = fmul double %199, %200
%202 = load double, ptr %91, align 8
%203 = call double @llvm.fmuladd.f64(double %201, double %202, double %198)
%204 = call double @cos(double noundef %203) #3
%205 = fmul double %197, %204
%206 = load double, ptr %71, align 8
%207 = load double, ptr %68, align 8
%208 = load double, ptr %89, align 8
%209 = fmul double %207, %208
%210 = load double, ptr %92, align 8
%211 = call double @llvm.fmuladd.f64(double %209, double %210, double %206)
%212 = call double @cos(double noundef %211) #3
%213 = call double @llvm.fmuladd.f64(double %205, double %212, double %190)
ret double %213
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdnzdt6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @W(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13, double noundef %14, double noundef %15, double noundef %16, double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25, double noundef %26, double noundef %27, double noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32, double noundef %33, double noundef %34, double noundef %35, double noundef %36, double noundef %37, double noundef %38, double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, double noundef %44, double noundef %45) #0 {
%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 double, align 8
%65 = alloca double, align 8
%66 = alloca double, align 8
%67 = alloca double, align 8
%68 = alloca double, align 8
%69 = alloca double, align 8
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca double, align 8
%73 = alloca double, align 8
%74 = alloca double, align 8
%75 = alloca double, align 8
%76 = alloca double, align 8
%77 = alloca double, align 8
%78 = alloca double, align 8
%79 = alloca double, align 8
%80 = alloca double, align 8
%81 = alloca double, align 8
%82 = alloca double, align 8
%83 = alloca double, align 8
%84 = alloca double, align 8
%85 = alloca double, align 8
%86 = alloca double, align 8
%87 = alloca double, align 8
%88 = alloca double, align 8
%89 = alloca double, align 8
%90 = alloca double, align 8
%91 = alloca double, align 8
%92 = alloca double, align 8
store double %0, ptr %47, align 8
store double %1, ptr %48, align 8
store double %2, ptr %49, align 8
store double %3, ptr %50, align 8
store double %4, ptr %51, align 8
store double %5, ptr %52, align 8
store double %6, ptr %53, align 8
store double %7, ptr %54, align 8
store double %8, ptr %55, align 8
store double %9, ptr %56, align 8
store double %10, ptr %57, align 8
store double %11, ptr %58, align 8
store double %12, ptr %59, align 8
store double %13, ptr %60, align 8
store double %14, ptr %61, align 8
store double %15, ptr %62, align 8
store double %16, ptr %63, align 8
store double %17, ptr %64, align 8
store double %18, ptr %65, align 8
store double %19, ptr %66, align 8
store double %20, ptr %67, align 8
store double %21, ptr %68, align 8
store double %22, ptr %69, align 8
store double %23, ptr %70, align 8
store double %24, ptr %71, align 8
store double %25, ptr %72, align 8
store double %26, ptr %73, align 8
store double %27, ptr %74, align 8
store double %28, ptr %75, align 8
store double %29, ptr %76, align 8
store double %30, ptr %77, align 8
store double %31, ptr %78, align 8
store double %32, ptr %79, align 8
store double %33, ptr %80, align 8
store double %34, ptr %81, align 8
store double %35, ptr %82, align 8
store double %36, ptr %83, align 8
store double %37, ptr %84, align 8
store double %38, ptr %85, align 8
store double %39, ptr %86, align 8
store double %40, ptr %87, align 8
store double %41, ptr %88, align 8
store double %42, ptr %89, align 8
store double %43, ptr %90, align 8
store double %44, ptr %91, align 8
store double %45, ptr %92, align 8
%93 = load double, ptr %47, align 8
%94 = load double, ptr %79, align 8
%95 = load double, ptr %72, align 8
%96 = load double, ptr %86, align 8
%97 = call double @llvm.fmuladd.f64(double %95, double %96, double %94)
%98 = call double @cos(double noundef %97) #3
%99 = load double, ptr %48, align 8
%100 = load double, ptr %80, align 8
%101 = load double, ptr %73, align 8
%102 = load double, ptr %86, align 8
%103 = call double @llvm.fmuladd.f64(double %101, double %102, double %100)
%104 = call double @cos(double noundef %103) #3
%105 = fmul double %99, %104
%106 = load double, ptr %60, align 8
%107 = load double, ptr %54, align 8
%108 = load double, ptr %87, align 8
%109 = fmul double %107, %108
%110 = load double, ptr %90, align 8
%111 = call double @llvm.fmuladd.f64(double %109, double %110, double %106)
%112 = call double @cos(double noundef %111) #3
%113 = fmul double %105, %112
%114 = call double @llvm.fmuladd.f64(double %93, double %98, double %113)
%115 = load double, ptr %51, align 8
%116 = load double, ptr %63, align 8
%117 = load double, ptr %57, align 8
%118 = load double, ptr %88, align 8
%119 = fmul double %117, %118
%120 = load double, ptr %91, align 8
%121 = call double @llvm.fmuladd.f64(double %119, double %120, double %116)
%122 = call double @cos(double noundef %121) #3
%123 = fmul double %115, %122
%124 = load double, ptr %83, align 8
%125 = load double, ptr %76, align 8
%126 = load double, ptr %86, align 8
%127 = call double @llvm.fmuladd.f64(double %125, double %126, double %124)
%128 = call double @cos(double noundef %127) #3
%129 = call double @llvm.fmuladd.f64(double %123, double %128, double %114)
%130 = load double, ptr %53, align 8
%131 = load double, ptr %85, align 8
%132 = load double, ptr %78, align 8
%133 = load double, ptr %86, align 8
%134 = call double @llvm.fmuladd.f64(double %132, double %133, double %131)
%135 = call double @cos(double noundef %134) #3
%136 = fmul double %130, %135
%137 = load double, ptr %65, align 8
%138 = load double, ptr %59, align 8
%139 = load double, ptr %89, align 8
%140 = fmul double %138, %139
%141 = load double, ptr %92, align 8
%142 = call double @llvm.fmuladd.f64(double %140, double %141, double %137)
%143 = call double @cos(double noundef %142) #3
%144 = call double @llvm.fmuladd.f64(double %136, double %143, double %129)
%145 = load double, ptr %49, align 8
%146 = load double, ptr %81, align 8
%147 = load double, ptr %74, align 8
%148 = load double, ptr %86, align 8
%149 = call double @llvm.fmuladd.f64(double %147, double %148, double %146)
%150 = call double @cos(double noundef %149) #3
%151 = fmul double %145, %150
%152 = load double, ptr %61, align 8
%153 = load double, ptr %55, align 8
%154 = load double, ptr %87, align 8
%155 = fmul double %153, %154
%156 = load double, ptr %90, align 8
%157 = call double @llvm.fmuladd.f64(double %155, double %156, double %152)
%158 = call double @cos(double noundef %157) #3
%159 = fmul double %151, %158
%160 = load double, ptr %69, align 8
%161 = load double, ptr %66, align 8
%162 = load double, ptr %88, align 8
%163 = fmul double %161, %162
%164 = load double, ptr %91, align 8
%165 = call double @llvm.fmuladd.f64(double %163, double %164, double %160)
%166 = call double @cos(double noundef %165) #3
%167 = call double @llvm.fmuladd.f64(double %159, double %166, double %144)
%168 = load double, ptr %50, align 8
%169 = load double, ptr %82, align 8
%170 = load double, ptr %75, align 8
%171 = load double, ptr %86, align 8
%172 = call double @llvm.fmuladd.f64(double %170, double %171, double %169)
%173 = call double @cos(double noundef %172) #3
%174 = fmul double %168, %173
%175 = load double, ptr %62, align 8
%176 = load double, ptr %56, align 8
%177 = load double, ptr %87, align 8
%178 = fmul double %176, %177
%179 = load double, ptr %90, align 8
%180 = call double @llvm.fmuladd.f64(double %178, double %179, double %175)
%181 = call double @cos(double noundef %180) #3
%182 = fmul double %174, %181
%183 = load double, ptr %70, align 8
%184 = load double, ptr %67, align 8
%185 = load double, ptr %89, align 8
%186 = fmul double %184, %185
%187 = load double, ptr %92, align 8
%188 = call double @llvm.fmuladd.f64(double %186, double %187, double %183)
%189 = call double @cos(double noundef %188) #3
%190 = call double @llvm.fmuladd.f64(double %182, double %189, double %167)
%191 = load double, ptr %52, align 8
%192 = load double, ptr %84, align 8
%193 = load double, ptr %77, align 8
%194 = load double, ptr %86, align 8
%195 = call double @llvm.fmuladd.f64(double %193, double %194, double %192)
%196 = call double @cos(double noundef %195) #3
%197 = fmul double %191, %196
%198 = load double, ptr %64, align 8
%199 = load double, ptr %58, align 8
%200 = load double, ptr %88, align 8
%201 = fmul double %199, %200
%202 = load double, ptr %91, align 8
%203 = call double @llvm.fmuladd.f64(double %201, double %202, double %198)
%204 = call double @cos(double noundef %203) #3
%205 = fmul double %197, %204
%206 = load double, ptr %71, align 8
%207 = load double, ptr %68, align 8
%208 = load double, ptr %89, align 8
%209 = fmul double %207, %208
%210 = load double, ptr %92, align 8
%211 = call double @llvm.fmuladd.f64(double %209, double %210, double %206)
%212 = call double @cos(double noundef %211) #3
%213 = call double @llvm.fmuladd.f64(double %205, double %212, double %190)
ret double %213
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpedp_o1lu.c'
source_filename = "/tmp/tmpedp_o1lu.c"
target datalayout = "e-m:e-p270: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_storage = type { i64 }
%struct.sockaddr_in6 = type { i32, ptr }
%struct.sockaddr_in = type { i32, ptr }
@AF_INET6 = dso_local global i64 0, align 8
@AF_INET = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_stosockaddr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strchr(ptr noundef %13, i8 noundef signext 58)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i64, ptr @AF_INET6, align 8
br label %20
18: ; preds = %3
%19 = load i64, ptr @AF_INET, align 8
br label %20
20: ; preds = %18, %16
%21 = phi i64 [ %17, %16 ], [ %19, %18 ]
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds %struct.sockaddr_storage, ptr %22, i32 0, i32 0
store i64 %21, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %51
27: ; preds = %20
br label %28
28: ; preds = %40, %27
%29 = load ptr, ptr %9, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load ptr, ptr %9, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %33, %28
%39 = phi i1 [ false, %28 ], [ %37, %33 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %9, align 8
br label %28, !llvm.loop !6
43: ; preds = %38
%44 = load ptr, ptr %9, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 45
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %9, align 8
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %48, %43
br label %80
51: ; preds = %20
%52 = load ptr, ptr %5, align 8
%53 = call i64 @strstr(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %79
55: ; preds = %51
br label %56
56: ; preds = %68, %55
%57 = load ptr, ptr %9, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 47
br i1 %60, label %61, label %66
61: ; preds = %56
%62 = load ptr, ptr %9, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br label %66
66: ; preds = %61, %56
%67 = phi i1 [ false, %56 ], [ %65, %61 ]
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %9, align 8
br label %56, !llvm.loop !8
71: ; preds = %66
%72 = load ptr, ptr %9, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 47
br i1 %75, label %76, label %78
76: ; preds = %71
%77 = load ptr, ptr %9, align 8
store i8 0, ptr %77, align 1
br label %78
78: ; preds = %76, %71
br label %79
79: ; preds = %78, %51
br label %80
80: ; preds = %79, %50
%81 = load ptr, ptr %7, align 8
%82 = getelementptr inbounds %struct.sockaddr_storage, ptr %81, i32 0, i32 0
%83 = load i64, ptr %82, align 8
%84 = load i64, ptr @AF_INET6, align 8
%85 = icmp eq i64 %83, %84
br i1 %85, label %86, label %99
86: ; preds = %80
%87 = load ptr, ptr %7, align 8
store ptr %87, ptr %10, align 8
%88 = load ptr, ptr %6, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %96
90: ; preds = %86
%91 = load ptr, ptr %6, align 8
%92 = call i32 @atoi(ptr noundef %91)
%93 = call ptr @htons(i32 noundef %92)
%94 = load ptr, ptr %10, align 8
%95 = getelementptr inbounds %struct.sockaddr_in6, ptr %94, i32 0, i32 1
store ptr %93, ptr %95, align 8
br label %96
96: ; preds = %90, %86
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds %struct.sockaddr_in6, ptr %97, i32 0, i32 0
store ptr %98, ptr %8, align 8
br label %112
99: ; preds = %80
%100 = load ptr, ptr %7, align 8
store ptr %100, ptr %11, align 8
%101 = load ptr, ptr %6, align 8
%102 = icmp ne ptr %101, null
br i1 %102, label %103, label %109
103: ; preds = %99
%104 = load ptr, ptr %6, align 8
%105 = call i32 @atoi(ptr noundef %104)
%106 = call ptr @htons(i32 noundef %105)
%107 = load ptr, ptr %11, align 8
%108 = getelementptr inbounds %struct.sockaddr_in, ptr %107, i32 0, i32 1
store ptr %106, ptr %108, align 8
br label %109
109: ; preds = %103, %99
%110 = load ptr, ptr %11, align 8
%111 = getelementptr inbounds %struct.sockaddr_in, ptr %110, i32 0, i32 0
store ptr %111, ptr %8, align 8
br label %112
112: ; preds = %109, %96
%113 = load ptr, ptr %7, align 8
%114 = getelementptr inbounds %struct.sockaddr_storage, ptr %113, i32 0, i32 0
%115 = load i64, ptr %114, align 8
%116 = load ptr, ptr %5, align 8
%117 = load ptr, ptr %8, align 8
%118 = call i32 @inet_pton(i64 noundef %115, ptr noundef %116, ptr noundef %117)
%119 = icmp ne i32 %118, 0
br i1 %119, label %121, label %120
120: ; preds = %112
store i32 -1, ptr %4, align 4
br label %122
121: ; preds = %112
store i32 0, ptr %4, align 4
br label %122
122: ; preds = %121, %120
%123 = load i32, ptr %4, align 4
ret i32 %123
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedp_o1lu.c"
target datalayout = "e-m:e-p270: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_storage = type { i64 }
%struct.sockaddr_in6 = type { i32, ptr }
%struct.sockaddr_in = type { i32, ptr }
@AF_INET6 = dso_local global i64 0, align 8
@AF_INET = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_stosockaddr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strchr(ptr noundef %13, i8 noundef signext 58)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i64, ptr @AF_INET6, align 8
br label %20
18: ; preds = %3
%19 = load i64, ptr @AF_INET, align 8
br label %20
20: ; preds = %18, %16
%21 = phi i64 [ %17, %16 ], [ %19, %18 ]
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds %struct.sockaddr_storage, ptr %22, i32 0, i32 0
store i64 %21, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %51
27: ; preds = %20
br label %28
28: ; preds = %40, %27
%29 = load ptr, ptr %9, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load ptr, ptr %9, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %33, %28
%39 = phi i1 [ false, %28 ], [ %37, %33 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %9, align 8
br label %28, !llvm.loop !6
43: ; preds = %38
%44 = load ptr, ptr %9, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 45
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %9, align 8
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %48, %43
br label %80
51: ; preds = %20
%52 = load ptr, ptr %5, align 8
%53 = call i64 @strstr(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %79
55: ; preds = %51
br label %56
56: ; preds = %68, %55
%57 = load ptr, ptr %9, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 47
br i1 %60, label %61, label %66
61: ; preds = %56
%62 = load ptr, ptr %9, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br label %66
66: ; preds = %61, %56
%67 = phi i1 [ false, %56 ], [ %65, %61 ]
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %9, align 8
br label %56, !llvm.loop !8
71: ; preds = %66
%72 = load ptr, ptr %9, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 47
br i1 %75, label %76, label %78
76: ; preds = %71
%77 = load ptr, ptr %9, align 8
store i8 0, ptr %77, align 1
br label %78
78: ; preds = %76, %71
br label %79
79: ; preds = %78, %51
br label %80
80: ; preds = %79, %50
%81 = load ptr, ptr %7, align 8
%82 = getelementptr inbounds %struct.sockaddr_storage, ptr %81, i32 0, i32 0
%83 = load i64, ptr %82, align 8
%84 = load i64, ptr @AF_INET6, align 8
%85 = icmp eq i64 %83, %84
br i1 %85, label %86, label %99
86: ; preds = %80
%87 = load ptr, ptr %7, align 8
store ptr %87, ptr %10, align 8
%88 = load ptr, ptr %6, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %96
90: ; preds = %86
%91 = load ptr, ptr %6, align 8
%92 = call i32 @atoi(ptr noundef %91)
%93 = call ptr @htons(i32 noundef %92)
%94 = load ptr, ptr %10, align 8
%95 = getelementptr inbounds %struct.sockaddr_in6, ptr %94, i32 0, i32 1
store ptr %93, ptr %95, align 8
br label %96
96: ; preds = %90, %86
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds %struct.sockaddr_in6, ptr %97, i32 0, i32 0
store ptr %98, ptr %8, align 8
br label %112
99: ; preds = %80
%100 = load ptr, ptr %7, align 8
store ptr %100, ptr %11, align 8
%101 = load ptr, ptr %6, align 8
%102 = icmp ne ptr %101, null
br i1 %102, label %103, label %109
103: ; preds = %99
%104 = load ptr, ptr %6, align 8
%105 = call i32 @atoi(ptr noundef %104)
%106 = call ptr @htons(i32 noundef %105)
%107 = load ptr, ptr %11, align 8
%108 = getelementptr inbounds %struct.sockaddr_in, ptr %107, i32 0, i32 1
store ptr %106, ptr %108, align 8
br label %109
109: ; preds = %103, %99
%110 = load ptr, ptr %11, align 8
%111 = getelementptr inbounds %struct.sockaddr_in, ptr %110, i32 0, i32 0
store ptr %111, ptr %8, align 8
br label %112
112: ; preds = %109, %96
%113 = load ptr, ptr %7, align 8
%114 = getelementptr inbounds %struct.sockaddr_storage, ptr %113, i32 0, i32 0
%115 = load i64, ptr %114, align 8
%116 = load ptr, ptr %5, align 8
%117 = load ptr, ptr %8, align 8
%118 = call i32 @inet_pton(i64 noundef %115, ptr noundef %116, ptr noundef %117)
%119 = icmp ne i32 %118, 0
br i1 %119, label %121, label %120
120: ; preds = %112
store i32 -1, ptr %4, align 4
br label %122
121: ; preds = %112
store i32 0, ptr %4, align 4
br label %122
122: ; preds = %121, %120
%123 = load i32, ptr %4, align 4
ret i32 %123
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqmc64r91.c'
source_filename = "/tmp/tmpqmc64r91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mixed_eq_ne(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call ptr @malloc(i32 noundef 1)
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = add i32 %9, 1
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %8
br label %21
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = sub i32 %14, 1
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
br label %21
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
br label %21
21: ; preds = %18, %17, %12
ret void
}
declare ptr @malloc(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/tmpqmc64r91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mixed_eq_ne(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call ptr @malloc(i32 noundef 1)
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = add i32 %9, 1
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %8
br label %21
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = sub i32 %14, 1
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
br label %21
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
br label %21
21: ; preds = %18, %17, %12
ret void
}
declare ptr @malloc(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/tmp8qwyjw81.c'
source_filename = "/tmp/tmp8qwyjw81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zstrcpy(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @zstrlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %9
9: ; preds = %26, %2
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @zstrlen(ptr noundef %11)
%13 = icmp sle i32 %10, %12
br i1 %13, label %14, label %29
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
store i8 %19, ptr %25, align 1
br label %26
26: ; preds = %14
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
ret void
}
declare i32 @zstrlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8qwyjw81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zstrcpy(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
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @zstrlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
store i32 1, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @zstrlen(ptr noundef %10)
%12 = icmp sle i32 %9, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
store i8 %18, ptr %24, align 1
br label %25
25: ; preds = %13
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load ptr, ptr %4, align 8
%30 = call i32 @zstrlen(ptr noundef %29)
%31 = icmp sle i32 %28, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %2
ret void
}
declare i32 @zstrlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpicgz5kse.c'
source_filename = "/tmp/tmpicgz5kse.c"
target datalayout = "e-m:e-p270: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/tmpicgz5kse.c"
target datalayout = "e-m:e-p270: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/tmpl4spywce.c'
source_filename = "/tmp/tmpl4spywce.c"
target datalayout = "e-m:e-p270: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/tmpl4spywce.c"
target datalayout = "e-m:e-p270: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/tmpsuhw2rk3.c'
source_filename = "/tmp/tmpsuhw2rk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"The string is: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_something_awesome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsuhw2rk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"The string is: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_something_awesome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3yxfbd7j.c'
source_filename = "/tmp/tmp3yxfbd7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"(%#018lx, \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%#018lx, \00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%#018lx), /* 2^%ld mod 2pi */\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"1000 bits of pi/2:\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%#018lx\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"1000 bits of pi/4:\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Pre-computed 2/pi:\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Pre-computed 1/(pi/1024):\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 double, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @mpfr_init2(i32 noundef %12, i32 noundef 10000)
%14 = load i32, ptr %3, align 4
%15 = call i32 @mpfr_init2(i32 noundef %14, i32 noundef 10000)
%16 = load i32, ptr %4, align 4
%17 = call i32 @mpfr_init2(i32 noundef %16, i32 noundef 10000)
%18 = load i32, ptr %5, align 4
%19 = call i32 @mpfr_init2(i32 noundef %18, i32 noundef 10000)
%20 = load i32, ptr %6, align 4
%21 = call i32 @mpfr_init2(i32 noundef %20, i32 noundef 10000)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr @MPFR_RNDN, align 4
%24 = call i32 @mpfr_const_pi(i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr @MPFR_RNDN, align 4
%28 = call i32 @mpfr_mul_si(i32 noundef %25, i32 noundef %26, i32 noundef 2, i32 noundef %27)
store i64 25, ptr %9, align 8
br label %29
29: ; preds = %88, %0
%30 = load i64, ptr %9, align 8
%31 = icmp sle i64 %30, 1023
br i1 %31, label %32, label %91
32: ; preds = %29
%33 = load i32, ptr %4, align 4
%34 = load i64, ptr %9, align 8
%35 = trunc i64 %34 to i32
%36 = load i32, ptr @MPFR_RNDN, align 4
%37 = call i32 @mpfr_set_si(i32 noundef %33, i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @MPFR_RNDN, align 4
%41 = call i32 @mpfr_exp2(i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr @MPFR_RNDN, align 4
%46 = call i32 @mpfr_fmod(i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr @MPFR_RNDN, align 4
%50 = call i32 @mpfr_set(i32 noundef %47, i32 noundef %48, i32 noundef %49)
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr @MPFR_RNDN, align 4
%53 = call double @mpfr_get_d(i32 noundef %51, i32 noundef %52)
store double %53, ptr %7, align 8
%54 = load i32, ptr %7, align 8
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %55)
%57 = load i32, ptr %5, align 4
%58 = load double, ptr %7, align 8
%59 = load i32, ptr @MPFR_RNDN, align 4
%60 = call i32 @mpfr_set_d(i32 noundef %57, double noundef %58, i32 noundef %59)
%61 = load i32, ptr %4, align 4
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr @MPFR_RNDN, align 4
%65 = call i32 @mpfr_sub(i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64)
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr @MPFR_RNDN, align 4
%68 = call double @mpfr_get_d(i32 noundef %66, i32 noundef %67)
store double %68, ptr %7, align 8
%69 = load i32, ptr %7, align 8
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %70)
%72 = load i32, ptr %5, align 4
%73 = load double, ptr %7, align 8
%74 = load i32, ptr @MPFR_RNDN, align 4
%75 = call i32 @mpfr_set_d(i32 noundef %72, double noundef %73, i32 noundef %74)
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr @MPFR_RNDN, align 4
%80 = call i32 @mpfr_sub(i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79)
%81 = load i32, ptr %4, align 4
%82 = load i32, ptr @MPFR_RNDN, align 4
%83 = call double @mpfr_get_d(i32 noundef %81, i32 noundef %82)
store double %83, ptr %7, align 8
%84 = load i32, ptr %7, align 8
store i32 %84, ptr %8, align 4
%85 = load i32, ptr %8, align 4
%86 = load i64, ptr %9, align 8
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %85, i64 noundef %86)
br label %88
88: ; preds = %32
%89 = load i64, ptr %9, align 8
%90 = add nsw i64 %89, 50
store i64 %90, ptr %9, align 8
br label %29, !llvm.loop !6
91: ; preds = %29
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%94 = load i32, ptr %2, align 4
%95 = load i32, ptr @MPFR_RNDN, align 4
%96 = call i32 @mpfr_const_pi(i32 noundef %94, i32 noundef %95)
%97 = load i32, ptr %2, align 4
%98 = load i32, ptr %2, align 4
%99 = load i32, ptr @MPFR_RNDN, align 4
%100 = call i32 @mpfr_div_si(i32 noundef %97, i32 noundef %98, i32 noundef 2, i32 noundef %99)
store i32 0, ptr %10, align 4
br label %101
101: ; preds = %120, %91
%102 = load i32, ptr %10, align 4
%103 = icmp slt i32 %102, 1000
br i1 %103, label %104, label %123
104: ; preds = %101
%105 = load i32, ptr %2, align 4
%106 = load i32, ptr @MPFR_RNDN, align 4
%107 = call double @mpfr_get_d(i32 noundef %105, i32 noundef %106)
store double %107, ptr %7, align 8
%108 = load i32, ptr %7, align 8
store i32 %108, ptr %8, align 4
%109 = load i32, ptr %8, align 4
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %109)
%111 = load i32, ptr %4, align 4
%112 = load double, ptr %7, align 8
%113 = load i32, ptr @MPFR_RNDN, align 4
%114 = call i32 @mpfr_set_d(i32 noundef %111, double noundef %112, i32 noundef %113)
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr %2, align 4
%117 = load i32, ptr %4, align 4
%118 = load i32, ptr @MPFR_RNDN, align 4
%119 = call i32 @mpfr_sub(i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118)
br label %120
120: ; preds = %104
%121 = load i32, ptr %10, align 4
%122 = add nsw i32 %121, 53
store i32 %122, ptr %10, align 4
br label %101, !llvm.loop !8
123: ; preds = %101
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%126 = load i32, ptr %2, align 4
%127 = load i32, ptr @MPFR_RNDN, align 4
%128 = call i32 @mpfr_const_pi(i32 noundef %126, i32 noundef %127)
%129 = load i32, ptr %2, align 4
%130 = load i32, ptr %2, align 4
%131 = load i32, ptr @MPFR_RNDN, align 4
%132 = call i32 @mpfr_div_si(i32 noundef %129, i32 noundef %130, i32 noundef 4, i32 noundef %131)
store i32 0, ptr %11, align 4
br label %133
133: ; preds = %152, %123
%134 = load i32, ptr %11, align 4
%135 = icmp slt i32 %134, 1000
br i1 %135, label %136, label %155
136: ; preds = %133
%137 = load i32, ptr %2, align 4
%138 = load i32, ptr @MPFR_RNDN, align 4
%139 = call double @mpfr_get_d(i32 noundef %137, i32 noundef %138)
store double %139, ptr %7, align 8
%140 = load i32, ptr %7, align 8
store i32 %140, ptr %8, align 4
%141 = load i32, ptr %8, align 4
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %141)
%143 = load i32, ptr %4, align 4
%144 = load double, ptr %7, align 8
%145 = load i32, ptr @MPFR_RNDN, align 4
%146 = call i32 @mpfr_set_d(i32 noundef %143, double noundef %144, i32 noundef %145)
%147 = load i32, ptr %2, align 4
%148 = load i32, ptr %2, align 4
%149 = load i32, ptr %4, align 4
%150 = load i32, ptr @MPFR_RNDN, align 4
%151 = call i32 @mpfr_sub(i32 noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %150)
br label %152
152: ; preds = %136
%153 = load i32, ptr %11, align 4
%154 = add nsw i32 %153, 53
store i32 %154, ptr %11, align 4
br label %133, !llvm.loop !9
155: ; preds = %133
%156 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%158 = load i32, ptr %2, align 4
%159 = load i32, ptr @MPFR_RNDN, align 4
%160 = call i32 @mpfr_const_pi(i32 noundef %158, i32 noundef %159)
%161 = load i32, ptr %4, align 4
%162 = load i32, ptr @MPFR_RNDN, align 4
%163 = call i32 @mpfr_set_si(i32 noundef %161, i32 noundef 2, i32 noundef %162)
%164 = load i32, ptr %2, align 4
%165 = load i32, ptr %4, align 4
%166 = load i32, ptr %2, align 4
%167 = load i32, ptr @MPFR_RNDN, align 4
%168 = call i32 @mpfr_div(i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167)
%169 = load i32, ptr %2, align 4
%170 = load i32, ptr @MPFR_RNDN, align 4
%171 = call double @mpfr_get_d(i32 noundef %169, i32 noundef %170)
store double %171, ptr %7, align 8
%172 = load i32, ptr %7, align 8
store i32 %172, ptr %8, align 4
%173 = load i32, ptr %8, align 4
%174 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %173)
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%177 = load i32, ptr %2, align 4
%178 = load i32, ptr @MPFR_RNDN, align 4
%179 = call i32 @mpfr_const_pi(i32 noundef %177, i32 noundef %178)
%180 = load i32, ptr %4, align 4
%181 = load i32, ptr @MPFR_RNDN, align 4
%182 = call i32 @mpfr_set_si(i32 noundef %180, i32 noundef 1024, i32 noundef %181)
%183 = load i32, ptr %2, align 4
%184 = load i32, ptr %4, align 4
%185 = load i32, ptr %2, align 4
%186 = load i32, ptr @MPFR_RNDN, align 4
%187 = call i32 @mpfr_div(i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186)
%188 = load i32, ptr %2, align 4
%189 = load i32, ptr @MPFR_RNDN, align 4
%190 = call double @mpfr_get_d(i32 noundef %188, i32 noundef %189)
store double %190, ptr %7, align 8
%191 = load i32, ptr %7, align 8
store i32 %191, ptr %8, align 4
%192 = load i32, ptr %8, align 4
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %192)
ret i32 0
}
declare i32 @mpfr_init2(i32 noundef, i32 noundef) #1
declare i32 @mpfr_const_pi(i32 noundef, i32 noundef) #1
declare i32 @mpfr_mul_si(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_set_si(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_fmod(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_set(i32 noundef, i32 noundef, i32 noundef) #1
declare double @mpfr_get_d(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1
declare i32 @mpfr_sub(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div_si(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3yxfbd7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"(%#018lx, \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%#018lx, \00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%#018lx), /* 2^%ld mod 2pi */\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"1000 bits of pi/2:\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%#018lx\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"1000 bits of pi/4:\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Pre-computed 2/pi:\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Pre-computed 1/(pi/1024):\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 double, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @mpfr_init2(i32 noundef %12, i32 noundef 10000)
%14 = load i32, ptr %3, align 4
%15 = call i32 @mpfr_init2(i32 noundef %14, i32 noundef 10000)
%16 = load i32, ptr %4, align 4
%17 = call i32 @mpfr_init2(i32 noundef %16, i32 noundef 10000)
%18 = load i32, ptr %5, align 4
%19 = call i32 @mpfr_init2(i32 noundef %18, i32 noundef 10000)
%20 = load i32, ptr %6, align 4
%21 = call i32 @mpfr_init2(i32 noundef %20, i32 noundef 10000)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr @MPFR_RNDN, align 4
%24 = call i32 @mpfr_const_pi(i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr @MPFR_RNDN, align 4
%28 = call i32 @mpfr_mul_si(i32 noundef %25, i32 noundef %26, i32 noundef 2, i32 noundef %27)
store i64 25, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp sle i64 %29, 1023
br i1 %30, label %.lr.ph, label %92
.lr.ph: ; preds = %0
br label %31
31: ; preds = %.lr.ph, %87
%32 = load i32, ptr %4, align 4
%33 = load i64, ptr %9, align 8
%34 = trunc i64 %33 to i32
%35 = load i32, ptr @MPFR_RNDN, align 4
%36 = call i32 @mpfr_set_si(i32 noundef %32, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr @MPFR_RNDN, align 4
%40 = call i32 @mpfr_exp2(i32 noundef %37, i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr @MPFR_RNDN, align 4
%45 = call i32 @mpfr_fmod(i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr @MPFR_RNDN, align 4
%49 = call i32 @mpfr_set(i32 noundef %46, i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr @MPFR_RNDN, align 4
%52 = call double @mpfr_get_d(i32 noundef %50, i32 noundef %51)
store double %52, ptr %7, align 8
%53 = load i32, ptr %7, align 8
store i32 %53, ptr %8, align 4
%54 = load i32, ptr %8, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %54)
%56 = load i32, ptr %5, align 4
%57 = load double, ptr %7, align 8
%58 = load i32, ptr @MPFR_RNDN, align 4
%59 = call i32 @mpfr_set_d(i32 noundef %56, double noundef %57, i32 noundef %58)
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %4, align 4
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr @MPFR_RNDN, align 4
%64 = call i32 @mpfr_sub(i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr @MPFR_RNDN, align 4
%67 = call double @mpfr_get_d(i32 noundef %65, i32 noundef %66)
store double %67, ptr %7, align 8
%68 = load i32, ptr %7, align 8
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %69)
%71 = load i32, ptr %5, align 4
%72 = load double, ptr %7, align 8
%73 = load i32, ptr @MPFR_RNDN, align 4
%74 = call i32 @mpfr_set_d(i32 noundef %71, double noundef %72, i32 noundef %73)
%75 = load i32, ptr %4, align 4
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr @MPFR_RNDN, align 4
%79 = call i32 @mpfr_sub(i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %78)
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr @MPFR_RNDN, align 4
%82 = call double @mpfr_get_d(i32 noundef %80, i32 noundef %81)
store double %82, ptr %7, align 8
%83 = load i32, ptr %7, align 8
store i32 %83, ptr %8, align 4
%84 = load i32, ptr %8, align 4
%85 = load i64, ptr %9, align 8
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %84, i64 noundef %85)
br label %87
87: ; preds = %31
%88 = load i64, ptr %9, align 8
%89 = add nsw i64 %88, 50
store i64 %89, ptr %9, align 8
%90 = load i64, ptr %9, align 8
%91 = icmp sle i64 %90, 1023
br i1 %91, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %92
92: ; preds = %._crit_edge, %0
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%95 = load i32, ptr %2, align 4
%96 = load i32, ptr @MPFR_RNDN, align 4
%97 = call i32 @mpfr_const_pi(i32 noundef %95, i32 noundef %96)
%98 = load i32, ptr %2, align 4
%99 = load i32, ptr %2, align 4
%100 = load i32, ptr @MPFR_RNDN, align 4
%101 = call i32 @mpfr_div_si(i32 noundef %98, i32 noundef %99, i32 noundef 2, i32 noundef %100)
store i32 0, ptr %10, align 4
%102 = load i32, ptr %10, align 4
%103 = icmp slt i32 %102, 1000
br i1 %103, label %.lr.ph2, label %125
.lr.ph2: ; preds = %92
br label %104
104: ; preds = %.lr.ph2, %120
%105 = load i32, ptr %2, align 4
%106 = load i32, ptr @MPFR_RNDN, align 4
%107 = call double @mpfr_get_d(i32 noundef %105, i32 noundef %106)
store double %107, ptr %7, align 8
%108 = load i32, ptr %7, align 8
store i32 %108, ptr %8, align 4
%109 = load i32, ptr %8, align 4
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %109)
%111 = load i32, ptr %4, align 4
%112 = load double, ptr %7, align 8
%113 = load i32, ptr @MPFR_RNDN, align 4
%114 = call i32 @mpfr_set_d(i32 noundef %111, double noundef %112, i32 noundef %113)
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr %2, align 4
%117 = load i32, ptr %4, align 4
%118 = load i32, ptr @MPFR_RNDN, align 4
%119 = call i32 @mpfr_sub(i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118)
br label %120
120: ; preds = %104
%121 = load i32, ptr %10, align 4
%122 = add nsw i32 %121, 53
store i32 %122, ptr %10, align 4
%123 = load i32, ptr %10, align 4
%124 = icmp slt i32 %123, 1000
br i1 %124, label %104, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %125
125: ; preds = %._crit_edge3, %92
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%128 = load i32, ptr %2, align 4
%129 = load i32, ptr @MPFR_RNDN, align 4
%130 = call i32 @mpfr_const_pi(i32 noundef %128, i32 noundef %129)
%131 = load i32, ptr %2, align 4
%132 = load i32, ptr %2, align 4
%133 = load i32, ptr @MPFR_RNDN, align 4
%134 = call i32 @mpfr_div_si(i32 noundef %131, i32 noundef %132, i32 noundef 4, i32 noundef %133)
store i32 0, ptr %11, align 4
%135 = load i32, ptr %11, align 4
%136 = icmp slt i32 %135, 1000
br i1 %136, label %.lr.ph5, label %158
.lr.ph5: ; preds = %125
br label %137
137: ; preds = %.lr.ph5, %153
%138 = load i32, ptr %2, align 4
%139 = load i32, ptr @MPFR_RNDN, align 4
%140 = call double @mpfr_get_d(i32 noundef %138, i32 noundef %139)
store double %140, ptr %7, align 8
%141 = load i32, ptr %7, align 8
store i32 %141, ptr %8, align 4
%142 = load i32, ptr %8, align 4
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %142)
%144 = load i32, ptr %4, align 4
%145 = load double, ptr %7, align 8
%146 = load i32, ptr @MPFR_RNDN, align 4
%147 = call i32 @mpfr_set_d(i32 noundef %144, double noundef %145, i32 noundef %146)
%148 = load i32, ptr %2, align 4
%149 = load i32, ptr %2, align 4
%150 = load i32, ptr %4, align 4
%151 = load i32, ptr @MPFR_RNDN, align 4
%152 = call i32 @mpfr_sub(i32 noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151)
br label %153
153: ; preds = %137
%154 = load i32, ptr %11, align 4
%155 = add nsw i32 %154, 53
store i32 %155, ptr %11, align 4
%156 = load i32, ptr %11, align 4
%157 = icmp slt i32 %156, 1000
br i1 %157, label %137, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %153
br label %158
158: ; preds = %._crit_edge6, %125
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%161 = load i32, ptr %2, align 4
%162 = load i32, ptr @MPFR_RNDN, align 4
%163 = call i32 @mpfr_const_pi(i32 noundef %161, i32 noundef %162)
%164 = load i32, ptr %4, align 4
%165 = load i32, ptr @MPFR_RNDN, align 4
%166 = call i32 @mpfr_set_si(i32 noundef %164, i32 noundef 2, i32 noundef %165)
%167 = load i32, ptr %2, align 4
%168 = load i32, ptr %4, align 4
%169 = load i32, ptr %2, align 4
%170 = load i32, ptr @MPFR_RNDN, align 4
%171 = call i32 @mpfr_div(i32 noundef %167, i32 noundef %168, i32 noundef %169, i32 noundef %170)
%172 = load i32, ptr %2, align 4
%173 = load i32, ptr @MPFR_RNDN, align 4
%174 = call double @mpfr_get_d(i32 noundef %172, i32 noundef %173)
store double %174, ptr %7, align 8
%175 = load i32, ptr %7, align 8
store i32 %175, ptr %8, align 4
%176 = load i32, ptr %8, align 4
%177 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %176)
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%180 = load i32, ptr %2, align 4
%181 = load i32, ptr @MPFR_RNDN, align 4
%182 = call i32 @mpfr_const_pi(i32 noundef %180, i32 noundef %181)
%183 = load i32, ptr %4, align 4
%184 = load i32, ptr @MPFR_RNDN, align 4
%185 = call i32 @mpfr_set_si(i32 noundef %183, i32 noundef 1024, i32 noundef %184)
%186 = load i32, ptr %2, align 4
%187 = load i32, ptr %4, align 4
%188 = load i32, ptr %2, align 4
%189 = load i32, ptr @MPFR_RNDN, align 4
%190 = call i32 @mpfr_div(i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef %189)
%191 = load i32, ptr %2, align 4
%192 = load i32, ptr @MPFR_RNDN, align 4
%193 = call double @mpfr_get_d(i32 noundef %191, i32 noundef %192)
store double %193, ptr %7, align 8
%194 = load i32, ptr %7, align 8
store i32 %194, ptr %8, align 4
%195 = load i32, ptr %8, align 4
%196 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %195)
ret i32 0
}
declare i32 @mpfr_init2(i32 noundef, i32 noundef) #1
declare i32 @mpfr_const_pi(i32 noundef, i32 noundef) #1
declare i32 @mpfr_mul_si(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_set_si(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_fmod(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_set(i32 noundef, i32 noundef, i32 noundef) #1
declare double @mpfr_get_d(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1
declare i32 @mpfr_sub(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div_si(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp98ppt33b.c'
source_filename = "/tmp/tmp98ppt33b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"sizeof %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
store i32 11, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98ppt33b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"sizeof %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
store i32 11, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpczcfamps.c'
source_filename = "/tmp/tmpczcfamps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
br label %71
15: ; preds = %2
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 2
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = zext i32 %21 to i64
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %7, align 8
%24 = alloca i32, i64 %22, align 16
store i64 %22, ptr %8, align 8
%25 = load i32, ptr %6, align 4
%26 = zext i32 %25 to i64
%27 = alloca i32, i64 %26, align 16
store i64 %26, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %28
28: ; preds = %41, %15
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %24, i64 %39
store i32 %37, ptr %40, align 4
br label %41
41: ; preds = %32
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
br label %28, !llvm.loop !6
44: ; preds = %28
store i32 0, ptr %11, align 4
br label %45
45: ; preds = %60, %44
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %63
49: ; preds = %45
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %11, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %50, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %27, i64 %58
store i32 %56, ptr %59, align 4
br label %60
60: ; preds = %49
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
br label %45, !llvm.loop !8
63: ; preds = %45
%64 = load i32, ptr %5, align 4
call void @split(i32 noundef %64, ptr noundef %24)
%65 = load i32, ptr %6, align 4
call void @split(i32 noundef %65, ptr noundef %27)
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %6, align 4
%68 = load ptr, ptr %4, align 8
%69 = call i32 @merge(i32 noundef %66, ptr noundef %24, i32 noundef %67, ptr noundef %27, ptr noundef %68)
%70 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %70)
br label %71
71: ; preds = %63, %14
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @merge(i32 noundef, ptr noundef, i32 noundef, 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpczcfamps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
br label %75
15: ; preds = %2
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 2
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = zext i32 %21 to i64
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %7, align 8
%24 = alloca i32, i64 %22, align 16
store i64 %22, ptr %8, align 8
%25 = load i32, ptr %6, align 4
%26 = zext i32 %25 to i64
%27 = alloca i32, i64 %26, align 16
store i64 %26, ptr %9, align 8
store i32 0, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %46
.lr.ph: ; preds = %15
br label %31
31: ; preds = %.lr.ph, %40
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %10, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %24, i64 %38
store i32 %36, ptr %39, align 4
br label %40
40: ; preds = %31
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %15
store i32 0, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph2, label %67
.lr.ph2: ; preds = %46
br label %50
50: ; preds = %.lr.ph2, %61
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %11, align 4
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %51, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %27, i64 %59
store i32 %57, ptr %60, align 4
br label %61
61: ; preds = %50
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %67
67: ; preds = %._crit_edge3, %46
%68 = load i32, ptr %5, align 4
call void @split(i32 noundef %68, ptr noundef %24)
%69 = load i32, ptr %6, align 4
call void @split(i32 noundef %69, ptr noundef %27)
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = load ptr, ptr %4, align 8
%73 = call i32 @merge(i32 noundef %70, ptr noundef %24, i32 noundef %71, ptr noundef %27, ptr noundef %72)
%74 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %74)
br label %75
75: ; preds = %67, %14
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @merge(i32 noundef, ptr noundef, i32 noundef, 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgsrivotn.c'
source_filename = "/tmp/tmpgsrivotn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%s %s -c 1\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ping\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to execute fping command\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"1 received\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ping(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @asprintf(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @popen(ptr noundef %12, ptr noundef @.str.3)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %21
16: ; preds = %1
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.4)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
store i32 -1, ptr %2, align 4
br label %38
21: ; preds = %1
br label %22
22: ; preds = %32, %21
%23 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%24 = load ptr, ptr %6, align 8
%25 = call i64 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 1024, ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%29 = call i64 @strstr(ptr noundef %28, ptr noundef @.str.5)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 0, ptr %2, align 4
br label %38
32: ; preds = %27
br label %22, !llvm.loop !6
33: ; preds = %22
%34 = load ptr, ptr %6, align 8
%35 = call i32 @pclose(ptr noundef %34)
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %4, align 8
%37 = call i32 @free(ptr noundef %36)
store i32 1, ptr %2, align 4
br label %38
38: ; preds = %33, %31, %16
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgsrivotn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%s %s -c 1\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ping\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to execute fping command\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"1 received\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ping(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @asprintf(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @popen(ptr noundef %12, ptr noundef @.str.3)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %21
16: ; preds = %1
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.4)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
store i32 -1, ptr %2, align 4
br label %40
21: ; preds = %1
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = load ptr, ptr %6, align 8
%24 = call i64 @fread(ptr noundef %22, i32 noundef 1, i32 noundef 1024, ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %.lr.ph, label %35
.lr.ph: ; preds = %21
br label %30
26: ; preds = %30
%27 = load ptr, ptr %6, align 8
%28 = call i64 @fread(ptr noundef %22, i32 noundef 1, i32 noundef 1024, ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %._crit_edge, !llvm.loop !6
30: ; preds = %.lr.ph, %26
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.5)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %26
34: ; preds = %30
store i32 0, ptr %2, align 4
br label %40
._crit_edge: ; preds = %26
br label %35
35: ; preds = %._crit_edge, %21
%36 = load ptr, ptr %6, align 8
%37 = call i32 @pclose(ptr noundef %36)
store i32 %37, ptr %7, align 4
%38 = load ptr, ptr %4, align 8
%39 = call i32 @free(ptr noundef %38)
store i32 1, ptr %2, align 4
br label %40
40: ; preds = %35, %34, %16
%41 = load i32, ptr %2, align 4
ret i32 %41
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzd7tcmtn.c'
source_filename = "/tmp/tmpzd7tcmtn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\1B[32msuccess!\0A\1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\1B[31mfailure!\0A\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @success_or_failure(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzd7tcmtn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\1B[32msuccess!\0A\1B[0m\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\1B[31mfailure!\0A\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @success_or_failure(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsoj39hxo.c'
source_filename = "/tmp/tmpsoj39hxo.c"
target datalayout = "e-m:e-p270: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/tmpsoj39hxo.c"
target datalayout = "e-m:e-p270: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/tmpjwwszcr2.c'
source_filename = "/tmp/tmpjwwszcr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_urstrstr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load ptr, ptr %9, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %54
24: ; preds = %5
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 1
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %12, align 8
store i32 0, ptr %11, align 4
br label %31
31: ; preds = %46, %24
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %49
35: ; preds = %31
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = call zeroext i8 @toupper(i8 noundef zeroext %40)
%42 = load ptr, ptr %12, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %35
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
br label %31, !llvm.loop !6
49: ; preds = %31
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
store i8 0, ptr %53, align 1
br label %84
54: ; preds = %5
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 1
%59 = trunc i64 %58 to i32
%60 = call ptr @malloc(i32 noundef %59)
store ptr %60, ptr %12, align 8
store i32 0, ptr %11, align 4
br label %61
61: ; preds = %76, %54
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %79
65: ; preds = %61
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = call zeroext i8 @toupper(i8 noundef zeroext %70)
%72 = load ptr, ptr %12, align 8
%73 = load i32, ptr %11, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
store i8 %71, ptr %75, align 1
br label %76
76: ; preds = %65
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %11, align 4
br label %61, !llvm.loop !8
79: ; preds = %61
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 0, ptr %83, align 1
br label %84
84: ; preds = %79, %49
store i32 0, ptr %11, align 4
br label %85
85: ; preds = %99, %84
%86 = load ptr, ptr %9, align 8
%87 = load i32, ptr %11, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = call zeroext i8 @toupper(i8 noundef zeroext %90)
%92 = load ptr, ptr %13, align 8
%93 = load i32, ptr %11, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 %91, ptr %95, align 1
%96 = zext i8 %91 to i32
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %85
br label %99
99: ; preds = %98
%100 = load i32, ptr %11, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %11, align 4
br label %85, !llvm.loop !9
102: ; preds = %85
%103 = load i32, ptr %6, align 4
%104 = load i32, ptr %7, align 4
%105 = load ptr, ptr %12, align 8
%106 = load ptr, ptr %13, align 8
%107 = load ptr, ptr %10, align 8
%108 = call i32 @e_rstrstr(i32 noundef %103, i32 noundef %104, ptr noundef %105, ptr noundef %106, ptr noundef %107)
store i32 %108, ptr %11, align 4
%109 = load ptr, ptr %12, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load ptr, ptr %13, align 8
%112 = call i32 @free(ptr noundef %111)
%113 = load i32, ptr %11, align 4
ret i32 %113
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare zeroext i8 @toupper(i8 noundef zeroext) #1
declare i32 @e_rstrstr(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwwszcr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_urstrstr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load ptr, ptr %9, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %56
24: ; preds = %5
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 1
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %12, align 8
store i32 0, ptr %11, align 4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %51
.lr.ph2: ; preds = %24
br label %34
34: ; preds = %.lr.ph2, %45
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = call zeroext i8 @toupper(i8 noundef zeroext %39)
%41 = load ptr, ptr %12, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
br label %45
45: ; preds = %34
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %11, align 4
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %34, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %24
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
br label %88
56: ; preds = %5
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = mul i64 %59, 1
%61 = trunc i64 %60 to i32
%62 = call ptr @malloc(i32 noundef %61)
store ptr %62, ptr %12, align 8
store i32 0, ptr %11, align 4
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph, label %83
.lr.ph: ; preds = %56
br label %66
66: ; preds = %.lr.ph, %77
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = call zeroext i8 @toupper(i8 noundef zeroext %71)
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store i8 %72, ptr %76, align 1
br label %77
77: ; preds = %66
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
%80 = load i32, ptr %11, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %66, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %56
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 0, ptr %87, align 1
br label %88
88: ; preds = %83, %51
store i32 0, ptr %11, align 4
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = call zeroext i8 @toupper(i8 noundef zeroext %93)
%95 = load ptr, ptr %13, align 8
%96 = load i32, ptr %11, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %95, i64 %97
store i8 %94, ptr %98, align 1
%99 = zext i8 %94 to i32
%100 = icmp ne i32 %99, 0
br i1 %100, label %.lr.ph5, label %117
.lr.ph5: ; preds = %88
br label %101
101: ; preds = %.lr.ph5, %102
br label %102
102: ; preds = %101
%103 = load i32, ptr %11, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %11, align 4
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %11, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = call zeroext i8 @toupper(i8 noundef zeroext %109)
%111 = load ptr, ptr %13, align 8
%112 = load i32, ptr %11, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store i8 %110, ptr %114, align 1
%115 = zext i8 %110 to i32
%116 = icmp ne i32 %115, 0
br i1 %116, label %101, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %117
117: ; preds = %._crit_edge6, %88
%118 = load i32, ptr %6, align 4
%119 = load i32, ptr %7, align 4
%120 = load ptr, ptr %12, align 8
%121 = load ptr, ptr %13, align 8
%122 = load ptr, ptr %10, align 8
%123 = call i32 @e_rstrstr(i32 noundef %118, i32 noundef %119, ptr noundef %120, ptr noundef %121, ptr noundef %122)
store i32 %123, ptr %11, align 4
%124 = load ptr, ptr %12, align 8
%125 = call i32 @free(ptr noundef %124)
%126 = load ptr, ptr %13, align 8
%127 = call i32 @free(ptr noundef %126)
%128 = load i32, ptr %11, align 4
ret i32 %128
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare zeroext i8 @toupper(i8 noundef zeroext) #1
declare i32 @e_rstrstr(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc_omerae.c'
source_filename = "/tmp/tmpc_omerae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_GetImageSize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7170)
%6 = load ptr, ptr %3, align 8
store i16 %5, ptr %6, align 2
%7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7172)
%8 = load ptr, ptr %4, align 8
store i16 %7, ptr %8, align 2
ret void
}
declare zeroext i16 @VIM_HIF_GetReg16(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/tmpc_omerae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_GetImageSize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7170)
%6 = load ptr, ptr %3, align 8
store i16 %5, ptr %6, align 2
%7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7172)
%8 = load ptr, ptr %4, align 8
store i16 %7, ptr %8, align 2
ret void
}
declare zeroext i16 @VIM_HIF_GetReg16(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/tmpub1edmec.c'
source_filename = "/tmp/tmpub1edmec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_whitespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isspace(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %2, align 8
%16 = icmp ne ptr %14, %15
br i1 %16, label %17, label %24
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = add nsw i64 %21, 1
%23 = call i32 @memmove(ptr noundef %18, ptr noundef %19, i64 noundef %22)
br label %24
24: ; preds = %17, %13
%25 = load ptr, ptr %2, align 8
%26 = call i32 @trim_trailing_whitespace(ptr noundef %25)
ret void
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @trim_trailing_whitespace(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpub1edmec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_whitespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isspace(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %2, align 8
%19 = icmp ne ptr %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i64 @strlen(ptr noundef %23)
%25 = add nsw i64 %24, 1
%26 = call i32 @memmove(ptr noundef %21, ptr noundef %22, i64 noundef %25)
br label %27
27: ; preds = %20, %16
%28 = load ptr, ptr %2, align 8
%29 = call i32 @trim_trailing_whitespace(ptr noundef %28)
ret void
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @trim_trailing_whitespace(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6152h9tn.c'
source_filename = "/tmp/tmp6152h9tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdigits(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %18, %2
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 100
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 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 0, ptr %17, align 4
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
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %44, %21
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %47
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %6, align 1
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = getelementptr inbounds i32, ptr %38, i64 -1
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = sub i64 0, %41
%43 = getelementptr inbounds i32, ptr %39, i64 %42
store i32 %34, ptr %43, align 4
br label %44
44: ; preds = %26
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
br label %22, !llvm.loop !8
47: ; preds = %22
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6152h9tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdigits(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 100
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 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
store i32 0, ptr %16, align 4
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 slt i32 %20, 100
br i1 %21, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
store i32 0, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph2, label %50
.lr.ph2: ; preds = %22
br label %26
26: ; preds = %.lr.ph2, %44
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %6, align 1
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = getelementptr inbounds i32, ptr %38, i64 -1
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = sub i64 0, %41
%43 = getelementptr inbounds i32, ptr %39, i64 %42
store i32 %34, ptr %43, align 4
br label %44
44: ; preds = %26
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %22
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvg_y88y8.c'
source_filename = "/tmp/tmpvg_y88y8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mask now is %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lower_bits(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 32, ptr %5, align 4
store i32 -1, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %15, label %10
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = shl i32 1, %11
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %2
%16 = phi i1 [ true, %2 ], [ %14, %10 ]
%17 = zext i1 %16 to i32
%18 = load i32, ptr %6, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %6, align 4
ret i32 %20
}
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/tmpvg_y88y8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mask now is %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lower_bits(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 32, ptr %5, align 4
store i32 -1, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %15, label %10
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = shl i32 1, %11
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %2
%16 = phi i1 [ true, %2 ], [ %14, %10 ]
%17 = zext i1 %16 to i32
%18 = load i32, ptr %6, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %6, align 4
ret i32 %20
}
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/tmpy1i3tux_.c'
source_filename = "/tmp/tmpy1i3tux_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5505_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 @USBSTK5505_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 @USBSTK5505_wait(i32 noundef 10)
%32 = load i16, ptr %5, align 2
ret i16 %32
}
declare signext i16 @USBSTK5505_I2C_write(i32 noundef, ptr noundef, i32 noundef) #1
declare signext i16 @USBSTK5505_I2C_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @USBSTK5505_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/tmpy1i3tux_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5505_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 @USBSTK5505_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 @USBSTK5505_wait(i32 noundef 10)
%32 = load i16, ptr %5, align 2
ret i16 %32
}
declare signext i16 @USBSTK5505_I2C_write(i32 noundef, ptr noundef, i32 noundef) #1
declare signext i16 @USBSTK5505_I2C_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @USBSTK5505_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/tmp0rlthadw.c'
source_filename = "/tmp/tmp0rlthadw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assume(i32 noundef %5)
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 100
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 0
br label %13
13: ; preds = %10, %7
%14 = phi i1 [ false, %7 ], [ %12, %10 ]
br i1 %14, label %15, label %18
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %7, !llvm.loop !6
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = icmp sge i32 %19, 100
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rlthadw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assume(i32 noundef %5)
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 100
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 0
br label %13
13: ; preds = %10, %7
%14 = phi i1 [ false, %7 ], [ %12, %10 ]
br i1 %14, label %15, label %18
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %7, !llvm.loop !6
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = icmp sge i32 %19, 100
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoxyyss1y.c'
source_filename = "/tmp/tmpoxyyss1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_integer_Good() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
store i32 5, ptr %1, align 4
%4 = call i32 @memcpy(ptr noundef %2, ptr noundef %1, i32 noundef 4)
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %6
store i32 0, ptr %7, align 4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxyyss1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_integer_Good() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
store i32 5, ptr %1, align 4
%4 = call i32 @memcpy(ptr noundef %2, ptr noundef %1, i32 noundef 4)
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %6
store i32 0, ptr %7, align 4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp49pb30yc.c'
source_filename = "/tmp/tmp49pb30yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
@.str.2 = private unnamed_addr constant [81 x i8] c"OK ERR_NODEVICE ERR_BUS ERR_COMMUNICATION ERR_PARAMETER ERR_LENGTH EXTRA(262144)\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"FOLLOWERROR ENCODER PROGRAM_OR_MEM EXTRA(131072)\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"RUN ENABLED FAULTSTOP SAFE_TORQUE_MODE_ACTIVE EXTRA(524288)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 1024, ptr %1, align 8
%6 = call ptr @llvm.stacksave()
store ptr %6, ptr %2, align 8
%7 = alloca i8, i64 1024, align 16
%8 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%9 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 0, i32 noundef 0)
%10 = icmp eq i32 %9, 4
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds i8, ptr %7, i64 0
%14 = load i8, ptr %13, align 16
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = getelementptr inbounds i8, ptr %7, i64 1
%20 = call i64 @verify_bytes(ptr noundef %19, i64 noundef 1023, i32 noundef 170)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 3, i32 noundef 0)
%25 = icmp eq i32 %24, 4
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = call i64 @strcmp(ptr noundef @.str, ptr noundef %7)
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = getelementptr inbounds i8, ptr %7, i64 3
%33 = call i64 @verify_bytes(ptr noundef %32, i64 noundef 1021, i32 noundef 170)
%34 = icmp eq i64 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%38 = icmp eq i32 %37, 4
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = call i64 @memcmp(ptr noundef @.str.1, ptr noundef %7, i32 noundef 4)
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%46 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 262207)
%47 = icmp sgt i32 %46, 0
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
store ptr @.str.2, ptr %3, align 8
%50 = load ptr, ptr %3, align 8
%51 = call i64 @strcmp(ptr noundef %7, ptr noundef %50)
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%56 = call i64 @smDescribeFault(ptr noundef %7, i64 noundef 1024, i32 noundef 131346)
%57 = icmp sgt i64 %56, 0
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 noundef %58)
store ptr @.str.3, ptr %4, align 8
%60 = load ptr, ptr %4, align 8
%61 = call i64 @strcmp(ptr noundef %7, ptr noundef %60)
%62 = icmp eq i64 %61, 0
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 noundef %63)
%65 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%66 = call i64 @smDescribeStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 786488)
%67 = icmp sgt i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 noundef %68)
store ptr @.str.4, ptr %5, align 8
%70 = load ptr, ptr %5, align 8
%71 = call i64 @strcmp(ptr noundef %7, ptr noundef %70)
%72 = icmp eq i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 noundef %73)
%75 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%76 = call i64 @smDescribeStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%77 = icmp eq i64 %76, 0
%78 = zext i1 %77 to i32
%79 = call i32 @assert(i32 noundef %78)
%80 = getelementptr inbounds i8, ptr %7, i64 0
%81 = load i8, ptr %80, align 16
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 0
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 noundef %84)
%86 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%87 = call i64 @smDescribeFault(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%88 = icmp eq i64 %87, 0
%89 = zext i1 %88 to i32
%90 = call i32 @assert(i32 noundef %89)
%91 = getelementptr inbounds i8, ptr %7, i64 0
%92 = load i8, ptr %91, align 16
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 0
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 noundef %95)
%97 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %97)
ret i32 0
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @smDescribeSmStatus(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @verify_bytes(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @smDescribeFault(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @smDescribeStatus(ptr noundef, i64 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp49pb30yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
@.str.2 = private unnamed_addr constant [81 x i8] c"OK ERR_NODEVICE ERR_BUS ERR_COMMUNICATION ERR_PARAMETER ERR_LENGTH EXTRA(262144)\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"FOLLOWERROR ENCODER PROGRAM_OR_MEM EXTRA(131072)\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"RUN ENABLED FAULTSTOP SAFE_TORQUE_MODE_ACTIVE EXTRA(524288)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 1024, ptr %1, align 8
%6 = call ptr @llvm.stacksave()
store ptr %6, ptr %2, align 8
%7 = alloca i8, i64 1024, align 16
%8 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%9 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 0, i32 noundef 0)
%10 = icmp eq i32 %9, 4
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds i8, ptr %7, i64 0
%14 = load i8, ptr %13, align 16
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = getelementptr inbounds i8, ptr %7, i64 1
%20 = call i64 @verify_bytes(ptr noundef %19, i64 noundef 1023, i32 noundef 170)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 3, i32 noundef 0)
%25 = icmp eq i32 %24, 4
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = call i64 @strcmp(ptr noundef @.str, ptr noundef %7)
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = getelementptr inbounds i8, ptr %7, i64 3
%33 = call i64 @verify_bytes(ptr noundef %32, i64 noundef 1021, i32 noundef 170)
%34 = icmp eq i64 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%38 = icmp eq i32 %37, 4
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = call i64 @memcmp(ptr noundef @.str.1, ptr noundef %7, i32 noundef 4)
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%46 = call i32 @smDescribeSmStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 262207)
%47 = icmp sgt i32 %46, 0
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
store ptr @.str.2, ptr %3, align 8
%50 = load ptr, ptr %3, align 8
%51 = call i64 @strcmp(ptr noundef %7, ptr noundef %50)
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%56 = call i64 @smDescribeFault(ptr noundef %7, i64 noundef 1024, i32 noundef 131346)
%57 = icmp sgt i64 %56, 0
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 noundef %58)
store ptr @.str.3, ptr %4, align 8
%60 = load ptr, ptr %4, align 8
%61 = call i64 @strcmp(ptr noundef %7, ptr noundef %60)
%62 = icmp eq i64 %61, 0
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 noundef %63)
%65 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%66 = call i64 @smDescribeStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 786488)
%67 = icmp sgt i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 noundef %68)
store ptr @.str.4, ptr %5, align 8
%70 = load ptr, ptr %5, align 8
%71 = call i64 @strcmp(ptr noundef %7, ptr noundef %70)
%72 = icmp eq i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 noundef %73)
%75 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%76 = call i64 @smDescribeStatus(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%77 = icmp eq i64 %76, 0
%78 = zext i1 %77 to i32
%79 = call i32 @assert(i32 noundef %78)
%80 = getelementptr inbounds i8, ptr %7, i64 0
%81 = load i8, ptr %80, align 16
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 0
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 noundef %84)
%86 = call i32 @memset(ptr noundef %7, i32 noundef 170, i64 noundef 1024)
%87 = call i64 @smDescribeFault(ptr noundef %7, i64 noundef 1024, i32 noundef 0)
%88 = icmp eq i64 %87, 0
%89 = zext i1 %88 to i32
%90 = call i32 @assert(i32 noundef %89)
%91 = getelementptr inbounds i8, ptr %7, i64 0
%92 = load i8, ptr %91, align 16
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 0
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 noundef %95)
%97 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %97)
ret i32 0
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @smDescribeSmStatus(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @verify_bytes(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @smDescribeFault(ptr noundef, i64 noundef, i32 noundef) #2
declare i64 @smDescribeStatus(ptr noundef, i64 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkvfi6qxx.c'
source_filename = "/tmp/tmpkvfi6qxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@errno = 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/tmpkvfi6qxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@errno = 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/tmplzg2szuw.c'
source_filename = "/tmp/tmplzg2szuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comp_module(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @mpz_mul(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret void
}
declare i32 @mpz_mul(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/tmplzg2szuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comp_module(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @mpz_mul(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret void
}
declare i32 @mpz_mul(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/tmpnhlqhc_e.c'
source_filename = "/tmp/tmpnhlqhc_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colorcube() #0 {
%1 = call i32 @polygon(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 1)
%2 = call i32 @polygon(i32 noundef 2, i32 noundef 3, i32 noundef 7, i32 noundef 6)
%3 = call i32 @polygon(i32 noundef 0, i32 noundef 4, i32 noundef 7, i32 noundef 3)
%4 = call i32 @polygon(i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 5)
%5 = call i32 @polygon(i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
%6 = call i32 @polygon(i32 noundef 0, i32 noundef 1, i32 noundef 5, i32 noundef 4)
ret void
}
declare i32 @polygon(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/tmpnhlqhc_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colorcube() #0 {
%1 = call i32 @polygon(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 1)
%2 = call i32 @polygon(i32 noundef 2, i32 noundef 3, i32 noundef 7, i32 noundef 6)
%3 = call i32 @polygon(i32 noundef 0, i32 noundef 4, i32 noundef 7, i32 noundef 3)
%4 = call i32 @polygon(i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 5)
%5 = call i32 @polygon(i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
%6 = call i32 @polygon(i32 noundef 0, i32 noundef 1, i32 noundef 5, i32 noundef 4)
ret void
}
declare i32 @polygon(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/tmpgpfwx78s.c'
source_filename = "/tmp/tmpgpfwx78s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @SH_GetChar() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
br label %3
3: ; preds = %13, %0
%4 = call i64 @SH_DoCommand(i32 noundef 257, i32 noundef 0, ptr noundef %2)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = call i64 @SH_DoCommand(i32 noundef 7, i32 noundef 0, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = trunc i32 %11 to i8
store i8 %12, ptr %1, align 1
br label %15
13: ; preds = %6
br label %3, !llvm.loop !6
14: ; preds = %3
store i8 0, ptr %1, align 1
br label %15
15: ; preds = %14, %9
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i64 @SH_DoCommand(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgpfwx78s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @SH_GetChar() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = call i64 @SH_DoCommand(i32 noundef 257, i32 noundef 0, ptr noundef %2)
%4 = icmp ne i64 %3, 0
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %8
5: ; preds = %8
%6 = call i64 @SH_DoCommand(i32 noundef 257, i32 noundef 0, ptr noundef %2)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %._crit_edge, !llvm.loop !6
8: ; preds = %.lr.ph, %5
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %5
11: ; preds = %8
%12 = call i64 @SH_DoCommand(i32 noundef 7, i32 noundef 0, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = trunc i32 %13 to i8
store i8 %14, ptr %1, align 1
br label %16
._crit_edge: ; preds = %5
br label %15
15: ; preds = %._crit_edge, %0
store i8 0, ptr %1, align 1
br label %16
16: ; preds = %15, %11
%17 = load i8, ptr %1, align 1
ret i8 %17
}
declare i64 @SH_DoCommand(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpboh4dirt.c'
source_filename = "/tmp/tmpboh4dirt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Sum(%d,%d) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Ave(%d,%d) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @sum_ave(i32 noundef %7, i32 noundef %8, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to double
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, double noundef %13)
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load double, ptr %5, align 8
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, double noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sum_ave(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpboh4dirt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Sum(%d,%d) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Ave(%d,%d) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @sum_ave(i32 noundef %7, i32 noundef %8, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to double
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, double noundef %13)
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load double, ptr %5, align 8
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, double noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sum_ave(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbo4cni7d.c'
source_filename = "/tmp/tmpbo4cni7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getline_unlim() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 30, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = mul i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %62, %0
%11 = load i32, ptr %1, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %10
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @feof(i32 noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %13, %10
%19 = phi i1 [ false, %10 ], [ %17, %13 ]
br i1 %19, label %20, label %63
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i64, ptr %2, align 8
%27 = load i32, ptr @stdin, align 4
%28 = call ptr @fgets(ptr noundef %25, i64 noundef %26, i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %43, label %31
31: ; preds = %20
%32 = load i32, ptr @stdin, align 4
%33 = call i32 @feof(i32 noundef %32)
%34 = icmp ne i32 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %31
%36 = load i32, ptr @stderr, align 4
%37 = load i32, ptr @errno, align 4
%38 = call ptr @strerror(i32 noundef %37)
%39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str, ptr noundef %38)
%40 = load i32, ptr @EXIT_FAILURE, align 4
%41 = call i32 @exit(i32 noundef %40) #3
unreachable
42: ; preds = %31
br label %62
43: ; preds = %20
%44 = load ptr, ptr %3, align 8
%45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 10)
store ptr %45, ptr %4, align 8
%46 = load ptr, ptr %4, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %4, align 8
store i8 0, ptr %49, align 1
store i32 1, ptr %1, align 4
br label %61
50: ; preds = %43
%51 = load i64, ptr %2, align 8
%52 = mul i64 %51, 2
store i64 %52, ptr %2, align 8
%53 = load ptr, ptr %3, align 8
%54 = load ptr, ptr %3, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sext i32 %55 to i64
%57 = load i64, ptr %2, align 8
%58 = add i64 %56, %57
%59 = trunc i64 %58 to i32
%60 = call ptr @realloc(ptr noundef %53, i32 noundef %59)
store ptr %60, ptr %3, align 8
br label %61
61: ; preds = %50, %48
br label %62
62: ; preds = %61, %42
br label %10, !llvm.loop !6
63: ; preds = %18
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare i64 @malloc(i64 noundef) #1
declare i32 @feof(i32 noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbo4cni7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getline_unlim() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 30, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = mul i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %62, %0
%11 = load i32, ptr %1, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %10
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @feof(i32 noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %13, %10
%19 = phi i1 [ false, %10 ], [ %17, %13 ]
br i1 %19, label %20, label %63
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i64, ptr %2, align 8
%27 = load i32, ptr @stdin, align 4
%28 = call ptr @fgets(ptr noundef %25, i64 noundef %26, i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %43, label %31
31: ; preds = %20
%32 = load i32, ptr @stdin, align 4
%33 = call i32 @feof(i32 noundef %32)
%34 = icmp ne i32 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %31
%36 = load i32, ptr @stderr, align 4
%37 = load i32, ptr @errno, align 4
%38 = call ptr @strerror(i32 noundef %37)
%39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str, ptr noundef %38)
%40 = load i32, ptr @EXIT_FAILURE, align 4
%41 = call i32 @exit(i32 noundef %40) #3
unreachable
42: ; preds = %31
br label %62
43: ; preds = %20
%44 = load ptr, ptr %3, align 8
%45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 10)
store ptr %45, ptr %4, align 8
%46 = load ptr, ptr %4, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %4, align 8
store i8 0, ptr %49, align 1
store i32 1, ptr %1, align 4
br label %61
50: ; preds = %43
%51 = load i64, ptr %2, align 8
%52 = mul i64 %51, 2
store i64 %52, ptr %2, align 8
%53 = load ptr, ptr %3, align 8
%54 = load ptr, ptr %3, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sext i32 %55 to i64
%57 = load i64, ptr %2, align 8
%58 = add i64 %56, %57
%59 = trunc i64 %58 to i32
%60 = call ptr @realloc(ptr noundef %53, i32 noundef %59)
store ptr %60, ptr %3, align 8
br label %61
61: ; preds = %50, %48
br label %62
62: ; preds = %61, %42
br label %10, !llvm.loop !6
63: ; preds = %18
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare i64 @malloc(i64 noundef) #1
declare i32 @feof(i32 noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy62cqf6x.c'
source_filename = "/tmp/tmpy62cqf6x.c"
target datalayout = "e-m:e-p270: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 double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fir_low_pass(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca double, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%17 = load i64, ptr %8, align 8
%18 = and i64 %17, 1
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %6
%21 = load i64, ptr %8, align 8
%22 = sub i64 %21, 1
store i64 %22, ptr %8, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds double, ptr %23, i64 %24
store double 0.000000e+00, ptr %25, align 8
br label %26
26: ; preds = %20, %6
%27 = load ptr, ptr %7, align 8
%28 = load i64, ptr %8, align 8
%29 = call i32 @kaiser(ptr noundef %27, i64 noundef %28, double noundef 7.000000e+00)
%30 = load i64, ptr %8, align 8
%31 = sub i64 %30, 1
%32 = udiv i64 %31, 2
%33 = trunc i64 %32 to i32
store i32 %33, ptr %14, align 4
%34 = load double, ptr @M_PI, align 8
%35 = fmul double 2.000000e+00, %34
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = load double, ptr %9, align 8
%39 = fdiv double %37, %38
store double %39, ptr %16, align 8
%40 = load i32, ptr %14, align 4
%41 = sub nsw i32 0, %40
store i32 %41, ptr %13, align 4
br label %42
42: ; preds = %83, %26
%43 = load i32, ptr %13, align 4
%44 = load i32, ptr %14, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %86
46: ; preds = %42
%47 = load i32, ptr %13, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %61
49: ; preds = %46
%50 = load double, ptr %16, align 8
%51 = load double, ptr @M_PI, align 8
%52 = fdiv double %50, %51
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %14, align 4
%56 = add nsw i32 %54, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %53, i64 %57
%59 = load double, ptr %58, align 8
%60 = fmul double %59, %52
store double %60, ptr %58, align 8
br label %82
61: ; preds = %46
%62 = load i32, ptr %13, align 4
%63 = sitofp i32 %62 to double
%64 = load double, ptr %16, align 8
%65 = fmul double %63, %64
%66 = fptosi double %65 to i32
%67 = call i32 @sin(i32 noundef %66)
%68 = sitofp i32 %67 to double
%69 = load i32, ptr %13, align 4
%70 = sitofp i32 %69 to double
%71 = load double, ptr @M_PI, align 8
%72 = fmul double %70, %71
%73 = fdiv double %68, %72
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %13, align 4
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %74, i64 %78
%80 = load double, ptr %79, align 8
%81 = fmul double %80, %73
store double %81, ptr %79, align 8
br label %82
82: ; preds = %61, %49
br label %83
83: ; preds = %82
%84 = load i32, ptr %13, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %13, align 4
br label %42, !llvm.loop !6
86: ; preds = %42
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 0, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %87, i64 %90
%92 = load double, ptr %91, align 8
store double %92, ptr %15, align 8
store i32 1, ptr %13, align 4
br label %93
93: ; preds = %107, %86
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %14, align 4
%96 = icmp sle i32 %94, %95
br i1 %96, label %97, label %110
97: ; preds = %93
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %14, align 4
%101 = add nsw i32 %99, %100
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %98, i64 %102
%104 = load double, ptr %103, align 8
%105 = load double, ptr %15, align 8
%106 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %104, double %105)
store double %106, ptr %15, align 8
br label %107
107: ; preds = %97
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %13, align 4
br label %93, !llvm.loop !8
110: ; preds = %93
%111 = load double, ptr %15, align 8
%112 = load double, ptr %12, align 8
%113 = fdiv double %112, %111
store double %113, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %114
114: ; preds = %127, %110
%115 = load i32, ptr %13, align 4
%116 = sext i32 %115 to i64
%117 = load i64, ptr %8, align 8
%118 = icmp ult i64 %116, %117
br i1 %118, label %119, label %130
119: ; preds = %114
%120 = load double, ptr %12, align 8
%121 = load ptr, ptr %7, align 8
%122 = load i32, ptr %13, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = fmul double %125, %120
store double %126, ptr %124, align 8
br label %127
127: ; preds = %119
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %13, align 4
br label %114, !llvm.loop !9
130: ; preds = %114
ret void
}
declare i32 @kaiser(ptr noundef, i64 noundef, double noundef) #1
declare i32 @sin(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy62cqf6x.c"
target datalayout = "e-m:e-p270: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 double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fir_low_pass(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca double, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%17 = load i64, ptr %8, align 8
%18 = and i64 %17, 1
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %6
%21 = load i64, ptr %8, align 8
%22 = sub i64 %21, 1
store i64 %22, ptr %8, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds double, ptr %23, i64 %24
store double 0.000000e+00, ptr %25, align 8
br label %26
26: ; preds = %20, %6
%27 = load ptr, ptr %7, align 8
%28 = load i64, ptr %8, align 8
%29 = call i32 @kaiser(ptr noundef %27, i64 noundef %28, double noundef 7.000000e+00)
%30 = load i64, ptr %8, align 8
%31 = sub i64 %30, 1
%32 = udiv i64 %31, 2
%33 = trunc i64 %32 to i32
store i32 %33, ptr %14, align 4
%34 = load double, ptr @M_PI, align 8
%35 = fmul double 2.000000e+00, %34
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = load double, ptr %9, align 8
%39 = fdiv double %37, %38
store double %39, ptr %16, align 8
%40 = load i32, ptr %14, align 4
%41 = sub nsw i32 0, %40
store i32 %41, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = load i32, ptr %14, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %.lr.ph, label %88
.lr.ph: ; preds = %26
br label %45
45: ; preds = %.lr.ph, %82
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %60
48: ; preds = %45
%49 = load double, ptr %16, align 8
%50 = load double, ptr @M_PI, align 8
%51 = fdiv double %49, %50
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %13, align 4
%54 = load i32, ptr %14, align 4
%55 = add nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %52, i64 %56
%58 = load double, ptr %57, align 8
%59 = fmul double %58, %51
store double %59, ptr %57, align 8
br label %81
60: ; preds = %45
%61 = load i32, ptr %13, align 4
%62 = sitofp i32 %61 to double
%63 = load double, ptr %16, align 8
%64 = fmul double %62, %63
%65 = fptosi double %64 to i32
%66 = call i32 @sin(i32 noundef %65)
%67 = sitofp i32 %66 to double
%68 = load i32, ptr %13, align 4
%69 = sitofp i32 %68 to double
%70 = load double, ptr @M_PI, align 8
%71 = fmul double %69, %70
%72 = fdiv double %67, %71
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %13, align 4
%75 = load i32, ptr %14, align 4
%76 = add nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %73, i64 %77
%79 = load double, ptr %78, align 8
%80 = fmul double %79, %72
store double %80, ptr %78, align 8
br label %81
81: ; preds = %60, %48
br label %82
82: ; preds = %81
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
%85 = load i32, ptr %13, align 4
%86 = load i32, ptr %14, align 4
%87 = icmp sle i32 %85, %86
br i1 %87, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %82
br label %88
88: ; preds = %._crit_edge, %26
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr %14, align 4
%91 = add nsw i32 0, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %89, i64 %92
%94 = load double, ptr %93, align 8
store double %94, ptr %15, align 8
store i32 1, ptr %13, align 4
%95 = load i32, ptr %13, align 4
%96 = load i32, ptr %14, align 4
%97 = icmp sle i32 %95, %96
br i1 %97, label %.lr.ph2, label %114
.lr.ph2: ; preds = %88
br label %98
98: ; preds = %.lr.ph2, %108
%99 = load ptr, ptr %7, align 8
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %14, align 4
%102 = add nsw i32 %100, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %99, i64 %103
%105 = load double, ptr %104, align 8
%106 = load double, ptr %15, align 8
%107 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %105, double %106)
store double %107, ptr %15, align 8
br label %108
108: ; preds = %98
%109 = load i32, ptr %13, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %13, align 4
%111 = load i32, ptr %13, align 4
%112 = load i32, ptr %14, align 4
%113 = icmp sle i32 %111, %112
br i1 %113, label %98, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %108
br label %114
114: ; preds = %._crit_edge3, %88
%115 = load double, ptr %15, align 8
%116 = load double, ptr %12, align 8
%117 = fdiv double %116, %115
store double %117, ptr %12, align 8
store i32 0, ptr %13, align 4
%118 = load i32, ptr %13, align 4
%119 = sext i32 %118 to i64
%120 = load i64, ptr %8, align 8
%121 = icmp ult i64 %119, %120
br i1 %121, label %.lr.ph5, label %137
.lr.ph5: ; preds = %114
br label %122
122: ; preds = %.lr.ph5, %130
%123 = load double, ptr %12, align 8
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %13, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
%128 = load double, ptr %127, align 8
%129 = fmul double %128, %123
store double %129, ptr %127, align 8
br label %130
130: ; preds = %122
%131 = load i32, ptr %13, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %13, align 4
%133 = load i32, ptr %13, align 4
%134 = sext i32 %133 to i64
%135 = load i64, ptr %8, align 8
%136 = icmp ult i64 %134, %135
br i1 %136, label %122, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %130
br label %137
137: ; preds = %._crit_edge6, %114
ret void
}
declare i32 @kaiser(ptr noundef, i64 noundef, double noundef) #1
declare i32 @sin(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvrp68gai.c'
source_filename = "/tmp/tmpvrp68gai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_arglist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 40
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %8, %1
br label %13
13: ; preds = %50, %12
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
%21 = load ptr, ptr %20, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 41
br label %25
25: ; preds = %19, %13
%26 = phi i1 [ false, %13 ], [ %24, %19 ]
br i1 %26, label %27, label %51
27: ; preds = %25
%28 = load ptr, ptr %2, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 37
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %2, align 8
%35 = call i32 @skip_tag(ptr noundef %34)
br label %50
36: ; preds = %27
%37 = load ptr, ptr %2, align 8
%38 = load ptr, ptr %37, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 35
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load ptr, ptr %2, align 8
%44 = call i32 @skip_comment(ptr noundef %43)
br label %49
45: ; preds = %36
%46 = load ptr, ptr %2, align 8
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %46, align 8
br label %49
49: ; preds = %45, %42
br label %50
50: ; preds = %49, %33
br label %13, !llvm.loop !6
51: ; preds = %25
%52 = load ptr, ptr %2, align 8
%53 = load ptr, ptr %52, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 41
br i1 %56, label %57, label %61
57: ; preds = %51
%58 = load ptr, ptr %2, align 8
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %58, align 8
br label %61
61: ; preds = %57, %51
ret void
}
declare i32 @skip_tag(ptr noundef) #1
declare i32 @skip_comment(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvrp68gai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_arglist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 40
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %9, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %8, %1
br label %13
13: ; preds = %50, %12
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load ptr, ptr %2, align 8
%21 = load ptr, ptr %20, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 41
br label %25
25: ; preds = %19, %13
%26 = phi i1 [ false, %13 ], [ %24, %19 ]
br i1 %26, label %27, label %51
27: ; preds = %25
%28 = load ptr, ptr %2, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 37
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %2, align 8
%35 = call i32 @skip_tag(ptr noundef %34)
br label %50
36: ; preds = %27
%37 = load ptr, ptr %2, align 8
%38 = load ptr, ptr %37, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 35
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load ptr, ptr %2, align 8
%44 = call i32 @skip_comment(ptr noundef %43)
br label %49
45: ; preds = %36
%46 = load ptr, ptr %2, align 8
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %46, align 8
br label %49
49: ; preds = %45, %42
br label %50
50: ; preds = %49, %33
br label %13, !llvm.loop !6
51: ; preds = %25
%52 = load ptr, ptr %2, align 8
%53 = load ptr, ptr %52, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 41
br i1 %56, label %57, label %61
57: ; preds = %51
%58 = load ptr, ptr %2, align 8
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %58, align 8
br label %61
61: ; preds = %57, %51
ret void
}
declare i32 @skip_tag(ptr noundef) #1
declare i32 @skip_comment(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsnd4exyd.c'
source_filename = "/tmp/tmpsnd4exyd.c"
target datalayout = "e-m:e-p270: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/tmpsnd4exyd.c"
target datalayout = "e-m:e-p270: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/tmp5s3xe4fr.c'
source_filename = "/tmp/tmp5s3xe4fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5s3xe4fr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeo9pvijq.c'
source_filename = "/tmp/tmpeo9pvijq.c"
target datalayout = "e-m:e-p270: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/tmpeo9pvijq.c"
target datalayout = "e-m:e-p270: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/tmp6omzmkhy.c'
source_filename = "/tmp/tmp6omzmkhy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bar b() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @b() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6omzmkhy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bar b() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @b() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ax3mhlh.c'
source_filename = "/tmp/tmp8ax3mhlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astringPack(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %10, align 8
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i64 @uint32Pack(ptr noundef %10, ptr noundef %14, ptr noundef %15, ptr noundef %16)
%18 = load i64, ptr %9, align 8
%19 = add i64 %18, %17
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %10, align 8
%25 = add i64 %23, %24
%26 = call i32 @size_buffer(ptr noundef %20, ptr noundef %21, i64 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %29, align 8
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i64, ptr %10, align 8
%35 = call i32 @memcpy(ptr noundef %31, ptr noundef %33, i64 noundef %34)
%36 = load i64, ptr %10, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i64, ptr %37, align 8
%39 = add i64 %38, %36
store i64 %39, ptr %37, align 8
%40 = load i64, ptr %10, align 8
%41 = add i64 8, %40
ret i64 %41
}
declare i64 @strlen(ptr noundef) #1
declare i64 @uint32Pack(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @size_buffer(ptr noundef, ptr noundef, 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/tmp8ax3mhlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astringPack(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %10, align 8
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i64 @uint32Pack(ptr noundef %10, ptr noundef %14, ptr noundef %15, ptr noundef %16)
%18 = load i64, ptr %9, align 8
%19 = add i64 %18, %17
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %10, align 8
%25 = add i64 %23, %24
%26 = call i32 @size_buffer(ptr noundef %20, ptr noundef %21, i64 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %29, align 8
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i64, ptr %10, align 8
%35 = call i32 @memcpy(ptr noundef %31, ptr noundef %33, i64 noundef %34)
%36 = load i64, ptr %10, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i64, ptr %37, align 8
%39 = add i64 %38, %36
store i64 %39, ptr %37, align 8
%40 = load i64, ptr %10, align 8
%41 = add i64 8, %40
ret i64 %41
}
declare i64 @strlen(ptr noundef) #1
declare i64 @uint32Pack(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @size_buffer(ptr noundef, ptr noundef, 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/tmpyqwqm2on.c'
source_filename = "/tmp/tmpyqwqm2on.c"
target datalayout = "e-m:e-p270: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/tmpyqwqm2on.c"
target datalayout = "e-m:e-p270: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/tmpy90ovih8.c'
source_filename = "/tmp/tmpy90ovih8.c"
target datalayout = "e-m:e-p270: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/tmpy90ovih8.c"
target datalayout = "e-m:e-p270: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/tmpyv364pp1.c'
source_filename = "/tmp/tmpyv364pp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"argumenty:\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %19, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @puts(ptr noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %23
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyv364pp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"argumenty:\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @puts(ptr noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %25
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvrug4fyr.c'
source_filename = "/tmp/tmpvrug4fyr.c"
target datalayout = "e-m:e-p270: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/tmpvrug4fyr.c"
target datalayout = "e-m:e-p270: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/tmpxt7cd_ft.c'
source_filename = "/tmp/tmpxt7cd_ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %72
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %5, align 8
br label %14
14: ; preds = %20, %12
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 32
br i1 %18, label %19, label %23
19: ; preds = %14
br label %20
20: ; preds = %19
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
br label %14, !llvm.loop !6
23: ; preds = %14
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %23
%29 = call i64 @xmalloc(i64 noundef 1)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %4, align 8
%31 = load ptr, ptr %4, align 8
store i8 0, ptr %31, align 1
br label %70
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %6, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
store ptr %35, ptr %7, align 8
br label %36
36: ; preds = %49, %32
%37 = load ptr, ptr %7, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %52
41: ; preds = %36
%42 = load ptr, ptr %7, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 32
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = load ptr, ptr %7, align 8
store ptr %47, ptr %6, align 8
br label %48
48: ; preds = %46, %41
br label %49
49: ; preds = %48
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %7, align 8
br label %36, !llvm.loop !8
52: ; preds = %36
%53 = load ptr, ptr %6, align 8
%54 = load ptr, ptr %5, align 8
%55 = ptrtoint ptr %53 to i64
%56 = ptrtoint ptr %54 to i64
%57 = sub i64 %55, %56
%58 = add nsw i64 %57, 1
store i64 %58, ptr %8, align 8
%59 = load i64, ptr %8, align 8
%60 = add i64 %59, 1
%61 = call i64 @xmalloc(i64 noundef %60)
%62 = inttoptr i64 %61 to ptr
store ptr %62, ptr %4, align 8
%63 = load ptr, ptr %4, align 8
%64 = load ptr, ptr %5, align 8
%65 = load i64, ptr %8, align 8
%66 = call i32 @memcpy(ptr noundef %63, ptr noundef %64, i64 noundef %65)
%67 = load ptr, ptr %4, align 8
%68 = load i64, ptr %8, align 8
%69 = getelementptr inbounds i8, ptr %67, i64 %68
store i8 0, ptr %69, align 1
br label %70
70: ; preds = %52, %28
%71 = load ptr, ptr %4, align 8
store ptr %71, ptr %2, align 8
br label %72
72: ; preds = %70, %11
%73 = load ptr, ptr %2, align 8
ret ptr %73
}
declare i64 @xmalloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxt7cd_ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %78
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %19
br label %19
19: ; preds = %18
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 32
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %12
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %26
%32 = call i64 @xmalloc(i64 noundef 1)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %4, align 8
store i8 0, ptr %34, align 1
br label %76
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
store ptr %36, ptr %6, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
store ptr %38, ptr %7, align 8
%39 = load ptr, ptr %7, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br i1 %42, label %.lr.ph2, label %58
.lr.ph2: ; preds = %35
br label %43
43: ; preds = %.lr.ph2, %51
%44 = load ptr, ptr %7, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 32
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %7, align 8
store ptr %49, ptr %6, align 8
br label %50
50: ; preds = %48, %43
br label %51
51: ; preds = %50
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %7, align 8
%54 = load ptr, ptr %7, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %58
58: ; preds = %._crit_edge3, %35
%59 = load ptr, ptr %6, align 8
%60 = load ptr, ptr %5, align 8
%61 = ptrtoint ptr %59 to i64
%62 = ptrtoint ptr %60 to i64
%63 = sub i64 %61, %62
%64 = add nsw i64 %63, 1
store i64 %64, ptr %8, align 8
%65 = load i64, ptr %8, align 8
%66 = add i64 %65, 1
%67 = call i64 @xmalloc(i64 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %4, align 8
%69 = load ptr, ptr %4, align 8
%70 = load ptr, ptr %5, align 8
%71 = load i64, ptr %8, align 8
%72 = call i32 @memcpy(ptr noundef %69, ptr noundef %70, i64 noundef %71)
%73 = load ptr, ptr %4, align 8
%74 = load i64, ptr %8, align 8
%75 = getelementptr inbounds i8, ptr %73, i64 %74
store i8 0, ptr %75, align 1
br label %76
76: ; preds = %58, %31
%77 = load ptr, ptr %4, align 8
store ptr %77, ptr %2, align 8
br label %78
78: ; preds = %76, %11
%79 = load ptr, ptr %2, align 8
ret ptr %79
}
declare i64 @xmalloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcygnta78.c'
source_filename = "/tmp/tmpcygnta78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clean_bottom_line(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %16, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = load i32, ptr %5, align 4
%14 = call i32 @mvprintw(i32 noundef %12, i32 noundef %13, ptr noundef @.str)
%15 = call i32 (...) @refresh()
br label %16
16: ; preds = %10
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
ret i32 0
}
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcygnta78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clean_bottom_line(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = load i32, ptr %5, align 4
%13 = call i32 @mvprintw(i32 noundef %11, i32 noundef %12, ptr noundef @.str)
%14 = call i32 (...) @refresh()
br label %15
15: ; preds = %9
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpp5yi0pm2.c'
source_filename = "/tmp/tmpp5yi0pm2.c"
target datalayout = "e-m:e-p270: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/tmpp5yi0pm2.c"
target datalayout = "e-m:e-p270: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/tmpyocxpod4.c'
source_filename = "/tmp/tmpyocxpod4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./arg-printer\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"arguments\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"are\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"useful\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Something went wrong!\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Child process finished with return code %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"fork\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 [10 x ptr], align 16
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
store ptr @.str, ptr %9, align 16
%10 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.1, ptr %10, align 8
%11 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 2
store ptr @.str.2, ptr %11, align 16
%12 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 3
store ptr @.str.3, ptr %12, align 8
%13 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 4
store ptr null, ptr %13, align 16
%14 = call i64 (...) @fork()
store i64 %14, ptr %7, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp eq i64 0, %15
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %18, align 16
%20 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%21 = call i32 @execvp(ptr noundef %19, ptr noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %35
23: ; preds = %2
%24 = load i64, ptr %7, align 8
%25 = icmp slt i64 0, %24
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i64, ptr %7, align 8
%28 = call i32 @waitpid(i64 noundef %27, ptr noundef %8, i32 noundef 0)
%29 = load i32, ptr %8, align 4
%30 = call i32 @WEXITSTATUS(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30)
br label %34
32: ; preds = %23
%33 = call i32 @perror(ptr noundef @.str.6)
br label %34
34: ; preds = %32, %26
br label %35
35: ; preds = %34, %17
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyocxpod4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./arg-printer\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"arguments\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"are\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"useful\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Something went wrong!\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"Child process finished with return code %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"fork\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 [10 x ptr], align 16
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
store ptr @.str, ptr %9, align 16
%10 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.1, ptr %10, align 8
%11 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 2
store ptr @.str.2, ptr %11, align 16
%12 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 3
store ptr @.str.3, ptr %12, align 8
%13 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 4
store ptr null, ptr %13, align 16
%14 = call i64 (...) @fork()
store i64 %14, ptr %7, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp eq i64 0, %15
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %18, align 16
%20 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%21 = call i32 @execvp(ptr noundef %19, ptr noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %35
23: ; preds = %2
%24 = load i64, ptr %7, align 8
%25 = icmp slt i64 0, %24
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i64, ptr %7, align 8
%28 = call i32 @waitpid(i64 noundef %27, ptr noundef %8, i32 noundef 0)
%29 = load i32, ptr %8, align 4
%30 = call i32 @WEXITSTATUS(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30)
br label %34
32: ; preds = %23
%33 = call i32 @perror(ptr noundef @.str.6)
br label %34
34: ; preds = %32, %26
br label %35
35: ; preds = %34, %17
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpies84g_1.c'
source_filename = "/tmp/tmpies84g_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xgetsockname(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getsockname(i32 noundef %11, ptr noundef %12, ptr noundef %7)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %8, align 4
ret i32 %16
}
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpies84g_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xgetsockname(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getsockname(i32 noundef %11, ptr noundef %12, ptr noundef %7)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %8, align 4
ret i32 %16
}
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp91jzhq8q.c'
source_filename = "/tmp/tmp91jzhq8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_uchar(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp91jzhq8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_uchar(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2smz4pep.c'
source_filename = "/tmp/tmp2smz4pep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Sortiran niz naziva je \0A\00", align 1
@.str.1 = 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 [10 x [20 x i8]], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %81, %0
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %23, %9
%11 = call signext i8 (...) @getchar()
store i8 %11, ptr %7, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 19
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i8, ptr %7, align 1
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %17, %14
br label %10, !llvm.loop !6
24: ; preds = %10
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %26
store i8 0, ptr %27, align 1
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %74
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = sub nsw i32 %31, 1
store i32 %32, ptr %6, align 4
store i32 1, ptr %8, align 4
br label %33
33: ; preds = %63, %30
%34 = load i32, ptr %6, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 1
br label %39
39: ; preds = %36, %33
%40 = phi i1 [ false, %33 ], [ %38, %36 ]
br i1 %40, label %41, label %64
41: ; preds = %39
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %43
%45 = getelementptr inbounds [20 x i8], ptr %44, i64 0, i64 0
%46 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%47 = call i64 @strcmp(ptr noundef %45, ptr noundef %46)
%48 = icmp sgt i64 %47, 0
br i1 %48, label %49, label %62
49: ; preds = %41
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %52
%54 = getelementptr inbounds [20 x i8], ptr %53, i64 0, i64 0
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %56
%58 = getelementptr inbounds [20 x i8], ptr %57, i64 0, i64 0
%59 = call i32 @strcpy(ptr noundef %54, ptr noundef %58)
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %6, align 4
br label %63
62: ; preds = %41
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %62, %49
br label %33, !llvm.loop !8
64: ; preds = %39
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %67
%69 = getelementptr inbounds [20 x i8], ptr %68, i64 0, i64 0
%70 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%71 = call i32 @strcpy(ptr noundef %69, ptr noundef %70)
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %4, align 4
br label %74
74: ; preds = %64, %24
br label %75
75: ; preds = %74
%76 = load i32, ptr %4, align 4
%77 = icmp slt i32 %76, 10
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = load i32, ptr %5, align 4
%80 = icmp sgt i32 %79, 0
br label %81
81: ; preds = %78, %75
%82 = phi i1 [ false, %75 ], [ %80, %78 ]
br i1 %82, label %9, label %83, !llvm.loop !9
83: ; preds = %81
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %85
85: ; preds = %95, %83
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp sle i32 %86, %87
br i1 %88, label %89, label %98
89: ; preds = %85
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %91
%93 = getelementptr inbounds [20 x i8], ptr %92, i64 0, i64 0
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %93)
br label %95
95: ; preds = %89
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %6, align 4
br label %85, !llvm.loop !10
98: ; preds = %85
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
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"}
!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/tmp2smz4pep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Sortiran niz naziva je \0A\00", align 1
@.str.1 = 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 [10 x [20 x i8]], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %83, %0
store i32 0, ptr %5, align 4
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %7, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 10
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 19
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = load i8, ptr %7, align 1
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %16, %13
%23 = call signext i8 (...) @getchar()
store i8 %23, ptr %7, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 10
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %26
26: ; preds = %._crit_edge, %9
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %28
store i8 0, ptr %29, align 1
%30 = load i32, ptr %5, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %76
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
store i32 %34, ptr %6, align 4
store i32 1, ptr %8, align 4
br label %35
35: ; preds = %65, %32
%36 = load i32, ptr %6, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = icmp eq i32 %39, 1
br label %41
41: ; preds = %38, %35
%42 = phi i1 [ false, %35 ], [ %40, %38 ]
br i1 %42, label %43, label %66
43: ; preds = %41
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %45
%47 = getelementptr inbounds [20 x i8], ptr %46, i64 0, i64 0
%48 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%49 = call i64 @strcmp(ptr noundef %47, ptr noundef %48)
%50 = icmp sgt i64 %49, 0
br i1 %50, label %51, label %64
51: ; preds = %43
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %54
%56 = getelementptr inbounds [20 x i8], ptr %55, i64 0, i64 0
%57 = load i32, ptr %6, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %58
%60 = getelementptr inbounds [20 x i8], ptr %59, i64 0, i64 0
%61 = call i32 @strcpy(ptr noundef %56, ptr noundef %60)
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %6, align 4
br label %65
64: ; preds = %43
store i32 0, ptr %8, align 4
br label %65
65: ; preds = %64, %51
br label %35, !llvm.loop !8
66: ; preds = %41
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %69
%71 = getelementptr inbounds [20 x i8], ptr %70, i64 0, i64 0
%72 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72)
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %4, align 4
br label %76
76: ; preds = %66, %26
br label %77
77: ; preds = %76
%78 = load i32, ptr %4, align 4
%79 = icmp slt i32 %78, 10
br i1 %79, label %80, label %83
80: ; preds = %77
%81 = load i32, ptr %5, align 4
%82 = icmp sgt i32 %81, 0
br label %83
83: ; preds = %80, %77
%84 = phi i1 [ false, %77 ], [ %82, %80 ]
br i1 %84, label %9, label %85, !llvm.loop !9
85: ; preds = %83
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = load i32, ptr %4, align 4
%89 = icmp sle i32 %87, %88
br i1 %89, label %.lr.ph2, label %102
.lr.ph2: ; preds = %85
br label %90
90: ; preds = %.lr.ph2, %96
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [10 x [20 x i8]], ptr %2, i64 0, i64 %92
%94 = getelementptr inbounds [20 x i8], ptr %93, i64 0, i64 0
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %94)
br label %96
96: ; preds = %90
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %6, align 4
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %4, align 4
%101 = icmp sle i32 %99, %100
br i1 %101, label %90, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %96
br label %102
102: ; preds = %._crit_edge3, %85
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpan07vox1.c'
source_filename = "/tmp/tmpan07vox1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\07\07 %d + %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @add(i32 noundef 10, i32 noundef 20)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef 20, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @add(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/tmpan07vox1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\07\07 %d + %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @add(i32 noundef 10, i32 noundef 20)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef 20, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @add(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/tmpg0mcc6xe.c'
source_filename = "/tmp/tmpg0mcc6xe.c"
target datalayout = "e-m:e-p270: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_storage = type { i32 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SockAPI_TCPAccept(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_storage, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %36
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12
store ptr %6, ptr %5, align 8
br label %16
16: ; preds = %15, %12
store i32 -1, ptr %7, align 4
br label %17
17: ; preds = %16, %31, %33
store i32 4, ptr %8, align 4
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @accept(i32 noundef %18, ptr noundef %19, ptr noundef %8)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %17
br label %34
24: ; preds = %17
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i64, ptr @errno, align 8
%29 = load i64, ptr @EINTR, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %27
br label %17
32: ; preds = %27
store i32 -1, ptr %3, align 4
br label %36
33: ; preds = %24
br label %17
34: ; preds = %23
%35 = load i32, ptr %7, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %34, %32, %11
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg0mcc6xe.c"
target datalayout = "e-m:e-p270: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_storage = type { i32 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SockAPI_TCPAccept(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_storage, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %40
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12
store ptr %6, ptr %5, align 8
br label %16
16: ; preds = %15, %12
store i32 -1, ptr %7, align 4
store i32 4, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @accept(i32 noundef %17, ptr noundef %18, ptr noundef %8)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %.lr.ph
.lr.ph: ; preds = %16
br label %23
._crit_edge: ; preds = %.backedge
br label %22
22: ; preds = %._crit_edge, %16
br label %38
23: ; preds = %.lr.ph, %.backedge
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EINTR, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %26
br label %.backedge
.backedge: ; preds = %30, %37
store i32 4, ptr %8, align 4
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %5, align 8
%33 = call i32 @accept(i32 noundef %31, ptr noundef %32, ptr noundef %8)
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %._crit_edge, label %23
36: ; preds = %26
store i32 -1, ptr %3, align 4
br label %40
37: ; preds = %23
br label %.backedge
38: ; preds = %22
%39 = load i32, ptr %7, align 4
store i32 %39, ptr %3, align 4
br label %40
40: ; preds = %38, %36, %11
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpptvtdzms.c'
source_filename = "/tmp/tmpptvtdzms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = 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/tmpptvtdzms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = 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/tmpymqacpid.c'
source_filename = "/tmp/tmpymqacpid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_getpwnam_malloc\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_getpwnam_malloc() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymqacpid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_getpwnam_malloc\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_getpwnam_malloc() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6_s04u3b.c'
source_filename = "/tmp/tmp6_s04u3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<a name=\22%s\22>%s</a>\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<a name=\22%s\22>%s</a>%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @add_toc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [256 x i8], align 16
%12 = alloca [256 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %5
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = call i32 @add_toc_line(ptr noundef %19, i32 noundef 1, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef 0)
%24 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%25 = load ptr, ptr %6, align 8
%26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%29 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%30 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str, ptr noundef %28, ptr noundef %29)
br label %125
31: ; preds = %5
br label %32
32: ; preds = %120, %31
store i32 1, ptr %15, align 4
store i32 0, ptr %13, align 4
br label %33
33: ; preds = %116, %32
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %13, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %40, label %119
40: ; preds = %33
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %13, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 64
br i1 %47, label %48, label %115
48: ; preds = %40
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %85, %48
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %13, align 4
%52 = load i32, ptr %14, align 4
%53 = add nsw i32 %51, %52
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %50, i64 %55
%57 = load i8, ptr %56, align 1
%58 = call i64 @isalnum(i8 noundef signext %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %71, label %60
60: ; preds = %49
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %14, align 4
%64 = add nsw i32 %62, %63
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %61, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 95
br label %71
71: ; preds = %60, %49
%72 = phi i1 [ true, %49 ], [ %70, %60 ]
br i1 %72, label %73, label %88
73: ; preds = %71
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %13, align 4
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %75, %76
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %74, i64 %79
%81 = load i8, ptr %80, align 1
%82 = load i32, ptr %14, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %83
store i8 %81, ptr %84, align 1
br label %85
85: ; preds = %73
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %14, align 4
br label %49, !llvm.loop !6
88: ; preds = %71
%89 = load i32, ptr %14, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %90
store i8 0, ptr %91, align 1
%92 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = load i32, ptr %10, align 4
%96 = call i32 @add_toc_line(ptr noundef %92, i32 noundef 0, i32 noundef %93, i32 noundef %94, i32 noundef %95, i32 noundef 0)
%97 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%98 = load ptr, ptr %6, align 8
%99 = load i32, ptr %13, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i32, ptr %14, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = getelementptr inbounds i8, ptr %104, i64 1
%106 = call i32 @strcpy(ptr noundef %97, ptr noundef %105)
%107 = load ptr, ptr %6, align 8
%108 = load i32, ptr %13, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%112 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%113 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%114 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %110, ptr noundef @.str.1, ptr noundef %111, ptr noundef %112, ptr noundef %113)
store i32 0, ptr %15, align 4
br label %119
115: ; preds = %40
br label %116
116: ; preds = %115
%117 = load i32, ptr %13, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %13, align 4
br label %33, !llvm.loop !8
119: ; preds = %88, %33
br label %120
120: ; preds = %119
%121 = load i32, ptr %15, align 4
%122 = icmp ne i32 %121, 0
%123 = xor i1 %122, true
br i1 %123, label %32, label %124, !llvm.loop !9
124: ; preds = %120
br label %125
125: ; preds = %124, %18
ret void
}
declare i32 @add_toc_line(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_s04u3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<a name=\22%s\22>%s</a>\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<a name=\22%s\22>%s</a>%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @add_toc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [256 x i8], align 16
%12 = alloca [256 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %5
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = call i32 @add_toc_line(ptr noundef %19, i32 noundef 1, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef 0)
%24 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%25 = load ptr, ptr %6, align 8
%26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%29 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%30 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str, ptr noundef %28, ptr noundef %29)
br label %130
31: ; preds = %5
br label %32
32: ; preds = %125, %31
store i32 1, ptr %15, align 4
store i32 0, ptr %13, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %13, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %32
br label %39
39: ; preds = %.lr.ph, %115
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %13, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 64
br i1 %46, label %47, label %114
47: ; preds = %39
store i32 0, ptr %14, align 4
br label %48
48: ; preds = %84, %47
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %14, align 4
%52 = add nsw i32 %50, %51
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %49, i64 %54
%56 = load i8, ptr %55, align 1
%57 = call i64 @isalnum(i8 noundef signext %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %70, label %59
59: ; preds = %48
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %14, align 4
%63 = add nsw i32 %61, %62
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %60, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 95
br label %70
70: ; preds = %59, %48
%71 = phi i1 [ true, %48 ], [ %69, %59 ]
br i1 %71, label %72, label %87
72: ; preds = %70
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %13, align 4
%75 = load i32, ptr %14, align 4
%76 = add nsw i32 %74, %75
%77 = add nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %73, i64 %78
%80 = load i8, ptr %79, align 1
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %82
store i8 %80, ptr %83, align 1
br label %84
84: ; preds = %72
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %14, align 4
br label %48, !llvm.loop !6
87: ; preds = %70
%88 = load i32, ptr %14, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %89
store i8 0, ptr %90, align 1
%91 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %9, align 4
%94 = load i32, ptr %10, align 4
%95 = call i32 @add_toc_line(ptr noundef %91, i32 noundef 0, i32 noundef %92, i32 noundef %93, i32 noundef %94, i32 noundef 0)
%96 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %13, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i32, ptr %14, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = getelementptr inbounds i8, ptr %103, i64 1
%105 = call i32 @strcpy(ptr noundef %96, ptr noundef %104)
%106 = load ptr, ptr %6, align 8
%107 = load i32, ptr %13, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, ptr %106, i64 %108
%110 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%111 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%112 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%113 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.1, ptr noundef %110, ptr noundef %111, ptr noundef %112)
store i32 0, ptr %15, align 4
br label %124
114: ; preds = %39
br label %115
115: ; preds = %114
%116 = load i32, ptr %13, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %13, align 4
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %13, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i8, ptr %121, align 1
%123 = icmp ne i8 %122, 0
br i1 %123, label %39, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %115
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %32
br label %124
124: ; preds = %.loopexit, %87
br label %125
125: ; preds = %124
%126 = load i32, ptr %15, align 4
%127 = icmp ne i32 %126, 0
%128 = xor i1 %127, true
br i1 %128, label %32, label %129, !llvm.loop !9
129: ; preds = %125
br label %130
130: ; preds = %129, %18
ret void
}
declare i32 @add_toc_line(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp67una0h2.c'
source_filename = "/tmp/tmp67una0h2.c"
target datalayout = "e-m:e-p270: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/tmp67una0h2.c"
target datalayout = "e-m:e-p270: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/tmpqlf93cyw.c'
source_filename = "/tmp/tmpqlf93cyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"user::%c%c%c\0A\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IXUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"group::%c%c%c\0A\00", align 1
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"other::%c%c%c\0A\00", align 1
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"mask::%c%c%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aaip_add_acl_st_mode(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 ptr, align 8
%8 = 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
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @aaip_cleanout_st_mode(ptr noundef %9, ptr noundef %5, i32 noundef 1)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = and i32 %11, 36
%13 = icmp ne i32 %12, 0
br i1 %13, label %43, label %14
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr @S_IRUSR, align 4
%23 = and i32 %21, %22
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 114, i32 45
%27 = trunc i32 %26 to i8
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr @S_IWUSR, align 4
%30 = and i32 %28, %29
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 119, i32 45
%34 = trunc i32 %33 to i8
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr @S_IXUSR, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 120, i32 45
%41 = trunc i32 %40 to i8
%42 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i8 noundef signext %27, i8 noundef signext %34, i8 noundef signext %41)
br label %43
43: ; preds = %14, %3
%44 = load i32, ptr %8, align 4
%45 = and i32 %44, 1042
%46 = icmp ne i32 %45, 0
br i1 %46, label %76, label %47
47: ; preds = %43
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %4, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr @S_IRGRP, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
%58 = zext i1 %57 to i64
%59 = select i1 %57, i32 114, i32 45
%60 = trunc i32 %59 to i8
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr @S_IWGRP, align 4
%63 = and i32 %61, %62
%64 = icmp ne i32 %63, 0
%65 = zext i1 %64 to i64
%66 = select i1 %64, i32 119, i32 45
%67 = trunc i32 %66 to i8
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr @S_IXGRP, align 4
%70 = and i32 %68, %69
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, i32 120, i32 45
%74 = trunc i32 %73 to i8
%75 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.1, i8 noundef signext %60, i8 noundef signext %67, i8 noundef signext %74)
br label %76
76: ; preds = %47, %43
%77 = load i32, ptr %8, align 4
%78 = and i32 %77, 9
%79 = icmp ne i32 %78, 0
br i1 %79, label %109, label %80
80: ; preds = %76
%81 = load ptr, ptr %4, align 8
%82 = load ptr, ptr %4, align 8
%83 = call i32 @strlen(ptr noundef %82)
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %81, i64 %84
store ptr %85, ptr %7, align 8
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr @S_IROTH, align 4
%89 = and i32 %87, %88
%90 = icmp ne i32 %89, 0
%91 = zext i1 %90 to i64
%92 = select i1 %90, i32 114, i32 45
%93 = trunc i32 %92 to i8
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr @S_IWOTH, align 4
%96 = and i32 %94, %95
%97 = icmp ne i32 %96, 0
%98 = zext i1 %97 to i64
%99 = select i1 %97, i32 119, i32 45
%100 = trunc i32 %99 to i8
%101 = load i32, ptr %5, align 4
%102 = load i32, ptr @S_IXOTH, align 4
%103 = and i32 %101, %102
%104 = icmp ne i32 %103, 0
%105 = zext i1 %104 to i64
%106 = select i1 %104, i32 120, i32 45
%107 = trunc i32 %106 to i8
%108 = call i32 @sprintf(ptr noundef %86, ptr noundef @.str.2, i8 noundef signext %93, i8 noundef signext %100, i8 noundef signext %107)
br label %109
109: ; preds = %80, %76
%110 = load i32, ptr %8, align 4
%111 = and i32 %110, 384
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %146
113: ; preds = %109
%114 = load i32, ptr %8, align 4
%115 = and i32 %114, 512
%116 = icmp ne i32 %115, 0
br i1 %116, label %146, label %117
117: ; preds = %113
%118 = load ptr, ptr %4, align 8
%119 = load ptr, ptr %4, align 8
%120 = call i32 @strlen(ptr noundef %119)
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store ptr %122, ptr %7, align 8
%123 = load ptr, ptr %7, align 8
%124 = load i32, ptr %5, align 4
%125 = load i32, ptr @S_IRGRP, align 4
%126 = and i32 %124, %125
%127 = icmp ne i32 %126, 0
%128 = zext i1 %127 to i64
%129 = select i1 %127, i32 114, i32 45
%130 = trunc i32 %129 to i8
%131 = load i32, ptr %5, align 4
%132 = load i32, ptr @S_IWGRP, align 4
%133 = and i32 %131, %132
%134 = icmp ne i32 %133, 0
%135 = zext i1 %134 to i64
%136 = select i1 %134, i32 119, i32 45
%137 = trunc i32 %136 to i8
%138 = load i32, ptr %5, align 4
%139 = load i32, ptr @S_IXGRP, align 4
%140 = and i32 %138, %139
%141 = icmp ne i32 %140, 0
%142 = zext i1 %141 to i64
%143 = select i1 %141, i32 120, i32 45
%144 = trunc i32 %143 to i8
%145 = call i32 @sprintf(ptr noundef %123, ptr noundef @.str.3, i8 noundef signext %130, i8 noundef signext %137, i8 noundef signext %144)
br label %146
146: ; preds = %117, %113, %109
ret i32 1
}
declare i32 @aaip_cleanout_st_mode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqlf93cyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"user::%c%c%c\0A\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IXUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"group::%c%c%c\0A\00", align 1
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"other::%c%c%c\0A\00", align 1
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"mask::%c%c%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aaip_add_acl_st_mode(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 ptr, align 8
%8 = 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
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @aaip_cleanout_st_mode(ptr noundef %9, ptr noundef %5, i32 noundef 1)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = and i32 %11, 36
%13 = icmp ne i32 %12, 0
br i1 %13, label %43, label %14
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr @S_IRUSR, align 4
%23 = and i32 %21, %22
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 114, i32 45
%27 = trunc i32 %26 to i8
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr @S_IWUSR, align 4
%30 = and i32 %28, %29
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 119, i32 45
%34 = trunc i32 %33 to i8
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr @S_IXUSR, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 120, i32 45
%41 = trunc i32 %40 to i8
%42 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i8 noundef signext %27, i8 noundef signext %34, i8 noundef signext %41)
br label %43
43: ; preds = %14, %3
%44 = load i32, ptr %8, align 4
%45 = and i32 %44, 1042
%46 = icmp ne i32 %45, 0
br i1 %46, label %76, label %47
47: ; preds = %43
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %4, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr @S_IRGRP, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
%58 = zext i1 %57 to i64
%59 = select i1 %57, i32 114, i32 45
%60 = trunc i32 %59 to i8
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr @S_IWGRP, align 4
%63 = and i32 %61, %62
%64 = icmp ne i32 %63, 0
%65 = zext i1 %64 to i64
%66 = select i1 %64, i32 119, i32 45
%67 = trunc i32 %66 to i8
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr @S_IXGRP, align 4
%70 = and i32 %68, %69
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, i32 120, i32 45
%74 = trunc i32 %73 to i8
%75 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.1, i8 noundef signext %60, i8 noundef signext %67, i8 noundef signext %74)
br label %76
76: ; preds = %47, %43
%77 = load i32, ptr %8, align 4
%78 = and i32 %77, 9
%79 = icmp ne i32 %78, 0
br i1 %79, label %109, label %80
80: ; preds = %76
%81 = load ptr, ptr %4, align 8
%82 = load ptr, ptr %4, align 8
%83 = call i32 @strlen(ptr noundef %82)
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %81, i64 %84
store ptr %85, ptr %7, align 8
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr @S_IROTH, align 4
%89 = and i32 %87, %88
%90 = icmp ne i32 %89, 0
%91 = zext i1 %90 to i64
%92 = select i1 %90, i32 114, i32 45
%93 = trunc i32 %92 to i8
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr @S_IWOTH, align 4
%96 = and i32 %94, %95
%97 = icmp ne i32 %96, 0
%98 = zext i1 %97 to i64
%99 = select i1 %97, i32 119, i32 45
%100 = trunc i32 %99 to i8
%101 = load i32, ptr %5, align 4
%102 = load i32, ptr @S_IXOTH, align 4
%103 = and i32 %101, %102
%104 = icmp ne i32 %103, 0
%105 = zext i1 %104 to i64
%106 = select i1 %104, i32 120, i32 45
%107 = trunc i32 %106 to i8
%108 = call i32 @sprintf(ptr noundef %86, ptr noundef @.str.2, i8 noundef signext %93, i8 noundef signext %100, i8 noundef signext %107)
br label %109
109: ; preds = %80, %76
%110 = load i32, ptr %8, align 4
%111 = and i32 %110, 384
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %146
113: ; preds = %109
%114 = load i32, ptr %8, align 4
%115 = and i32 %114, 512
%116 = icmp ne i32 %115, 0
br i1 %116, label %146, label %117
117: ; preds = %113
%118 = load ptr, ptr %4, align 8
%119 = load ptr, ptr %4, align 8
%120 = call i32 @strlen(ptr noundef %119)
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store ptr %122, ptr %7, align 8
%123 = load ptr, ptr %7, align 8
%124 = load i32, ptr %5, align 4
%125 = load i32, ptr @S_IRGRP, align 4
%126 = and i32 %124, %125
%127 = icmp ne i32 %126, 0
%128 = zext i1 %127 to i64
%129 = select i1 %127, i32 114, i32 45
%130 = trunc i32 %129 to i8
%131 = load i32, ptr %5, align 4
%132 = load i32, ptr @S_IWGRP, align 4
%133 = and i32 %131, %132
%134 = icmp ne i32 %133, 0
%135 = zext i1 %134 to i64
%136 = select i1 %134, i32 119, i32 45
%137 = trunc i32 %136 to i8
%138 = load i32, ptr %5, align 4
%139 = load i32, ptr @S_IXGRP, align 4
%140 = and i32 %138, %139
%141 = icmp ne i32 %140, 0
%142 = zext i1 %141 to i64
%143 = select i1 %141, i32 120, i32 45
%144 = trunc i32 %143 to i8
%145 = call i32 @sprintf(ptr noundef %123, ptr noundef @.str.3, i8 noundef signext %130, i8 noundef signext %137, i8 noundef signext %144)
br label %146
146: ; preds = %117, %113, %109
ret i32 1
}
declare i32 @aaip_cleanout_st_mode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzpeabe1w.c'
source_filename = "/tmp/tmpzpeabe1w.c"
target datalayout = "e-m:e-p270: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/tmpzpeabe1w.c"
target datalayout = "e-m:e-p270: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/tmpqfhsd83t.c'
source_filename = "/tmp/tmpqfhsd83t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
%struct.aiocb = type { i32, ptr, i32 }
@_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"/tmp/pts_aio_fsync_4_1_%d\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"aio_fsync/4-1.c Error at open(): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"aio_fsync/4-1.c Error at aio_write(): %s\0A\00", align 1
@O_SYNC = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [38 x i8] c"aio_fsync/4-1.c Error at aio_fsync()\0A\00", align 1
@__const.main.completion_wait_ts = private unnamed_addr constant %struct.timespec { i32 0, i32 10000000 }, align 4
@EINPROGRESS = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [43 x i8] c"aio_fsync/4-1.c Error at aio_error() : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"aio_fsync/4-1.c Error at aio_return()\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
%3 = alloca [111 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.aiocb, align 8
%7 = alloca %struct.aiocb, align 8
%8 = alloca %struct.timespec, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4
%10 = call i64 @sysconf(i32 noundef %9)
%11 = icmp slt i64 %10, 200112
br i1 %11, label %12, label %13
12: ; preds = %0
store i32 4, ptr %1, align 4
br label %88
13: ; preds = %0
%14 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%15 = call i32 (...) @getpid()
%16 = call i32 @snprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, i32 noundef %15)
%17 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @unlink(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%20 = load i32, ptr @O_CREAT, align 4
%21 = load i32, ptr @O_RDWR, align 4
%22 = or i32 %20, %21
%23 = load i32, ptr @O_EXCL, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @S_IRUSR, align 4
%26 = load i32, ptr @S_IWUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @open(ptr noundef %19, i32 noundef %24, i32 noundef %27)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %36
31: ; preds = %13
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = call i32 @exit(i32 noundef 2) #4
unreachable
36: ; preds = %13
%37 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%38 = call i32 @unlink(ptr noundef %37)
%39 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24)
%40 = load i32, ptr %4, align 4
%41 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 0
store i32 %40, ptr %41, align 8
%42 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 1
store ptr %42, ptr %43, align 8
%44 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 2
store i32 111, ptr %44, align 8
%45 = call i32 @aio_write(ptr noundef %6)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %52
47: ; preds = %36
%48 = load i32, ptr @errno, align 4
%49 = call ptr @strerror(i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %49)
%51 = call i32 @exit(i32 noundef 1) #4
unreachable
52: ; preds = %36
%53 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 24)
%54 = load i32, ptr %4, align 4
%55 = getelementptr inbounds %struct.aiocb, ptr %7, i32 0, i32 0
store i32 %54, ptr %55, align 8
%56 = load i32, ptr @O_SYNC, align 4
%57 = call i64 @aio_fsync(i32 noundef %56, ptr noundef %7)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %52
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 1) #4
unreachable
62: ; preds = %52
br label %63
63: ; preds = %66, %62
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.completion_wait_ts, i64 8, i1 false)
%64 = call i32 @nanosleep(ptr noundef %8, ptr noundef null)
%65 = call i32 @aio_error(ptr noundef %7)
store i32 %65, ptr %5, align 4
br label %66
66: ; preds = %63
%67 = load i32, ptr %5, align 4
%68 = load i32, ptr @EINPROGRESS, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %63, label %70, !llvm.loop !6
70: ; preds = %66
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = load i32, ptr %5, align 4
%75 = call ptr @strerror(i32 noundef %74)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %75)
%77 = call i32 @exit(i32 noundef 1) #4
unreachable
78: ; preds = %70
%79 = call i64 @aio_return(ptr noundef %7)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%83 = call i32 @exit(i32 noundef 1) #4
unreachable
84: ; preds = %78
%85 = load i32, ptr %4, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %88
88: ; preds = %84, %12
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i64 @sysconf(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @aio_write(ptr noundef) #1
declare i64 @aio_fsync(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @aio_error(ptr noundef) #1
declare i64 @aio_return(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfhsd83t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
%struct.aiocb = type { i32, ptr, i32 }
@_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"/tmp/pts_aio_fsync_4_1_%d\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"aio_fsync/4-1.c Error at open(): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"aio_fsync/4-1.c Error at aio_write(): %s\0A\00", align 1
@O_SYNC = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [38 x i8] c"aio_fsync/4-1.c Error at aio_fsync()\0A\00", align 1
@__const.main.completion_wait_ts = private unnamed_addr constant %struct.timespec { i32 0, i32 10000000 }, align 4
@EINPROGRESS = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [43 x i8] c"aio_fsync/4-1.c Error at aio_error() : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"aio_fsync/4-1.c Error at aio_return()\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
%3 = alloca [111 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.aiocb, align 8
%7 = alloca %struct.aiocb, align 8
%8 = alloca %struct.timespec, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4
%10 = call i64 @sysconf(i32 noundef %9)
%11 = icmp slt i64 %10, 200112
br i1 %11, label %12, label %13
12: ; preds = %0
store i32 4, ptr %1, align 4
br label %88
13: ; preds = %0
%14 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%15 = call i32 (...) @getpid()
%16 = call i32 @snprintf(ptr noundef %14, i32 noundef 256, ptr noundef @.str, i32 noundef %15)
%17 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @unlink(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%20 = load i32, ptr @O_CREAT, align 4
%21 = load i32, ptr @O_RDWR, align 4
%22 = or i32 %20, %21
%23 = load i32, ptr @O_EXCL, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @S_IRUSR, align 4
%26 = load i32, ptr @S_IWUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @open(ptr noundef %19, i32 noundef %24, i32 noundef %27)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %36
31: ; preds = %13
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = call i32 @exit(i32 noundef 2) #4
unreachable
36: ; preds = %13
%37 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%38 = call i32 @unlink(ptr noundef %37)
%39 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24)
%40 = load i32, ptr %4, align 4
%41 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 0
store i32 %40, ptr %41, align 8
%42 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 1
store ptr %42, ptr %43, align 8
%44 = getelementptr inbounds %struct.aiocb, ptr %6, i32 0, i32 2
store i32 111, ptr %44, align 8
%45 = call i32 @aio_write(ptr noundef %6)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %52
47: ; preds = %36
%48 = load i32, ptr @errno, align 4
%49 = call ptr @strerror(i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %49)
%51 = call i32 @exit(i32 noundef 1) #4
unreachable
52: ; preds = %36
%53 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 24)
%54 = load i32, ptr %4, align 4
%55 = getelementptr inbounds %struct.aiocb, ptr %7, i32 0, i32 0
store i32 %54, ptr %55, align 8
%56 = load i32, ptr @O_SYNC, align 4
%57 = call i64 @aio_fsync(i32 noundef %56, ptr noundef %7)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %52
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 1) #4
unreachable
62: ; preds = %52
br label %63
63: ; preds = %66, %62
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.completion_wait_ts, i64 8, i1 false)
%64 = call i32 @nanosleep(ptr noundef %8, ptr noundef null)
%65 = call i32 @aio_error(ptr noundef %7)
store i32 %65, ptr %5, align 4
br label %66
66: ; preds = %63
%67 = load i32, ptr %5, align 4
%68 = load i32, ptr @EINPROGRESS, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %63, label %70, !llvm.loop !6
70: ; preds = %66
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = load i32, ptr %5, align 4
%75 = call ptr @strerror(i32 noundef %74)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %75)
%77 = call i32 @exit(i32 noundef 1) #4
unreachable
78: ; preds = %70
%79 = call i64 @aio_return(ptr noundef %7)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%83 = call i32 @exit(i32 noundef 1) #4
unreachable
84: ; preds = %78
%85 = load i32, ptr %4, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %88
88: ; preds = %84, %12
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i64 @sysconf(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @aio_write(ptr noundef) #1
declare i64 @aio_fsync(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @aio_error(ptr noundef) #1
declare i64 @aio_return(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc9qqmvnq.c'
source_filename = "/tmp/tmpc9qqmvnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"non-printable character %hhd found. check your input.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @encrypt(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 33, ptr %4, align 1
store i8 126, ptr %5, align 1
%7 = load i8, ptr %3, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 32
br i1 %9, label %22, label %10
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %22, label %14
14: ; preds = %10
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 13
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %24
22: ; preds = %18, %14, %10, %1
%23 = load i8, ptr %3, align 1
store i8 %23, ptr %2, align 1
br label %52
24: ; preds = %18
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = icmp slt i32 %26, 33
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i8, ptr %3, align 1
%30 = sext i8 %29 to i32
%31 = icmp sgt i32 %30, 126
br i1 %31, label %32, label %38
32: ; preds = %28, %24
%33 = load i32, ptr @stdout, align 4
%34 = load i8, ptr %3, align 1
%35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, i8 noundef signext %34)
%36 = load i32, ptr @EXIT_FAILURE, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
38: ; preds = %28
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 5
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp sgt i32 %43, 126
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %46, 126
%48 = add nsw i32 33, %47
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %45, %38
%50 = load i32, ptr %6, align 4
%51 = trunc i32 %50 to i8
store i8 %51, ptr %2, align 1
br label %52
52: ; preds = %49, %22
%53 = load i8, ptr %2, align 1
ret i8 %53
}
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #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/tmpc9qqmvnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"non-printable character %hhd found. check your input.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @encrypt(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 33, ptr %4, align 1
store i8 126, ptr %5, align 1
%7 = load i8, ptr %3, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 32
br i1 %9, label %22, label %10
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %22, label %14
14: ; preds = %10
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 13
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %24
22: ; preds = %18, %14, %10, %1
%23 = load i8, ptr %3, align 1
store i8 %23, ptr %2, align 1
br label %52
24: ; preds = %18
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = icmp slt i32 %26, 33
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i8, ptr %3, align 1
%30 = sext i8 %29 to i32
%31 = icmp sgt i32 %30, 126
br i1 %31, label %32, label %38
32: ; preds = %28, %24
%33 = load i32, ptr @stdout, align 4
%34 = load i8, ptr %3, align 1
%35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, i8 noundef signext %34)
%36 = load i32, ptr @EXIT_FAILURE, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
38: ; preds = %28
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 5
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp sgt i32 %43, 126
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %46, 126
%48 = add nsw i32 33, %47
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %45, %38
%50 = load i32, ptr %6, align 4
%51 = trunc i32 %50 to i8
store i8 %51, ptr %2, align 1
br label %52
52: ; preds = %49, %22
%53 = load i8, ptr %2, align 1
ret i8 %53
}
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #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/tmp9_5se1xi.c'
source_filename = "/tmp/tmp9_5se1xi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"2 + %d = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 2, %4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 2, %7
ret i32 %8
}
declare i32 @printf(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/tmp9_5se1xi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"2 + %d = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 2, %4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 2, %7
ret i32 %8
}
declare i32 @printf(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/tmp7q741hkz.c'
source_filename = "/tmp/tmp7q741hkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_arc(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = and i32 %9, 504
%11 = or i32 %10, 2
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %8, align 8
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @add_el_full(ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @add_el_full(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7q741hkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_arc(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = and i32 %9, 504
%11 = or i32 %10, 2
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %8, align 8
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @add_el_full(ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @add_el_full(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpblv7kjgq.c'
source_filename = "/tmp/tmpblv7kjgq.c"
target datalayout = "e-m:e-p270: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/tmpblv7kjgq.c"
target datalayout = "e-m:e-p270: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/tmpkwzi_gud.c'
source_filename = "/tmp/tmpkwzi_gud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Teste of randomScore()...\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Found: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_randomScore() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%3 = call i32 @randomScore(ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @randomScore(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkwzi_gud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Teste of randomScore()...\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Found: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_randomScore() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%3 = call i32 @randomScore(ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @randomScore(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ky4hbqj.c'
source_filename = "/tmp/tmp0ky4hbqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prologue_epilogue_16(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15) #0 {
%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
store i32 %0, ptr %17, align 4
store i32 %1, ptr %18, align 4
store i32 %2, ptr %19, align 4
store i32 %3, ptr %20, align 4
store i32 %4, ptr %21, align 4
store i32 %5, ptr %22, align 4
store i32 %6, ptr %23, align 4
store i32 %7, ptr %24, align 4
store i32 %8, ptr %25, align 4
store i32 %9, ptr %26, align 4
store i32 %10, ptr %27, align 4
store i32 %11, ptr %28, align 4
store i32 %12, ptr %29, align 4
store i32 %13, ptr %30, align 4
store i32 %14, ptr %31, align 4
store i32 %15, ptr %32, align 4
%37 = load i32, ptr %17, align 4
%38 = load i32, ptr %18, align 4
%39 = load i32, ptr %19, align 4
%40 = load i32, ptr %20, align 4
%41 = call i32 @do_some_job(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %33, align 4
%42 = load i32, ptr %21, align 4
%43 = load i32, ptr %22, align 4
%44 = load i32, ptr %23, align 4
%45 = load i32, ptr %24, align 4
%46 = call i32 @do_some_job(i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45)
store i32 %46, ptr %34, align 4
%47 = load i32, ptr %25, align 4
%48 = load i32, ptr %26, align 4
%49 = load i32, ptr %27, align 4
%50 = load i32, ptr %28, align 4
%51 = call i32 @do_some_job(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
store i32 %51, ptr %35, align 4
%52 = load i32, ptr %29, align 4
%53 = load i32, ptr %30, align 4
%54 = load i32, ptr %31, align 4
%55 = load i32, ptr %32, align 4
%56 = call i32 @do_some_job(i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55)
store i32 %56, ptr %36, align 4
%57 = load i32, ptr %33, align 4
%58 = load i32, ptr %34, align 4
%59 = add nsw i32 %57, %58
%60 = load i32, ptr %35, align 4
%61 = add nsw i32 %59, %60
%62 = load i32, ptr %36, align 4
%63 = add nsw i32 %61, %62
ret i32 %63
}
declare i32 @do_some_job(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/tmp0ky4hbqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prologue_epilogue_16(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15) #0 {
%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
store i32 %0, ptr %17, align 4
store i32 %1, ptr %18, align 4
store i32 %2, ptr %19, align 4
store i32 %3, ptr %20, align 4
store i32 %4, ptr %21, align 4
store i32 %5, ptr %22, align 4
store i32 %6, ptr %23, align 4
store i32 %7, ptr %24, align 4
store i32 %8, ptr %25, align 4
store i32 %9, ptr %26, align 4
store i32 %10, ptr %27, align 4
store i32 %11, ptr %28, align 4
store i32 %12, ptr %29, align 4
store i32 %13, ptr %30, align 4
store i32 %14, ptr %31, align 4
store i32 %15, ptr %32, align 4
%37 = load i32, ptr %17, align 4
%38 = load i32, ptr %18, align 4
%39 = load i32, ptr %19, align 4
%40 = load i32, ptr %20, align 4
%41 = call i32 @do_some_job(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %33, align 4
%42 = load i32, ptr %21, align 4
%43 = load i32, ptr %22, align 4
%44 = load i32, ptr %23, align 4
%45 = load i32, ptr %24, align 4
%46 = call i32 @do_some_job(i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45)
store i32 %46, ptr %34, align 4
%47 = load i32, ptr %25, align 4
%48 = load i32, ptr %26, align 4
%49 = load i32, ptr %27, align 4
%50 = load i32, ptr %28, align 4
%51 = call i32 @do_some_job(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
store i32 %51, ptr %35, align 4
%52 = load i32, ptr %29, align 4
%53 = load i32, ptr %30, align 4
%54 = load i32, ptr %31, align 4
%55 = load i32, ptr %32, align 4
%56 = call i32 @do_some_job(i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55)
store i32 %56, ptr %36, align 4
%57 = load i32, ptr %33, align 4
%58 = load i32, ptr %34, align 4
%59 = add nsw i32 %57, %58
%60 = load i32, ptr %35, align 4
%61 = add nsw i32 %59, %60
%62 = load i32, ptr %36, align 4
%63 = add nsw i32 %61, %62
ret i32 %63
}
declare i32 @do_some_job(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/tmpicfyt2ji.c'
source_filename = "/tmp/tmpicfyt2ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mtd1ro\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cal_init(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 @cal_init_file(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
declare i32 @cal_init_file(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/tmpicfyt2ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mtd1ro\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cal_init(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 @cal_init_file(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
declare i32 @cal_init_file(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/tmp274h20nv.c'
source_filename = "/tmp/tmp274h20nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interp3_table1_real_per_adj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%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 ptr, align 8
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%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 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 i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca double, align 8
%53 = alloca i32, align 4
%54 = alloca double, align 8
%55 = alloca ptr, align 8
%56 = alloca double, align 8
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca i32, align 4
%62 = alloca double, align 8
%63 = alloca i32, align 4
%64 = alloca double, align 8
%65 = alloca ptr, align 8
%66 = alloca double, align 8
%67 = alloca i32, align 4
%68 = alloca i32, align 4
%69 = alloca i32, align 4
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca i32, align 4
%73 = alloca double, align 8
%74 = alloca i32, align 4
%75 = alloca double, align 8
%76 = alloca ptr, align 8
%77 = alloca double, align 8
%78 = alloca i32, align 4
%79 = alloca i32, align 4
%80 = alloca i32, align 4
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i32 %2, ptr %21, align 4
store i32 %3, ptr %22, align 4
store i32 %4, ptr %23, align 4
store ptr %5, ptr %24, align 8
store ptr %6, ptr %25, align 8
store ptr %7, ptr %26, align 8
store i32 %8, ptr %27, align 4
store i32 %9, ptr %28, align 4
store i32 %10, ptr %29, align 4
store i32 %11, ptr %30, align 4
store i32 %12, ptr %31, align 4
store i32 %13, ptr %32, align 4
store ptr %14, ptr %33, align 8
store i32 %15, ptr %34, align 4
store ptr %16, ptr %35, align 8
store ptr %17, ptr %36, align 8
%81 = load i32, ptr %27, align 4
%82 = load i32, ptr %30, align 4
%83 = mul nsw i32 %81, %82
%84 = sdiv i32 %83, 2
%85 = call i32 @floor(i32 noundef %84)
store i32 %85, ptr %38, align 4
%86 = load i32, ptr %38, align 4
%87 = load ptr, ptr %24, align 8
%88 = sext i32 %86 to i64
%89 = getelementptr inbounds double, ptr %87, i64 %88
store ptr %89, ptr %24, align 8
%90 = load i32, ptr %28, align 4
%91 = load i32, ptr %31, align 4
%92 = mul nsw i32 %90, %91
%93 = sdiv i32 %92, 2
%94 = call i32 @floor(i32 noundef %93)
store i32 %94, ptr %39, align 4
%95 = load i32, ptr %39, align 4
%96 = load ptr, ptr %25, align 8
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds double, ptr %96, i64 %97
store ptr %98, ptr %25, align 8
%99 = load i32, ptr %29, align 4
%100 = load i32, ptr %32, align 4
%101 = mul nsw i32 %99, %100
%102 = sdiv i32 %101, 2
%103 = call i32 @floor(i32 noundef %102)
store i32 %103, ptr %40, align 4
%104 = load i32, ptr %40, align 4
%105 = load ptr, ptr %26, align 8
%106 = sext i32 %104 to i64
%107 = getelementptr inbounds double, ptr %105, i64 %106
store ptr %107, ptr %26, align 8
%108 = load ptr, ptr %19, align 8
%109 = load i32, ptr %21, align 4
%110 = load i32, ptr %22, align 4
%111 = mul nsw i32 %109, %110
%112 = load i32, ptr %23, align 4
%113 = mul nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = mul i64 %114, 8
%116 = trunc i64 %115 to i32
%117 = call i32 @memset(ptr noundef %108, i32 noundef 0, i32 noundef %116)
%118 = load ptr, ptr %20, align 8
%119 = load i32, ptr %21, align 4
%120 = load i32, ptr %22, align 4
%121 = mul nsw i32 %119, %120
%122 = load i32, ptr %23, align 4
%123 = mul nsw i32 %121, %122
%124 = sext i32 %123 to i64
%125 = mul i64 %124, 8
%126 = trunc i64 %125 to i32
%127 = call i32 @memset(ptr noundef %118, i32 noundef 0, i32 noundef %126)
store i32 0, ptr %37, align 4
br label %128
128: ; preds = %370, %18
%129 = load i32, ptr %37, align 4
%130 = load i32, ptr %34, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %132, label %373
132: ; preds = %128
%133 = load ptr, ptr %33, align 8
%134 = load i32, ptr %34, align 4
%135 = mul nsw i32 2, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %133, i64 %136
%138 = load double, ptr %137, align 8
store double %138, ptr %44, align 8
%139 = load ptr, ptr %33, align 8
%140 = load i32, ptr %34, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
%143 = load double, ptr %142, align 8
store double %143, ptr %45, align 8
%144 = load ptr, ptr %33, align 8
%145 = getelementptr inbounds double, ptr %144, i32 1
store ptr %145, ptr %33, align 8
%146 = load double, ptr %144, align 8
store double %146, ptr %46, align 8
%147 = load ptr, ptr %35, align 8
%148 = getelementptr inbounds double, ptr %147, i32 1
store ptr %148, ptr %35, align 8
%149 = load double, ptr %147, align 8
store double %149, ptr %47, align 8
%150 = load ptr, ptr %36, align 8
%151 = getelementptr inbounds double, ptr %150, i32 1
store ptr %151, ptr %36, align 8
%152 = load double, ptr %150, align 8
store double %152, ptr %48, align 8
%153 = load double, ptr %46, align 8
%154 = load i32, ptr %27, align 4
%155 = sitofp i32 %154 to double
%156 = fdiv double %155, 2.000000e+00
%157 = fsub double %153, %156
%158 = fptosi double %157 to i32
%159 = call i32 @floor(i32 noundef %158)
%160 = add nsw i32 1, %159
store i32 %160, ptr %49, align 4
%161 = load double, ptr %45, align 8
%162 = load i32, ptr %28, align 4
%163 = sitofp i32 %162 to double
%164 = fdiv double %163, 2.000000e+00
%165 = fsub double %161, %164
%166 = fptosi double %165 to i32
%167 = call i32 @floor(i32 noundef %166)
%168 = add nsw i32 1, %167
store i32 %168, ptr %50, align 4
%169 = load double, ptr %44, align 8
%170 = load i32, ptr %29, align 4
%171 = sitofp i32 %170 to double
%172 = fdiv double %171, 2.000000e+00
%173 = fsub double %169, %172
%174 = fptosi double %173 to i32
%175 = call i32 @floor(i32 noundef %174)
%176 = add nsw i32 1, %175
store i32 %176, ptr %51, align 4
store i32 0, ptr %43, align 4
br label %177
177: ; preds = %364, %132
%178 = load i32, ptr %43, align 4
%179 = load i32, ptr %29, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %181, label %369
181: ; preds = %177
%182 = load double, ptr %44, align 8
%183 = load i32, ptr %51, align 4
%184 = sitofp i32 %183 to double
%185 = fsub double %182, %184
%186 = load i32, ptr %32, align 4
%187 = sitofp i32 %186 to double
%188 = fmul double %185, %187
store double %188, ptr %52, align 8
%189 = load double, ptr %52, align 8
%190 = fptosi double %189 to i32
%191 = call i32 @floor(i32 noundef %190)
store i32 %191, ptr %53, align 4
%192 = load double, ptr %52, align 8
%193 = load i32, ptr %53, align 4
%194 = sitofp i32 %193 to double
%195 = fsub double %192, %194
store double %195, ptr %54, align 8
%196 = load ptr, ptr %26, align 8
%197 = load i32, ptr %53, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %196, i64 %198
store ptr %199, ptr %55, align 8
%200 = load double, ptr %54, align 8
%201 = fsub double 1.000000e+00, %200
%202 = load ptr, ptr %55, align 8
%203 = load double, ptr %202, align 8
%204 = load double, ptr %54, align 8
%205 = load ptr, ptr %55, align 8
%206 = getelementptr inbounds double, ptr %205, i64 1
%207 = load double, ptr %206, align 8
%208 = fmul double %204, %207
%209 = call double @llvm.fmuladd.f64(double %201, double %203, double %208)
store double %209, ptr %56, align 8
%210 = load i32, ptr %51, align 4
%211 = sitofp i32 %210 to double
%212 = load i32, ptr %23, align 4
%213 = sitofp i32 %212 to double
%214 = fdiv double %211, %213
%215 = fptosi double %214 to i32
%216 = call i32 @floor(i32 noundef %215)
store i32 %216, ptr %57, align 4
%217 = load i32, ptr %51, align 4
%218 = load i32, ptr %23, align 4
%219 = load i32, ptr %57, align 4
%220 = mul nsw i32 %218, %219
%221 = sub nsw i32 %217, %220
store i32 %221, ptr %58, align 4
%222 = load double, ptr %56, align 8
%223 = load double, ptr %47, align 8
%224 = fmul double %222, %223
store double %224, ptr %59, align 8
%225 = load double, ptr %56, align 8
%226 = load double, ptr %48, align 8
%227 = fmul double %225, %226
store double %227, ptr %60, align 8
%228 = load i32, ptr %50, align 4
store i32 %228, ptr %61, align 4
store i32 0, ptr %42, align 4
br label %229
229: ; preds = %358, %181
%230 = load i32, ptr %42, align 4
%231 = load i32, ptr %28, align 4
%232 = icmp slt i32 %230, %231
br i1 %232, label %233, label %363
233: ; preds = %229
%234 = load double, ptr %45, align 8
%235 = load i32, ptr %61, align 4
%236 = sitofp i32 %235 to double
%237 = fsub double %234, %236
%238 = load i32, ptr %31, align 4
%239 = sitofp i32 %238 to double
%240 = fmul double %237, %239
store double %240, ptr %62, align 8
%241 = load double, ptr %62, align 8
%242 = fptosi double %241 to i32
%243 = call i32 @floor(i32 noundef %242)
store i32 %243, ptr %63, align 4
%244 = load double, ptr %62, align 8
%245 = load i32, ptr %63, align 4
%246 = sitofp i32 %245 to double
%247 = fsub double %244, %246
store double %247, ptr %64, align 8
%248 = load ptr, ptr %25, align 8
%249 = load i32, ptr %63, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
store ptr %251, ptr %65, align 8
%252 = load double, ptr %64, align 8
%253 = fsub double 1.000000e+00, %252
%254 = load ptr, ptr %65, align 8
%255 = load double, ptr %254, align 8
%256 = load double, ptr %64, align 8
%257 = load ptr, ptr %65, align 8
%258 = getelementptr inbounds double, ptr %257, i64 1
%259 = load double, ptr %258, align 8
%260 = fmul double %256, %259
%261 = call double @llvm.fmuladd.f64(double %253, double %255, double %260)
store double %261, ptr %66, align 8
%262 = load i32, ptr %61, align 4
%263 = sitofp i32 %262 to double
%264 = load i32, ptr %22, align 4
%265 = sitofp i32 %264 to double
%266 = fdiv double %263, %265
%267 = fptosi double %266 to i32
%268 = call i32 @floor(i32 noundef %267)
store i32 %268, ptr %67, align 4
%269 = load i32, ptr %61, align 4
%270 = load i32, ptr %22, align 4
%271 = load i32, ptr %67, align 4
%272 = mul nsw i32 %270, %271
%273 = sub nsw i32 %269, %272
store i32 %273, ptr %68, align 4
%274 = load i32, ptr %58, align 4
%275 = load i32, ptr %22, align 4
%276 = mul nsw i32 %274, %275
%277 = load i32, ptr %68, align 4
%278 = add nsw i32 %276, %277
%279 = load i32, ptr %21, align 4
%280 = mul nsw i32 %278, %279
store i32 %280, ptr %69, align 4
%281 = load double, ptr %66, align 8
%282 = load double, ptr %59, align 8
%283 = fmul double %281, %282
store double %283, ptr %70, align 8
%284 = load double, ptr %66, align 8
%285 = load double, ptr %60, align 8
%286 = fmul double %284, %285
store double %286, ptr %71, align 8
%287 = load i32, ptr %49, align 4
store i32 %287, ptr %72, align 4
store i32 0, ptr %41, align 4
br label %288
288: ; preds = %352, %233
%289 = load i32, ptr %41, align 4
%290 = load i32, ptr %27, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %292, label %357
292: ; preds = %288
%293 = load double, ptr %46, align 8
%294 = load i32, ptr %72, align 4
%295 = sitofp i32 %294 to double
%296 = fsub double %293, %295
%297 = load i32, ptr %30, align 4
%298 = sitofp i32 %297 to double
%299 = fmul double %296, %298
store double %299, ptr %73, align 8
%300 = load double, ptr %73, align 8
%301 = fptosi double %300 to i32
%302 = call i32 @floor(i32 noundef %301)
store i32 %302, ptr %74, align 4
%303 = load double, ptr %73, align 8
%304 = load i32, ptr %74, align 4
%305 = sitofp i32 %304 to double
%306 = fsub double %303, %305
store double %306, ptr %75, align 8
%307 = load ptr, ptr %24, align 8
%308 = load i32, ptr %74, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %307, i64 %309
store ptr %310, ptr %76, align 8
%311 = load double, ptr %75, align 8
%312 = fsub double 1.000000e+00, %311
%313 = load ptr, ptr %76, align 8
%314 = load double, ptr %313, align 8
%315 = load double, ptr %75, align 8
%316 = load ptr, ptr %76, align 8
%317 = getelementptr inbounds double, ptr %316, i64 1
%318 = load double, ptr %317, align 8
%319 = fmul double %315, %318
%320 = call double @llvm.fmuladd.f64(double %312, double %314, double %319)
store double %320, ptr %77, align 8
%321 = load i32, ptr %72, align 4
%322 = sitofp i32 %321 to double
%323 = load i32, ptr %21, align 4
%324 = sitofp i32 %323 to double
%325 = fdiv double %322, %324
%326 = fptosi double %325 to i32
%327 = call i32 @floor(i32 noundef %326)
store i32 %327, ptr %78, align 4
%328 = load i32, ptr %72, align 4
%329 = load i32, ptr %21, align 4
%330 = load i32, ptr %78, align 4
%331 = mul nsw i32 %329, %330
%332 = sub nsw i32 %328, %331
store i32 %332, ptr %79, align 4
%333 = load i32, ptr %69, align 4
%334 = load i32, ptr %79, align 4
%335 = add nsw i32 %333, %334
store i32 %335, ptr %80, align 4
%336 = load double, ptr %77, align 8
%337 = load double, ptr %70, align 8
%338 = load ptr, ptr %19, align 8
%339 = load i32, ptr %80, align 4
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds double, ptr %338, i64 %340
%342 = load double, ptr %341, align 8
%343 = call double @llvm.fmuladd.f64(double %336, double %337, double %342)
store double %343, ptr %341, align 8
%344 = load double, ptr %77, align 8
%345 = load double, ptr %71, align 8
%346 = load ptr, ptr %20, align 8
%347 = load i32, ptr %80, align 4
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds double, ptr %346, i64 %348
%350 = load double, ptr %349, align 8
%351 = call double @llvm.fmuladd.f64(double %344, double %345, double %350)
store double %351, ptr %349, align 8
br label %352
352: ; preds = %292
%353 = load i32, ptr %41, align 4
%354 = add nsw i32 %353, 1
store i32 %354, ptr %41, align 4
%355 = load i32, ptr %72, align 4
%356 = add nsw i32 %355, 1
store i32 %356, ptr %72, align 4
br label %288, !llvm.loop !6
357: ; preds = %288
br label %358
358: ; preds = %357
%359 = load i32, ptr %42, align 4
%360 = add nsw i32 %359, 1
store i32 %360, ptr %42, align 4
%361 = load i32, ptr %61, align 4
%362 = add nsw i32 %361, 1
store i32 %362, ptr %61, align 4
br label %229, !llvm.loop !8
363: ; preds = %229
br label %364
364: ; preds = %363
%365 = load i32, ptr %43, align 4
%366 = add nsw i32 %365, 1
store i32 %366, ptr %43, align 4
%367 = load i32, ptr %51, align 4
%368 = add nsw i32 %367, 1
store i32 %368, ptr %51, align 4
br label %177, !llvm.loop !9
369: ; preds = %177
br label %370
370: ; preds = %369
%371 = load i32, ptr %37, align 4
%372 = add nsw i32 %371, 1
store i32 %372, ptr %37, align 4
br label %128, !llvm.loop !10
373: ; preds = %128
ret void
}
declare i32 @floor(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, 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"}
!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/tmp274h20nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interp3_table1_real_per_adj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%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 ptr, align 8
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%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 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 i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca double, align 8
%53 = alloca i32, align 4
%54 = alloca double, align 8
%55 = alloca ptr, align 8
%56 = alloca double, align 8
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca i32, align 4
%62 = alloca double, align 8
%63 = alloca i32, align 4
%64 = alloca double, align 8
%65 = alloca ptr, align 8
%66 = alloca double, align 8
%67 = alloca i32, align 4
%68 = alloca i32, align 4
%69 = alloca i32, align 4
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca i32, align 4
%73 = alloca double, align 8
%74 = alloca i32, align 4
%75 = alloca double, align 8
%76 = alloca ptr, align 8
%77 = alloca double, align 8
%78 = alloca i32, align 4
%79 = alloca i32, align 4
%80 = alloca i32, align 4
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i32 %2, ptr %21, align 4
store i32 %3, ptr %22, align 4
store i32 %4, ptr %23, align 4
store ptr %5, ptr %24, align 8
store ptr %6, ptr %25, align 8
store ptr %7, ptr %26, align 8
store i32 %8, ptr %27, align 4
store i32 %9, ptr %28, align 4
store i32 %10, ptr %29, align 4
store i32 %11, ptr %30, align 4
store i32 %12, ptr %31, align 4
store i32 %13, ptr %32, align 4
store ptr %14, ptr %33, align 8
store i32 %15, ptr %34, align 4
store ptr %16, ptr %35, align 8
store ptr %17, ptr %36, align 8
%81 = load i32, ptr %27, align 4
%82 = load i32, ptr %30, align 4
%83 = mul nsw i32 %81, %82
%84 = sdiv i32 %83, 2
%85 = call i32 @floor(i32 noundef %84)
store i32 %85, ptr %38, align 4
%86 = load i32, ptr %38, align 4
%87 = load ptr, ptr %24, align 8
%88 = sext i32 %86 to i64
%89 = getelementptr inbounds double, ptr %87, i64 %88
store ptr %89, ptr %24, align 8
%90 = load i32, ptr %28, align 4
%91 = load i32, ptr %31, align 4
%92 = mul nsw i32 %90, %91
%93 = sdiv i32 %92, 2
%94 = call i32 @floor(i32 noundef %93)
store i32 %94, ptr %39, align 4
%95 = load i32, ptr %39, align 4
%96 = load ptr, ptr %25, align 8
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds double, ptr %96, i64 %97
store ptr %98, ptr %25, align 8
%99 = load i32, ptr %29, align 4
%100 = load i32, ptr %32, align 4
%101 = mul nsw i32 %99, %100
%102 = sdiv i32 %101, 2
%103 = call i32 @floor(i32 noundef %102)
store i32 %103, ptr %40, align 4
%104 = load i32, ptr %40, align 4
%105 = load ptr, ptr %26, align 8
%106 = sext i32 %104 to i64
%107 = getelementptr inbounds double, ptr %105, i64 %106
store ptr %107, ptr %26, align 8
%108 = load ptr, ptr %19, align 8
%109 = load i32, ptr %21, align 4
%110 = load i32, ptr %22, align 4
%111 = mul nsw i32 %109, %110
%112 = load i32, ptr %23, align 4
%113 = mul nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = mul i64 %114, 8
%116 = trunc i64 %115 to i32
%117 = call i32 @memset(ptr noundef %108, i32 noundef 0, i32 noundef %116)
%118 = load ptr, ptr %20, align 8
%119 = load i32, ptr %21, align 4
%120 = load i32, ptr %22, align 4
%121 = mul nsw i32 %119, %120
%122 = load i32, ptr %23, align 4
%123 = mul nsw i32 %121, %122
%124 = sext i32 %123 to i64
%125 = mul i64 %124, 8
%126 = trunc i64 %125 to i32
%127 = call i32 @memset(ptr noundef %118, i32 noundef 0, i32 noundef %126)
store i32 0, ptr %37, align 4
%128 = load i32, ptr %37, align 4
%129 = load i32, ptr %34, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %.lr.ph8, label %381
.lr.ph8: ; preds = %18
br label %131
131: ; preds = %.lr.ph8, %375
%132 = load ptr, ptr %33, align 8
%133 = load i32, ptr %34, align 4
%134 = mul nsw i32 2, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %132, i64 %135
%137 = load double, ptr %136, align 8
store double %137, ptr %44, align 8
%138 = load ptr, ptr %33, align 8
%139 = load i32, ptr %34, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
%142 = load double, ptr %141, align 8
store double %142, ptr %45, align 8
%143 = load ptr, ptr %33, align 8
%144 = getelementptr inbounds double, ptr %143, i32 1
store ptr %144, ptr %33, align 8
%145 = load double, ptr %143, align 8
store double %145, ptr %46, align 8
%146 = load ptr, ptr %35, align 8
%147 = getelementptr inbounds double, ptr %146, i32 1
store ptr %147, ptr %35, align 8
%148 = load double, ptr %146, align 8
store double %148, ptr %47, align 8
%149 = load ptr, ptr %36, align 8
%150 = getelementptr inbounds double, ptr %149, i32 1
store ptr %150, ptr %36, align 8
%151 = load double, ptr %149, align 8
store double %151, ptr %48, align 8
%152 = load double, ptr %46, align 8
%153 = load i32, ptr %27, align 4
%154 = sitofp i32 %153 to double
%155 = fdiv double %154, 2.000000e+00
%156 = fsub double %152, %155
%157 = fptosi double %156 to i32
%158 = call i32 @floor(i32 noundef %157)
%159 = add nsw i32 1, %158
store i32 %159, ptr %49, align 4
%160 = load double, ptr %45, align 8
%161 = load i32, ptr %28, align 4
%162 = sitofp i32 %161 to double
%163 = fdiv double %162, 2.000000e+00
%164 = fsub double %160, %163
%165 = fptosi double %164 to i32
%166 = call i32 @floor(i32 noundef %165)
%167 = add nsw i32 1, %166
store i32 %167, ptr %50, align 4
%168 = load double, ptr %44, align 8
%169 = load i32, ptr %29, align 4
%170 = sitofp i32 %169 to double
%171 = fdiv double %170, 2.000000e+00
%172 = fsub double %168, %171
%173 = fptosi double %172 to i32
%174 = call i32 @floor(i32 noundef %173)
%175 = add nsw i32 1, %174
store i32 %175, ptr %51, align 4
store i32 0, ptr %43, align 4
%176 = load i32, ptr %43, align 4
%177 = load i32, ptr %29, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %.lr.ph5, label %374
.lr.ph5: ; preds = %131
br label %179
179: ; preds = %.lr.ph5, %366
%180 = load double, ptr %44, align 8
%181 = load i32, ptr %51, align 4
%182 = sitofp i32 %181 to double
%183 = fsub double %180, %182
%184 = load i32, ptr %32, align 4
%185 = sitofp i32 %184 to double
%186 = fmul double %183, %185
store double %186, ptr %52, align 8
%187 = load double, ptr %52, align 8
%188 = fptosi double %187 to i32
%189 = call i32 @floor(i32 noundef %188)
store i32 %189, ptr %53, align 4
%190 = load double, ptr %52, align 8
%191 = load i32, ptr %53, align 4
%192 = sitofp i32 %191 to double
%193 = fsub double %190, %192
store double %193, ptr %54, align 8
%194 = load ptr, ptr %26, align 8
%195 = load i32, ptr %53, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
store ptr %197, ptr %55, align 8
%198 = load double, ptr %54, align 8
%199 = fsub double 1.000000e+00, %198
%200 = load ptr, ptr %55, align 8
%201 = load double, ptr %200, align 8
%202 = load double, ptr %54, align 8
%203 = load ptr, ptr %55, align 8
%204 = getelementptr inbounds double, ptr %203, i64 1
%205 = load double, ptr %204, align 8
%206 = fmul double %202, %205
%207 = call double @llvm.fmuladd.f64(double %199, double %201, double %206)
store double %207, ptr %56, align 8
%208 = load i32, ptr %51, align 4
%209 = sitofp i32 %208 to double
%210 = load i32, ptr %23, align 4
%211 = sitofp i32 %210 to double
%212 = fdiv double %209, %211
%213 = fptosi double %212 to i32
%214 = call i32 @floor(i32 noundef %213)
store i32 %214, ptr %57, align 4
%215 = load i32, ptr %51, align 4
%216 = load i32, ptr %23, align 4
%217 = load i32, ptr %57, align 4
%218 = mul nsw i32 %216, %217
%219 = sub nsw i32 %215, %218
store i32 %219, ptr %58, align 4
%220 = load double, ptr %56, align 8
%221 = load double, ptr %47, align 8
%222 = fmul double %220, %221
store double %222, ptr %59, align 8
%223 = load double, ptr %56, align 8
%224 = load double, ptr %48, align 8
%225 = fmul double %223, %224
store double %225, ptr %60, align 8
%226 = load i32, ptr %50, align 4
store i32 %226, ptr %61, align 4
store i32 0, ptr %42, align 4
%227 = load i32, ptr %42, align 4
%228 = load i32, ptr %28, align 4
%229 = icmp slt i32 %227, %228
br i1 %229, label %.lr.ph2, label %365
.lr.ph2: ; preds = %179
br label %230
230: ; preds = %.lr.ph2, %357
%231 = load double, ptr %45, align 8
%232 = load i32, ptr %61, align 4
%233 = sitofp i32 %232 to double
%234 = fsub double %231, %233
%235 = load i32, ptr %31, align 4
%236 = sitofp i32 %235 to double
%237 = fmul double %234, %236
store double %237, ptr %62, align 8
%238 = load double, ptr %62, align 8
%239 = fptosi double %238 to i32
%240 = call i32 @floor(i32 noundef %239)
store i32 %240, ptr %63, align 4
%241 = load double, ptr %62, align 8
%242 = load i32, ptr %63, align 4
%243 = sitofp i32 %242 to double
%244 = fsub double %241, %243
store double %244, ptr %64, align 8
%245 = load ptr, ptr %25, align 8
%246 = load i32, ptr %63, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds double, ptr %245, i64 %247
store ptr %248, ptr %65, align 8
%249 = load double, ptr %64, align 8
%250 = fsub double 1.000000e+00, %249
%251 = load ptr, ptr %65, align 8
%252 = load double, ptr %251, align 8
%253 = load double, ptr %64, align 8
%254 = load ptr, ptr %65, align 8
%255 = getelementptr inbounds double, ptr %254, i64 1
%256 = load double, ptr %255, align 8
%257 = fmul double %253, %256
%258 = call double @llvm.fmuladd.f64(double %250, double %252, double %257)
store double %258, ptr %66, align 8
%259 = load i32, ptr %61, align 4
%260 = sitofp i32 %259 to double
%261 = load i32, ptr %22, align 4
%262 = sitofp i32 %261 to double
%263 = fdiv double %260, %262
%264 = fptosi double %263 to i32
%265 = call i32 @floor(i32 noundef %264)
store i32 %265, ptr %67, align 4
%266 = load i32, ptr %61, align 4
%267 = load i32, ptr %22, align 4
%268 = load i32, ptr %67, align 4
%269 = mul nsw i32 %267, %268
%270 = sub nsw i32 %266, %269
store i32 %270, ptr %68, align 4
%271 = load i32, ptr %58, align 4
%272 = load i32, ptr %22, align 4
%273 = mul nsw i32 %271, %272
%274 = load i32, ptr %68, align 4
%275 = add nsw i32 %273, %274
%276 = load i32, ptr %21, align 4
%277 = mul nsw i32 %275, %276
store i32 %277, ptr %69, align 4
%278 = load double, ptr %66, align 8
%279 = load double, ptr %59, align 8
%280 = fmul double %278, %279
store double %280, ptr %70, align 8
%281 = load double, ptr %66, align 8
%282 = load double, ptr %60, align 8
%283 = fmul double %281, %282
store double %283, ptr %71, align 8
%284 = load i32, ptr %49, align 4
store i32 %284, ptr %72, align 4
store i32 0, ptr %41, align 4
%285 = load i32, ptr %41, align 4
%286 = load i32, ptr %27, align 4
%287 = icmp slt i32 %285, %286
br i1 %287, label %.lr.ph, label %356
.lr.ph: ; preds = %230
br label %288
288: ; preds = %.lr.ph, %348
%289 = load double, ptr %46, align 8
%290 = load i32, ptr %72, align 4
%291 = sitofp i32 %290 to double
%292 = fsub double %289, %291
%293 = load i32, ptr %30, align 4
%294 = sitofp i32 %293 to double
%295 = fmul double %292, %294
store double %295, ptr %73, align 8
%296 = load double, ptr %73, align 8
%297 = fptosi double %296 to i32
%298 = call i32 @floor(i32 noundef %297)
store i32 %298, ptr %74, align 4
%299 = load double, ptr %73, align 8
%300 = load i32, ptr %74, align 4
%301 = sitofp i32 %300 to double
%302 = fsub double %299, %301
store double %302, ptr %75, align 8
%303 = load ptr, ptr %24, align 8
%304 = load i32, ptr %74, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds double, ptr %303, i64 %305
store ptr %306, ptr %76, align 8
%307 = load double, ptr %75, align 8
%308 = fsub double 1.000000e+00, %307
%309 = load ptr, ptr %76, align 8
%310 = load double, ptr %309, align 8
%311 = load double, ptr %75, align 8
%312 = load ptr, ptr %76, align 8
%313 = getelementptr inbounds double, ptr %312, i64 1
%314 = load double, ptr %313, align 8
%315 = fmul double %311, %314
%316 = call double @llvm.fmuladd.f64(double %308, double %310, double %315)
store double %316, ptr %77, align 8
%317 = load i32, ptr %72, align 4
%318 = sitofp i32 %317 to double
%319 = load i32, ptr %21, align 4
%320 = sitofp i32 %319 to double
%321 = fdiv double %318, %320
%322 = fptosi double %321 to i32
%323 = call i32 @floor(i32 noundef %322)
store i32 %323, ptr %78, align 4
%324 = load i32, ptr %72, align 4
%325 = load i32, ptr %21, align 4
%326 = load i32, ptr %78, align 4
%327 = mul nsw i32 %325, %326
%328 = sub nsw i32 %324, %327
store i32 %328, ptr %79, align 4
%329 = load i32, ptr %69, align 4
%330 = load i32, ptr %79, align 4
%331 = add nsw i32 %329, %330
store i32 %331, ptr %80, align 4
%332 = load double, ptr %77, align 8
%333 = load double, ptr %70, align 8
%334 = load ptr, ptr %19, align 8
%335 = load i32, ptr %80, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds double, ptr %334, i64 %336
%338 = load double, ptr %337, align 8
%339 = call double @llvm.fmuladd.f64(double %332, double %333, double %338)
store double %339, ptr %337, align 8
%340 = load double, ptr %77, align 8
%341 = load double, ptr %71, align 8
%342 = load ptr, ptr %20, align 8
%343 = load i32, ptr %80, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
%346 = load double, ptr %345, align 8
%347 = call double @llvm.fmuladd.f64(double %340, double %341, double %346)
store double %347, ptr %345, align 8
br label %348
348: ; preds = %288
%349 = load i32, ptr %41, align 4
%350 = add nsw i32 %349, 1
store i32 %350, ptr %41, align 4
%351 = load i32, ptr %72, align 4
%352 = add nsw i32 %351, 1
store i32 %352, ptr %72, align 4
%353 = load i32, ptr %41, align 4
%354 = load i32, ptr %27, align 4
%355 = icmp slt i32 %353, %354
br i1 %355, label %288, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %348
br label %356
356: ; preds = %._crit_edge, %230
br label %357
357: ; preds = %356
%358 = load i32, ptr %42, align 4
%359 = add nsw i32 %358, 1
store i32 %359, ptr %42, align 4
%360 = load i32, ptr %61, align 4
%361 = add nsw i32 %360, 1
store i32 %361, ptr %61, align 4
%362 = load i32, ptr %42, align 4
%363 = load i32, ptr %28, align 4
%364 = icmp slt i32 %362, %363
br i1 %364, label %230, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %357
br label %365
365: ; preds = %._crit_edge3, %179
br label %366
366: ; preds = %365
%367 = load i32, ptr %43, align 4
%368 = add nsw i32 %367, 1
store i32 %368, ptr %43, align 4
%369 = load i32, ptr %51, align 4
%370 = add nsw i32 %369, 1
store i32 %370, ptr %51, align 4
%371 = load i32, ptr %43, align 4
%372 = load i32, ptr %29, align 4
%373 = icmp slt i32 %371, %372
br i1 %373, label %179, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %366
br label %374
374: ; preds = %._crit_edge6, %131
br label %375
375: ; preds = %374
%376 = load i32, ptr %37, align 4
%377 = add nsw i32 %376, 1
store i32 %377, ptr %37, align 4
%378 = load i32, ptr %37, align 4
%379 = load i32, ptr %34, align 4
%380 = icmp slt i32 %378, %379
br i1 %380, label %131, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %375
br label %381
381: ; preds = %._crit_edge9, %18
ret void
}
declare i32 @floor(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpfodbhz8i.c'
source_filename = "/tmp/tmpfodbhz8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_has_pname(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @strstr(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %26
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @file_wplayer(ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strcmp(i32 noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %11
store i32 2, ptr %3, align 4
br label %26
18: ; preds = %11
%19 = load ptr, ptr %4, align 8
%20 = call i32 @file_bplayer(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strcmp(i32 noundef %20, ptr noundef %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %18
store i32 1, ptr %3, align 4
br label %26
25: ; preds = %18
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %17, %10
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @file_wplayer(ptr noundef) #1
declare i32 @file_bplayer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfodbhz8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_has_pname(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @strstr(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %26
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @file_wplayer(ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strcmp(i32 noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %11
store i32 2, ptr %3, align 4
br label %26
18: ; preds = %11
%19 = load ptr, ptr %4, align 8
%20 = call i32 @file_bplayer(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strcmp(i32 noundef %20, ptr noundef %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %18
store i32 1, ptr %3, align 4
br label %26
25: ; preds = %18
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %17, %10
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @file_wplayer(ptr noundef) #1
declare i32 @file_bplayer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50j9r40w.c'
source_filename = "/tmp/tmp50j9r40w.c"
target datalayout = "e-m:e-p270: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/tmp50j9r40w.c"
target datalayout = "e-m:e-p270: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/tmpudmwdv7l.c'
source_filename = "/tmp/tmpudmwdv7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"src == NULL || dst == NULL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Pascal2HungaryX(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14, %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %91
19: ; preds = %14
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = add nsw i32 %29, 32
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
store i32 1, ptr %10, align 4
br label %38
38: ; preds = %83, %19
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %86
42: ; preds = %38
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
store i8 %47, ptr %11, align 1
%48 = load i8, ptr %11, align 1
%49 = sext i8 %48 to i32
%50 = icmp sge i32 %49, 65
br i1 %50, label %51, label %75
51: ; preds = %42
%52 = load i8, ptr %11, align 1
%53 = sext i8 %52 to i32
%54 = icmp sle i32 %53, 90
br i1 %54, label %55, label %75
55: ; preds = %51
%56 = load i32, ptr %7, align 4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %75
58: ; preds = %55
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 95, ptr %62, align 1
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = add nsw i32 %72, 32
%74 = trunc i32 %73 to i8
store i8 %74, ptr %11, align 1
br label %75
75: ; preds = %58, %55, %51, %42
%76 = load i8, ptr %11, align 1
%77 = load ptr, ptr %9, align 8
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 %76, ptr %80, align 1
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
br label %83
83: ; preds = %75
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
br label %38, !llvm.loop !6
86: ; preds = %38
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %6, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 0, ptr %90, align 1
store i32 0, ptr %3, align 4
br label %91
91: ; preds = %86, %17
%92 = load i32, ptr %3, align 4
ret i32 %92
}
declare i32 @printf(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudmwdv7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"src == NULL || dst == NULL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Pascal2HungaryX(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %14, %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %93
19: ; preds = %14
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = add nsw i32 %29, 32
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
store i32 1, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph, label %88
.lr.ph: ; preds = %19
br label %41
41: ; preds = %.lr.ph, %82
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
store i8 %46, ptr %11, align 1
%47 = load i8, ptr %11, align 1
%48 = sext i8 %47 to i32
%49 = icmp sge i32 %48, 65
br i1 %49, label %50, label %74
50: ; preds = %41
%51 = load i8, ptr %11, align 1
%52 = sext i8 %51 to i32
%53 = icmp sle i32 %52, 90
br i1 %53, label %54, label %74
54: ; preds = %50
%55 = load i32, ptr %7, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %74
57: ; preds = %54
%58 = load ptr, ptr %9, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 95, ptr %61, align 1
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = add nsw i32 %71, 32
%73 = trunc i32 %72 to i8
store i8 %73, ptr %11, align 1
br label %74
74: ; preds = %57, %54, %50, %41
%75 = load i8, ptr %11, align 1
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 %75, ptr %79, align 1
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
br label %82
82: ; preds = %74
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %10, align 4
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %82
br label %88
88: ; preds = %._crit_edge, %19
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
store i8 0, ptr %92, align 1
store i32 0, ptr %3, align 4
br label %93
93: ; preds = %88, %17
%94 = load i32, ptr %3, align 4
ret i32 %94
}
declare i32 @printf(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa264sywi.c'
source_filename = "/tmp/tmpa264sywi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"brightness\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @om_screen_brightness_get() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @om_sysfs_get(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %10
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @atoi(ptr noundef %8)
store i32 %9, ptr %1, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare ptr @om_sysfs_get(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa264sywi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"brightness\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @om_screen_brightness_get() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @om_sysfs_get(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %10
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @atoi(ptr noundef %8)
store i32 %9, ptr %1, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare ptr @om_sysfs_get(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmw8qlh_1.c'
source_filename = "/tmp/tmpmw8qlh_1.c"
target datalayout = "e-m:e-p270: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/tmpmw8qlh_1.c"
target datalayout = "e-m:e-p270: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/tmpt7qe3e0x.c'
source_filename = "/tmp/tmpt7qe3e0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %50
16: ; preds = %3
br label %17
17: ; preds = %35, %16
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %10, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = load ptr, ptr %9, align 8
%24 = load i64, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp eq i32 %22, %27
br i1 %28, label %29, label %38
29: ; preds = %17
%30 = load i64, ptr %10, align 8
%31 = load i64, ptr %7, align 8
%32 = sub i64 %31, 1
%33 = icmp eq i64 %30, %32
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 0, ptr %4, align 4
br label %50
35: ; preds = %29
%36 = load i64, ptr %10, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %10, align 8
br label %17, !llvm.loop !6
38: ; preds = %17
%39 = load ptr, ptr %8, align 8
%40 = load i64, ptr %10, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = load ptr, ptr %9, align 8
%45 = load i64, ptr %10, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = sub nsw i32 %43, %48
store i32 %49, ptr %4, align 4
br label %50
50: ; preds = %38, %34, %15
%51 = load i32, ptr %4, align 4
ret i32 %51
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt7qe3e0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %60
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %10, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = icmp eq i32 %21, %26
br i1 %27, label %.lr.ph, label %48
.lr.ph: ; preds = %16
br label %28
28: ; preds = %.lr.ph, %34
%29 = load i64, ptr %10, align 8
%30 = load i64, ptr %7, align 8
%31 = sub i64 %30, 1
%32 = icmp eq i64 %29, %31
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %4, align 4
br label %60
34: ; preds = %28
%35 = load i64, ptr %10, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %10, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i64, ptr %10, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = load ptr, ptr %9, align 8
%43 = load i64, ptr %10, align 8
%44 = getelementptr inbounds i8, ptr %42, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = icmp eq i32 %41, %46
br i1 %47, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %48
48: ; preds = %._crit_edge, %16
%49 = load ptr, ptr %8, align 8
%50 = load i64, ptr %10, align 8
%51 = getelementptr inbounds i8, ptr %49, i64 %50
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = load ptr, ptr %9, align 8
%55 = load i64, ptr %10, align 8
%56 = getelementptr inbounds i8, ptr %54, i64 %55
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = sub nsw i32 %53, %58
store i32 %59, ptr %4, align 4
br label %60
60: ; preds = %48, %33, %15
%61 = load i32, ptr %4, align 4
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ea5phb7.c'
source_filename = "/tmp/tmp_ea5phb7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"digitbox\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"%s:%d: opendir %s failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Airead/digit-box/refs/heads/master/resource.c\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resource_common_list(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr @.str, ptr %10, align 8
%12 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 256)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @snprintf(ptr noundef %14, i32 noundef 255, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16, ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%20 = call ptr @opendir(ptr noundef %19)
store ptr %20, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %3
%23 = load i32, ptr @stderr, align 4
%24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 46, ptr noundef %24, ptr noundef %26)
store i32 -1, ptr %4, align 4
br label %37
28: ; preds = %3
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%32 = load ptr, ptr %7, align 8
%33 = call i32 @resource_get_list(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
store i32 %33, ptr %11, align 4
%34 = load ptr, ptr %8, align 8
%35 = call i32 @closedir(ptr noundef %34)
%36 = load i32, ptr %11, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %28, %22
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @resource_get_list(ptr noundef, ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_ea5phb7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"digitbox\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"%s:%d: opendir %s failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Airead/digit-box/refs/heads/master/resource.c\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resource_common_list(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr @.str, ptr %10, align 8
%12 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 256)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @snprintf(ptr noundef %14, i32 noundef 255, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16, ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%20 = call ptr @opendir(ptr noundef %19)
store ptr %20, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %3
%23 = load i32, ptr @stderr, align 4
%24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 46, ptr noundef %24, ptr noundef %26)
store i32 -1, ptr %4, align 4
br label %37
28: ; preds = %3
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%32 = load ptr, ptr %7, align 8
%33 = call i32 @resource_get_list(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
store i32 %33, ptr %11, align 4
%34 = load ptr, ptr %8, align 8
%35 = call i32 @closedir(ptr noundef %34)
%36 = load i32, ptr %11, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %28, %22
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @resource_get_list(ptr noundef, ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppxp44k2y.c'
source_filename = "/tmp/tmppxp44k2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"The smallest number divisible by 1-20 is %i.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 20, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %60, %2
%9 = load i32, ptr %7, align 4
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br i1 %11, label %12, label %61
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = srem i32 %13, 10
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %57
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = srem i32 %17, 11
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %57
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = srem i32 %21, 12
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %57
24: ; preds = %20
%25 = load i32, ptr %6, align 4
%26 = srem i32 %25, 13
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %57
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = srem i32 %29, 14
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %57
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = srem i32 %33, 15
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %57
36: ; preds = %32
%37 = load i32, ptr %6, align 4
%38 = srem i32 %37, 16
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %57
40: ; preds = %36
%41 = load i32, ptr %6, align 4
%42 = srem i32 %41, 17
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %40
%45 = load i32, ptr %6, align 4
%46 = srem i32 %45, 18
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %57
48: ; preds = %44
%49 = load i32, ptr %6, align 4
%50 = srem i32 %49, 19
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = load i32, ptr %6, align 4
%54 = srem i32 %53, 20
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 1, ptr %7, align 4
br label %60
57: ; preds = %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %60
60: ; preds = %57, %56
br label %8, !llvm.loop !6
61: ; preds = %8
%62 = load i32, ptr %6, align 4
%63 = call i32 @printf(ptr noundef @.str, i32 noundef %62)
%64 = load i32, ptr @EXIT_SUCCESS, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppxp44k2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"The smallest number divisible by 1-20 is %i.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 20, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br i1 %10, label %.lr.ph, label %63
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %59
%12 = load i32, ptr %6, align 4
%13 = srem i32 %12, 10
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %56
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = srem i32 %16, 11
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %56
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = srem i32 %20, 12
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %56
23: ; preds = %19
%24 = load i32, ptr %6, align 4
%25 = srem i32 %24, 13
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %56
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = srem i32 %28, 14
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %56
31: ; preds = %27
%32 = load i32, ptr %6, align 4
%33 = srem i32 %32, 15
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load i32, ptr %6, align 4
%37 = srem i32 %36, 16
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %56
39: ; preds = %35
%40 = load i32, ptr %6, align 4
%41 = srem i32 %40, 17
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = load i32, ptr %6, align 4
%45 = srem i32 %44, 18
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %43
%48 = load i32, ptr %6, align 4
%49 = srem i32 %48, 19
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load i32, ptr %6, align 4
%53 = srem i32 %52, 20
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 1, ptr %7, align 4
br label %59
56: ; preds = %51, %47, %43, %39, %35, %31, %27, %23, %19, %15, %11
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
br label %59
59: ; preds = %56, %55
%60 = load i32, ptr %7, align 4
%61 = icmp ne i32 %60, 0
%62 = xor i1 %61, true
br i1 %62, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %63
63: ; preds = %._crit_edge, %2
%64 = load i32, ptr %6, align 4
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
%66 = load i32, ptr @EXIT_SUCCESS, align 4
%67 = call i32 @exit(i32 noundef %66) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjavcf3q2.c'
source_filename = "/tmp/tmpjavcf3q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glinearSearch(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %14
14: ; preds = %33, %5
%15 = load i32, ptr %12, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %36
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = load i32, ptr %12, align 4
%22 = sext i32 %21 to i64
%23 = add i64 %20, %22
%24 = getelementptr i8, ptr %19, i64 %23
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %13, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 %25(ptr noundef %26, ptr noundef %27)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = load i32, ptr %12, align 4
store i32 %31, ptr %6, align 4
br label %37
32: ; preds = %18
br label %33
33: ; preds = %32
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
store i32 -1, ptr %6, align 4
br label %37
37: ; preds = %36, %30
%38 = load i32, ptr %6, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjavcf3q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glinearSearch(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
%14 = load i32, ptr %12, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %38
.lr.ph: ; preds = %5
br label %17
17: ; preds = %.lr.ph, %32
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %8, align 8
%20 = load i32, ptr %12, align 4
%21 = sext i32 %20 to i64
%22 = add i64 %19, %21
%23 = getelementptr i8, ptr %18, i64 %22
store ptr %23, ptr %13, align 8
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %13, align 8
%26 = load ptr, ptr %10, align 8
%27 = call i32 %24(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %17
%30 = load i32, ptr %12, align 4
store i32 %30, ptr %6, align 4
br label %39
31: ; preds = %17
br label %32
32: ; preds = %31
%33 = load i32, ptr %12, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %12, align 4
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %5
store i32 -1, ptr %6, align 4
br label %39
39: ; preds = %38, %29
%40 = load i32, ptr %6, align 4
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6c_36pf3.c'
source_filename = "/tmp/tmp6c_36pf3.c"
target datalayout = "e-m:e-p270: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/tmp6c_36pf3.c"
target datalayout = "e-m:e-p270: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/tmp2y9rj9na.c'
source_filename = "/tmp/tmp2y9rj9na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetComponentParm(i8 noundef zeroext %0, i16 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i16, align 2
store i8 %0, ptr %3, align 1
store i16 %1, ptr %4, align 2
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
switch i32 %6, label %43 [
i32 0, label %7
i32 1, label %16
i32 2, label %25
i32 3, label %34
]
7: ; preds = %2
%8 = load i16, ptr %4, align 2
%9 = trunc i16 %8 to i8
%10 = call i32 @VIM_HIF_SetReg8(i32 noundef 33, i8 noundef zeroext %9)
%11 = load i16, ptr %4, align 2
%12 = zext i16 %11 to i32
%13 = ashr i32 %12, 8
%14 = trunc i32 %13 to i8
%15 = call i32 @VIM_HIF_SetReg8(i32 noundef 32, i8 noundef zeroext %14)
br label %44
16: ; preds = %2
%17 = load i16, ptr %4, align 2
%18 = trunc i16 %17 to i8
%19 = call i32 @VIM_HIF_SetReg8(i32 noundef 35, i8 noundef zeroext %18)
%20 = load i16, ptr %4, align 2
%21 = zext i16 %20 to i32
%22 = ashr i32 %21, 8
%23 = trunc i32 %22 to i8
%24 = call i32 @VIM_HIF_SetReg8(i32 noundef 34, i8 noundef zeroext %23)
br label %44
25: ; preds = %2
%26 = load i16, ptr %4, align 2
%27 = trunc i16 %26 to i8
%28 = call i32 @VIM_HIF_SetReg8(i32 noundef 37, i8 noundef zeroext %27)
%29 = load i16, ptr %4, align 2
%30 = zext i16 %29 to i32
%31 = ashr i32 %30, 8
%32 = trunc i32 %31 to i8
%33 = call i32 @VIM_HIF_SetReg8(i32 noundef 36, i8 noundef zeroext %32)
br label %44
34: ; preds = %2
%35 = load i16, ptr %4, align 2
%36 = trunc i16 %35 to i8
%37 = call i32 @VIM_HIF_SetReg8(i32 noundef 39, i8 noundef zeroext %36)
%38 = load i16, ptr %4, align 2
%39 = zext i16 %38 to i32
%40 = ashr i32 %39, 8
%41 = trunc i32 %40 to i8
%42 = call i32 @VIM_HIF_SetReg8(i32 noundef 38, i8 noundef zeroext %41)
br label %44
43: ; preds = %2
br label %44
44: ; preds = %43, %34, %25, %16, %7
ret void
}
declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2y9rj9na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetComponentParm(i8 noundef zeroext %0, i16 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i16, align 2
store i8 %0, ptr %3, align 1
store i16 %1, ptr %4, align 2
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
switch i32 %6, label %43 [
i32 0, label %7
i32 1, label %16
i32 2, label %25
i32 3, label %34
]
7: ; preds = %2
%8 = load i16, ptr %4, align 2
%9 = trunc i16 %8 to i8
%10 = call i32 @VIM_HIF_SetReg8(i32 noundef 33, i8 noundef zeroext %9)
%11 = load i16, ptr %4, align 2
%12 = zext i16 %11 to i32
%13 = ashr i32 %12, 8
%14 = trunc i32 %13 to i8
%15 = call i32 @VIM_HIF_SetReg8(i32 noundef 32, i8 noundef zeroext %14)
br label %44
16: ; preds = %2
%17 = load i16, ptr %4, align 2
%18 = trunc i16 %17 to i8
%19 = call i32 @VIM_HIF_SetReg8(i32 noundef 35, i8 noundef zeroext %18)
%20 = load i16, ptr %4, align 2
%21 = zext i16 %20 to i32
%22 = ashr i32 %21, 8
%23 = trunc i32 %22 to i8
%24 = call i32 @VIM_HIF_SetReg8(i32 noundef 34, i8 noundef zeroext %23)
br label %44
25: ; preds = %2
%26 = load i16, ptr %4, align 2
%27 = trunc i16 %26 to i8
%28 = call i32 @VIM_HIF_SetReg8(i32 noundef 37, i8 noundef zeroext %27)
%29 = load i16, ptr %4, align 2
%30 = zext i16 %29 to i32
%31 = ashr i32 %30, 8
%32 = trunc i32 %31 to i8
%33 = call i32 @VIM_HIF_SetReg8(i32 noundef 36, i8 noundef zeroext %32)
br label %44
34: ; preds = %2
%35 = load i16, ptr %4, align 2
%36 = trunc i16 %35 to i8
%37 = call i32 @VIM_HIF_SetReg8(i32 noundef 39, i8 noundef zeroext %36)
%38 = load i16, ptr %4, align 2
%39 = zext i16 %38 to i32
%40 = ashr i32 %39, 8
%41 = trunc i32 %40 to i8
%42 = call i32 @VIM_HIF_SetReg8(i32 noundef 38, i8 noundef zeroext %41)
br label %44
43: ; preds = %2
br label %44
44: ; preds = %43, %34, %25, %16, %7
ret void
}
declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo6wtndgl.c'
source_filename = "/tmp/tmpo6wtndgl.c"
target datalayout = "e-m:e-p270: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/tmpo6wtndgl.c"
target datalayout = "e-m:e-p270: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/tmpzl8b4st4.c'
source_filename = "/tmp/tmpzl8b4st4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argv_join(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %7, align 8
br label %13
13: ; preds = %25, %2
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %14, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %28
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %20, %21
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %17
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds ptr, ptr %26, i32 1
store ptr %27, ptr %7, align 8
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load i32, ptr %5, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %28
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %33, %32
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %31, %28
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %8, align 8
%39 = load ptr, ptr %8, align 8
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %3, align 8
store ptr %40, ptr %7, align 8
br label %41
41: ; preds = %58, %35
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %42, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %61
45: ; preds = %41
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %3, align 8
%48 = icmp ne ptr %46, %47
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = load ptr, ptr %9, align 8
%51 = load ptr, ptr %4, align 8
%52 = call ptr @stpcpy(ptr noundef %50, ptr noundef %51)
store ptr %52, ptr %9, align 8
br label %53
53: ; preds = %49, %45
%54 = load ptr, ptr %9, align 8
%55 = load ptr, ptr %7, align 8
%56 = load ptr, ptr %55, align 8
%57 = call ptr @stpcpy(ptr noundef %54, ptr noundef %56)
store ptr %57, ptr %9, align 8
br label %58
58: ; preds = %53
%59 = load ptr, ptr %7, align 8
%60 = getelementptr inbounds ptr, ptr %59, i32 1
store ptr %60, ptr %7, align 8
br label %41, !llvm.loop !8
61: ; preds = %41
%62 = load ptr, ptr %9, align 8
store i8 0, ptr %62, align 1
%63 = load ptr, ptr %8, align 8
ret ptr %63
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @stpcpy(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/tmpzl8b4st4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argv_join(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %24
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %16
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds ptr, ptr %25, i32 1
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %27, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, %34
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %33, %30
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
%40 = call ptr @malloc(i32 noundef %39)
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %8, align 8
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %3, align 8
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %43, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %.lr.ph2, label %65
.lr.ph2: ; preds = %37
br label %46
46: ; preds = %.lr.ph2, %59
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %3, align 8
%49 = icmp ne ptr %47, %48
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load ptr, ptr %9, align 8
%52 = load ptr, ptr %4, align 8
%53 = call ptr @stpcpy(ptr noundef %51, ptr noundef %52)
store ptr %53, ptr %9, align 8
br label %54
54: ; preds = %50, %46
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %7, align 8
%57 = load ptr, ptr %56, align 8
%58 = call ptr @stpcpy(ptr noundef %55, ptr noundef %57)
store ptr %58, ptr %9, align 8
br label %59
59: ; preds = %54
%60 = load ptr, ptr %7, align 8
%61 = getelementptr inbounds ptr, ptr %60, i32 1
store ptr %61, ptr %7, align 8
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %62, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %37
%66 = load ptr, ptr %9, align 8
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %8, align 8
ret ptr %67
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @stpcpy(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/tmp2wqrb5il.c'
source_filename = "/tmp/tmp2wqrb5il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"\0A-------------------------------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printarray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
br label %10
10: ; preds = %21, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
br label %21
21: ; preds = %14
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2wqrb5il.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"\0A-------------------------------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printarray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %20
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %3
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.