llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpee4u9hej.c'
source_filename = "/tmp/tmpee4u9hej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getLockTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @clientReceiveLocal()
%4 = load ptr, ptr %2, align 8
%5 = call i32 @unSerialiseTLock(ptr noundef %4)
ret i32 0
}
declare i32 @clientReceiveLocal(...) #1
declare i32 @unSerialiseTLock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpee4u9hej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getLockTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @clientReceiveLocal()
%4 = load ptr, ptr %2, align 8
%5 = call i32 @unSerialiseTLock(ptr noundef %4)
ret i32 0
}
declare i32 @clientReceiveLocal(...) #1
declare i32 @unSerialiseTLock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51cytrd8.c'
source_filename = "/tmp/tmp51cytrd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dJacx3D(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
%19 = alloca [3 x double], align 16
%20 = alloca [3 x double], align 16
%21 = alloca [3 x double], align 16
%22 = alloca [3 x double], align 16
%23 = alloca [3 x double], align 16
%24 = alloca [3 x double], align 16
%25 = alloca [3 x double], align 16
%26 = alloca [3 x double], align 16
%27 = alloca [3 x double], align 16
%28 = alloca [3 x double], align 16
%29 = alloca [3 x double], align 16
%30 = alloca [3 x double], align 16
%31 = alloca [3 x double], align 16
%32 = alloca [3 x double], align 16
%33 = alloca [3 x double], align 16
%34 = alloca [3 x double], align 16
%35 = alloca [3 x double], align 16
%36 = alloca [3 x double], align 16
%37 = alloca [3 x double], align 16
%38 = alloca [3 x double], align 16
%39 = alloca [3 x double], align 16
%40 = alloca [3 x double], align 16
%41 = alloca [3 x double], align 16
%42 = alloca [3 x double], align 16
%43 = alloca [3 x double], align 16
%44 = alloca [9 x double], align 16
%45 = alloca double, align 8
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds double, ptr %58, i64 0
%60 = load double, ptr %59, align 8
%61 = fptosi double %60 to i32
store i32 %61, ptr %11, align 4
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = fptosi double %64 to i32
store i32 %65, ptr %12, align 4
%66 = load ptr, ptr %9, align 8
%67 = getelementptr inbounds double, ptr %66, i64 2
%68 = load double, ptr %67, align 8
%69 = fptosi double %68 to i32
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
%74 = mul nsw i32 %71, %73
%75 = load i32, ptr %13, align 4
%76 = add nsw i32 %75, 1
%77 = mul nsw i32 %74, %76
store i32 %77, ptr %53, align 4
store i32 1, ptr %54, align 4
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %55, align 4
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 1
%84 = mul nsw i32 %81, %83
store i32 %84, ptr %56, align 4
store i32 0, ptr %47, align 4
br label %85
85: ; preds = %870, %5
%86 = load i32, ptr %47, align 4
%87 = load i32, ptr %11, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %873
89: ; preds = %85
store i32 0, ptr %48, align 4
br label %90
90: ; preds = %866, %89
%91 = load i32, ptr %48, align 4
%92 = load i32, ptr %12, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %94, label %869
94: ; preds = %90
store i32 0, ptr %49, align 4
br label %95
95: ; preds = %862, %94
%96 = load i32, ptr %49, align 4
%97 = load i32, ptr %13, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %865
99: ; preds = %95
%100 = load i32, ptr %47, align 4
%101 = load i32, ptr %48, align 4
%102 = load i32, ptr %55, align 4
%103 = mul nsw i32 %101, %102
%104 = add nsw i32 %100, %103
%105 = load i32, ptr %49, align 4
%106 = load i32, ptr %56, align 4
%107 = mul nsw i32 %105, %106
%108 = add nsw i32 %104, %107
store i32 %108, ptr %52, align 4
store i32 0, ptr %51, align 4
store i32 0, ptr %50, align 4
br label %109
109: ; preds = %554, %99
%110 = load i32, ptr %50, align 4
%111 = icmp slt i32 %110, 3
br i1 %111, label %112, label %557
112: ; preds = %109
%113 = load ptr, ptr %7, align 8
%114 = load i32, ptr %52, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load i32, ptr %51, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, ptr %116, i64 %118
store ptr %119, ptr %57, align 8
%120 = load ptr, ptr %57, align 8
%121 = load double, ptr %120, align 8
%122 = load i32, ptr %50, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %123
store double %121, ptr %124, align 8
%125 = load ptr, ptr %57, align 8
%126 = getelementptr inbounds double, ptr %125, i64 1
store ptr %126, ptr %57, align 8
%127 = load ptr, ptr %57, align 8
%128 = load double, ptr %127, align 8
%129 = load i32, ptr %50, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %130
store double %128, ptr %131, align 8
%132 = load i32, ptr %55, align 4
%133 = load ptr, ptr %57, align 8
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds double, ptr %133, i64 %134
store ptr %135, ptr %57, align 8
%136 = load ptr, ptr %57, align 8
%137 = load double, ptr %136, align 8
%138 = load i32, ptr %50, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %139
store double %137, ptr %140, align 8
%141 = load ptr, ptr %57, align 8
%142 = getelementptr inbounds double, ptr %141, i64 -1
store ptr %142, ptr %57, align 8
%143 = load ptr, ptr %57, align 8
%144 = load double, ptr %143, align 8
%145 = load i32, ptr %50, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %146
store double %144, ptr %147, align 8
%148 = load i32, ptr %56, align 4
%149 = load ptr, ptr %57, align 8
%150 = sext i32 %148 to i64
%151 = getelementptr inbounds double, ptr %149, i64 %150
store ptr %151, ptr %57, align 8
%152 = load ptr, ptr %57, align 8
%153 = load double, ptr %152, align 8
%154 = load i32, ptr %50, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %155
store double %153, ptr %156, align 8
%157 = load ptr, ptr %57, align 8
%158 = getelementptr inbounds double, ptr %157, i64 1
store ptr %158, ptr %57, align 8
%159 = load ptr, ptr %57, align 8
%160 = load double, ptr %159, align 8
%161 = load i32, ptr %50, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %162
store double %160, ptr %163, align 8
%164 = load i32, ptr %55, align 4
%165 = load ptr, ptr %57, align 8
%166 = sext i32 %164 to i64
%167 = sub i64 0, %166
%168 = getelementptr inbounds double, ptr %165, i64 %167
store ptr %168, ptr %57, align 8
%169 = load ptr, ptr %57, align 8
%170 = load double, ptr %169, align 8
%171 = load i32, ptr %50, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %172
store double %170, ptr %173, align 8
%174 = load ptr, ptr %57, align 8
%175 = getelementptr inbounds double, ptr %174, i64 -1
store ptr %175, ptr %57, align 8
%176 = load ptr, ptr %57, align 8
%177 = load double, ptr %176, align 8
%178 = load i32, ptr %50, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %179
store double %177, ptr %180, align 8
%181 = load i32, ptr %50, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %182
%184 = load double, ptr %183, align 8
%185 = load i32, ptr %50, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %186
%188 = load double, ptr %187, align 8
%189 = fadd double %184, %188
%190 = load i32, ptr %50, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %191
%193 = load double, ptr %192, align 8
%194 = fadd double %189, %193
%195 = load i32, ptr %50, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %196
%198 = load double, ptr %197, align 8
%199 = fadd double %194, %198
%200 = fmul double 2.500000e-01, %199
%201 = load i32, ptr %50, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %202
store double %200, ptr %203, align 8
%204 = load i32, ptr %50, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %205
%207 = load double, ptr %206, align 8
%208 = load i32, ptr %50, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %209
%211 = load double, ptr %210, align 8
%212 = fadd double %207, %211
%213 = load i32, ptr %50, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %214
%216 = load double, ptr %215, align 8
%217 = fadd double %212, %216
%218 = load i32, ptr %50, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %219
%221 = load double, ptr %220, align 8
%222 = fadd double %217, %221
%223 = fmul double 2.500000e-01, %222
%224 = load i32, ptr %50, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 %225
store double %223, ptr %226, align 8
%227 = load i32, ptr %50, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %228
%230 = load double, ptr %229, align 8
%231 = load i32, ptr %50, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %232
%234 = load double, ptr %233, align 8
%235 = fadd double %230, %234
%236 = load i32, ptr %50, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %237
%239 = load double, ptr %238, align 8
%240 = fadd double %235, %239
%241 = load i32, ptr %50, align 4
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %242
%244 = load double, ptr %243, align 8
%245 = fadd double %240, %244
%246 = fmul double 2.500000e-01, %245
%247 = load i32, ptr %50, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 %248
store double %246, ptr %249, align 8
%250 = load i32, ptr %50, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %251
%253 = load double, ptr %252, align 8
%254 = load i32, ptr %50, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %255
%257 = load double, ptr %256, align 8
%258 = fadd double %253, %257
%259 = load i32, ptr %50, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %260
%262 = load double, ptr %261, align 8
%263 = fadd double %258, %262
%264 = load i32, ptr %50, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %265
%267 = load double, ptr %266, align 8
%268 = fadd double %263, %267
%269 = fmul double 2.500000e-01, %268
%270 = load i32, ptr %50, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %271
store double %269, ptr %272, align 8
%273 = load i32, ptr %50, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %274
%276 = load double, ptr %275, align 8
%277 = load i32, ptr %50, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %278
%280 = load double, ptr %279, align 8
%281 = fadd double %276, %280
%282 = load i32, ptr %50, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %283
%285 = load double, ptr %284, align 8
%286 = fadd double %281, %285
%287 = load i32, ptr %50, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %288
%290 = load double, ptr %289, align 8
%291 = fadd double %286, %290
%292 = fmul double 2.500000e-01, %291
%293 = load i32, ptr %50, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 %294
store double %292, ptr %295, align 8
%296 = load i32, ptr %50, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %297
%299 = load double, ptr %298, align 8
%300 = load i32, ptr %50, align 4
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %301
%303 = load double, ptr %302, align 8
%304 = fadd double %299, %303
%305 = load i32, ptr %50, align 4
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %306
%308 = load double, ptr %307, align 8
%309 = fadd double %304, %308
%310 = load i32, ptr %50, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %311
%313 = load double, ptr %312, align 8
%314 = fadd double %309, %313
%315 = fmul double 2.500000e-01, %314
%316 = load i32, ptr %50, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 %317
store double %315, ptr %318, align 8
%319 = load i32, ptr %50, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %320
%322 = load double, ptr %321, align 8
%323 = load i32, ptr %50, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 %324
%326 = load double, ptr %325, align 8
%327 = fadd double %322, %326
%328 = fmul double 5.000000e-01, %327
%329 = load i32, ptr %50, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 %330
store double %328, ptr %331, align 8
%332 = load ptr, ptr %8, align 8
%333 = load i32, ptr %52, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
%336 = load i32, ptr %51, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds double, ptr %335, i64 %337
store ptr %338, ptr %57, align 8
%339 = load ptr, ptr %57, align 8
%340 = load double, ptr %339, align 8
%341 = load i32, ptr %50, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %342
store double %340, ptr %343, align 8
%344 = load ptr, ptr %57, align 8
%345 = getelementptr inbounds double, ptr %344, i64 1
store ptr %345, ptr %57, align 8
%346 = load ptr, ptr %57, align 8
%347 = load double, ptr %346, align 8
%348 = load i32, ptr %50, align 4
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %349
store double %347, ptr %350, align 8
%351 = load i32, ptr %55, align 4
%352 = load ptr, ptr %57, align 8
%353 = sext i32 %351 to i64
%354 = getelementptr inbounds double, ptr %352, i64 %353
store ptr %354, ptr %57, align 8
%355 = load ptr, ptr %57, align 8
%356 = load double, ptr %355, align 8
%357 = load i32, ptr %50, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %358
store double %356, ptr %359, align 8
%360 = load ptr, ptr %57, align 8
%361 = getelementptr inbounds double, ptr %360, i64 -1
store ptr %361, ptr %57, align 8
%362 = load ptr, ptr %57, align 8
%363 = load double, ptr %362, align 8
%364 = load i32, ptr %50, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %365
store double %363, ptr %366, align 8
%367 = load i32, ptr %56, align 4
%368 = load ptr, ptr %57, align 8
%369 = sext i32 %367 to i64
%370 = getelementptr inbounds double, ptr %368, i64 %369
store ptr %370, ptr %57, align 8
%371 = load ptr, ptr %57, align 8
%372 = load double, ptr %371, align 8
%373 = load i32, ptr %50, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %374
store double %372, ptr %375, align 8
%376 = load ptr, ptr %57, align 8
%377 = getelementptr inbounds double, ptr %376, i64 1
store ptr %377, ptr %57, align 8
%378 = load ptr, ptr %57, align 8
%379 = load double, ptr %378, align 8
%380 = load i32, ptr %50, align 4
%381 = sext i32 %380 to i64
%382 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %381
store double %379, ptr %382, align 8
%383 = load i32, ptr %55, align 4
%384 = load ptr, ptr %57, align 8
%385 = sext i32 %383 to i64
%386 = sub i64 0, %385
%387 = getelementptr inbounds double, ptr %384, i64 %386
store ptr %387, ptr %57, align 8
%388 = load ptr, ptr %57, align 8
%389 = load double, ptr %388, align 8
%390 = load i32, ptr %50, align 4
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %391
store double %389, ptr %392, align 8
%393 = load ptr, ptr %57, align 8
%394 = getelementptr inbounds double, ptr %393, i64 -1
store ptr %394, ptr %57, align 8
%395 = load ptr, ptr %57, align 8
%396 = load double, ptr %395, align 8
%397 = load i32, ptr %50, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %398
store double %396, ptr %399, align 8
%400 = load i32, ptr %50, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %401
%403 = load double, ptr %402, align 8
%404 = load i32, ptr %50, align 4
%405 = sext i32 %404 to i64
%406 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %405
%407 = load double, ptr %406, align 8
%408 = fadd double %403, %407
%409 = load i32, ptr %50, align 4
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %410
%412 = load double, ptr %411, align 8
%413 = fadd double %408, %412
%414 = load i32, ptr %50, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %415
%417 = load double, ptr %416, align 8
%418 = fadd double %413, %417
%419 = fmul double 2.500000e-01, %418
%420 = load i32, ptr %50, align 4
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %421
store double %419, ptr %422, align 8
%423 = load i32, ptr %50, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %424
%426 = load double, ptr %425, align 8
%427 = load i32, ptr %50, align 4
%428 = sext i32 %427 to i64
%429 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %428
%430 = load double, ptr %429, align 8
%431 = fadd double %426, %430
%432 = load i32, ptr %50, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %433
%435 = load double, ptr %434, align 8
%436 = fadd double %431, %435
%437 = load i32, ptr %50, align 4
%438 = sext i32 %437 to i64
%439 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %438
%440 = load double, ptr %439, align 8
%441 = fadd double %436, %440
%442 = fmul double 2.500000e-01, %441
%443 = load i32, ptr %50, align 4
%444 = sext i32 %443 to i64
%445 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 %444
store double %442, ptr %445, align 8
%446 = load i32, ptr %50, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %447
%449 = load double, ptr %448, align 8
%450 = load i32, ptr %50, align 4
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %451
%453 = load double, ptr %452, align 8
%454 = fadd double %449, %453
%455 = load i32, ptr %50, align 4
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %456
%458 = load double, ptr %457, align 8
%459 = fadd double %454, %458
%460 = load i32, ptr %50, align 4
%461 = sext i32 %460 to i64
%462 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %461
%463 = load double, ptr %462, align 8
%464 = fadd double %459, %463
%465 = fmul double 2.500000e-01, %464
%466 = load i32, ptr %50, align 4
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 %467
store double %465, ptr %468, align 8
%469 = load i32, ptr %50, align 4
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %470
%472 = load double, ptr %471, align 8
%473 = load i32, ptr %50, align 4
%474 = sext i32 %473 to i64
%475 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %474
%476 = load double, ptr %475, align 8
%477 = fadd double %472, %476
%478 = load i32, ptr %50, align 4
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %479
%481 = load double, ptr %480, align 8
%482 = fadd double %477, %481
%483 = load i32, ptr %50, align 4
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %484
%486 = load double, ptr %485, align 8
%487 = fadd double %482, %486
%488 = fmul double 2.500000e-01, %487
%489 = load i32, ptr %50, align 4
%490 = sext i32 %489 to i64
%491 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %490
store double %488, ptr %491, align 8
%492 = load i32, ptr %50, align 4
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %493
%495 = load double, ptr %494, align 8
%496 = load i32, ptr %50, align 4
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %497
%499 = load double, ptr %498, align 8
%500 = fadd double %495, %499
%501 = load i32, ptr %50, align 4
%502 = sext i32 %501 to i64
%503 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %502
%504 = load double, ptr %503, align 8
%505 = fadd double %500, %504
%506 = load i32, ptr %50, align 4
%507 = sext i32 %506 to i64
%508 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %507
%509 = load double, ptr %508, align 8
%510 = fadd double %505, %509
%511 = fmul double 2.500000e-01, %510
%512 = load i32, ptr %50, align 4
%513 = sext i32 %512 to i64
%514 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %513
store double %511, ptr %514, align 8
%515 = load i32, ptr %50, align 4
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %516
%518 = load double, ptr %517, align 8
%519 = load i32, ptr %50, align 4
%520 = sext i32 %519 to i64
%521 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %520
%522 = load double, ptr %521, align 8
%523 = fadd double %518, %522
%524 = load i32, ptr %50, align 4
%525 = sext i32 %524 to i64
%526 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %525
%527 = load double, ptr %526, align 8
%528 = fadd double %523, %527
%529 = load i32, ptr %50, align 4
%530 = sext i32 %529 to i64
%531 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %530
%532 = load double, ptr %531, align 8
%533 = fadd double %528, %532
%534 = fmul double 2.500000e-01, %533
%535 = load i32, ptr %50, align 4
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %536
store double %534, ptr %537, align 8
%538 = load i32, ptr %50, align 4
%539 = sext i32 %538 to i64
%540 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %539
%541 = load double, ptr %540, align 8
%542 = load i32, ptr %50, align 4
%543 = sext i32 %542 to i64
%544 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %543
%545 = load double, ptr %544, align 8
%546 = fadd double %541, %545
%547 = fmul double 5.000000e-01, %546
%548 = load i32, ptr %50, align 4
%549 = sext i32 %548 to i64
%550 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 %549
store double %547, ptr %550, align 8
%551 = load i32, ptr %53, align 4
%552 = load i32, ptr %51, align 4
%553 = add nsw i32 %552, %551
store i32 %553, ptr %51, align 4
br label %554
554: ; preds = %112
%555 = load i32, ptr %50, align 4
%556 = add nsw i32 %555, 1
store i32 %556, ptr %50, align 4
br label %109, !llvm.loop !6
557: ; preds = %109
%558 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%559 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%560 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%561 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%562 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%563 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%564 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%565 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%566 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%567 = call double @dVxTetra3D(ptr noundef %558, ptr noundef %559, ptr noundef %560, ptr noundef %561, ptr noundef %562, ptr noundef %563, ptr noundef %564, ptr noundef %565, ptr noundef %566)
%568 = fneg double %567
store double %568, ptr %45, align 8
%569 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%570 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%571 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%572 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%573 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%574 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%575 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%576 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%577 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%578 = call double @dVxTetra3D(ptr noundef %569, ptr noundef %570, ptr noundef %571, ptr noundef %572, ptr noundef %573, ptr noundef %574, ptr noundef %575, ptr noundef %576, ptr noundef %577)
%579 = fneg double %578
%580 = load double, ptr %45, align 8
%581 = fadd double %580, %579
store double %581, ptr %45, align 8
%582 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%583 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%584 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%585 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%586 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%587 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%588 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%589 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%590 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%591 = call double @dVxTetra3D(ptr noundef %582, ptr noundef %583, ptr noundef %584, ptr noundef %585, ptr noundef %586, ptr noundef %587, ptr noundef %588, ptr noundef %589, ptr noundef %590)
%592 = fneg double %591
%593 = load double, ptr %45, align 8
%594 = fadd double %593, %592
store double %594, ptr %45, align 8
%595 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%596 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%597 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%598 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%599 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%600 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%601 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%602 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%603 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%604 = call double @dVxTetra3D(ptr noundef %595, ptr noundef %596, ptr noundef %597, ptr noundef %598, ptr noundef %599, ptr noundef %600, ptr noundef %601, ptr noundef %602, ptr noundef %603)
%605 = fneg double %604
%606 = load double, ptr %45, align 8
%607 = fadd double %606, %605
store double %607, ptr %45, align 8
%608 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%609 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%610 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%611 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%612 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%613 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%614 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%615 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%616 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%617 = call double @dVxTetra3D(ptr noundef %608, ptr noundef %609, ptr noundef %610, ptr noundef %611, ptr noundef %612, ptr noundef %613, ptr noundef %614, ptr noundef %615, ptr noundef %616)
%618 = load double, ptr %45, align 8
%619 = fadd double %618, %617
store double %619, ptr %45, align 8
%620 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%621 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%622 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%623 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%624 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%625 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%626 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%627 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%628 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%629 = call double @dVxTetra3D(ptr noundef %620, ptr noundef %621, ptr noundef %622, ptr noundef %623, ptr noundef %624, ptr noundef %625, ptr noundef %626, ptr noundef %627, ptr noundef %628)
%630 = load double, ptr %45, align 8
%631 = fadd double %630, %629
store double %631, ptr %45, align 8
%632 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%633 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%634 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%635 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%636 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%637 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%638 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%639 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%640 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%641 = call double @dVxTetra3D(ptr noundef %632, ptr noundef %633, ptr noundef %634, ptr noundef %635, ptr noundef %636, ptr noundef %637, ptr noundef %638, ptr noundef %639, ptr noundef %640)
%642 = load double, ptr %45, align 8
%643 = fadd double %642, %641
store double %643, ptr %45, align 8
%644 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%645 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%646 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%647 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%648 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%649 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%650 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%651 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%652 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%653 = call double @dVxTetra3D(ptr noundef %644, ptr noundef %645, ptr noundef %646, ptr noundef %647, ptr noundef %648, ptr noundef %649, ptr noundef %650, ptr noundef %651, ptr noundef %652)
%654 = load double, ptr %45, align 8
%655 = fadd double %654, %653
store double %655, ptr %45, align 8
%656 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%657 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%658 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%659 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%660 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%661 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%662 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%663 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%664 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%665 = call double @dVxTetra3D(ptr noundef %656, ptr noundef %657, ptr noundef %658, ptr noundef %659, ptr noundef %660, ptr noundef %661, ptr noundef %662, ptr noundef %663, ptr noundef %664)
%666 = load double, ptr %45, align 8
%667 = fadd double %666, %665
store double %667, ptr %45, align 8
%668 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%669 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%670 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%671 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%672 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%673 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%674 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%675 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%676 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%677 = call double @dVxTetra3D(ptr noundef %668, ptr noundef %669, ptr noundef %670, ptr noundef %671, ptr noundef %672, ptr noundef %673, ptr noundef %674, ptr noundef %675, ptr noundef %676)
%678 = load double, ptr %45, align 8
%679 = fadd double %678, %677
store double %679, ptr %45, align 8
%680 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%681 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%682 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%683 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%684 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%685 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%686 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%687 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%688 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%689 = call double @dVxTetra3D(ptr noundef %680, ptr noundef %681, ptr noundef %682, ptr noundef %683, ptr noundef %684, ptr noundef %685, ptr noundef %686, ptr noundef %687, ptr noundef %688)
%690 = load double, ptr %45, align 8
%691 = fadd double %690, %689
store double %691, ptr %45, align 8
%692 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%693 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%694 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%695 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%696 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%697 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%698 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%699 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%700 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%701 = call double @dVxTetra3D(ptr noundef %692, ptr noundef %693, ptr noundef %694, ptr noundef %695, ptr noundef %696, ptr noundef %697, ptr noundef %698, ptr noundef %699, ptr noundef %700)
%702 = load double, ptr %45, align 8
%703 = fadd double %702, %701
store double %703, ptr %45, align 8
%704 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%705 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%706 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%707 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%708 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%709 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%710 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%711 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%712 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%713 = call double @dVxTetra3D(ptr noundef %704, ptr noundef %705, ptr noundef %706, ptr noundef %707, ptr noundef %708, ptr noundef %709, ptr noundef %710, ptr noundef %711, ptr noundef %712)
%714 = load double, ptr %45, align 8
%715 = fadd double %714, %713
store double %715, ptr %45, align 8
%716 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%717 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%718 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%719 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%720 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%721 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%722 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%723 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%724 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%725 = call double @dVxTetra3D(ptr noundef %716, ptr noundef %717, ptr noundef %718, ptr noundef %719, ptr noundef %720, ptr noundef %721, ptr noundef %722, ptr noundef %723, ptr noundef %724)
%726 = load double, ptr %45, align 8
%727 = fadd double %726, %725
store double %727, ptr %45, align 8
%728 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%729 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%730 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%731 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%732 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%733 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%734 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%735 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%736 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%737 = call double @dVxTetra3D(ptr noundef %728, ptr noundef %729, ptr noundef %730, ptr noundef %731, ptr noundef %732, ptr noundef %733, ptr noundef %734, ptr noundef %735, ptr noundef %736)
%738 = load double, ptr %45, align 8
%739 = fadd double %738, %737
store double %739, ptr %45, align 8
%740 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%741 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%742 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%743 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%744 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%745 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%746 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%747 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%748 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%749 = call double @dVxTetra3D(ptr noundef %740, ptr noundef %741, ptr noundef %742, ptr noundef %743, ptr noundef %744, ptr noundef %745, ptr noundef %746, ptr noundef %747, ptr noundef %748)
%750 = load double, ptr %45, align 8
%751 = fadd double %750, %749
store double %751, ptr %45, align 8
%752 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%753 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%754 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%755 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%756 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%757 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%758 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%759 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%760 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%761 = call double @dVxTetra3D(ptr noundef %752, ptr noundef %753, ptr noundef %754, ptr noundef %755, ptr noundef %756, ptr noundef %757, ptr noundef %758, ptr noundef %759, ptr noundef %760)
%762 = load double, ptr %45, align 8
%763 = fadd double %762, %761
store double %763, ptr %45, align 8
%764 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%765 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%766 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%767 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%768 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%769 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%770 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%771 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%772 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%773 = call double @dVxTetra3D(ptr noundef %764, ptr noundef %765, ptr noundef %766, ptr noundef %767, ptr noundef %768, ptr noundef %769, ptr noundef %770, ptr noundef %771, ptr noundef %772)
%774 = load double, ptr %45, align 8
%775 = fadd double %774, %773
store double %775, ptr %45, align 8
%776 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%777 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%778 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%779 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%780 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%781 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%782 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%783 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%784 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%785 = call double @dVxTetra3D(ptr noundef %776, ptr noundef %777, ptr noundef %778, ptr noundef %779, ptr noundef %780, ptr noundef %781, ptr noundef %782, ptr noundef %783, ptr noundef %784)
%786 = load double, ptr %45, align 8
%787 = fadd double %786, %785
store double %787, ptr %45, align 8
%788 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%789 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%790 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%791 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%792 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%793 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%794 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%795 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%796 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%797 = call double @dVxTetra3D(ptr noundef %788, ptr noundef %789, ptr noundef %790, ptr noundef %791, ptr noundef %792, ptr noundef %793, ptr noundef %794, ptr noundef %795, ptr noundef %796)
%798 = load double, ptr %45, align 8
%799 = fadd double %798, %797
store double %799, ptr %45, align 8
%800 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%801 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%802 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%803 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%804 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%805 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%806 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%807 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%808 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%809 = call double @dVxTetra3D(ptr noundef %800, ptr noundef %801, ptr noundef %802, ptr noundef %803, ptr noundef %804, ptr noundef %805, ptr noundef %806, ptr noundef %807, ptr noundef %808)
%810 = load double, ptr %45, align 8
%811 = fadd double %810, %809
store double %811, ptr %45, align 8
%812 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%813 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%814 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%815 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%816 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%817 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%818 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%819 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%820 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%821 = call double @dVxTetra3D(ptr noundef %812, ptr noundef %813, ptr noundef %814, ptr noundef %815, ptr noundef %816, ptr noundef %817, ptr noundef %818, ptr noundef %819, ptr noundef %820)
%822 = load double, ptr %45, align 8
%823 = fadd double %822, %821
store double %823, ptr %45, align 8
%824 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%825 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%826 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%827 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%828 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%829 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%830 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%831 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%832 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%833 = call double @dVxTetra3D(ptr noundef %824, ptr noundef %825, ptr noundef %826, ptr noundef %827, ptr noundef %828, ptr noundef %829, ptr noundef %830, ptr noundef %831, ptr noundef %832)
%834 = load double, ptr %45, align 8
%835 = fadd double %834, %833
store double %835, ptr %45, align 8
%836 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%837 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%838 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%839 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%840 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%841 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%842 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%843 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%844 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%845 = call double @dVxTetra3D(ptr noundef %836, ptr noundef %837, ptr noundef %838, ptr noundef %839, ptr noundef %840, ptr noundef %841, ptr noundef %842, ptr noundef %843, ptr noundef %844)
%846 = load double, ptr %45, align 8
%847 = fadd double %846, %845
store double %847, ptr %45, align 8
%848 = load i32, ptr %47, align 4
%849 = load i32, ptr %11, align 4
%850 = load i32, ptr %48, align 4
%851 = load i32, ptr %49, align 4
%852 = load i32, ptr %12, align 4
%853 = mul nsw i32 %851, %852
%854 = add nsw i32 %850, %853
%855 = mul nsw i32 %849, %854
%856 = add nsw i32 %848, %855
store i32 %856, ptr %46, align 4
%857 = load double, ptr %45, align 8
%858 = load ptr, ptr %6, align 8
%859 = load i32, ptr %46, align 4
%860 = sext i32 %859 to i64
%861 = getelementptr inbounds double, ptr %858, i64 %860
store double %857, ptr %861, align 8
br label %862
862: ; preds = %557
%863 = load i32, ptr %49, align 4
%864 = add nsw i32 %863, 1
store i32 %864, ptr %49, align 4
br label %95, !llvm.loop !8
865: ; preds = %95
br label %866
866: ; preds = %865
%867 = load i32, ptr %48, align 4
%868 = add nsw i32 %867, 1
store i32 %868, ptr %48, align 4
br label %90, !llvm.loop !9
869: ; preds = %90
br label %870
870: ; preds = %869
%871 = load i32, ptr %47, align 4
%872 = add nsw i32 %871, 1
store i32 %872, ptr %47, align 4
br label %85, !llvm.loop !10
873: ; preds = %85
ret void
}
declare double @dVxTetra3D(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp51cytrd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dJacx3D(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
%19 = alloca [3 x double], align 16
%20 = alloca [3 x double], align 16
%21 = alloca [3 x double], align 16
%22 = alloca [3 x double], align 16
%23 = alloca [3 x double], align 16
%24 = alloca [3 x double], align 16
%25 = alloca [3 x double], align 16
%26 = alloca [3 x double], align 16
%27 = alloca [3 x double], align 16
%28 = alloca [3 x double], align 16
%29 = alloca [3 x double], align 16
%30 = alloca [3 x double], align 16
%31 = alloca [3 x double], align 16
%32 = alloca [3 x double], align 16
%33 = alloca [3 x double], align 16
%34 = alloca [3 x double], align 16
%35 = alloca [3 x double], align 16
%36 = alloca [3 x double], align 16
%37 = alloca [3 x double], align 16
%38 = alloca [3 x double], align 16
%39 = alloca [3 x double], align 16
%40 = alloca [3 x double], align 16
%41 = alloca [3 x double], align 16
%42 = alloca [3 x double], align 16
%43 = alloca [3 x double], align 16
%44 = alloca [9 x double], align 16
%45 = alloca double, align 8
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds double, ptr %58, i64 0
%60 = load double, ptr %59, align 8
%61 = fptosi double %60 to i32
store i32 %61, ptr %11, align 4
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = fptosi double %64 to i32
store i32 %65, ptr %12, align 4
%66 = load ptr, ptr %9, align 8
%67 = getelementptr inbounds double, ptr %66, i64 2
%68 = load double, ptr %67, align 8
%69 = fptosi double %68 to i32
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
%74 = mul nsw i32 %71, %73
%75 = load i32, ptr %13, align 4
%76 = add nsw i32 %75, 1
%77 = mul nsw i32 %74, %76
store i32 %77, ptr %53, align 4
store i32 1, ptr %54, align 4
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %55, align 4
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 1
%84 = mul nsw i32 %81, %83
store i32 %84, ptr %56, align 4
store i32 0, ptr %47, align 4
%85 = load i32, ptr %47, align 4
%86 = load i32, ptr %11, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph8, label %880
.lr.ph8: ; preds = %5
br label %88
88: ; preds = %.lr.ph8, %874
store i32 0, ptr %48, align 4
%89 = load i32, ptr %48, align 4
%90 = load i32, ptr %12, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %873
.lr.ph5: ; preds = %88
br label %92
92: ; preds = %.lr.ph5, %867
store i32 0, ptr %49, align 4
%93 = load i32, ptr %49, align 4
%94 = load i32, ptr %13, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %.lr.ph2, label %866
.lr.ph2: ; preds = %92
br label %96
96: ; preds = %.lr.ph2, %860
%97 = load i32, ptr %47, align 4
%98 = load i32, ptr %48, align 4
%99 = load i32, ptr %55, align 4
%100 = mul nsw i32 %98, %99
%101 = add nsw i32 %97, %100
%102 = load i32, ptr %49, align 4
%103 = load i32, ptr %56, align 4
%104 = mul nsw i32 %102, %103
%105 = add nsw i32 %101, %104
store i32 %105, ptr %52, align 4
store i32 0, ptr %51, align 4
store i32 0, ptr %50, align 4
%106 = load i32, ptr %50, align 4
%107 = icmp slt i32 %106, 3
br i1 %107, label %.lr.ph, label %555
.lr.ph: ; preds = %96
br label %108
108: ; preds = %.lr.ph, %550
%109 = load ptr, ptr %7, align 8
%110 = load i32, ptr %52, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load i32, ptr %51, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
store ptr %115, ptr %57, align 8
%116 = load ptr, ptr %57, align 8
%117 = load double, ptr %116, align 8
%118 = load i32, ptr %50, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %119
store double %117, ptr %120, align 8
%121 = load ptr, ptr %57, align 8
%122 = getelementptr inbounds double, ptr %121, i64 1
store ptr %122, ptr %57, align 8
%123 = load ptr, ptr %57, align 8
%124 = load double, ptr %123, align 8
%125 = load i32, ptr %50, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %126
store double %124, ptr %127, align 8
%128 = load i32, ptr %55, align 4
%129 = load ptr, ptr %57, align 8
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds double, ptr %129, i64 %130
store ptr %131, ptr %57, align 8
%132 = load ptr, ptr %57, align 8
%133 = load double, ptr %132, align 8
%134 = load i32, ptr %50, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %135
store double %133, ptr %136, align 8
%137 = load ptr, ptr %57, align 8
%138 = getelementptr inbounds double, ptr %137, i64 -1
store ptr %138, ptr %57, align 8
%139 = load ptr, ptr %57, align 8
%140 = load double, ptr %139, align 8
%141 = load i32, ptr %50, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %142
store double %140, ptr %143, align 8
%144 = load i32, ptr %56, align 4
%145 = load ptr, ptr %57, align 8
%146 = sext i32 %144 to i64
%147 = getelementptr inbounds double, ptr %145, i64 %146
store ptr %147, ptr %57, align 8
%148 = load ptr, ptr %57, align 8
%149 = load double, ptr %148, align 8
%150 = load i32, ptr %50, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %151
store double %149, ptr %152, align 8
%153 = load ptr, ptr %57, align 8
%154 = getelementptr inbounds double, ptr %153, i64 1
store ptr %154, ptr %57, align 8
%155 = load ptr, ptr %57, align 8
%156 = load double, ptr %155, align 8
%157 = load i32, ptr %50, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %158
store double %156, ptr %159, align 8
%160 = load i32, ptr %55, align 4
%161 = load ptr, ptr %57, align 8
%162 = sext i32 %160 to i64
%163 = sub i64 0, %162
%164 = getelementptr inbounds double, ptr %161, i64 %163
store ptr %164, ptr %57, align 8
%165 = load ptr, ptr %57, align 8
%166 = load double, ptr %165, align 8
%167 = load i32, ptr %50, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %168
store double %166, ptr %169, align 8
%170 = load ptr, ptr %57, align 8
%171 = getelementptr inbounds double, ptr %170, i64 -1
store ptr %171, ptr %57, align 8
%172 = load ptr, ptr %57, align 8
%173 = load double, ptr %172, align 8
%174 = load i32, ptr %50, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %175
store double %173, ptr %176, align 8
%177 = load i32, ptr %50, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %178
%180 = load double, ptr %179, align 8
%181 = load i32, ptr %50, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %182
%184 = load double, ptr %183, align 8
%185 = fadd double %180, %184
%186 = load i32, ptr %50, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %187
%189 = load double, ptr %188, align 8
%190 = fadd double %185, %189
%191 = load i32, ptr %50, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %192
%194 = load double, ptr %193, align 8
%195 = fadd double %190, %194
%196 = fmul double 2.500000e-01, %195
%197 = load i32, ptr %50, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %198
store double %196, ptr %199, align 8
%200 = load i32, ptr %50, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %201
%203 = load double, ptr %202, align 8
%204 = load i32, ptr %50, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %205
%207 = load double, ptr %206, align 8
%208 = fadd double %203, %207
%209 = load i32, ptr %50, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %210
%212 = load double, ptr %211, align 8
%213 = fadd double %208, %212
%214 = load i32, ptr %50, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %215
%217 = load double, ptr %216, align 8
%218 = fadd double %213, %217
%219 = fmul double 2.500000e-01, %218
%220 = load i32, ptr %50, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 %221
store double %219, ptr %222, align 8
%223 = load i32, ptr %50, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %224
%226 = load double, ptr %225, align 8
%227 = load i32, ptr %50, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %228
%230 = load double, ptr %229, align 8
%231 = fadd double %226, %230
%232 = load i32, ptr %50, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %233
%235 = load double, ptr %234, align 8
%236 = fadd double %231, %235
%237 = load i32, ptr %50, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %238
%240 = load double, ptr %239, align 8
%241 = fadd double %236, %240
%242 = fmul double 2.500000e-01, %241
%243 = load i32, ptr %50, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 %244
store double %242, ptr %245, align 8
%246 = load i32, ptr %50, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %247
%249 = load double, ptr %248, align 8
%250 = load i32, ptr %50, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %251
%253 = load double, ptr %252, align 8
%254 = fadd double %249, %253
%255 = load i32, ptr %50, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %256
%258 = load double, ptr %257, align 8
%259 = fadd double %254, %258
%260 = load i32, ptr %50, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %261
%263 = load double, ptr %262, align 8
%264 = fadd double %259, %263
%265 = fmul double 2.500000e-01, %264
%266 = load i32, ptr %50, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %267
store double %265, ptr %268, align 8
%269 = load i32, ptr %50, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %270
%272 = load double, ptr %271, align 8
%273 = load i32, ptr %50, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %274
%276 = load double, ptr %275, align 8
%277 = fadd double %272, %276
%278 = load i32, ptr %50, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %279
%281 = load double, ptr %280, align 8
%282 = fadd double %277, %281
%283 = load i32, ptr %50, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %284
%286 = load double, ptr %285, align 8
%287 = fadd double %282, %286
%288 = fmul double 2.500000e-01, %287
%289 = load i32, ptr %50, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 %290
store double %288, ptr %291, align 8
%292 = load i32, ptr %50, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %293
%295 = load double, ptr %294, align 8
%296 = load i32, ptr %50, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %297
%299 = load double, ptr %298, align 8
%300 = fadd double %295, %299
%301 = load i32, ptr %50, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %302
%304 = load double, ptr %303, align 8
%305 = fadd double %300, %304
%306 = load i32, ptr %50, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %307
%309 = load double, ptr %308, align 8
%310 = fadd double %305, %309
%311 = fmul double 2.500000e-01, %310
%312 = load i32, ptr %50, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 %313
store double %311, ptr %314, align 8
%315 = load i32, ptr %50, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %316
%318 = load double, ptr %317, align 8
%319 = load i32, ptr %50, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 %320
%322 = load double, ptr %321, align 8
%323 = fadd double %318, %322
%324 = fmul double 5.000000e-01, %323
%325 = load i32, ptr %50, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 %326
store double %324, ptr %327, align 8
%328 = load ptr, ptr %8, align 8
%329 = load i32, ptr %52, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds double, ptr %328, i64 %330
%332 = load i32, ptr %51, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds double, ptr %331, i64 %333
store ptr %334, ptr %57, align 8
%335 = load ptr, ptr %57, align 8
%336 = load double, ptr %335, align 8
%337 = load i32, ptr %50, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %338
store double %336, ptr %339, align 8
%340 = load ptr, ptr %57, align 8
%341 = getelementptr inbounds double, ptr %340, i64 1
store ptr %341, ptr %57, align 8
%342 = load ptr, ptr %57, align 8
%343 = load double, ptr %342, align 8
%344 = load i32, ptr %50, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %345
store double %343, ptr %346, align 8
%347 = load i32, ptr %55, align 4
%348 = load ptr, ptr %57, align 8
%349 = sext i32 %347 to i64
%350 = getelementptr inbounds double, ptr %348, i64 %349
store ptr %350, ptr %57, align 8
%351 = load ptr, ptr %57, align 8
%352 = load double, ptr %351, align 8
%353 = load i32, ptr %50, align 4
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %354
store double %352, ptr %355, align 8
%356 = load ptr, ptr %57, align 8
%357 = getelementptr inbounds double, ptr %356, i64 -1
store ptr %357, ptr %57, align 8
%358 = load ptr, ptr %57, align 8
%359 = load double, ptr %358, align 8
%360 = load i32, ptr %50, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %361
store double %359, ptr %362, align 8
%363 = load i32, ptr %56, align 4
%364 = load ptr, ptr %57, align 8
%365 = sext i32 %363 to i64
%366 = getelementptr inbounds double, ptr %364, i64 %365
store ptr %366, ptr %57, align 8
%367 = load ptr, ptr %57, align 8
%368 = load double, ptr %367, align 8
%369 = load i32, ptr %50, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %370
store double %368, ptr %371, align 8
%372 = load ptr, ptr %57, align 8
%373 = getelementptr inbounds double, ptr %372, i64 1
store ptr %373, ptr %57, align 8
%374 = load ptr, ptr %57, align 8
%375 = load double, ptr %374, align 8
%376 = load i32, ptr %50, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %377
store double %375, ptr %378, align 8
%379 = load i32, ptr %55, align 4
%380 = load ptr, ptr %57, align 8
%381 = sext i32 %379 to i64
%382 = sub i64 0, %381
%383 = getelementptr inbounds double, ptr %380, i64 %382
store ptr %383, ptr %57, align 8
%384 = load ptr, ptr %57, align 8
%385 = load double, ptr %384, align 8
%386 = load i32, ptr %50, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %387
store double %385, ptr %388, align 8
%389 = load ptr, ptr %57, align 8
%390 = getelementptr inbounds double, ptr %389, i64 -1
store ptr %390, ptr %57, align 8
%391 = load ptr, ptr %57, align 8
%392 = load double, ptr %391, align 8
%393 = load i32, ptr %50, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %394
store double %392, ptr %395, align 8
%396 = load i32, ptr %50, align 4
%397 = sext i32 %396 to i64
%398 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %397
%399 = load double, ptr %398, align 8
%400 = load i32, ptr %50, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %401
%403 = load double, ptr %402, align 8
%404 = fadd double %399, %403
%405 = load i32, ptr %50, align 4
%406 = sext i32 %405 to i64
%407 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %406
%408 = load double, ptr %407, align 8
%409 = fadd double %404, %408
%410 = load i32, ptr %50, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %411
%413 = load double, ptr %412, align 8
%414 = fadd double %409, %413
%415 = fmul double 2.500000e-01, %414
%416 = load i32, ptr %50, align 4
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %417
store double %415, ptr %418, align 8
%419 = load i32, ptr %50, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %420
%422 = load double, ptr %421, align 8
%423 = load i32, ptr %50, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %424
%426 = load double, ptr %425, align 8
%427 = fadd double %422, %426
%428 = load i32, ptr %50, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %429
%431 = load double, ptr %430, align 8
%432 = fadd double %427, %431
%433 = load i32, ptr %50, align 4
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %434
%436 = load double, ptr %435, align 8
%437 = fadd double %432, %436
%438 = fmul double 2.500000e-01, %437
%439 = load i32, ptr %50, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 %440
store double %438, ptr %441, align 8
%442 = load i32, ptr %50, align 4
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %443
%445 = load double, ptr %444, align 8
%446 = load i32, ptr %50, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %447
%449 = load double, ptr %448, align 8
%450 = fadd double %445, %449
%451 = load i32, ptr %50, align 4
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %452
%454 = load double, ptr %453, align 8
%455 = fadd double %450, %454
%456 = load i32, ptr %50, align 4
%457 = sext i32 %456 to i64
%458 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %457
%459 = load double, ptr %458, align 8
%460 = fadd double %455, %459
%461 = fmul double 2.500000e-01, %460
%462 = load i32, ptr %50, align 4
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 %463
store double %461, ptr %464, align 8
%465 = load i32, ptr %50, align 4
%466 = sext i32 %465 to i64
%467 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %466
%468 = load double, ptr %467, align 8
%469 = load i32, ptr %50, align 4
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 %470
%472 = load double, ptr %471, align 8
%473 = fadd double %468, %472
%474 = load i32, ptr %50, align 4
%475 = sext i32 %474 to i64
%476 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %475
%477 = load double, ptr %476, align 8
%478 = fadd double %473, %477
%479 = load i32, ptr %50, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %480
%482 = load double, ptr %481, align 8
%483 = fadd double %478, %482
%484 = fmul double 2.500000e-01, %483
%485 = load i32, ptr %50, align 4
%486 = sext i32 %485 to i64
%487 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %486
store double %484, ptr %487, align 8
%488 = load i32, ptr %50, align 4
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 %489
%491 = load double, ptr %490, align 8
%492 = load i32, ptr %50, align 4
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 %493
%495 = load double, ptr %494, align 8
%496 = fadd double %491, %495
%497 = load i32, ptr %50, align 4
%498 = sext i32 %497 to i64
%499 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %498
%500 = load double, ptr %499, align 8
%501 = fadd double %496, %500
%502 = load i32, ptr %50, align 4
%503 = sext i32 %502 to i64
%504 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %503
%505 = load double, ptr %504, align 8
%506 = fadd double %501, %505
%507 = fmul double 2.500000e-01, %506
%508 = load i32, ptr %50, align 4
%509 = sext i32 %508 to i64
%510 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %509
store double %507, ptr %510, align 8
%511 = load i32, ptr %50, align 4
%512 = sext i32 %511 to i64
%513 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %512
%514 = load double, ptr %513, align 8
%515 = load i32, ptr %50, align 4
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %516
%518 = load double, ptr %517, align 8
%519 = fadd double %514, %518
%520 = load i32, ptr %50, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 %521
%523 = load double, ptr %522, align 8
%524 = fadd double %519, %523
%525 = load i32, ptr %50, align 4
%526 = sext i32 %525 to i64
%527 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 %526
%528 = load double, ptr %527, align 8
%529 = fadd double %524, %528
%530 = fmul double 2.500000e-01, %529
%531 = load i32, ptr %50, align 4
%532 = sext i32 %531 to i64
%533 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %532
store double %530, ptr %533, align 8
%534 = load i32, ptr %50, align 4
%535 = sext i32 %534 to i64
%536 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %535
%537 = load double, ptr %536, align 8
%538 = load i32, ptr %50, align 4
%539 = sext i32 %538 to i64
%540 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %539
%541 = load double, ptr %540, align 8
%542 = fadd double %537, %541
%543 = fmul double 5.000000e-01, %542
%544 = load i32, ptr %50, align 4
%545 = sext i32 %544 to i64
%546 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 %545
store double %543, ptr %546, align 8
%547 = load i32, ptr %53, align 4
%548 = load i32, ptr %51, align 4
%549 = add nsw i32 %548, %547
store i32 %549, ptr %51, align 4
br label %550
550: ; preds = %108
%551 = load i32, ptr %50, align 4
%552 = add nsw i32 %551, 1
store i32 %552, ptr %50, align 4
%553 = load i32, ptr %50, align 4
%554 = icmp slt i32 %553, 3
br i1 %554, label %108, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %550
br label %555
555: ; preds = %._crit_edge, %96
%556 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%557 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%558 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%559 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%560 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%561 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%562 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%563 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%564 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%565 = call double @dVxTetra3D(ptr noundef %556, ptr noundef %557, ptr noundef %558, ptr noundef %559, ptr noundef %560, ptr noundef %561, ptr noundef %562, ptr noundef %563, ptr noundef %564)
%566 = fneg double %565
store double %566, ptr %45, align 8
%567 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%568 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%569 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%570 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%571 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%572 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%573 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%574 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%575 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%576 = call double @dVxTetra3D(ptr noundef %567, ptr noundef %568, ptr noundef %569, ptr noundef %570, ptr noundef %571, ptr noundef %572, ptr noundef %573, ptr noundef %574, ptr noundef %575)
%577 = fneg double %576
%578 = load double, ptr %45, align 8
%579 = fadd double %578, %577
store double %579, ptr %45, align 8
%580 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%581 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%582 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%583 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%584 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%585 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%586 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%587 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%588 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%589 = call double @dVxTetra3D(ptr noundef %580, ptr noundef %581, ptr noundef %582, ptr noundef %583, ptr noundef %584, ptr noundef %585, ptr noundef %586, ptr noundef %587, ptr noundef %588)
%590 = fneg double %589
%591 = load double, ptr %45, align 8
%592 = fadd double %591, %590
store double %592, ptr %45, align 8
%593 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%594 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%595 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%596 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%597 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%598 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%599 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%600 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
%601 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%602 = call double @dVxTetra3D(ptr noundef %593, ptr noundef %594, ptr noundef %595, ptr noundef %596, ptr noundef %597, ptr noundef %598, ptr noundef %599, ptr noundef %600, ptr noundef %601)
%603 = fneg double %602
%604 = load double, ptr %45, align 8
%605 = fadd double %604, %603
store double %605, ptr %45, align 8
%606 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%607 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%608 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%609 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%610 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%611 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%612 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%613 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%614 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%615 = call double @dVxTetra3D(ptr noundef %606, ptr noundef %607, ptr noundef %608, ptr noundef %609, ptr noundef %610, ptr noundef %611, ptr noundef %612, ptr noundef %613, ptr noundef %614)
%616 = load double, ptr %45, align 8
%617 = fadd double %616, %615
store double %617, ptr %45, align 8
%618 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%619 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%620 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%621 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%622 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%623 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%624 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%625 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%626 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%627 = call double @dVxTetra3D(ptr noundef %618, ptr noundef %619, ptr noundef %620, ptr noundef %621, ptr noundef %622, ptr noundef %623, ptr noundef %624, ptr noundef %625, ptr noundef %626)
%628 = load double, ptr %45, align 8
%629 = fadd double %628, %627
store double %629, ptr %45, align 8
%630 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%631 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%632 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%633 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%634 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%635 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%636 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%637 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%638 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%639 = call double @dVxTetra3D(ptr noundef %630, ptr noundef %631, ptr noundef %632, ptr noundef %633, ptr noundef %634, ptr noundef %635, ptr noundef %636, ptr noundef %637, ptr noundef %638)
%640 = load double, ptr %45, align 8
%641 = fadd double %640, %639
store double %641, ptr %45, align 8
%642 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%643 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%644 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%645 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%646 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%647 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%648 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%649 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
%650 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%651 = call double @dVxTetra3D(ptr noundef %642, ptr noundef %643, ptr noundef %644, ptr noundef %645, ptr noundef %646, ptr noundef %647, ptr noundef %648, ptr noundef %649, ptr noundef %650)
%652 = load double, ptr %45, align 8
%653 = fadd double %652, %651
store double %653, ptr %45, align 8
%654 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%655 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%656 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%657 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%658 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%659 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%660 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%661 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%662 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%663 = call double @dVxTetra3D(ptr noundef %654, ptr noundef %655, ptr noundef %656, ptr noundef %657, ptr noundef %658, ptr noundef %659, ptr noundef %660, ptr noundef %661, ptr noundef %662)
%664 = load double, ptr %45, align 8
%665 = fadd double %664, %663
store double %665, ptr %45, align 8
%666 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%667 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%668 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%669 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%670 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%671 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
%672 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%673 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%674 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%675 = call double @dVxTetra3D(ptr noundef %666, ptr noundef %667, ptr noundef %668, ptr noundef %669, ptr noundef %670, ptr noundef %671, ptr noundef %672, ptr noundef %673, ptr noundef %674)
%676 = load double, ptr %45, align 8
%677 = fadd double %676, %675
store double %677, ptr %45, align 8
%678 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%679 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%680 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%681 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%682 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%683 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%684 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%685 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%686 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%687 = call double @dVxTetra3D(ptr noundef %678, ptr noundef %679, ptr noundef %680, ptr noundef %681, ptr noundef %682, ptr noundef %683, ptr noundef %684, ptr noundef %685, ptr noundef %686)
%688 = load double, ptr %45, align 8
%689 = fadd double %688, %687
store double %689, ptr %45, align 8
%690 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%691 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%692 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%693 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%694 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%695 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%696 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%697 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
%698 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%699 = call double @dVxTetra3D(ptr noundef %690, ptr noundef %691, ptr noundef %692, ptr noundef %693, ptr noundef %694, ptr noundef %695, ptr noundef %696, ptr noundef %697, ptr noundef %698)
%700 = load double, ptr %45, align 8
%701 = fadd double %700, %699
store double %701, ptr %45, align 8
%702 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%703 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%704 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%705 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%706 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%707 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%708 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%709 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%710 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%711 = call double @dVxTetra3D(ptr noundef %702, ptr noundef %703, ptr noundef %704, ptr noundef %705, ptr noundef %706, ptr noundef %707, ptr noundef %708, ptr noundef %709, ptr noundef %710)
%712 = load double, ptr %45, align 8
%713 = fadd double %712, %711
store double %713, ptr %45, align 8
%714 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%715 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%716 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%717 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%718 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%719 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0
%720 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%721 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%722 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%723 = call double @dVxTetra3D(ptr noundef %714, ptr noundef %715, ptr noundef %716, ptr noundef %717, ptr noundef %718, ptr noundef %719, ptr noundef %720, ptr noundef %721, ptr noundef %722)
%724 = load double, ptr %45, align 8
%725 = fadd double %724, %723
store double %725, ptr %45, align 8
%726 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%727 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%728 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%729 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%730 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%731 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%732 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%733 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%734 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%735 = call double @dVxTetra3D(ptr noundef %726, ptr noundef %727, ptr noundef %728, ptr noundef %729, ptr noundef %730, ptr noundef %731, ptr noundef %732, ptr noundef %733, ptr noundef %734)
%736 = load double, ptr %45, align 8
%737 = fadd double %736, %735
store double %737, ptr %45, align 8
%738 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%739 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%740 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%741 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%742 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%743 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%744 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%745 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
%746 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%747 = call double @dVxTetra3D(ptr noundef %738, ptr noundef %739, ptr noundef %740, ptr noundef %741, ptr noundef %742, ptr noundef %743, ptr noundef %744, ptr noundef %745, ptr noundef %746)
%748 = load double, ptr %45, align 8
%749 = fadd double %748, %747
store double %749, ptr %45, align 8
%750 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%751 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%752 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%753 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%754 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%755 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%756 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%757 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%758 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%759 = call double @dVxTetra3D(ptr noundef %750, ptr noundef %751, ptr noundef %752, ptr noundef %753, ptr noundef %754, ptr noundef %755, ptr noundef %756, ptr noundef %757, ptr noundef %758)
%760 = load double, ptr %45, align 8
%761 = fadd double %760, %759
store double %761, ptr %45, align 8
%762 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%763 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%764 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%765 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%766 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%767 = getelementptr inbounds [3 x double], ptr %31, i64 0, i64 0
%768 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%769 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%770 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%771 = call double @dVxTetra3D(ptr noundef %762, ptr noundef %763, ptr noundef %764, ptr noundef %765, ptr noundef %766, ptr noundef %767, ptr noundef %768, ptr noundef %769, ptr noundef %770)
%772 = load double, ptr %45, align 8
%773 = fadd double %772, %771
store double %773, ptr %45, align 8
%774 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%775 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%776 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%777 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%778 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%779 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%780 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%781 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%782 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%783 = call double @dVxTetra3D(ptr noundef %774, ptr noundef %775, ptr noundef %776, ptr noundef %777, ptr noundef %778, ptr noundef %779, ptr noundef %780, ptr noundef %781, ptr noundef %782)
%784 = load double, ptr %45, align 8
%785 = fadd double %784, %783
store double %785, ptr %45, align 8
%786 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%787 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%788 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%789 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%790 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%791 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%792 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
%793 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
%794 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%795 = call double @dVxTetra3D(ptr noundef %786, ptr noundef %787, ptr noundef %788, ptr noundef %789, ptr noundef %790, ptr noundef %791, ptr noundef %792, ptr noundef %793, ptr noundef %794)
%796 = load double, ptr %45, align 8
%797 = fadd double %796, %795
store double %797, ptr %45, align 8
%798 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%799 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%800 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%801 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%802 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%803 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%804 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%805 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%806 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%807 = call double @dVxTetra3D(ptr noundef %798, ptr noundef %799, ptr noundef %800, ptr noundef %801, ptr noundef %802, ptr noundef %803, ptr noundef %804, ptr noundef %805, ptr noundef %806)
%808 = load double, ptr %45, align 8
%809 = fadd double %808, %807
store double %809, ptr %45, align 8
%810 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%811 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%812 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%813 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%814 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%815 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%816 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%817 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%818 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%819 = call double @dVxTetra3D(ptr noundef %810, ptr noundef %811, ptr noundef %812, ptr noundef %813, ptr noundef %814, ptr noundef %815, ptr noundef %816, ptr noundef %817, ptr noundef %818)
%820 = load double, ptr %45, align 8
%821 = fadd double %820, %819
store double %821, ptr %45, align 8
%822 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%823 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%824 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%825 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%826 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%827 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
%828 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%829 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%830 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%831 = call double @dVxTetra3D(ptr noundef %822, ptr noundef %823, ptr noundef %824, ptr noundef %825, ptr noundef %826, ptr noundef %827, ptr noundef %828, ptr noundef %829, ptr noundef %830)
%832 = load double, ptr %45, align 8
%833 = fadd double %832, %831
store double %833, ptr %45, align 8
%834 = getelementptr inbounds [9 x double], ptr %44, i64 0, i64 0
%835 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%836 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%837 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 0
%838 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0
%839 = getelementptr inbounds [3 x double], ptr %35, i64 0, i64 0
%840 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
%841 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
%842 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%843 = call double @dVxTetra3D(ptr noundef %834, ptr noundef %835, ptr noundef %836, ptr noundef %837, ptr noundef %838, ptr noundef %839, ptr noundef %840, ptr noundef %841, ptr noundef %842)
%844 = load double, ptr %45, align 8
%845 = fadd double %844, %843
store double %845, ptr %45, align 8
%846 = load i32, ptr %47, align 4
%847 = load i32, ptr %11, align 4
%848 = load i32, ptr %48, align 4
%849 = load i32, ptr %49, align 4
%850 = load i32, ptr %12, align 4
%851 = mul nsw i32 %849, %850
%852 = add nsw i32 %848, %851
%853 = mul nsw i32 %847, %852
%854 = add nsw i32 %846, %853
store i32 %854, ptr %46, align 4
%855 = load double, ptr %45, align 8
%856 = load ptr, ptr %6, align 8
%857 = load i32, ptr %46, align 4
%858 = sext i32 %857 to i64
%859 = getelementptr inbounds double, ptr %856, i64 %858
store double %855, ptr %859, align 8
br label %860
860: ; preds = %555
%861 = load i32, ptr %49, align 4
%862 = add nsw i32 %861, 1
store i32 %862, ptr %49, align 4
%863 = load i32, ptr %49, align 4
%864 = load i32, ptr %13, align 4
%865 = icmp slt i32 %863, %864
br i1 %865, label %96, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %860
br label %866
866: ; preds = %._crit_edge3, %92
br label %867
867: ; preds = %866
%868 = load i32, ptr %48, align 4
%869 = add nsw i32 %868, 1
store i32 %869, ptr %48, align 4
%870 = load i32, ptr %48, align 4
%871 = load i32, ptr %12, align 4
%872 = icmp slt i32 %870, %871
br i1 %872, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %867
br label %873
873: ; preds = %._crit_edge6, %88
br label %874
874: ; preds = %873
%875 = load i32, ptr %47, align 4
%876 = add nsw i32 %875, 1
store i32 %876, ptr %47, align 4
%877 = load i32, ptr %47, align 4
%878 = load i32, ptr %11, align 4
%879 = icmp slt i32 %877, %878
br i1 %879, label %88, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %874
br label %880
880: ; preds = %._crit_edge9, %5
ret void
}
declare double @dVxTetra3D(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwtwhgghk.c'
source_filename = "/tmp/tmpwtwhgghk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x46() #0 {
%1 = call i32 @isupper(i32 noundef 70) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 355, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwtwhgghk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x46() #0 {
%1 = call i32 @isupper(i32 noundef 70) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 355, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp93dkzp1a.c'
source_filename = "/tmp/tmp93dkzp1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @UART0_LON_IRQHandler() #0 {
%1 = call i32 (...) @UART0_LON_DriverIRQHandler()
ret void
}
declare i32 @UART0_LON_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp93dkzp1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @UART0_LON_IRQHandler() #0 {
%1 = call i32 (...) @UART0_LON_DriverIRQHandler()
ret void
}
declare i32 @UART0_LON_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1jor2atf.c'
source_filename = "/tmp/tmp1jor2atf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"create socket error: %s(errno: %d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"bind socket error: %s(errno: %d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"listen socket error: %s(errno: %d)\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"accept socket error: %s(errno: %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"new socket connect...\0Athe client socketfd: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"received msg from client<%d>: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4096 x i8], align 16
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %2, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %18
12: ; preds = %0
%13 = load i32, ptr @errno, align 4
%14 = call ptr @strerror(i32 noundef %13)
%15 = load i32, ptr @errno, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
store i64 12, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %19)
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = load i32, ptr @INADDR_ANY, align 4
%24 = call i32 @htonl(i32 noundef %23)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0
store i32 %24, ptr %26, align 4
%27 = call i32 @htons(i32 noundef 9999)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %2, align 4
%30 = load i64, ptr %7, align 8
%31 = call i32 @bind(i32 noundef %29, ptr noundef %6, i64 noundef %30)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %39
33: ; preds = %18
%34 = load i32, ptr @errno, align 4
%35 = call ptr @strerror(i32 noundef %34)
%36 = load i32, ptr @errno, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %35, i32 noundef %36)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %18
%40 = load i32, ptr %2, align 4
%41 = call i32 @listen(i32 noundef %40, i32 noundef 10)
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr @errno, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = load i32, ptr @errno, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45, i32 noundef %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %39
br label %50
50: ; preds = %49, %54, %62
%51 = load i32, ptr %2, align 4
%52 = call i32 @accept(i32 noundef %51, ptr noundef null, ptr noundef null)
store i32 %52, ptr %3, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %59
54: ; preds = %50
%55 = load i32, ptr @errno, align 4
%56 = call ptr @strerror(i32 noundef %55)
%57 = load i32, ptr @errno, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %56, i32 noundef %57)
br label %50
59: ; preds = %50
%60 = load i32, ptr %3, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %60)
br label %62
62: ; preds = %59
%63 = load i32, ptr %3, align 4
%64 = call i32 @recv(i32 noundef %63, ptr noundef %5, i32 noundef 4096, i32 noundef 0)
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 %66
store i8 0, ptr %67, align 1
%68 = load i32, ptr %3, align 4
%69 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68, ptr noundef %69)
%71 = load i32, ptr %3, align 4
%72 = call i32 @close(i32 noundef %71)
br label %50
}
declare i32 @socket(i32 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, i64 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp1jor2atf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"create socket error: %s(errno: %d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"bind socket error: %s(errno: %d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"listen socket error: %s(errno: %d)\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"accept socket error: %s(errno: %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"new socket connect...\0Athe client socketfd: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"received msg from client<%d>: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4096 x i8], align 16
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %2, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %18
12: ; preds = %0
%13 = load i32, ptr @errno, align 4
%14 = call ptr @strerror(i32 noundef %13)
%15 = load i32, ptr @errno, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
store i64 12, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %19)
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = load i32, ptr @INADDR_ANY, align 4
%24 = call i32 @htonl(i32 noundef %23)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0
store i32 %24, ptr %26, align 4
%27 = call i32 @htons(i32 noundef 9999)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %2, align 4
%30 = load i64, ptr %7, align 8
%31 = call i32 @bind(i32 noundef %29, ptr noundef %6, i64 noundef %30)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %39
33: ; preds = %18
%34 = load i32, ptr @errno, align 4
%35 = call ptr @strerror(i32 noundef %34)
%36 = load i32, ptr @errno, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %35, i32 noundef %36)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %18
%40 = load i32, ptr %2, align 4
%41 = call i32 @listen(i32 noundef %40, i32 noundef 10)
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr @errno, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = load i32, ptr @errno, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45, i32 noundef %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %39
br label %50
50: ; preds = %.backedge, %49
%51 = load i32, ptr %2, align 4
%52 = call i32 @accept(i32 noundef %51, ptr noundef null, ptr noundef null)
store i32 %52, ptr %3, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %59
54: ; preds = %50
%55 = load i32, ptr @errno, align 4
%56 = call ptr @strerror(i32 noundef %55)
%57 = load i32, ptr @errno, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %56, i32 noundef %57)
br label %.backedge
.backedge: ; preds = %54, %62
br label %50
59: ; preds = %50
%60 = load i32, ptr %3, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %60)
br label %62
62: ; preds = %59
%63 = load i32, ptr %3, align 4
%64 = call i32 @recv(i32 noundef %63, ptr noundef %5, i32 noundef 4096, i32 noundef 0)
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 %66
store i8 0, ptr %67, align 1
%68 = load i32, ptr %3, align 4
%69 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68, ptr noundef %69)
%71 = load i32, ptr %3, align 4
%72 = call i32 @close(i32 noundef %71)
br label %.backedge
}
declare i32 @socket(i32 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, i64 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpe4_8sljn.c'
source_filename = "/tmp/tmpe4_8sljn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test26() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @unknown()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @unknown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4_8sljn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test26() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @unknown()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @unknown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp48ik_6_v.c'
source_filename = "/tmp/tmp48ik_6_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp48ik_6_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqwxzni76.c'
source_filename = "/tmp/tmpqwxzni76.c"
target datalayout = "e-m:e-p270: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/tmpqwxzni76.c"
target datalayout = "e-m:e-p270: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/tmp314ufsre.c'
source_filename = "/tmp/tmp314ufsre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @val_intf_unlock() #0 {
%1 = call i32 (...) @pal_intf_unlock()
ret void
}
declare i32 @pal_intf_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp314ufsre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @val_intf_unlock() #0 {
%1 = call i32 (...) @pal_intf_unlock()
ret void
}
declare i32 @pal_intf_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy296a2fb.c'
source_filename = "/tmp/tmpy296a2fb.c"
target datalayout = "e-m:e-p270: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/tmpy296a2fb.c"
target datalayout = "e-m:e-p270: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/tmpr__iu1vs.c'
source_filename = "/tmp/tmpr__iu1vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<param name=lowerRange value=\22%d\22>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @easycharts_output_y_minimum_integer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %6)
ret void
}
declare i32 @fprintf(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/tmpr__iu1vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<param name=lowerRange value=\22%d\22>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @easycharts_output_y_minimum_integer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %6)
ret void
}
declare i32 @fprintf(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/tmplmvm_6ns.c'
source_filename = "/tmp/tmplmvm_6ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i64 0, align 8
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i64, ptr @BUFSIZ, align 8
%7 = sub nsw i64 %6, 1
%8 = load i32, ptr @stdin, align 4
%9 = call ptr @fgets(ptr noundef %5, i64 noundef %7, i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %24
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %12
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 0, ptr %22, align 1
br label %23
23: ; preds = %17, %12
br label %24
24: ; preds = %23, %1
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
declare ptr @fgets(ptr noundef, i64 noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplmvm_6ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i64 0, align 8
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i64, ptr @BUFSIZ, align 8
%7 = sub nsw i64 %6, 1
%8 = load i32, ptr @stdin, align 4
%9 = call ptr @fgets(ptr noundef %5, i64 noundef %7, i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %24
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %12
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 0, ptr %22, align 1
br label %23
23: ; preds = %17, %12
br label %24
24: ; preds = %23, %1
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
declare ptr @fgets(ptr noundef, i64 noundef, i32 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"}
|
; ModuleID = '/tmp/tmphwka61vn.c'
source_filename = "/tmp/tmphwka61vn.c"
target datalayout = "e-m:e-p270: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/tmphwka61vn.c"
target datalayout = "e-m:e-p270: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/tmp9vjzzcsq.c'
source_filename = "/tmp/tmp9vjzzcsq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = icmp ne i64 %9, 0
%11 = xor i1 %10, true
br label %12
12: ; preds = %8, %1
%13 = phi i1 [ true, %1 ], [ %11, %8 ]
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @assert(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vjzzcsq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = icmp ne i64 %9, 0
%11 = xor i1 %10, true
br label %12
12: ; preds = %8, %1
%13 = phi i1 [ true, %1 ], [ %11, %8 ]
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @assert(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprqgkhhlb.c'
source_filename = "/tmp/tmprqgkhhlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @ft_putchar(i8 noundef signext %17)
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %4, !llvm.loop !6
21: ; preds = %4
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprqgkhhlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @ft_putchar(i8 noundef signext %16)
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %27
27: ; preds = %._crit_edge, %1
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4ejtvf5a.c'
source_filename = "/tmp/tmp4ejtvf5a.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"isatty non impl\C3\A9ment\C3\A9 ! %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ejtvf5a.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"isatty non impl\C3\A9ment\C3\A9 ! %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjudbjd95.c'
source_filename = "/tmp/tmpjudbjd95.c"
target datalayout = "e-m:e-p270: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/tmpjudbjd95.c"
target datalayout = "e-m:e-p270: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/tmpitxtg90i.c'
source_filename = "/tmp/tmpitxtg90i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [10 x i32] [i32 5, i32 211, i32 66, i32 7, i32 12, i32 2, i32 76, i32 134, i32 99, i32 9], align 16
@.str = private unnamed_addr constant [5 x i8] c"In: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"\0AOut: \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 [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 40, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%19 = call i32 @shell_sort(ptr noundef %18, i32 noundef 10)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %30, %17
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %21, !llvm.loop !8
33: ; preds = %21
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @shell_sort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpitxtg90i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [10 x i32] [i32 5, i32 211, i32 66, i32 7, i32 12, i32 2, i32 76, i32 134, i32 99, i32 9], align 16
@.str = private unnamed_addr constant [5 x i8] c"In: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"\0AOut: \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 [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 40, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%20 = call i32 @shell_sort(ptr noundef %19, i32 noundef 10)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %.lr.ph2, label %35
.lr.ph2: ; preds = %18
br label %24
24: ; preds = %.lr.ph2, %30
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 10
br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %18
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @shell_sort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmb3a9sku.c'
source_filename = "/tmp/tmpmb3a9sku.c"
target datalayout = "e-m:e-p270: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/tmpmb3a9sku.c"
target datalayout = "e-m:e-p270: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/tmpsp0ldhl_.c'
source_filename = "/tmp/tmpsp0ldhl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"got an incomplete response >>%s<<\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Warning: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"got an error >>%s<<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @two_sensor_read(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 [80 x i8], align 16
%9 = alloca [80 x i8], align 16
%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 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13)
%15 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%16 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
%18 = call i64 @send_msg(ptr noundef %15, i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %84
20: ; preds = %3
br label %21
21: ; preds = %20, %83
%22 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 80)
%24 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%25 = call ptr @recv_msg(ptr noundef %24, i32 noundef 80)
store ptr %25, ptr %10, align 8
%26 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 %29
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %10, align 8
%32 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%33 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %68
37: ; preds = %21
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = getelementptr inbounds i8, ptr %42, i64 1
store ptr %43, ptr %11, align 8
%44 = load ptr, ptr %11, align 8
%45 = call i32 @atoi(ptr noundef %44)
%46 = load ptr, ptr %6, align 8
store i32 %45, ptr %46, align 4
%47 = load ptr, ptr %11, align 8
%48 = call ptr @strchr(ptr noundef %47, i8 noundef signext 32)
store ptr %48, ptr %11, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %37
%52 = load ptr, ptr %10, align 8
%53 = call i32 @printf(ptr noundef @.str.1, ptr noundef %52)
store i32 -1, ptr %4, align 4
br label %89
54: ; preds = %37
br label %55
55: ; preds = %60, %54
%56 = load ptr, ptr %11, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 32
br i1 %59, label %60, label %63
60: ; preds = %55
%61 = load ptr, ptr %11, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %11, align 8
br label %55, !llvm.loop !6
63: ; preds = %55
%64 = load ptr, ptr %11, align 8
%65 = call i32 @atoi(ptr noundef %64)
%66 = load ptr, ptr %7, align 8
store i32 %65, ptr %66, align 4
%67 = call i32 (...) @check_errors()
store i32 0, ptr %4, align 4
br label %89
68: ; preds = %21
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 87
br i1 %73, label %74, label %78
74: ; preds = %68
%75 = load ptr, ptr %10, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 2
%77 = call i32 @printf(ptr noundef @.str.2, ptr noundef %76)
br label %82
78: ; preds = %68
%79 = load ptr, ptr %10, align 8
%80 = call i32 @printf(ptr noundef @.str.3, ptr noundef %79)
%81 = call i32 (...) @clear_input_stream()
store i32 -1, ptr %4, align 4
br label %89
82: ; preds = %74
br label %83
83: ; preds = %82
br label %21
84: ; preds = %3
%85 = load ptr, ptr %5, align 8
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %7, align 8
%88 = call i32 @two_sensor_read(ptr noundef %85, ptr noundef %86, ptr noundef %87)
store i32 %88, ptr %4, align 4
br label %89
89: ; preds = %84, %78, %63, %51
%90 = load i32, ptr %4, align 4
ret i32 %90
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @recv_msg(ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @check_errors(...) #1
declare i32 @clear_input_stream(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpsp0ldhl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"got an incomplete response >>%s<<\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Warning: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"got an error >>%s<<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @two_sensor_read(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 [80 x i8], align 16
%9 = alloca [80 x i8], align 16
%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 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13)
%15 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%16 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
%18 = call i64 @send_msg(ptr noundef %15, i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %87
20: ; preds = %3
br label %21
21: ; preds = %86, %20
%22 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 80)
%24 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%25 = call ptr @recv_msg(ptr noundef %24, i32 noundef 80)
store ptr %25, ptr %10, align 8
%26 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 %29
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %10, align 8
%32 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%33 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %71
37: ; preds = %21
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = getelementptr inbounds i8, ptr %42, i64 1
store ptr %43, ptr %11, align 8
%44 = load ptr, ptr %11, align 8
%45 = call i32 @atoi(ptr noundef %44)
%46 = load ptr, ptr %6, align 8
store i32 %45, ptr %46, align 4
%47 = load ptr, ptr %11, align 8
%48 = call ptr @strchr(ptr noundef %47, i8 noundef signext 32)
store ptr %48, ptr %11, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %37
%52 = load ptr, ptr %10, align 8
%53 = call i32 @printf(ptr noundef @.str.1, ptr noundef %52)
store i32 -1, ptr %4, align 4
br label %92
54: ; preds = %37
%55 = load ptr, ptr %11, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 32
br i1 %58, label %.lr.ph, label %66
.lr.ph: ; preds = %54
br label %59
59: ; preds = %.lr.ph, %59
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %11, align 8
%62 = load ptr, ptr %11, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 32
br i1 %65, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %66
66: ; preds = %._crit_edge, %54
%67 = load ptr, ptr %11, align 8
%68 = call i32 @atoi(ptr noundef %67)
%69 = load ptr, ptr %7, align 8
store i32 %68, ptr %69, align 4
%70 = call i32 (...) @check_errors()
store i32 0, ptr %4, align 4
br label %92
71: ; preds = %21
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 0
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 87
br i1 %76, label %77, label %81
77: ; preds = %71
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 2
%80 = call i32 @printf(ptr noundef @.str.2, ptr noundef %79)
br label %85
81: ; preds = %71
%82 = load ptr, ptr %10, align 8
%83 = call i32 @printf(ptr noundef @.str.3, ptr noundef %82)
%84 = call i32 (...) @clear_input_stream()
store i32 -1, ptr %4, align 4
br label %92
85: ; preds = %77
br label %86
86: ; preds = %85
br label %21
87: ; preds = %3
%88 = load ptr, ptr %5, align 8
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %7, align 8
%91 = call i32 @two_sensor_read(ptr noundef %88, ptr noundef %89, ptr noundef %90)
store i32 %91, ptr %4, align 4
br label %92
92: ; preds = %87, %81, %66, %51
%93 = load i32, ptr %4, align 4
ret i32 %93
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @recv_msg(ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @check_errors(...) #1
declare i32 @clear_input_stream(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp7xk_yze_.c'
source_filename = "/tmp/tmp7xk_yze_.c"
target datalayout = "e-m:e-p270: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/tmp7xk_yze_.c"
target datalayout = "e-m:e-p270: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/tmpt9zr_8z0.c'
source_filename = "/tmp/tmpt9zr_8z0.c"
target datalayout = "e-m:e-p270: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/tmpt9zr_8z0.c"
target datalayout = "e-m:e-p270: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/tmp1g2e2we0.c'
source_filename = "/tmp/tmp1g2e2we0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %14, %15
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1g2e2we0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %14, %15
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgua39w_q.c'
source_filename = "/tmp/tmpgua39w_q.c"
target datalayout = "e-m:e-p270: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/tmpgua39w_q.c"
target datalayout = "e-m:e-p270: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/tmp3r13skwd.c'
source_filename = "/tmp/tmp3r13skwd.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
store i32 1, ptr %3, align 4
br label %54
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %20
store i32 1, ptr %3, align 4
br label %54
28: ; preds = %20
store i64 0, ptr %7, align 8
store i32 2, ptr %8, align 4
br label %29
29: ; preds = %48, %28
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %51
33: ; preds = %29
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %8, align 4
%36 = call i64 @binomial_coefficient2(i32 noundef %34, i32 noundef %35)
store i64 %36, ptr %9, align 8
%37 = load i32, ptr %8, align 4
%38 = call i64 @get_moves_count(i32 noundef %37)
store i64 %38, ptr %10, align 8
%39 = load i64, ptr %9, align 8
%40 = load i64, ptr %10, align 8
%41 = mul nsw i64 %39, %40
store i64 %41, ptr %11, align 8
%42 = load i64, ptr %11, align 8
%43 = load i64, ptr %7, align 8
%44 = icmp sgt i64 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %33
%46 = load i64, ptr %11, align 8
store i64 %46, ptr %7, align 8
br label %47
47: ; preds = %45, %33
br label %48
48: ; preds = %47
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
br label %29, !llvm.loop !6
51: ; preds = %29
%52 = load i64, ptr %7, align 8
%53 = call i32 @printf(ptr noundef @.str.1, i64 noundef %52)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %51, %27, %14
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @binomial_coefficient2(i32 noundef, i32 noundef) #1
declare i64 @get_moves_count(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3r13skwd.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %20
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
store i32 1, ptr %3, align 4
br label %56
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %20
store i32 1, ptr %3, align 4
br label %56
28: ; preds = %20
store i64 0, ptr %7, align 8
store i32 2, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph, label %53
.lr.ph: ; preds = %28
br label %32
32: ; preds = %.lr.ph, %47
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %8, align 4
%35 = call i64 @binomial_coefficient2(i32 noundef %33, i32 noundef %34)
store i64 %35, ptr %9, align 8
%36 = load i32, ptr %8, align 4
%37 = call i64 @get_moves_count(i32 noundef %36)
store i64 %37, ptr %10, align 8
%38 = load i64, ptr %9, align 8
%39 = load i64, ptr %10, align 8
%40 = mul nsw i64 %38, %39
store i64 %40, ptr %11, align 8
%41 = load i64, ptr %11, align 8
%42 = load i64, ptr %7, align 8
%43 = icmp sgt i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %32
%45 = load i64, ptr %11, align 8
store i64 %45, ptr %7, align 8
br label %46
46: ; preds = %44, %32
br label %47
47: ; preds = %46
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %28
%54 = load i64, ptr %7, align 8
%55 = call i32 @printf(ptr noundef @.str.1, i64 noundef %54)
store i32 0, ptr %3, align 4
br label %56
56: ; preds = %53, %27, %14
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @binomial_coefficient2(i32 noundef, i32 noundef) #1
declare i64 @get_moves_count(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuwfegh0w.c'
source_filename = "/tmp/tmpuwfegh0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f14(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 %3, align 8
%7 = load i64, ptr %4, align 8
%8 = sub i64 %6, %7
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %4, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @foo(i32 noundef 0)
br label %14
14: ; preds = %12, %2
%15 = load i64, ptr %5, align 8
ret i64 %15
}
declare i32 @foo(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/tmpuwfegh0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f14(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 %3, align 8
%7 = load i64, ptr %4, align 8
%8 = sub i64 %6, %7
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %4, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @foo(i32 noundef 0)
br label %14
14: ; preds = %12, %2
%15 = load i64, ptr %5, align 8
ret i64 %15
}
declare i32 @foo(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/tmp9rgya3cb.c'
source_filename = "/tmp/tmp9rgya3cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
%5 = call ptr @create_horse_linked_list(i32 noundef 8)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @start_race(ptr noundef %6)
br label %8
8: ; preds = %13, %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @race(ptr noundef %9)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
br i1 %12, label %13, label %14
13: ; preds = %8
br label %8, !llvm.loop !6
14: ; preds = %8
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @create_horse_linked_list(i32 noundef) #1
declare i32 @start_race(ptr noundef) #1
declare i32 @race(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9rgya3cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
%5 = call ptr @create_horse_linked_list(i32 noundef 8)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @start_race(ptr noundef %6)
br label %8
8: ; preds = %8, %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @race(ptr noundef %9)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
br i1 %12, label %8, label %13, !llvm.loop !6
13: ; preds = %8
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @create_horse_linked_list(i32 noundef) #1
declare i32 @start_race(ptr noundef) #1
declare i32 @race(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpihzilnfp.c'
source_filename = "/tmp/tmpihzilnfp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d:%d:%f%1s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d:%d%1s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @time_decode_(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%11 = call i32 (ptr, ptr, ptr, ptr, ...) @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %7, ptr noundef %10)
%12 = icmp eq i32 %11, 3
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %6, align 4
br label %22
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%17 = call i32 (ptr, ptr, ptr, ptr, ...) @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %16)
%18 = icmp eq i32 %17, 2
br i1 %18, label %19, label %20
19: ; preds = %14
store float 0.000000e+00, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %21
20: ; preds = %14
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %20, %19
br label %22
22: ; preds = %21, %13
%23 = load i32, ptr %6, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %36
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = sitofp i32 %26 to double
%28 = load i32, ptr %4, align 4
%29 = sitofp i32 %28 to double
%30 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %29, double %27)
%31 = load float, ptr %7, align 4
%32 = fpext float %31 to double
%33 = fdiv double %32, 6.000000e+01
%34 = fadd double %30, %33
%35 = fptrunc double %34 to float
store float %35, ptr %2, align 4
br label %37
36: ; preds = %22
store float 0xC6FED09BE0000000, ptr %2, align 4
br label %37
37: ; preds = %36, %25
%38 = load float, ptr %2, align 4
ret float %38
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpihzilnfp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d:%d:%f%1s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d:%d%1s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @time_decode_(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%11 = call i32 (ptr, ptr, ptr, ptr, ...) @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %7, ptr noundef %10)
%12 = icmp eq i32 %11, 3
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %6, align 4
br label %22
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%17 = call i32 (ptr, ptr, ptr, ptr, ...) @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %16)
%18 = icmp eq i32 %17, 2
br i1 %18, label %19, label %20
19: ; preds = %14
store float 0.000000e+00, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %21
20: ; preds = %14
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %20, %19
br label %22
22: ; preds = %21, %13
%23 = load i32, ptr %6, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %36
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = sitofp i32 %26 to double
%28 = load i32, ptr %4, align 4
%29 = sitofp i32 %28 to double
%30 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %29, double %27)
%31 = load float, ptr %7, align 4
%32 = fpext float %31 to double
%33 = fdiv double %32, 6.000000e+01
%34 = fadd double %30, %33
%35 = fptrunc double %34 to float
store float %35, ptr %2, align 4
br label %37
36: ; preds = %22
store float 0xC6FED09BE0000000, ptr %2, align 4
br label %37
37: ; preds = %36, %25
%38 = load float, ptr %2, align 4
ret float %38
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj9kklgd7.c'
source_filename = "/tmp/tmpj9kklgd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_allcall_address(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @read_byte_data(i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = or i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @write_byte_data(i32 noundef %11, i32 noundef 0, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = shl i32 %15, 1
%17 = call i32 @write_byte_data(i32 noundef %14, i32 noundef 5, i32 noundef %16)
ret void
}
declare i32 @read_byte_data(i32 noundef, i32 noundef) #1
declare i32 @write_byte_data(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/tmpj9kklgd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_allcall_address(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @read_byte_data(i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = or i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @write_byte_data(i32 noundef %11, i32 noundef 0, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = shl i32 %15, 1
%17 = call i32 @write_byte_data(i32 noundef %14, i32 noundef 5, i32 noundef %16)
ret void
}
declare i32 @read_byte_data(i32 noundef, i32 noundef) #1
declare i32 @write_byte_data(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/tmpnogyzsjm.c'
source_filename = "/tmp/tmpnogyzsjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [29 x i8] c"Got request from %s:%d \22%s\22\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" HTTP/\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c" NOT HTTP!\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"GET \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"HEAD \00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\09UNKNOWN REQUEST!\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"index.html\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"./webroot\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [15 x i8] c"\09Opening '%s'\09\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c" 404 Not Found\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Server: Tiny webserver\0D\0A\0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"<html><head><title>404 Not Found</title></head>\00", align 1
@.str.13 = private unnamed_addr constant [45 x i8] c"<body><h1>URL not found</h1></body></html>\0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c" 200 OK\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"getting resource file size\00", align 1
@.str.17 = private unnamed_addr constant [39 x i8] c"allocating memory for reading resource\00", align 1
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_connection(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [500 x i8], align 16
%7 = alloca [500 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @recv_line(i32 noundef %10, ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = call ptr @inet_ntoa(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %17, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i32 @ntohs(i32 noundef %19)
%21 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %2
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %124
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
store i8 0, ptr %30, align 1
store ptr null, ptr %5, align 8
%31 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.3, i32 noundef 4)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 4
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %34, %29
%38 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%39 = call i64 @strncmp(ptr noundef %38, ptr noundef @.str.4, i32 noundef 5)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%43 = getelementptr inbounds i8, ptr %42, i64 5
store ptr %43, ptr %5, align 8
br label %44
44: ; preds = %41, %37
%45 = load ptr, ptr %5, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %123
49: ; preds = %44
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr %5, align 8
%52 = call i32 @strlen(ptr noundef %51)
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = icmp eq i32 %57, 47
br i1 %58, label %59, label %62
59: ; preds = %49
%60 = load ptr, ptr %5, align 8
%61 = call i32 (ptr, ...) @strcat(ptr noundef %60, ptr noundef @.str.6)
br label %62
62: ; preds = %59, %49
%63 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @strcpy(ptr noundef %63, ptr noundef @.str.7)
%65 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%66 = load ptr, ptr %5, align 8
%67 = call i32 (ptr, ...) @strcat(ptr noundef %65, ptr noundef %66)
%68 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%69 = load i32, ptr @O_RDONLY, align 4
%70 = call i32 @open(ptr noundef %68, i32 noundef %69, i32 noundef 0)
store i32 %70, ptr %8, align 4
%71 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %71)
%73 = load i32, ptr %8, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %85
75: ; preds = %62
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%77 = load i32, ptr %3, align 4
%78 = call i32 @send_string(i32 noundef %77, ptr noundef @.str.10)
%79 = load i32, ptr %3, align 4
%80 = call i32 @send_string(i32 noundef %79, ptr noundef @.str.11)
%81 = load i32, ptr %3, align 4
%82 = call i32 @send_string(i32 noundef %81, ptr noundef @.str.12)
%83 = load i32, ptr %3, align 4
%84 = call i32 @send_string(i32 noundef %83, ptr noundef @.str.13)
br label %122
85: ; preds = %62
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%87 = load i32, ptr %3, align 4
%88 = call i32 @send_string(i32 noundef %87, ptr noundef @.str.15)
%89 = load i32, ptr %3, align 4
%90 = call i32 @send_string(i32 noundef %89, ptr noundef @.str.11)
%91 = load ptr, ptr %5, align 8
%92 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%93 = getelementptr inbounds i8, ptr %92, i64 4
%94 = icmp eq ptr %91, %93
br i1 %94, label %95, label %119
95: ; preds = %85
%96 = load i32, ptr %8, align 4
%97 = call i32 @get_file_size(i32 noundef %96)
store i32 %97, ptr %9, align 4
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = call i32 @fatal(ptr noundef @.str.16)
br label %101
101: ; preds = %99, %95
%102 = load i32, ptr %9, align 4
%103 = call i64 @malloc(i32 noundef %102)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %5, align 8
%105 = icmp eq ptr %104, null
br i1 %105, label %106, label %108
106: ; preds = %101
%107 = call i32 @fatal(ptr noundef @.str.17)
br label %108
108: ; preds = %106, %101
%109 = load i32, ptr %8, align 4
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %9, align 4
%112 = call i32 @read(i32 noundef %109, ptr noundef %110, i32 noundef %111)
%113 = load i32, ptr %3, align 4
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %9, align 4
%116 = call i32 @send(i32 noundef %113, ptr noundef %114, i32 noundef %115, i32 noundef 0)
%117 = load ptr, ptr %5, align 8
%118 = call i32 @free(ptr noundef %117)
br label %119
119: ; preds = %108, %85
%120 = load i32, ptr %8, align 4
%121 = call i32 @close(i32 noundef %120)
br label %122
122: ; preds = %119, %75
br label %123
123: ; preds = %122, %47
br label %124
124: ; preds = %123, %27
%125 = load i32, ptr %3, align 4
%126 = load i32, ptr @SHUT_RDWR, align 4
%127 = call i32 @shutdown(i32 noundef %125, i32 noundef %126)
ret void
}
declare i32 @recv_line(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @inet_ntoa(i32 noundef) #1
declare i32 @ntohs(i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @send_string(i32 noundef, ptr noundef) #1
declare i32 @get_file_size(i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @shutdown(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/tmpnogyzsjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [29 x i8] c"Got request from %s:%d \22%s\22\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" HTTP/\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c" NOT HTTP!\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"GET \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"HEAD \00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\09UNKNOWN REQUEST!\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"index.html\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"./webroot\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [15 x i8] c"\09Opening '%s'\09\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c" 404 Not Found\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Server: Tiny webserver\0D\0A\0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"<html><head><title>404 Not Found</title></head>\00", align 1
@.str.13 = private unnamed_addr constant [45 x i8] c"<body><h1>URL not found</h1></body></html>\0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c" 200 OK\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"getting resource file size\00", align 1
@.str.17 = private unnamed_addr constant [39 x i8] c"allocating memory for reading resource\00", align 1
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_connection(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [500 x i8], align 16
%7 = alloca [500 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @recv_line(i32 noundef %10, ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = call ptr @inet_ntoa(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %17, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i32 @ntohs(i32 noundef %19)
%21 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %2
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %124
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
store i8 0, ptr %30, align 1
store ptr null, ptr %5, align 8
%31 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.3, i32 noundef 4)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 4
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %34, %29
%38 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%39 = call i64 @strncmp(ptr noundef %38, ptr noundef @.str.4, i32 noundef 5)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%43 = getelementptr inbounds i8, ptr %42, i64 5
store ptr %43, ptr %5, align 8
br label %44
44: ; preds = %41, %37
%45 = load ptr, ptr %5, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %123
49: ; preds = %44
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr %5, align 8
%52 = call i32 @strlen(ptr noundef %51)
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = icmp eq i32 %57, 47
br i1 %58, label %59, label %62
59: ; preds = %49
%60 = load ptr, ptr %5, align 8
%61 = call i32 (ptr, ...) @strcat(ptr noundef %60, ptr noundef @.str.6)
br label %62
62: ; preds = %59, %49
%63 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @strcpy(ptr noundef %63, ptr noundef @.str.7)
%65 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%66 = load ptr, ptr %5, align 8
%67 = call i32 (ptr, ...) @strcat(ptr noundef %65, ptr noundef %66)
%68 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%69 = load i32, ptr @O_RDONLY, align 4
%70 = call i32 @open(ptr noundef %68, i32 noundef %69, i32 noundef 0)
store i32 %70, ptr %8, align 4
%71 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %71)
%73 = load i32, ptr %8, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %85
75: ; preds = %62
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%77 = load i32, ptr %3, align 4
%78 = call i32 @send_string(i32 noundef %77, ptr noundef @.str.10)
%79 = load i32, ptr %3, align 4
%80 = call i32 @send_string(i32 noundef %79, ptr noundef @.str.11)
%81 = load i32, ptr %3, align 4
%82 = call i32 @send_string(i32 noundef %81, ptr noundef @.str.12)
%83 = load i32, ptr %3, align 4
%84 = call i32 @send_string(i32 noundef %83, ptr noundef @.str.13)
br label %122
85: ; preds = %62
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%87 = load i32, ptr %3, align 4
%88 = call i32 @send_string(i32 noundef %87, ptr noundef @.str.15)
%89 = load i32, ptr %3, align 4
%90 = call i32 @send_string(i32 noundef %89, ptr noundef @.str.11)
%91 = load ptr, ptr %5, align 8
%92 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%93 = getelementptr inbounds i8, ptr %92, i64 4
%94 = icmp eq ptr %91, %93
br i1 %94, label %95, label %119
95: ; preds = %85
%96 = load i32, ptr %8, align 4
%97 = call i32 @get_file_size(i32 noundef %96)
store i32 %97, ptr %9, align 4
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = call i32 @fatal(ptr noundef @.str.16)
br label %101
101: ; preds = %99, %95
%102 = load i32, ptr %9, align 4
%103 = call i64 @malloc(i32 noundef %102)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %5, align 8
%105 = icmp eq ptr %104, null
br i1 %105, label %106, label %108
106: ; preds = %101
%107 = call i32 @fatal(ptr noundef @.str.17)
br label %108
108: ; preds = %106, %101
%109 = load i32, ptr %8, align 4
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %9, align 4
%112 = call i32 @read(i32 noundef %109, ptr noundef %110, i32 noundef %111)
%113 = load i32, ptr %3, align 4
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %9, align 4
%116 = call i32 @send(i32 noundef %113, ptr noundef %114, i32 noundef %115, i32 noundef 0)
%117 = load ptr, ptr %5, align 8
%118 = call i32 @free(ptr noundef %117)
br label %119
119: ; preds = %108, %85
%120 = load i32, ptr %8, align 4
%121 = call i32 @close(i32 noundef %120)
br label %122
122: ; preds = %119, %75
br label %123
123: ; preds = %122, %47
br label %124
124: ; preds = %123, %27
%125 = load i32, ptr %3, align 4
%126 = load i32, ptr @SHUT_RDWR, align 4
%127 = call i32 @shutdown(i32 noundef %125, i32 noundef %126)
ret void
}
declare i32 @recv_line(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @inet_ntoa(i32 noundef) #1
declare i32 @ntohs(i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @send_string(i32 noundef, ptr noundef) #1
declare i32 @get_file_size(i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @shutdown(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/tmpcttd3mk0.c'
source_filename = "/tmp/tmpcttd3mk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Santa Paravia and Fiumaccio\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"You are the ruler of a 15th century Italian city state.\0A\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"If you rule well, you will receive higher titles. The\0A\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"first player to become king or queen wins. Life expectancy\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"then was brief, so you may not live long enough to win.\0A\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"The computer will draw a map of your state. The size\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"of the area in the wall grows as you buy more land. The\0A\00", align 1
@.str.7 = private unnamed_addr constant [56 x i8] c"size of the guard tower in the upper left corner shows\0A\00", align 1
@.str.8 = private unnamed_addr constant [58 x i8] c"the adequacy of your defenses. If it shrinks, equip more\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"soldiers! If the horse and plowman is touching the top of the wall,\0A\00", align 1
@.str.10 = private unnamed_addr constant [57 x i8] c"all your land is in production. Otherwise you need more\0A\00", align 1
@.str.11 = private unnamed_addr constant [57 x i8] c"serfs, who will migrate to your state if you distribute\0A\00", align 1
@.str.12 = private unnamed_addr constant [60 x i8] c"more grain than the minimum demand. If you distribute less\0A\00", align 1
@.str.13 = private unnamed_addr constant [59 x i8] c"grain, some of your people will starve, and you will have\0A\00", align 1
@.str.14 = private unnamed_addr constant [58 x i8] c"a high death rate. High taxes raise money, but slow down\0A\00", align 1
@.str.15 = private unnamed_addr constant [46 x i8] c"economic growth. (Press ENTER to begin game)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintInstructions() #0 {
%1 = alloca [256 x i8], align 16
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 255, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(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/tmpcttd3mk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Santa Paravia and Fiumaccio\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"You are the ruler of a 15th century Italian city state.\0A\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"If you rule well, you will receive higher titles. The\0A\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"first player to become king or queen wins. Life expectancy\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"then was brief, so you may not live long enough to win.\0A\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"The computer will draw a map of your state. The size\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"of the area in the wall grows as you buy more land. The\0A\00", align 1
@.str.7 = private unnamed_addr constant [56 x i8] c"size of the guard tower in the upper left corner shows\0A\00", align 1
@.str.8 = private unnamed_addr constant [58 x i8] c"the adequacy of your defenses. If it shrinks, equip more\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"soldiers! If the horse and plowman is touching the top of the wall,\0A\00", align 1
@.str.10 = private unnamed_addr constant [57 x i8] c"all your land is in production. Otherwise you need more\0A\00", align 1
@.str.11 = private unnamed_addr constant [57 x i8] c"serfs, who will migrate to your state if you distribute\0A\00", align 1
@.str.12 = private unnamed_addr constant [60 x i8] c"more grain than the minimum demand. If you distribute less\0A\00", align 1
@.str.13 = private unnamed_addr constant [59 x i8] c"grain, some of your people will starve, and you will have\0A\00", align 1
@.str.14 = private unnamed_addr constant [58 x i8] c"a high death rate. High taxes raise money, but slow down\0A\00", align 1
@.str.15 = private unnamed_addr constant [46 x i8] c"economic growth. (Press ENTER to begin game)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintInstructions() #0 {
%1 = alloca [256 x i8], align 16
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 255, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(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/tmpznfqakd_.c'
source_filename = "/tmp/tmpznfqakd_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill: Too few arguments. \0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"kill: Arguments should be jobs or process id's. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @kill(i32 noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %15
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @kill(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznfqakd_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill: Too few arguments. \0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"kill: Arguments should be jobs or process id's. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @kill(i32 noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %15
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @kill(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqvbqnw9o.c'
source_filename = "/tmp/tmpqvbqnw9o.c"
target datalayout = "e-m:e-p270: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/tmpqvbqnw9o.c"
target datalayout = "e-m:e-p270: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/tmpst30y_r3.c'
source_filename = "/tmp/tmpst30y_r3.c"
target datalayout = "e-m:e-p270: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/tmpst30y_r3.c"
target datalayout = "e-m:e-p270: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/tmpe_5mq_69.c'
source_filename = "/tmp/tmpe_5mq_69.c"
target datalayout = "e-m:e-p270: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/tmpe_5mq_69.c"
target datalayout = "e-m:e-p270: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/tmpmln5hxsr.c'
source_filename = "/tmp/tmpmln5hxsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_spawnattr_getsigdefault(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%8 = call i32 @memcpy(ptr noundef %5, ptr noundef %7, i32 noundef 4)
ret i32 0
}
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/tmpmln5hxsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_spawnattr_getsigdefault(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%8 = call i32 @memcpy(ptr noundef %5, ptr noundef %7, i32 noundef 4)
ret i32 0
}
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/tmpe711fucz.c'
source_filename = "/tmp/tmpe711fucz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".B \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".BI \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"--\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"%s \22%s\22 \00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"\22 \00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c".RS\0A%s\0A.RE\0A.PP\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @eca_opt_print_usage_long_nroff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [1000 x i8], align 16
%12 = alloca [55 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %5
%17 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
br label %22
19: ; preds = %5
%20 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%21 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.2)
br label %22
22: ; preds = %19, %16
%23 = load ptr, ptr %6, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.3)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %7, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.4)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33)
br label %53
35: ; preds = %26, %22
%36 = load ptr, ptr %6, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%41 = load ptr, ptr %7, align 8
%42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6, ptr noundef %41)
br label %52
43: ; preds = %35
%44 = load ptr, ptr %7, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%49 = load ptr, ptr %6, align 8
%50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.6, ptr noundef %49)
br label %51
51: ; preds = %47, %43
br label %52
52: ; preds = %51, %39
br label %53
53: ; preds = %52, %30
%54 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%55 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %53
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%62 = load ptr, ptr %8, align 8
%63 = call i32 @ProcArgList(ptr noundef %62, i32 noundef 2, i32 noundef 0, i32 noundef 0)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %65
65: ; preds = %60, %53
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%67 = load ptr, ptr %9, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %67)
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ProcArgList(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/tmpe711fucz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".B \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".BI \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"--\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"%s \22%s\22 \00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"\22 \00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c".RS\0A%s\0A.RE\0A.PP\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @eca_opt_print_usage_long_nroff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [1000 x i8], align 16
%12 = alloca [55 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %5
%17 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
br label %22
19: ; preds = %5
%20 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%21 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.2)
br label %22
22: ; preds = %19, %16
%23 = load ptr, ptr %6, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.3)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %7, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.4)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33)
br label %53
35: ; preds = %26, %22
%36 = load ptr, ptr %6, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%41 = load ptr, ptr %7, align 8
%42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6, ptr noundef %41)
br label %52
43: ; preds = %35
%44 = load ptr, ptr %7, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%49 = load ptr, ptr %6, align 8
%50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.6, ptr noundef %49)
br label %51
51: ; preds = %47, %43
br label %52
52: ; preds = %51, %39
br label %53
53: ; preds = %52, %30
%54 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0
%55 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %53
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%62 = load ptr, ptr %8, align 8
%63 = call i32 @ProcArgList(ptr noundef %62, i32 noundef 2, i32 noundef 0, i32 noundef 0)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %65
65: ; preds = %60, %53
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%67 = load ptr, ptr %9, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %67)
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ProcArgList(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/tmpm7wmlncm.c'
source_filename = "/tmp/tmpm7wmlncm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_num_range(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 (...) @_time_counter()
%5 = call i32 @srand(i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 30
%11 = add nsw i32 %10, 30
store i32 %11, ptr %2, align 4
br label %18
12: ; preds = %1
%13 = call i32 (...) @rand()
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %12, %8
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @srand(i32 noundef) #1
declare i32 @_time_counter(...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm7wmlncm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_num_range(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 (...) @_time_counter()
%5 = call i32 @srand(i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 30
%11 = add nsw i32 %10, 30
store i32 %11, ptr %2, align 4
br label %18
12: ; preds = %1
%13 = call i32 (...) @rand()
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %12, %8
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @srand(i32 noundef) #1
declare i32 @_time_counter(...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj0p4t9vf.c'
source_filename = "/tmp/tmpj0p4t9vf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"bookmark %s already exists\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"bookmark %s being inserted around <%s>\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"{\\*\\bkmkstart BM%s}\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"{\\*\\bkmkend BM%s}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InsertBookmark(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = call i32 (...) @getTexMode()
%10 = icmp eq i32 %9, 6
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @changeTexMode(i32 noundef 2)
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintRTF(ptr noundef @.str, ptr noundef %14)
br label %48
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strdup_nobadchars(ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i64 @ExistsBookmark(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = call i32 (i32, ptr, ptr, ...) @diagnostics(i32 noundef 4, ptr noundef @.str.1, ptr noundef %23)
br label %45
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 (i32, ptr, ptr, ...) @diagnostics(i32 noundef 4, ptr noundef @.str.2, ptr noundef %26, ptr noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = call i32 @RecordBookmark(ptr noundef %29)
%31 = call i64 (...) @fields_use_REF()
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = call i32 @fprintRTF(ptr noundef @.str.3, ptr noundef %34)
br label %36
36: ; preds = %33, %25
%37 = load ptr, ptr %4, align 8
%38 = call i32 @fprintRTF(ptr noundef @.str, ptr noundef %37)
%39 = call i64 (...) @fields_use_REF()
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintRTF(ptr noundef @.str.4, ptr noundef %42)
br label %44
44: ; preds = %41, %36
br label %45
45: ; preds = %44, %22
%46 = load ptr, ptr %5, align 8
%47 = call i32 @safe_free(ptr noundef %46)
br label %48
48: ; preds = %45, %13
ret void
}
declare i32 @getTexMode(...) #1
declare i32 @changeTexMode(i32 noundef) #1
declare i32 @fprintRTF(ptr noundef, ptr noundef) #1
declare ptr @strdup_nobadchars(ptr noundef) #1
declare i64 @ExistsBookmark(ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @RecordBookmark(ptr noundef) #1
declare i64 @fields_use_REF(...) #1
declare i32 @safe_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/tmpj0p4t9vf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"bookmark %s already exists\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"bookmark %s being inserted around <%s>\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"{\\*\\bkmkstart BM%s}\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"{\\*\\bkmkend BM%s}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InsertBookmark(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = call i32 (...) @getTexMode()
%10 = icmp eq i32 %9, 6
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @changeTexMode(i32 noundef 2)
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintRTF(ptr noundef @.str, ptr noundef %14)
br label %48
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strdup_nobadchars(ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i64 @ExistsBookmark(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = call i32 (i32, ptr, ptr, ...) @diagnostics(i32 noundef 4, ptr noundef @.str.1, ptr noundef %23)
br label %45
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 (i32, ptr, ptr, ...) @diagnostics(i32 noundef 4, ptr noundef @.str.2, ptr noundef %26, ptr noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = call i32 @RecordBookmark(ptr noundef %29)
%31 = call i64 (...) @fields_use_REF()
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = call i32 @fprintRTF(ptr noundef @.str.3, ptr noundef %34)
br label %36
36: ; preds = %33, %25
%37 = load ptr, ptr %4, align 8
%38 = call i32 @fprintRTF(ptr noundef @.str, ptr noundef %37)
%39 = call i64 (...) @fields_use_REF()
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintRTF(ptr noundef @.str.4, ptr noundef %42)
br label %44
44: ; preds = %41, %36
br label %45
45: ; preds = %44, %22
%46 = load ptr, ptr %5, align 8
%47 = call i32 @safe_free(ptr noundef %46)
br label %48
48: ; preds = %45, %13
ret void
}
declare i32 @getTexMode(...) #1
declare i32 @changeTexMode(i32 noundef) #1
declare i32 @fprintRTF(ptr noundef, ptr noundef) #1
declare ptr @strdup_nobadchars(ptr noundef) #1
declare i64 @ExistsBookmark(ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @RecordBookmark(ptr noundef) #1
declare i64 @fields_use_REF(...) #1
declare i32 @safe_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/tmpy5losqwv.c'
source_filename = "/tmp/tmpy5losqwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.d = private unnamed_addr constant [3 x i32] [i32 4, i32 5, i32 6], align 4
@__const.main.g = private unnamed_addr constant [3 x i32] [i32 9, i32 10, i32 11], align 4
@.str = private unnamed_addr constant [27 x i8] c"a = %d, address of a = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"b = %d, address of b = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"c = %d, address of c = %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"d[0] = %d, address of d[0] = %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"d[1] = %d, address of d[1] = %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"d[2] = %d, address of d[2] = %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"e = %d, address of e = %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"f = %d, address of f = %p\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"g[0] = %d, address of g[0] = %p\0A\00", align 1
@.str.9 = private unnamed_addr constant [33 x i8] c"g[1] = %d, address of g[1] = %p\0A\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"g[2] = %d, address of g[2] = %p\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 [3 x i32], align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 3, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.d, i64 12, i1 false)
store i32 7, ptr %6, align 4
store i32 8, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.g, i64 12, i1 false)
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %2)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, ptr noundef %3)
%13 = load i32, ptr %4, align 4
%14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %4)
%15 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%16 = load i32, ptr %15, align 4
%17 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%18 = call i32 @printf(ptr noundef @.str.3, i32 noundef %16, ptr noundef %17)
%19 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1
%20 = load i32, ptr %19, align 4
%21 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1
%22 = call i32 @printf(ptr noundef @.str.4, i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 2
%24 = load i32, ptr %23, align 4
%25 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 2
%26 = call i32 @printf(ptr noundef @.str.5, i32 noundef %24, ptr noundef %25)
%27 = load i32, ptr %6, align 4
%28 = call i32 @printf(ptr noundef @.str.6, i32 noundef %27, ptr noundef %6)
%29 = load i32, ptr %7, align 4
%30 = call i32 @printf(ptr noundef @.str.7, i32 noundef %29, ptr noundef %7)
%31 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%32 = load i32, ptr %31, align 4
%33 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.8, i32 noundef %32, ptr noundef %33)
%35 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%38 = call i32 @printf(ptr noundef @.str.9, i32 noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%40 = load i32, ptr %39, align 4
%41 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%42 = call i32 @printf(ptr noundef @.str.10, i32 noundef %40, ptr noundef %41)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5losqwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.d = private unnamed_addr constant [3 x i32] [i32 4, i32 5, i32 6], align 4
@__const.main.g = private unnamed_addr constant [3 x i32] [i32 9, i32 10, i32 11], align 4
@.str = private unnamed_addr constant [27 x i8] c"a = %d, address of a = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"b = %d, address of b = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"c = %d, address of c = %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"d[0] = %d, address of d[0] = %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"d[1] = %d, address of d[1] = %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"d[2] = %d, address of d[2] = %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"e = %d, address of e = %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"f = %d, address of f = %p\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"g[0] = %d, address of g[0] = %p\0A\00", align 1
@.str.9 = private unnamed_addr constant [33 x i8] c"g[1] = %d, address of g[1] = %p\0A\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"g[2] = %d, address of g[2] = %p\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 [3 x i32], align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 3, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.d, i64 12, i1 false)
store i32 7, ptr %6, align 4
store i32 8, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.g, i64 12, i1 false)
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %2)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, ptr noundef %3)
%13 = load i32, ptr %4, align 4
%14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %4)
%15 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%16 = load i32, ptr %15, align 4
%17 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 0
%18 = call i32 @printf(ptr noundef @.str.3, i32 noundef %16, ptr noundef %17)
%19 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1
%20 = load i32, ptr %19, align 4
%21 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1
%22 = call i32 @printf(ptr noundef @.str.4, i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 2
%24 = load i32, ptr %23, align 4
%25 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 2
%26 = call i32 @printf(ptr noundef @.str.5, i32 noundef %24, ptr noundef %25)
%27 = load i32, ptr %6, align 4
%28 = call i32 @printf(ptr noundef @.str.6, i32 noundef %27, ptr noundef %6)
%29 = load i32, ptr %7, align 4
%30 = call i32 @printf(ptr noundef @.str.7, i32 noundef %29, ptr noundef %7)
%31 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%32 = load i32, ptr %31, align 4
%33 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.8, i32 noundef %32, ptr noundef %33)
%35 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%38 = call i32 @printf(ptr noundef @.str.9, i32 noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%40 = load i32, ptr %39, align 4
%41 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%42 = call i32 @printf(ptr noundef @.str.10, i32 noundef %40, ptr noundef %41)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwtg3nvmr.c'
source_filename = "/tmp/tmpwtg3nvmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketTCP(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
%9 = load i32, ptr @PF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %4, align 4
br label %59
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %26, i32 0, i32 2
store i32 %25, ptr %27, align 4
%28 = load i16, ptr %6, align 2
%29 = call i32 @htons(i16 noundef zeroext %28)
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %30, i32 0, i32 1
store i32 %29, ptr %31, align 4
%32 = load ptr, ptr %5, align 8
%33 = call i32 @inet_addr(ptr noundef %32)
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %34, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %33, ptr %36, align 4
%37 = load ptr, ptr %5, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %48
39: ; preds = %22
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %7, align 8
%42 = call i64 @bind(i32 noundef %40, ptr noundef %41, i32 noundef 12)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = call i32 @perror(ptr noundef @.str.1)
%46 = call i32 @exit(i32 noundef 1) #3
unreachable
47: ; preds = %39
br label %57
48: ; preds = %22
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %7, align 8
%51 = call i64 @connect(i32 noundef %49, ptr noundef %50, i32 noundef 12)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = call i32 @perror(ptr noundef @.str.2)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %48
br label %57
57: ; preds = %56, %47
%58 = load i32, ptr %8, align 4
store i32 %58, ptr %4, align 4
br label %59
59: ; preds = %57, %20
%60 = load i32, ptr %4, align 4
ret i32 %60
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i16 noundef zeroext) #1
declare i32 @inet_addr(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpwtg3nvmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketTCP(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
%9 = load i32, ptr @PF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %4, align 4
br label %59
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %26, i32 0, i32 2
store i32 %25, ptr %27, align 4
%28 = load i16, ptr %6, align 2
%29 = call i32 @htons(i16 noundef zeroext %28)
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %30, i32 0, i32 1
store i32 %29, ptr %31, align 4
%32 = load ptr, ptr %5, align 8
%33 = call i32 @inet_addr(ptr noundef %32)
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %34, i32 0, i32 0
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0
store i32 %33, ptr %36, align 4
%37 = load ptr, ptr %5, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %48
39: ; preds = %22
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %7, align 8
%42 = call i64 @bind(i32 noundef %40, ptr noundef %41, i32 noundef 12)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = call i32 @perror(ptr noundef @.str.1)
%46 = call i32 @exit(i32 noundef 1) #3
unreachable
47: ; preds = %39
br label %57
48: ; preds = %22
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %7, align 8
%51 = call i64 @connect(i32 noundef %49, ptr noundef %50, i32 noundef 12)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = call i32 @perror(ptr noundef @.str.2)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %48
br label %57
57: ; preds = %56, %47
%58 = load i32, ptr %8, align 4
store i32 %58, ptr %4, align 4
br label %59
59: ; preds = %57, %20
%60 = load i32, ptr %4, align 4
ret i32 %60
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i16 noundef zeroext) #1
declare i32 @inet_addr(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpyd_kdk04.c'
source_filename = "/tmp/tmpyd_kdk04.c"
target datalayout = "e-m:e-p270: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/tmpyd_kdk04.c"
target datalayout = "e-m:e-p270: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/tmphq5237_a.c'
source_filename = "/tmp/tmphq5237_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ompss(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sequential(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @sequential(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/tmphq5237_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ompss(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sequential(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @sequential(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/tmpp6gc2rk6.c'
source_filename = "/tmp/tmpp6gc2rk6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"array[10].test\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"[].\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"k = %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 100)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @snprintf(ptr noundef %7, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1)
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %25, %0
%11 = load ptr, ptr %3, align 8
%12 = call ptr @strtok_r(ptr noundef %11, ptr noundef @.str.2, ptr noundef %2)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
br label %18
17: ; preds = %10
br label %18
18: ; preds = %17, %15
%19 = phi ptr [ %16, %15 ], [ @.str.4, %17 ]
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %18
br label %26
24: ; preds = %18
br label %25
25: ; preds = %24
store ptr null, ptr %3, align 8
br label %10
26: ; preds = %23
%27 = load ptr, ptr %4, align 8
%28 = call i32 @free(ptr noundef %27)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp6gc2rk6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"array[10].test\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"[].\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"k = %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 100)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @snprintf(ptr noundef %7, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1)
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %25, %0
%11 = load ptr, ptr %3, align 8
%12 = call ptr @strtok_r(ptr noundef %11, ptr noundef @.str.2, ptr noundef %2)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
br label %18
17: ; preds = %10
br label %18
18: ; preds = %17, %15
%19 = phi ptr [ %16, %15 ], [ @.str.4, %17 ]
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %18
br label %26
24: ; preds = %18
br label %25
25: ; preds = %24
store ptr null, ptr %3, align 8
br label %10
26: ; preds = %23
%27 = load ptr, ptr %4, align 8
%28 = call i32 @free(ptr noundef %27)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwozj9xz5.c'
source_filename = "/tmp/tmpwozj9xz5.c"
target datalayout = "e-m:e-p270: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/tmpwozj9xz5.c"
target datalayout = "e-m:e-p270: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/tmp1ilyfv22.c'
source_filename = "/tmp/tmp1ilyfv22.c"
target datalayout = "e-m:e-p270: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/tmp1ilyfv22.c"
target datalayout = "e-m:e-p270: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/tmpzpafx3p1.c'
source_filename = "/tmp/tmpzpafx3p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@is_string_hex.characters = internal constant [17 x i8] c"0123456789ABCDEF\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_string_hex(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call ptr @strchr(ptr noundef @is_string_hex.characters, i8 noundef signext %17)
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %12
store i32 0, ptr %2, align 4
br label %26
21: ; preds = %12
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
store i32 1, ptr %2, align 4
br label %26
26: ; preds = %25, %20
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpafx3p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@is_string_hex.characters = internal constant [17 x i8] c"0123456789ABCDEF\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_string_hex(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %21
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call ptr @strchr(ptr noundef @is_string_hex.characters, i8 noundef signext %16)
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %11
store i32 0, ptr %2, align 4
br label %28
20: ; preds = %11
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %28
28: ; preds = %27, %19
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ubhcqne.c'
source_filename = "/tmp/tmp_ubhcqne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @err_rep_(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [16 x i8], align 16
%12 = alloca [201 x i8], align 16
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %9, align 4
%16 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%17 = call i32 @cnfImpn(ptr noundef %14, i32 noundef %15, i32 noundef 15, ptr noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %10, align 4
%20 = getelementptr inbounds [201 x i8], ptr %12, i64 0, i64 0
%21 = call i32 @cnfImpn(ptr noundef %18, i32 noundef %19, i32 noundef 200, ptr noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %13, align 4
%24 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%25 = getelementptr inbounds [201 x i8], ptr %12, i64 0, i64 0
%26 = call i32 @errRep(ptr noundef %24, ptr noundef %25, ptr noundef %13)
ret void
}
declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @errRep(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ubhcqne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @err_rep_(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [16 x i8], align 16
%12 = alloca [201 x i8], align 16
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %9, align 4
%16 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%17 = call i32 @cnfImpn(ptr noundef %14, i32 noundef %15, i32 noundef 15, ptr noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %10, align 4
%20 = getelementptr inbounds [201 x i8], ptr %12, i64 0, i64 0
%21 = call i32 @cnfImpn(ptr noundef %18, i32 noundef %19, i32 noundef 200, ptr noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %13, align 4
%24 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%25 = getelementptr inbounds [201 x i8], ptr %12, i64 0, i64 0
%26 = call i32 @errRep(ptr noundef %24, ptr noundef %25, ptr noundef %13)
ret void
}
declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @errRep(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmn98i7yr.c'
source_filename = "/tmp/tmpmn98i7yr.c"
target datalayout = "e-m:e-p270: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/tmpmn98i7yr.c"
target datalayout = "e-m:e-p270: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/tmpw1uiqm0p.c'
source_filename = "/tmp/tmpw1uiqm0p.c"
target datalayout = "e-m:e-p270: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/tmpw1uiqm0p.c"
target datalayout = "e-m:e-p270: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/tmpbe7hayya.c'
source_filename = "/tmp/tmpbe7hayya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter a field width:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"The number is :%*d:\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Now enter a width and a precision:\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Weight = %*.*f\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"Done!\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
store i32 256, ptr %4, align 4
store double 2.425000e+02, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = load double, ptr %5, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %13, i32 noundef %14, double noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbe7hayya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter a field width:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"The number is :%*d:\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Now enter a width and a precision:\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Weight = %*.*f\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"Done!\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
store i32 256, ptr %4, align 4
store double 2.425000e+02, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = load double, ptr %5, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %13, i32 noundef %14, double noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8c05t1gm.c'
source_filename = "/tmp/tmp8c05t1gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CAST_ofb64_encrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca [8 x i8], align 1
%19 = alloca ptr, align 8
%20 = alloca [2 x i64], align 16
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%23 = load ptr, ptr %12, align 8
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %16, align 4
%25 = load i64, ptr %9, align 8
store i64 %25, ptr %17, align 8
store i32 0, ptr %22, align 4
%26 = load ptr, ptr %11, align 8
store ptr %26, ptr %21, align 8
%27 = load ptr, ptr %21, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %21, align 8
%29 = load i8, ptr %27, align 1
%30 = zext i8 %29 to i64
%31 = shl i64 %30, 24
store i64 %31, ptr %13, align 8
%32 = load ptr, ptr %21, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %21, align 8
%34 = load i8, ptr %32, align 1
%35 = zext i8 %34 to i64
%36 = shl i64 %35, 16
%37 = load i64, ptr %13, align 8
%38 = or i64 %37, %36
store i64 %38, ptr %13, align 8
%39 = load ptr, ptr %21, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %21, align 8
%41 = load i8, ptr %39, align 1
%42 = zext i8 %41 to i64
%43 = shl i64 %42, 8
%44 = load i64, ptr %13, align 8
%45 = or i64 %44, %43
store i64 %45, ptr %13, align 8
%46 = load ptr, ptr %21, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %21, align 8
%48 = load i8, ptr %46, align 1
%49 = zext i8 %48 to i64
%50 = load i64, ptr %13, align 8
%51 = or i64 %50, %49
store i64 %51, ptr %13, align 8
%52 = load ptr, ptr %21, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %21, align 8
%54 = load i8, ptr %52, align 1
%55 = zext i8 %54 to i64
%56 = shl i64 %55, 24
store i64 %56, ptr %14, align 8
%57 = load ptr, ptr %21, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %21, align 8
%59 = load i8, ptr %57, align 1
%60 = zext i8 %59 to i64
%61 = shl i64 %60, 16
%62 = load i64, ptr %14, align 8
%63 = or i64 %62, %61
store i64 %63, ptr %14, align 8
%64 = load ptr, ptr %21, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %21, align 8
%66 = load i8, ptr %64, align 1
%67 = zext i8 %66 to i64
%68 = shl i64 %67, 8
%69 = load i64, ptr %14, align 8
%70 = or i64 %69, %68
store i64 %70, ptr %14, align 8
%71 = load ptr, ptr %21, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %21, align 8
%73 = load i8, ptr %71, align 1
%74 = zext i8 %73 to i64
%75 = load i64, ptr %14, align 8
%76 = or i64 %75, %74
store i64 %76, ptr %14, align 8
%77 = load i64, ptr %13, align 8
%78 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
store i64 %77, ptr %78, align 16
%79 = load i64, ptr %14, align 8
%80 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
store i64 %79, ptr %80, align 8
%81 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 0
store ptr %81, ptr %19, align 8
%82 = load i64, ptr %13, align 8
%83 = lshr i64 %82, 24
%84 = and i64 %83, 255
%85 = trunc i64 %84 to i8
%86 = load ptr, ptr %19, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %19, align 8
store i8 %85, ptr %86, align 1
%88 = load i64, ptr %13, align 8
%89 = lshr i64 %88, 16
%90 = and i64 %89, 255
%91 = trunc i64 %90 to i8
%92 = load ptr, ptr %19, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %19, align 8
store i8 %91, ptr %92, align 1
%94 = load i64, ptr %13, align 8
%95 = lshr i64 %94, 8
%96 = and i64 %95, 255
%97 = trunc i64 %96 to i8
%98 = load ptr, ptr %19, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %19, align 8
store i8 %97, ptr %98, align 1
%100 = load i64, ptr %13, align 8
%101 = and i64 %100, 255
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %19, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %19, align 8
store i8 %102, ptr %103, align 1
%105 = load i64, ptr %14, align 8
%106 = lshr i64 %105, 24
%107 = and i64 %106, 255
%108 = trunc i64 %107 to i8
%109 = load ptr, ptr %19, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %19, align 8
store i8 %108, ptr %109, align 1
%111 = load i64, ptr %14, align 8
%112 = lshr i64 %111, 16
%113 = and i64 %112, 255
%114 = trunc i64 %113 to i8
%115 = load ptr, ptr %19, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %19, align 8
store i8 %114, ptr %115, align 1
%117 = load i64, ptr %14, align 8
%118 = lshr i64 %117, 8
%119 = and i64 %118, 255
%120 = trunc i64 %119 to i8
%121 = load ptr, ptr %19, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %19, align 8
store i8 %120, ptr %121, align 1
%123 = load i64, ptr %14, align 8
%124 = and i64 %123, 255
%125 = trunc i64 %124 to i8
%126 = load ptr, ptr %19, align 8
%127 = getelementptr inbounds i8, ptr %126, i32 1
store ptr %127, ptr %19, align 8
store i8 %125, ptr %126, align 1
br label %128
128: ; preds = %192, %6
%129 = load i64, ptr %17, align 8
%130 = add nsw i64 %129, -1
store i64 %130, ptr %17, align 8
%131 = icmp ne i64 %129, 0
br i1 %131, label %132, label %209
132: ; preds = %128
%133 = load i32, ptr %16, align 4
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %192
135: ; preds = %132
%136 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%137 = load ptr, ptr %10, align 8
%138 = call i32 @CAST_encrypt(ptr noundef %136, ptr noundef %137)
%139 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 0
store ptr %139, ptr %19, align 8
%140 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%141 = load i64, ptr %140, align 16
store i64 %141, ptr %15, align 8
%142 = load i64, ptr %15, align 8
%143 = lshr i64 %142, 24
%144 = and i64 %143, 255
%145 = trunc i64 %144 to i8
%146 = load ptr, ptr %19, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %19, align 8
store i8 %145, ptr %146, align 1
%148 = load i64, ptr %15, align 8
%149 = lshr i64 %148, 16
%150 = and i64 %149, 255
%151 = trunc i64 %150 to i8
%152 = load ptr, ptr %19, align 8
%153 = getelementptr inbounds i8, ptr %152, i32 1
store ptr %153, ptr %19, align 8
store i8 %151, ptr %152, align 1
%154 = load i64, ptr %15, align 8
%155 = lshr i64 %154, 8
%156 = and i64 %155, 255
%157 = trunc i64 %156 to i8
%158 = load ptr, ptr %19, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %19, align 8
store i8 %157, ptr %158, align 1
%160 = load i64, ptr %15, align 8
%161 = and i64 %160, 255
%162 = trunc i64 %161 to i8
%163 = load ptr, ptr %19, align 8
%164 = getelementptr inbounds i8, ptr %163, i32 1
store ptr %164, ptr %19, align 8
store i8 %162, ptr %163, align 1
%165 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
%166 = load i64, ptr %165, align 8
store i64 %166, ptr %15, align 8
%167 = load i64, ptr %15, align 8
%168 = lshr i64 %167, 24
%169 = and i64 %168, 255
%170 = trunc i64 %169 to i8
%171 = load ptr, ptr %19, align 8
%172 = getelementptr inbounds i8, ptr %171, i32 1
store ptr %172, ptr %19, align 8
store i8 %170, ptr %171, align 1
%173 = load i64, ptr %15, align 8
%174 = lshr i64 %173, 16
%175 = and i64 %174, 255
%176 = trunc i64 %175 to i8
%177 = load ptr, ptr %19, align 8
%178 = getelementptr inbounds i8, ptr %177, i32 1
store ptr %178, ptr %19, align 8
store i8 %176, ptr %177, align 1
%179 = load i64, ptr %15, align 8
%180 = lshr i64 %179, 8
%181 = and i64 %180, 255
%182 = trunc i64 %181 to i8
%183 = load ptr, ptr %19, align 8
%184 = getelementptr inbounds i8, ptr %183, i32 1
store ptr %184, ptr %19, align 8
store i8 %182, ptr %183, align 1
%185 = load i64, ptr %15, align 8
%186 = and i64 %185, 255
%187 = trunc i64 %186 to i8
%188 = load ptr, ptr %19, align 8
%189 = getelementptr inbounds i8, ptr %188, i32 1
store ptr %189, ptr %19, align 8
store i8 %187, ptr %188, align 1
%190 = load i32, ptr %22, align 4
%191 = add nsw i32 %190, 1
store i32 %191, ptr %22, align 4
br label %192
192: ; preds = %135, %132
%193 = load ptr, ptr %7, align 8
%194 = getelementptr inbounds i8, ptr %193, i32 1
store ptr %194, ptr %7, align 8
%195 = load i8, ptr %193, align 1
%196 = zext i8 %195 to i32
%197 = load i32, ptr %16, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 %198
%200 = load i8, ptr %199, align 1
%201 = zext i8 %200 to i32
%202 = xor i32 %196, %201
%203 = trunc i32 %202 to i8
%204 = load ptr, ptr %8, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %8, align 8
store i8 %203, ptr %204, align 1
%206 = load i32, ptr %16, align 4
%207 = add nsw i32 %206, 1
%208 = and i32 %207, 7
store i32 %208, ptr %16, align 4
br label %128, !llvm.loop !6
209: ; preds = %128
%210 = load i32, ptr %22, align 4
%211 = icmp ne i32 %210, 0
br i1 %211, label %212, label %264
212: ; preds = %209
%213 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%214 = load i64, ptr %213, align 16
store i64 %214, ptr %13, align 8
%215 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
%216 = load i64, ptr %215, align 8
store i64 %216, ptr %14, align 8
%217 = load ptr, ptr %11, align 8
store ptr %217, ptr %21, align 8
%218 = load i64, ptr %13, align 8
%219 = lshr i64 %218, 24
%220 = and i64 %219, 255
%221 = trunc i64 %220 to i8
%222 = load ptr, ptr %21, align 8
%223 = getelementptr inbounds i8, ptr %222, i32 1
store ptr %223, ptr %21, align 8
store i8 %221, ptr %222, align 1
%224 = load i64, ptr %13, align 8
%225 = lshr i64 %224, 16
%226 = and i64 %225, 255
%227 = trunc i64 %226 to i8
%228 = load ptr, ptr %21, align 8
%229 = getelementptr inbounds i8, ptr %228, i32 1
store ptr %229, ptr %21, align 8
store i8 %227, ptr %228, align 1
%230 = load i64, ptr %13, align 8
%231 = lshr i64 %230, 8
%232 = and i64 %231, 255
%233 = trunc i64 %232 to i8
%234 = load ptr, ptr %21, align 8
%235 = getelementptr inbounds i8, ptr %234, i32 1
store ptr %235, ptr %21, align 8
store i8 %233, ptr %234, align 1
%236 = load i64, ptr %13, align 8
%237 = and i64 %236, 255
%238 = trunc i64 %237 to i8
%239 = load ptr, ptr %21, align 8
%240 = getelementptr inbounds i8, ptr %239, i32 1
store ptr %240, ptr %21, align 8
store i8 %238, ptr %239, align 1
%241 = load i64, ptr %14, align 8
%242 = lshr i64 %241, 24
%243 = and i64 %242, 255
%244 = trunc i64 %243 to i8
%245 = load ptr, ptr %21, align 8
%246 = getelementptr inbounds i8, ptr %245, i32 1
store ptr %246, ptr %21, align 8
store i8 %244, ptr %245, align 1
%247 = load i64, ptr %14, align 8
%248 = lshr i64 %247, 16
%249 = and i64 %248, 255
%250 = trunc i64 %249 to i8
%251 = load ptr, ptr %21, align 8
%252 = getelementptr inbounds i8, ptr %251, i32 1
store ptr %252, ptr %21, align 8
store i8 %250, ptr %251, align 1
%253 = load i64, ptr %14, align 8
%254 = lshr i64 %253, 8
%255 = and i64 %254, 255
%256 = trunc i64 %255 to i8
%257 = load ptr, ptr %21, align 8
%258 = getelementptr inbounds i8, ptr %257, i32 1
store ptr %258, ptr %21, align 8
store i8 %256, ptr %257, align 1
%259 = load i64, ptr %14, align 8
%260 = and i64 %259, 255
%261 = trunc i64 %260 to i8
%262 = load ptr, ptr %21, align 8
%263 = getelementptr inbounds i8, ptr %262, i32 1
store ptr %263, ptr %21, align 8
store i8 %261, ptr %262, align 1
br label %264
264: ; preds = %212, %209
%265 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
store i64 0, ptr %265, align 8
%266 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
store i64 0, ptr %266, align 16
store i64 0, ptr %14, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %15, align 8
%267 = load i32, ptr %16, align 4
%268 = load ptr, ptr %12, align 8
store i32 %267, ptr %268, align 4
ret void
}
declare i32 @CAST_encrypt(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/tmp8c05t1gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CAST_ofb64_encrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca [8 x i8], align 1
%19 = alloca ptr, align 8
%20 = alloca [2 x i64], align 16
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%23 = load ptr, ptr %12, align 8
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %16, align 4
%25 = load i64, ptr %9, align 8
store i64 %25, ptr %17, align 8
store i32 0, ptr %22, align 4
%26 = load ptr, ptr %11, align 8
store ptr %26, ptr %21, align 8
%27 = load ptr, ptr %21, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %21, align 8
%29 = load i8, ptr %27, align 1
%30 = zext i8 %29 to i64
%31 = shl i64 %30, 24
store i64 %31, ptr %13, align 8
%32 = load ptr, ptr %21, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %21, align 8
%34 = load i8, ptr %32, align 1
%35 = zext i8 %34 to i64
%36 = shl i64 %35, 16
%37 = load i64, ptr %13, align 8
%38 = or i64 %37, %36
store i64 %38, ptr %13, align 8
%39 = load ptr, ptr %21, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %21, align 8
%41 = load i8, ptr %39, align 1
%42 = zext i8 %41 to i64
%43 = shl i64 %42, 8
%44 = load i64, ptr %13, align 8
%45 = or i64 %44, %43
store i64 %45, ptr %13, align 8
%46 = load ptr, ptr %21, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %21, align 8
%48 = load i8, ptr %46, align 1
%49 = zext i8 %48 to i64
%50 = load i64, ptr %13, align 8
%51 = or i64 %50, %49
store i64 %51, ptr %13, align 8
%52 = load ptr, ptr %21, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %21, align 8
%54 = load i8, ptr %52, align 1
%55 = zext i8 %54 to i64
%56 = shl i64 %55, 24
store i64 %56, ptr %14, align 8
%57 = load ptr, ptr %21, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %21, align 8
%59 = load i8, ptr %57, align 1
%60 = zext i8 %59 to i64
%61 = shl i64 %60, 16
%62 = load i64, ptr %14, align 8
%63 = or i64 %62, %61
store i64 %63, ptr %14, align 8
%64 = load ptr, ptr %21, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %21, align 8
%66 = load i8, ptr %64, align 1
%67 = zext i8 %66 to i64
%68 = shl i64 %67, 8
%69 = load i64, ptr %14, align 8
%70 = or i64 %69, %68
store i64 %70, ptr %14, align 8
%71 = load ptr, ptr %21, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %21, align 8
%73 = load i8, ptr %71, align 1
%74 = zext i8 %73 to i64
%75 = load i64, ptr %14, align 8
%76 = or i64 %75, %74
store i64 %76, ptr %14, align 8
%77 = load i64, ptr %13, align 8
%78 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
store i64 %77, ptr %78, align 16
%79 = load i64, ptr %14, align 8
%80 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
store i64 %79, ptr %80, align 8
%81 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 0
store ptr %81, ptr %19, align 8
%82 = load i64, ptr %13, align 8
%83 = lshr i64 %82, 24
%84 = and i64 %83, 255
%85 = trunc i64 %84 to i8
%86 = load ptr, ptr %19, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %19, align 8
store i8 %85, ptr %86, align 1
%88 = load i64, ptr %13, align 8
%89 = lshr i64 %88, 16
%90 = and i64 %89, 255
%91 = trunc i64 %90 to i8
%92 = load ptr, ptr %19, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %19, align 8
store i8 %91, ptr %92, align 1
%94 = load i64, ptr %13, align 8
%95 = lshr i64 %94, 8
%96 = and i64 %95, 255
%97 = trunc i64 %96 to i8
%98 = load ptr, ptr %19, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %19, align 8
store i8 %97, ptr %98, align 1
%100 = load i64, ptr %13, align 8
%101 = and i64 %100, 255
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %19, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %19, align 8
store i8 %102, ptr %103, align 1
%105 = load i64, ptr %14, align 8
%106 = lshr i64 %105, 24
%107 = and i64 %106, 255
%108 = trunc i64 %107 to i8
%109 = load ptr, ptr %19, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %19, align 8
store i8 %108, ptr %109, align 1
%111 = load i64, ptr %14, align 8
%112 = lshr i64 %111, 16
%113 = and i64 %112, 255
%114 = trunc i64 %113 to i8
%115 = load ptr, ptr %19, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %19, align 8
store i8 %114, ptr %115, align 1
%117 = load i64, ptr %14, align 8
%118 = lshr i64 %117, 8
%119 = and i64 %118, 255
%120 = trunc i64 %119 to i8
%121 = load ptr, ptr %19, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %19, align 8
store i8 %120, ptr %121, align 1
%123 = load i64, ptr %14, align 8
%124 = and i64 %123, 255
%125 = trunc i64 %124 to i8
%126 = load ptr, ptr %19, align 8
%127 = getelementptr inbounds i8, ptr %126, i32 1
store ptr %127, ptr %19, align 8
store i8 %125, ptr %126, align 1
%128 = load i64, ptr %17, align 8
%129 = add nsw i64 %128, -1
store i64 %129, ptr %17, align 8
%130 = icmp ne i64 %128, 0
br i1 %130, label %.lr.ph, label %211
.lr.ph: ; preds = %6
br label %131
131: ; preds = %.lr.ph, %191
%132 = load i32, ptr %16, align 4
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %191
134: ; preds = %131
%135 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%136 = load ptr, ptr %10, align 8
%137 = call i32 @CAST_encrypt(ptr noundef %135, ptr noundef %136)
%138 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 0
store ptr %138, ptr %19, align 8
%139 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%140 = load i64, ptr %139, align 16
store i64 %140, ptr %15, align 8
%141 = load i64, ptr %15, align 8
%142 = lshr i64 %141, 24
%143 = and i64 %142, 255
%144 = trunc i64 %143 to i8
%145 = load ptr, ptr %19, align 8
%146 = getelementptr inbounds i8, ptr %145, i32 1
store ptr %146, ptr %19, align 8
store i8 %144, ptr %145, align 1
%147 = load i64, ptr %15, align 8
%148 = lshr i64 %147, 16
%149 = and i64 %148, 255
%150 = trunc i64 %149 to i8
%151 = load ptr, ptr %19, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %19, align 8
store i8 %150, ptr %151, align 1
%153 = load i64, ptr %15, align 8
%154 = lshr i64 %153, 8
%155 = and i64 %154, 255
%156 = trunc i64 %155 to i8
%157 = load ptr, ptr %19, align 8
%158 = getelementptr inbounds i8, ptr %157, i32 1
store ptr %158, ptr %19, align 8
store i8 %156, ptr %157, align 1
%159 = load i64, ptr %15, align 8
%160 = and i64 %159, 255
%161 = trunc i64 %160 to i8
%162 = load ptr, ptr %19, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %19, align 8
store i8 %161, ptr %162, align 1
%164 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
%165 = load i64, ptr %164, align 8
store i64 %165, ptr %15, align 8
%166 = load i64, ptr %15, align 8
%167 = lshr i64 %166, 24
%168 = and i64 %167, 255
%169 = trunc i64 %168 to i8
%170 = load ptr, ptr %19, align 8
%171 = getelementptr inbounds i8, ptr %170, i32 1
store ptr %171, ptr %19, align 8
store i8 %169, ptr %170, align 1
%172 = load i64, ptr %15, align 8
%173 = lshr i64 %172, 16
%174 = and i64 %173, 255
%175 = trunc i64 %174 to i8
%176 = load ptr, ptr %19, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %19, align 8
store i8 %175, ptr %176, align 1
%178 = load i64, ptr %15, align 8
%179 = lshr i64 %178, 8
%180 = and i64 %179, 255
%181 = trunc i64 %180 to i8
%182 = load ptr, ptr %19, align 8
%183 = getelementptr inbounds i8, ptr %182, i32 1
store ptr %183, ptr %19, align 8
store i8 %181, ptr %182, align 1
%184 = load i64, ptr %15, align 8
%185 = and i64 %184, 255
%186 = trunc i64 %185 to i8
%187 = load ptr, ptr %19, align 8
%188 = getelementptr inbounds i8, ptr %187, i32 1
store ptr %188, ptr %19, align 8
store i8 %186, ptr %187, align 1
%189 = load i32, ptr %22, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %22, align 4
br label %191
191: ; preds = %134, %131
%192 = load ptr, ptr %7, align 8
%193 = getelementptr inbounds i8, ptr %192, i32 1
store ptr %193, ptr %7, align 8
%194 = load i8, ptr %192, align 1
%195 = zext i8 %194 to i32
%196 = load i32, ptr %16, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [8 x i8], ptr %18, i64 0, i64 %197
%199 = load i8, ptr %198, align 1
%200 = zext i8 %199 to i32
%201 = xor i32 %195, %200
%202 = trunc i32 %201 to i8
%203 = load ptr, ptr %8, align 8
%204 = getelementptr inbounds i8, ptr %203, i32 1
store ptr %204, ptr %8, align 8
store i8 %202, ptr %203, align 1
%205 = load i32, ptr %16, align 4
%206 = add nsw i32 %205, 1
%207 = and i32 %206, 7
store i32 %207, ptr %16, align 4
%208 = load i64, ptr %17, align 8
%209 = add nsw i64 %208, -1
store i64 %209, ptr %17, align 8
%210 = icmp ne i64 %208, 0
br i1 %210, label %131, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %191
br label %211
211: ; preds = %._crit_edge, %6
%212 = load i32, ptr %22, align 4
%213 = icmp ne i32 %212, 0
br i1 %213, label %214, label %266
214: ; preds = %211
%215 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
%216 = load i64, ptr %215, align 16
store i64 %216, ptr %13, align 8
%217 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
%218 = load i64, ptr %217, align 8
store i64 %218, ptr %14, align 8
%219 = load ptr, ptr %11, align 8
store ptr %219, ptr %21, align 8
%220 = load i64, ptr %13, align 8
%221 = lshr i64 %220, 24
%222 = and i64 %221, 255
%223 = trunc i64 %222 to i8
%224 = load ptr, ptr %21, align 8
%225 = getelementptr inbounds i8, ptr %224, i32 1
store ptr %225, ptr %21, align 8
store i8 %223, ptr %224, align 1
%226 = load i64, ptr %13, align 8
%227 = lshr i64 %226, 16
%228 = and i64 %227, 255
%229 = trunc i64 %228 to i8
%230 = load ptr, ptr %21, align 8
%231 = getelementptr inbounds i8, ptr %230, i32 1
store ptr %231, ptr %21, align 8
store i8 %229, ptr %230, align 1
%232 = load i64, ptr %13, align 8
%233 = lshr i64 %232, 8
%234 = and i64 %233, 255
%235 = trunc i64 %234 to i8
%236 = load ptr, ptr %21, align 8
%237 = getelementptr inbounds i8, ptr %236, i32 1
store ptr %237, ptr %21, align 8
store i8 %235, ptr %236, align 1
%238 = load i64, ptr %13, align 8
%239 = and i64 %238, 255
%240 = trunc i64 %239 to i8
%241 = load ptr, ptr %21, align 8
%242 = getelementptr inbounds i8, ptr %241, i32 1
store ptr %242, ptr %21, align 8
store i8 %240, ptr %241, align 1
%243 = load i64, ptr %14, align 8
%244 = lshr i64 %243, 24
%245 = and i64 %244, 255
%246 = trunc i64 %245 to i8
%247 = load ptr, ptr %21, align 8
%248 = getelementptr inbounds i8, ptr %247, i32 1
store ptr %248, ptr %21, align 8
store i8 %246, ptr %247, align 1
%249 = load i64, ptr %14, align 8
%250 = lshr i64 %249, 16
%251 = and i64 %250, 255
%252 = trunc i64 %251 to i8
%253 = load ptr, ptr %21, align 8
%254 = getelementptr inbounds i8, ptr %253, i32 1
store ptr %254, ptr %21, align 8
store i8 %252, ptr %253, align 1
%255 = load i64, ptr %14, align 8
%256 = lshr i64 %255, 8
%257 = and i64 %256, 255
%258 = trunc i64 %257 to i8
%259 = load ptr, ptr %21, align 8
%260 = getelementptr inbounds i8, ptr %259, i32 1
store ptr %260, ptr %21, align 8
store i8 %258, ptr %259, align 1
%261 = load i64, ptr %14, align 8
%262 = and i64 %261, 255
%263 = trunc i64 %262 to i8
%264 = load ptr, ptr %21, align 8
%265 = getelementptr inbounds i8, ptr %264, i32 1
store ptr %265, ptr %21, align 8
store i8 %263, ptr %264, align 1
br label %266
266: ; preds = %214, %211
%267 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
store i64 0, ptr %267, align 8
%268 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
store i64 0, ptr %268, align 16
store i64 0, ptr %14, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %15, align 8
%269 = load i32, ptr %16, align 4
%270 = load ptr, ptr %12, align 8
store i32 %269, ptr %270, align 4
ret void
}
declare i32 @CAST_encrypt(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/tmp84hbzzre.c'
source_filename = "/tmp/tmp84hbzzre.c"
target datalayout = "e-m:e-p270: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/tmp84hbzzre.c"
target datalayout = "e-m:e-p270: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/tmp9acso1_t.c'
source_filename = "/tmp/tmp9acso1_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xbc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xbc() #0 {
%1 = call i64 @isdigit(i32 noundef 188)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmp9acso1_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xbc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xbc() #0 {
%1 = call i64 @isdigit(i32 noundef 188)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpsiqvqa71.c'
source_filename = "/tmp/tmpsiqvqa71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpsiqvqa71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %1
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
ret i64 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmporvyod41.c'
source_filename = "/tmp/tmporvyod41.c"
target datalayout = "e-m:e-p270: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/tmporvyod41.c"
target datalayout = "e-m:e-p270: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/tmp1cc7i688.c'
source_filename = "/tmp/tmp1cc7i688.c"
target datalayout = "e-m:e-p270: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/tmp1cc7i688.c"
target datalayout = "e-m:e-p270: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/tmppf1ksiz2.c'
source_filename = "/tmp/tmppf1ksiz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d: `%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i32, ptr %6, align 4
%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 @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppf1ksiz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d: `%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %6, align 4
%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 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %16)
br label %18
18: ; preds = %10
%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 %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3jsj1gog.c'
source_filename = "/tmp/tmp3jsj1gog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
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
%11 = load i32, ptr %6, align 4
%12 = call i32 @putint(i32 noundef %11)
%13 = load i32, ptr %7, align 4
%14 = call i32 @putint(i32 noundef %13)
%15 = load i32, ptr %8, align 4
%16 = call i32 @putint(i32 noundef %15)
%17 = load i32, ptr %9, align 4
%18 = call i32 @putint(i32 noundef %17)
%19 = load i32, ptr %10, align 4
%20 = call i32 @putint(i32 noundef %19)
ret void
}
declare i32 @putint(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/tmp3jsj1gog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
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
%11 = load i32, ptr %6, align 4
%12 = call i32 @putint(i32 noundef %11)
%13 = load i32, ptr %7, align 4
%14 = call i32 @putint(i32 noundef %13)
%15 = load i32, ptr %8, align 4
%16 = call i32 @putint(i32 noundef %15)
%17 = load i32, ptr %9, align 4
%18 = call i32 @putint(i32 noundef %17)
%19 = load i32, ptr %10, align 4
%20 = call i32 @putint(i32 noundef %19)
ret void
}
declare i32 @putint(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/tmpskeaig2m.c'
source_filename = "/tmp/tmpskeaig2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @task2_tramp() #0 {
%1 = alloca [600 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %12, %0
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = icmp ult i64 %5, 600
br i1 %6, label %7, label %15
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [600 x i32], ptr %1, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %3, !llvm.loop !6
15: ; preds = %3
%16 = call i32 (...) @task2()
ret void
}
declare i32 @task2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpskeaig2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @task2_tramp() #0 {
%1 = alloca [600 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp ult i64 %4, 600
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [600 x i32], ptr %1, i64 0, i64 %9
store i32 %7, ptr %10, align 4
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = icmp ult i64 %15, 600
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 (...) @task2()
ret void
}
declare i32 @task2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpqveozogi.c'
source_filename = "/tmp/tmpqveozogi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"There are %d rooms you can put one integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"//\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 5)
%3 = call i32 @push_stack1(i32 noundef 1)
%4 = call i32 @push_stack2(i32 noundef 1)
%5 = call i32 (...) @printStack1()
%6 = call i32 (...) @printStack2()
%7 = call i32 @puts(ptr noundef @.str.1)
%8 = call i32 @push_stack1(i32 noundef 2)
%9 = call i32 (...) @printStack1()
%10 = call i32 (...) @printStack2()
%11 = call i32 @puts(ptr noundef @.str.1)
%12 = call i32 @push_stack2(i32 noundef 2)
%13 = call i32 (...) @printStack1()
%14 = call i32 (...) @printStack2()
%15 = call i32 @puts(ptr noundef @.str.1)
%16 = call i32 @push_stack1(i32 noundef 3)
%17 = call i32 (...) @printStack1()
%18 = call i32 (...) @printStack2()
%19 = call i32 @puts(ptr noundef @.str.1)
%20 = call i32 @push_stack2(i32 noundef 3)
%21 = call i32 (...) @printStack1()
%22 = call i32 (...) @printStack2()
%23 = call i32 @puts(ptr noundef @.str.1)
%24 = call i32 (...) @pop_stack1()
%25 = call i32 (...) @printStack1()
%26 = call i32 (...) @printStack2()
%27 = call i32 @puts(ptr noundef @.str.1)
%28 = call i32 (...) @pop_stack1()
%29 = call i32 (...) @printStack1()
%30 = call i32 (...) @printStack2()
%31 = call i32 @puts(ptr noundef @.str.1)
%32 = call i32 (...) @pop_stack1()
%33 = call i32 (...) @printStack1()
%34 = call i32 (...) @printStack2()
%35 = call i32 @puts(ptr noundef @.str.1)
%36 = call i32 (...) @pop_stack1()
%37 = call i32 (...) @printStack1()
%38 = call i32 (...) @printStack2()
%39 = call i32 @puts(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @push_stack1(i32 noundef) #1
declare i32 @push_stack2(i32 noundef) #1
declare i32 @printStack1(...) #1
declare i32 @printStack2(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @pop_stack1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqveozogi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"There are %d rooms you can put one integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"//\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 5)
%3 = call i32 @push_stack1(i32 noundef 1)
%4 = call i32 @push_stack2(i32 noundef 1)
%5 = call i32 (...) @printStack1()
%6 = call i32 (...) @printStack2()
%7 = call i32 @puts(ptr noundef @.str.1)
%8 = call i32 @push_stack1(i32 noundef 2)
%9 = call i32 (...) @printStack1()
%10 = call i32 (...) @printStack2()
%11 = call i32 @puts(ptr noundef @.str.1)
%12 = call i32 @push_stack2(i32 noundef 2)
%13 = call i32 (...) @printStack1()
%14 = call i32 (...) @printStack2()
%15 = call i32 @puts(ptr noundef @.str.1)
%16 = call i32 @push_stack1(i32 noundef 3)
%17 = call i32 (...) @printStack1()
%18 = call i32 (...) @printStack2()
%19 = call i32 @puts(ptr noundef @.str.1)
%20 = call i32 @push_stack2(i32 noundef 3)
%21 = call i32 (...) @printStack1()
%22 = call i32 (...) @printStack2()
%23 = call i32 @puts(ptr noundef @.str.1)
%24 = call i32 (...) @pop_stack1()
%25 = call i32 (...) @printStack1()
%26 = call i32 (...) @printStack2()
%27 = call i32 @puts(ptr noundef @.str.1)
%28 = call i32 (...) @pop_stack1()
%29 = call i32 (...) @printStack1()
%30 = call i32 (...) @printStack2()
%31 = call i32 @puts(ptr noundef @.str.1)
%32 = call i32 (...) @pop_stack1()
%33 = call i32 (...) @printStack1()
%34 = call i32 (...) @printStack2()
%35 = call i32 @puts(ptr noundef @.str.1)
%36 = call i32 (...) @pop_stack1()
%37 = call i32 (...) @printStack1()
%38 = call i32 (...) @printStack2()
%39 = call i32 @puts(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @push_stack1(i32 noundef) #1
declare i32 @push_stack2(i32 noundef) #1
declare i32 @printStack1(...) #1
declare i32 @printStack2(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @pop_stack1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzt0jw4am.c'
source_filename = "/tmp/tmpzt0jw4am.c"
target datalayout = "e-m:e-p270: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/tmpzt0jw4am.c"
target datalayout = "e-m:e-p270: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/tmp8tslninx.c'
source_filename = "/tmp/tmp8tslninx.c"
target datalayout = "e-m:e-p270: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/tmp8tslninx.c"
target datalayout = "e-m:e-p270: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/tmprvgdwgsd.c'
source_filename = "/tmp/tmprvgdwgsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.mtx = private unnamed_addr constant [6 x i32] [i32 4, i32 10, i32 3, i32 12, i32 20, i32 7], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [6 x i32], align 16
store i32 0, ptr %1, align 4
store i32 6, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.mtx, i64 24, i1 false)
%4 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @solve(ptr noundef %4, i32 noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @solve(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvgdwgsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.mtx = private unnamed_addr constant [6 x i32] [i32 4, i32 10, i32 3, i32 12, i32 20, i32 7], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [6 x i32], align 16
store i32 0, ptr %1, align 4
store i32 6, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.mtx, i64 24, i1 false)
%4 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @solve(ptr noundef %4, i32 noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @solve(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz99gfgbh.c'
source_filename = "/tmp/tmpz99gfgbh.c"
target datalayout = "e-m:e-p270: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 @init_sine(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %24, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 200
br i1 %8, label %9, label %27
9: ; preds = %6
%10 = load double, ptr @M_PI, align 8
%11 = fmul double 2.000000e+00, %10
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = sitofp i32 %13 to double
%15 = fmul double %11, %14
%16 = fdiv double %15, 2.000000e+02
%17 = call i32 @sin(double noundef %16)
%18 = mul nsw i32 2047, %17
%19 = trunc i32 %18 to i16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i16, ptr %20, i64 %22
store i16 %19, ptr %23, align 2
br label %24
24: ; preds = %9
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %6, !llvm.loop !6
27: ; preds = %6
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz99gfgbh.c"
target datalayout = "e-m:e-p270: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 @init_sine(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 200
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %23
%9 = load double, ptr @M_PI, align 8
%10 = fmul double 2.000000e+00, %9
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = fmul double %10, %13
%15 = fdiv double %14, 2.000000e+02
%16 = call i32 @sin(double noundef %15)
%17 = mul nsw i32 2047, %16
%18 = trunc i32 %17 to i16
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i16, ptr %19, i64 %21
store i16 %18, ptr %22, align 2
br label %23
23: ; preds = %8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %26, 200
br i1 %27, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %2
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7zdt71ua.c'
source_filename = "/tmp/tmp7zdt71ua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i64 @malloc(i32 noundef 1)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %2, align 4
%9 = call i32 @itoa(ptr noundef %7, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @puts(ptr noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @itoa(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zdt71ua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i64 @malloc(i32 noundef 1)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %2, align 4
%9 = call i32 @itoa(ptr noundef %7, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @puts(ptr noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @itoa(ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ezn2snf.c'
source_filename = "/tmp/tmp8ezn2snf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy**\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_eit_test2(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 @ts_eit_add_short_event_descriptor(ptr noundef %3, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ts_eit_add_short_event_descriptor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmp8ezn2snf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy**\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_eit_test2(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 @ts_eit_add_short_event_descriptor(ptr noundef %3, i32 noundef 4, i32 noundef 1, i32 noundef 1234567890, i32 noundef 3600, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ts_eit_add_short_event_descriptor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpsitl6kje.c'
source_filename = "/tmp/tmpsitl6kje.c"
target datalayout = "e-m:e-p270: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/tmpsitl6kje.c"
target datalayout = "e-m:e-p270: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/tmpfxvhw0mc.c'
source_filename = "/tmp/tmpfxvhw0mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"length %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" %04x: \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hexl(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 (i32, ptr, ...) @printerr(i32 noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = call i32 (i32, ptr, ...) @printerr(i32 noundef %14, ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %121, %3
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %124
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 (i32, ptr, ...) @printerr(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp sgt i32 %27, 16
br i1 %28, label %29, label %30
29: ; preds = %20
br label %32
30: ; preds = %20
%31 = load i32, ptr %9, align 4
br label %32
32: ; preds = %30, %29
%33 = phi i32 [ 16, %29 ], [ %31, %30 ]
store i32 %33, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %34
34: ; preds = %65, %32
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %68
38: ; preds = %34
%39 = load i32, ptr %8, align 4
%40 = srem i32 %39, 2
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %53
42: ; preds = %38
%43 = load i32, ptr %4, align 4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %45, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %44, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = call i32 (i32, ptr, ...) @printerr(i32 noundef %43, ptr noundef @.str.3, i32 noundef %51)
br label %64
53: ; preds = %38
%54 = load i32, ptr %4, align 4
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
%61 = load i8, ptr %60, align 1
%62 = zext i8 %61 to i32
%63 = call i32 (i32, ptr, ...) @printerr(i32 noundef %54, ptr noundef @.str.4, i32 noundef %62)
br label %64
64: ; preds = %53, %42
br label %65
65: ; preds = %64
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
br label %34, !llvm.loop !6
68: ; preds = %34
br label %69
69: ; preds = %83, %68
%70 = load i32, ptr %8, align 4
%71 = icmp slt i32 %70, 16
br i1 %71, label %72, label %86
72: ; preds = %69
%73 = load i32, ptr %8, align 4
%74 = srem i32 %73, 2
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %79
76: ; preds = %72
%77 = load i32, ptr %4, align 4
%78 = call i32 (i32, ptr, ...) @printerr(i32 noundef %77, ptr noundef @.str.5)
br label %82
79: ; preds = %72
%80 = load i32, ptr %4, align 4
%81 = call i32 (i32, ptr, ...) @printerr(i32 noundef %80, ptr noundef @.str.6)
br label %82
82: ; preds = %79, %76
br label %83
83: ; preds = %82
%84 = load i32, ptr %8, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %8, align 4
br label %69, !llvm.loop !8
86: ; preds = %69
%87 = load i32, ptr %4, align 4
%88 = call i32 (i32, ptr, ...) @printerr(i32 noundef %87, ptr noundef @.str.7)
store i32 0, ptr %8, align 4
br label %89
89: ; preds = %115, %86
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %118
93: ; preds = %89
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %95, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %94, i64 %98
%100 = load i8, ptr %99, align 1
store i8 %100, ptr %10, align 1
%101 = load i8, ptr %10, align 1
%102 = call i64 @isprint(i8 noundef zeroext %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %93
%105 = load i8, ptr %10, align 1
%106 = zext i8 %105 to i32
br label %108
107: ; preds = %93
br label %108
108: ; preds = %107, %104
%109 = phi i32 [ %106, %104 ], [ 46, %107 ]
%110 = trunc i32 %109 to i8
store i8 %110, ptr %10, align 1
%111 = load i32, ptr %4, align 4
%112 = load i8, ptr %10, align 1
%113 = zext i8 %112 to i32
%114 = call i32 (i32, ptr, ...) @printerr(i32 noundef %111, ptr noundef @.str.8, i32 noundef %113)
br label %115
115: ; preds = %108
%116 = load i32, ptr %8, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %8, align 4
br label %89, !llvm.loop !9
118: ; preds = %89
%119 = load i32, ptr %4, align 4
%120 = call i32 (i32, ptr, ...) @printerr(i32 noundef %119, ptr noundef @.str.1)
br label %121
121: ; preds = %118
%122 = load i32, ptr %7, align 4
%123 = add nsw i32 %122, 16
store i32 %123, ptr %7, align 4
br label %16, !llvm.loop !10
124: ; preds = %16
ret void
}
declare i32 @printerr(i32 noundef, ptr noundef, ...) #1
declare i64 @isprint(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfxvhw0mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"length %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" %04x: \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hexl(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 (i32, ptr, ...) @printerr(i32 noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = call i32 (i32, ptr, ...) @printerr(i32 noundef %14, ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph8, label %131
.lr.ph8: ; preds = %3
br label %19
19: ; preds = %.lr.ph8, %125
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %7, align 4
%22 = call i32 (i32, ptr, ...) @printerr(i32 noundef %20, ptr noundef @.str.2, i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sgt i32 %26, 16
br i1 %27, label %28, label %29
28: ; preds = %19
br label %31
29: ; preds = %19
%30 = load i32, ptr %9, align 4
br label %31
31: ; preds = %29, %28
%32 = phi i32 [ 16, %28 ], [ %30, %29 ]
store i32 %32, ptr %9, align 4
store i32 0, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %69
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %63
%37 = load i32, ptr %8, align 4
%38 = srem i32 %37, 2
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load i32, ptr %4, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = call i32 (i32, ptr, ...) @printerr(i32 noundef %41, ptr noundef @.str.3, i32 noundef %49)
br label %62
51: ; preds = %36
%52 = load i32, ptr %4, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %54, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %53, i64 %57
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = call i32 (i32, ptr, ...) @printerr(i32 noundef %52, ptr noundef @.str.4, i32 noundef %60)
br label %62
62: ; preds = %51, %40
br label %63
63: ; preds = %62
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %31
%70 = load i32, ptr %8, align 4
%71 = icmp slt i32 %70, 16
br i1 %71, label %.lr.ph2, label %88
.lr.ph2: ; preds = %69
br label %72
72: ; preds = %.lr.ph2, %83
%73 = load i32, ptr %8, align 4
%74 = srem i32 %73, 2
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %79
76: ; preds = %72
%77 = load i32, ptr %4, align 4
%78 = call i32 (i32, ptr, ...) @printerr(i32 noundef %77, ptr noundef @.str.5)
br label %82
79: ; preds = %72
%80 = load i32, ptr %4, align 4
%81 = call i32 (i32, ptr, ...) @printerr(i32 noundef %80, ptr noundef @.str.6)
br label %82
82: ; preds = %79, %76
br label %83
83: ; preds = %82
%84 = load i32, ptr %8, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %8, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp slt i32 %86, 16
br i1 %87, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %88
88: ; preds = %._crit_edge3, %69
%89 = load i32, ptr %4, align 4
%90 = call i32 (i32, ptr, ...) @printerr(i32 noundef %89, ptr noundef @.str.7)
store i32 0, ptr %8, align 4
%91 = load i32, ptr %8, align 4
%92 = load i32, ptr %9, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph5, label %122
.lr.ph5: ; preds = %88
br label %94
94: ; preds = %.lr.ph5, %116
%95 = load ptr, ptr %5, align 8
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %95, i64 %99
%101 = load i8, ptr %100, align 1
store i8 %101, ptr %10, align 1
%102 = load i8, ptr %10, align 1
%103 = call i64 @isprint(i8 noundef zeroext %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %108
105: ; preds = %94
%106 = load i8, ptr %10, align 1
%107 = zext i8 %106 to i32
br label %109
108: ; preds = %94
br label %109
109: ; preds = %108, %105
%110 = phi i32 [ %107, %105 ], [ 46, %108 ]
%111 = trunc i32 %110 to i8
store i8 %111, ptr %10, align 1
%112 = load i32, ptr %4, align 4
%113 = load i8, ptr %10, align 1
%114 = zext i8 %113 to i32
%115 = call i32 (i32, ptr, ...) @printerr(i32 noundef %112, ptr noundef @.str.8, i32 noundef %114)
br label %116
116: ; preds = %109
%117 = load i32, ptr %8, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %8, align 4
%119 = load i32, ptr %8, align 4
%120 = load i32, ptr %9, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %94, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %116
br label %122
122: ; preds = %._crit_edge6, %88
%123 = load i32, ptr %4, align 4
%124 = call i32 (i32, ptr, ...) @printerr(i32 noundef %123, ptr noundef @.str.1)
br label %125
125: ; preds = %122
%126 = load i32, ptr %7, align 4
%127 = add nsw i32 %126, 16
store i32 %127, ptr %7, align 4
%128 = load i32, ptr %7, align 4
%129 = load i32, ptr %6, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %19, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %125
br label %131
131: ; preds = %._crit_edge9, %3
ret void
}
declare i32 @printerr(i32 noundef, ptr noundef, ...) #1
declare i64 @isprint(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpfs4tf9tr.c'
source_filename = "/tmp/tmpfs4tf9tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"SmackFS is not mounted.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@optind = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"apply_rules_file\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"apply_rules\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = call i32 (...) @is_smackfs_mounted()
%9 = icmp ne i32 %8, 1
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
br label %15
15: ; preds = %28, %14
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str.1)
store i32 %18, ptr %7, align 4
%19 = icmp ne i32 %18, -1
br i1 %19, label %20, label %29
20: ; preds = %15
%21 = load i32, ptr %7, align 4
switch i32 %21, label %23 [
i32 99, label %22
]
22: ; preds = %20
store i32 1, ptr %6, align 4
br label %28
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 @usage(ptr noundef %26)
br label %28
28: ; preds = %23, %22
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = load i32, ptr @optind, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load i32, ptr @STDIN_FILENO, align 4
%35 = load i32, ptr %6, align 4
%36 = call i64 @apply_rules_file(i32 noundef %34, i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = call i32 @perror(ptr noundef @.str.2)
%40 = call i32 @exit(i32 noundef 1) #3
unreachable
41: ; preds = %33
br label %55
42: ; preds = %29
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr @optind, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %6, align 4
%49 = call i64 @apply_rules(ptr noundef %47, i32 noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %42
%52 = call i32 @perror(ptr noundef @.str.3)
%53 = call i32 @exit(i32 noundef 1) #3
unreachable
54: ; preds = %42
br label %55
55: ; preds = %54, %41
%56 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @is_smackfs_mounted(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare i64 @apply_rules_file(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @apply_rules(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/tmpfs4tf9tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"SmackFS is not mounted.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@optind = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"apply_rules_file\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"apply_rules\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = call i32 (...) @is_smackfs_mounted()
%9 = icmp ne i32 %8, 1
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1)
store i32 %17, ptr %7, align 4
%18 = icmp ne i32 %17, -1
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %27
%20 = load i32, ptr %7, align 4
switch i32 %20, label %22 [
i32 99, label %21
]
21: ; preds = %19
store i32 1, ptr %6, align 4
br label %27
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 @usage(ptr noundef %25)
br label %27
27: ; preds = %22, %21
%28 = load i32, ptr %4, align 4
%29 = load ptr, ptr %5, align 8
%30 = call i32 @getopt(i32 noundef %28, ptr noundef %29, ptr noundef @.str.1)
store i32 %30, ptr %7, align 4
%31 = icmp ne i32 %30, -1
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %14
%33 = load i32, ptr @optind, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = load i32, ptr @STDIN_FILENO, align 4
%38 = load i32, ptr %6, align 4
%39 = call i64 @apply_rules_file(i32 noundef %37, i32 noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %36
br label %58
45: ; preds = %32
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr @optind, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %6, align 4
%52 = call i64 @apply_rules(ptr noundef %50, i32 noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %45
%55 = call i32 @perror(ptr noundef @.str.3)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %45
br label %58
58: ; preds = %57, %44
%59 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @is_smackfs_mounted(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare i64 @apply_rules_file(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @apply_rules(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/tmpeedo0_n5.c'
source_filename = "/tmp/tmpeedo0_n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32 }
@.str = private unnamed_addr constant [25 x i8] c"gethostbyname() failed!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"connect() failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connect_to_server(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = call ptr @gethostbyname(ptr noundef %10)
store ptr %11, ptr %9, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %34
15: ; preds = %3
%16 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12)
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @htons(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @memcpy(ptr noundef %23, i32 noundef %26, i32 noundef 4)
%28 = load i32, ptr %5, align 4
%29 = call i64 @connect(i32 noundef %28, ptr noundef %8, i32 noundef 4)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %15
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %34
33: ; preds = %15
store i32 0, ptr %4, align 4
br label %34
34: ; preds = %33, %31, %13
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeedo0_n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32 }
@.str = private unnamed_addr constant [25 x i8] c"gethostbyname() failed!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"connect() failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connect_to_server(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = call ptr @gethostbyname(ptr noundef %10)
store ptr %11, ptr %9, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %34
15: ; preds = %3
%16 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12)
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @htons(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @memcpy(ptr noundef %23, i32 noundef %26, i32 noundef 4)
%28 = load i32, ptr %5, align 4
%29 = call i64 @connect(i32 noundef %28, ptr noundef %8, i32 noundef 4)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %15
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %34
33: ; preds = %15
store i32 0, ptr %4, align 4
br label %34
34: ; preds = %33, %31, %13
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_yrjxwx.c'
source_filename = "/tmp/tmpm_yrjxwx.c"
target datalayout = "e-m:e-p270: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/tmpm_yrjxwx.c"
target datalayout = "e-m:e-p270: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/tmpxgjnyl2s.c'
source_filename = "/tmp/tmpxgjnyl2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Cleaning up\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup() #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/tmpxgjnyl2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Cleaning up\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup() #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/tmp6ns4q9b6.c'
source_filename = "/tmp/tmp6ns4q9b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dclose(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ns4q9b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dclose(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd6htyowv.c'
source_filename = "/tmp/tmpd6htyowv.c"
target datalayout = "e-m:e-p270: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/tmpd6htyowv.c"
target datalayout = "e-m:e-p270: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/tmp6i6lp71z.c'
source_filename = "/tmp/tmp6i6lp71z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\09\09Elternteil %d, Kind=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"\09\09\09Ist Kindprozess beendet? PID war, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Kindprozessnummer= %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Kind %d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 (...) @fork()
store i64 %6, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %0
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %18, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 20
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = load i64, ptr %2, align 8
%16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %14, i64 noundef %15)
%17 = call i32 (...) @warten()
br label %18
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = call i64 @wait(ptr noundef %5)
store i64 %22, ptr %3, align 8
%23 = load i64, ptr %3, align 8
%24 = trunc i64 %23 to i32
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %21, %26
br label %26
27: ; preds = %0
%28 = call i32 (...) @getpid()
%29 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %28)
store i32 0, ptr %4, align 4
br label %30
30: ; preds = %38, %27
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 10
br i1 %32, label %33, label %41
33: ; preds = %30
%34 = load i32, ptr %4, align 4
%35 = load i64, ptr %2, align 8
%36 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i64 noundef %35)
%37 = call i32 (...) @warten()
br label %38
38: ; preds = %33
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
br label %30, !llvm.loop !8
41: ; preds = %30
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @warten(...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @getpid(...) #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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6i6lp71z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\09\09Elternteil %d, Kind=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"\09\09\09Ist Kindprozess beendet? PID war, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Kindprozessnummer= %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Kind %d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 (...) @fork()
store i64 %6, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %0
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 20
br i1 %11, label %.lr.ph2, label %22
.lr.ph2: ; preds = %9
br label %12
12: ; preds = %.lr.ph2, %17
%13 = load i32, ptr %4, align 4
%14 = load i64, ptr %2, align 8
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %13, i64 noundef %14)
%16 = call i32 (...) @warten()
br label %17
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 20
br i1 %21, label %12, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %17
br label %22
22: ; preds = %._crit_edge3, %9
%23 = call i64 @wait(ptr noundef %5)
store i64 %23, ptr %3, align 8
%24 = load i64, ptr %3, align 8
%25 = trunc i64 %24 to i32
%26 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
br label %27
27: ; preds = %27, %22
br label %27
28: ; preds = %0
%29 = call i32 (...) @getpid()
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
store i32 0, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 10
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %28
br label %33
33: ; preds = %.lr.ph, %38
%34 = load i32, ptr %4, align 4
%35 = load i64, ptr %2, align 8
%36 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i64 noundef %35)
%37 = call i32 (...) @warten()
br label %38
38: ; preds = %33
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 10
br i1 %42, label %33, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %28
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @warten(...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @getpid(...) #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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2h46f57f.c'
source_filename = "/tmp/tmp2h46f57f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_index_descending(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @quicksort_index_recursive(ptr noundef %7, ptr noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef 0)
ret void
}
declare i32 @quicksort_index_recursive(ptr noundef, 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/tmp2h46f57f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_index_descending(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @quicksort_index_recursive(ptr noundef %7, ptr noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef 0)
ret void
}
declare i32 @quicksort_index_recursive(ptr noundef, 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/tmpxkd_xuzz.c'
source_filename = "/tmp/tmpxkd_xuzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 8)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = call i64 @malloc(i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @init(ptr noundef %13)
br label %15
15: ; preds = %18, %0
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call ptr @translateSentence(ptr noundef %21)
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %2, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @init(ptr noundef) #1
declare ptr @translateSentence(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxkd_xuzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 8)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = call i64 @malloc(i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @init(ptr noundef %13)
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %4, align 8
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = call ptr @translateSentence(ptr noundef %20)
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %28
28: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @init(ptr noundef) #1
declare ptr @translateSentence(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcfibcg0n.c'
source_filename = "/tmp/tmpcfibcg0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_0f() #0 {
%1 = call i32 (...) @rrca()
ret void
}
declare i32 @rrca(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcfibcg0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_0f() #0 {
%1 = call i32 (...) @rrca()
ret void
}
declare i32 @rrca(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmnrm_82u.c'
source_filename = "/tmp/tmpmnrm_82u.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"Could not allocate %zu bytes at file %s line %d: %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 @malloc_or_die(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i64, ptr %4, align 8
%9 = call ptr @malloc(i64 noundef %8) #4
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load i32, ptr @stderr, align 4
%14 = load i64, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, i64 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #5
unreachable
22: ; preds = %3
%23 = load ptr, ptr %7, align 8
ret ptr %23
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmpmnrm_82u.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"Could not allocate %zu bytes at file %s line %d: %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 @malloc_or_die(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i64, ptr %4, align 8
%9 = call ptr @malloc(i64 noundef %8) #4
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load i32, ptr @stderr, align 4
%14 = load i64, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, i64 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #5
unreachable
22: ; preds = %3
%23 = load ptr, ptr %7, align 8
ret ptr %23
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmpx1euphhf.c'
source_filename = "/tmp/tmpx1euphhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_tdt_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @ts_tdt_init_empty(ptr noundef %5, i32 noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @ts_tdt_init_empty(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/tmpx1euphhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_tdt_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @ts_tdt_init_empty(ptr noundef %5, i32 noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @ts_tdt_init_empty(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/tmpbq5tk9hp.c'
source_filename = "/tmp/tmpbq5tk9hp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalise(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %31, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %34
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds float, ptr %12, i64 %14
%16 = load float, ptr %15, align 4
%17 = call float @llvm.fabs.f32(float %16)
%18 = load float, ptr %6, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = load float, ptr %6, align 4
br label %29
22: ; preds = %11
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = call float @llvm.fabs.f32(float %27)
br label %29
29: ; preds = %22, %20
%30 = phi float [ %21, %20 ], [ %28, %22 ]
store float %30, ptr %6, align 4
br label %31
31: ; preds = %29
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
%35 = load float, ptr %6, align 4
%36 = fdiv float 1.000000e+00, %35
store float %36, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %49, %34
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load float, ptr %6, align 4
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
%47 = load float, ptr %46, align 4
%48 = fmul float %47, %42
store float %48, ptr %46, align 4
br label %49
49: ; preds = %41
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %37, !llvm.loop !8
52: ; preds = %37
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbq5tk9hp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalise(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %30
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
%15 = load float, ptr %14, align 4
%16 = call float @llvm.fabs.f32(float %15)
%17 = load float, ptr %6, align 4
%18 = fcmp olt float %16, %17
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = load float, ptr %6, align 4
br label %28
21: ; preds = %10
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = call float @llvm.fabs.f32(float %26)
br label %28
28: ; preds = %21, %19
%29 = phi float [ %20, %19 ], [ %27, %21 ]
store float %29, ptr %6, align 4
br label %30
30: ; preds = %28
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
%37 = load float, ptr %6, align 4
%38 = fdiv float 1.000000e+00, %37
store float %38, ptr %6, align 4
store i32 0, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph2, label %56
.lr.ph2: ; preds = %36
br label %42
42: ; preds = %.lr.ph2, %50
%43 = load float, ptr %6, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %44, i64 %46
%48 = load float, ptr %47, align 4
%49 = fmul float %48, %43
store float %49, ptr %47, align 4
br label %50
50: ; preds = %42
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %36
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsuizkdmk.c'
source_filename = "/tmp/tmpsuizkdmk.c"
target datalayout = "e-m:e-p270: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/tmpsuizkdmk.c"
target datalayout = "e-m:e-p270: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/tmpyqhv3mkn.c'
source_filename = "/tmp/tmpyqhv3mkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x44() #0 {
%1 = call i64 @isspace(i32 noundef 68)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(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/tmpyqhv3mkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x44() #0 {
%1 = call i64 @isspace(i32 noundef 68)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(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/tmpn3se_8qt.c'
source_filename = "/tmp/tmpn3se_8qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Square of %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @square(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 = load i32, ptr %2, align 4
%6 = mul nsw i32 %4, %5
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %6)
ret void
}
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/tmpn3se_8qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Square of %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @square(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 = load i32, ptr %2, align 4
%6 = mul nsw i32 %4, %5
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %6)
ret void
}
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/tmpxocq9ppc.c'
source_filename = "/tmp/tmpxocq9ppc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @btp_strbuf_prepend_strfv(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @btp_vasprintf(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @btp_strbuf_prepend_str(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
ret ptr %16
}
declare ptr @btp_vasprintf(ptr noundef, i32 noundef) #1
declare i32 @btp_strbuf_prepend_str(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxocq9ppc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @btp_strbuf_prepend_strfv(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @btp_vasprintf(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @btp_strbuf_prepend_str(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
ret ptr %16
}
declare ptr @btp_vasprintf(ptr noundef, i32 noundef) #1
declare i32 @btp_strbuf_prepend_str(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvejmx_6v.c'
source_filename = "/tmp/tmpvejmx_6v.c"
target datalayout = "e-m:e-p270: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/tmpvejmx_6v.c"
target datalayout = "e-m:e-p270: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/tmpiuu7m0mh.c'
source_filename = "/tmp/tmpiuu7m0mh.c"
target datalayout = "e-m:e-p270: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/tmpiuu7m0mh.c"
target datalayout = "e-m:e-p270: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/tmpj5wz3jm2.c'
source_filename = "/tmp/tmpj5wz3jm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_addwstr(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj5wz3jm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_addwstr(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9zrxxkp8.c'
source_filename = "/tmp/tmp9zrxxkp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"///////////////////////\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"// B-TREES TEST\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"///////////////////////\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 (...) @test_initializeBT()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_initializeBT(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9zrxxkp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"///////////////////////\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"// B-TREES TEST\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"///////////////////////\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 (...) @test_initializeBT()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_initializeBT(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7a5ovcfd.c'
source_filename = "/tmp/tmp7a5ovcfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusChangeEvent_display(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7a5ovcfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusChangeEvent_display(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuh7e2cza.c'
source_filename = "/tmp/tmpuh7e2cza.c"
target datalayout = "e-m:e-p270: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/tmpuh7e2cza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_f2zmmg2.c'
source_filename = "/tmp/tmp_f2zmmg2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f2zmmg2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy5ytgiu0.c'
source_filename = "/tmp/tmpy5ytgiu0.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = 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/tmpy5ytgiu0.c"
target datalayout = "e-m:e-p270: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_RDONLY = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = 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/tmp1t5gwum7.c'
source_filename = "/tmp/tmp1t5gwum7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"cool stuff!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perform_cool_stuff(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 sgt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
br label %7
7: ; preds = %5, %1
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/tmp1t5gwum7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"cool stuff!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perform_cool_stuff(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 sgt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
br label %7
7: ; preds = %5, %1
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/tmpmf07m8i6.c'
source_filename = "/tmp/tmpmf07m8i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_newline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp ugt i64 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i64, ptr %3, align 8
%11 = sub i64 %10, 1
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr %3, align 8
%19 = sub i64 %18, 1
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %16, %8, %1
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmf07m8i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_newline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp ugt i64 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i64, ptr %3, align 8
%11 = sub i64 %10, 1
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr %3, align 8
%19 = sub i64 %18, 1
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %16, %8, %1
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfgwwpn4t.c'
source_filename = "/tmp/tmpfgwwpn4t.c"
target datalayout = "e-m:e-p270: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/tmpfgwwpn4t.c"
target datalayout = "e-m:e-p270: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/tmprnknwwkc.c'
source_filename = "/tmp/tmprnknwwkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"req= %s\0A\0A\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"gethost=%s\0A\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Parsefile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @debug()
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strstr(ptr noundef %12, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %45
16: ; preds = %2
%17 = call i32 (...) @debug()
%18 = load ptr, ptr %6, align 8
%19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18)
store i32 0, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %36, %16
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %39
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 32
br i1 %33, label %34, label %35
34: ; preds = %26
br label %39
35: ; preds = %26
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %22, !llvm.loop !6
39: ; preds = %34, %22
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
%44 = call i32 @memcpy(ptr noundef %40, ptr noundef %41, i32 noundef %43)
store i32 1, ptr %3, align 4
br label %46
45: ; preds = %2
store i32 -1, ptr %3, align 4
br label %46
46: ; preds = %45, %39
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @debug(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprnknwwkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"req= %s\0A\0A\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"gethost=%s\0A\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Parsefile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @debug()
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strstr(ptr noundef %12, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %47
16: ; preds = %2
%17 = call i32 (...) @debug()
%18 = load ptr, ptr %6, align 8
%19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18)
store i32 0, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %8, align 4
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %25
25: ; preds = %.lr.ph, %35
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %33, label %34
33: ; preds = %25
br label %41
34: ; preds = %25
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %35
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %41
41: ; preds = %.loopexit, %33
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %45)
store i32 1, ptr %3, align 4
br label %48
47: ; preds = %2
store i32 -1, ptr %3, align 4
br label %48
48: ; preds = %47, %41
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @debug(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt4h2jdg1.c'
source_filename = "/tmp/tmpt4h2jdg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createInflatedStream(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @tinfl_decompress_mem_to_heap(ptr noundef %7, i32 noundef %8, ptr noundef %5, i32 noundef 1)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp ule i64 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %6, align 8
br label %15
15: ; preds = %14, %2
%16 = load ptr, ptr %6, align 8
ret ptr %16
}
declare ptr @tinfl_decompress_mem_to_heap(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4h2jdg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createInflatedStream(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @tinfl_decompress_mem_to_heap(ptr noundef %7, i32 noundef %8, ptr noundef %5, i32 noundef 1)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp ule i64 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %6, align 8
br label %15
15: ; preds = %14, %2
%16 = load ptr, ptr %6, align 8
ret ptr %16
}
declare ptr @tinfl_decompress_mem_to_heap(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17fri_ik.c'
source_filename = "/tmp/tmp17fri_ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [3 x [2 x float]] [[2 x float] [float 1.000000e+00, float 5.000000e+00], [2 x float] [float 3.000000e+00, float 4.000000e+00], [2 x float] [float 1.000000e+01, float 9.000000e+00]], align 16
@.str = private unnamed_addr constant [46 x i8] c"fila %i y colu. %i. Los elementos son: %3.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x [2 x float]], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 24, i1 false)
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %28, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 2
br i1 %6, label %7, label %31
7: ; preds = %4
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %24, %7
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = load i32, ptr %1, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3 x [2 x float]], ptr %3, i64 0, i64 %17
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [2 x float], ptr %18, i64 0, i64 %20
%22 = load float, ptr %21, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %15, float noundef %22)
br label %24
24: ; preds = %11
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %8, !llvm.loop !6
27: ; preds = %8
br label %28
28: ; preds = %27
%29 = load i32, ptr %1, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %1, align 4
br label %4, !llvm.loop !8
31: ; preds = %4
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp17fri_ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [3 x [2 x float]] [[2 x float] [float 1.000000e+00, float 5.000000e+00], [2 x float] [float 3.000000e+00, float 4.000000e+00], [2 x float] [float 1.000000e+01, float 9.000000e+00]], align 16
@.str = private unnamed_addr constant [46 x i8] c"fila %i y colu. %i. Los elementos son: %3.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x [2 x float]], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 24, i1 false)
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 2
br i1 %5, label %.lr.ph2, label %33
.lr.ph2: ; preds = %0
br label %6
6: ; preds = %.lr.ph2, %28
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %6
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %1, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x [2 x float]], ptr %3, i64 0, i64 %15
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [2 x float], ptr %16, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13, float noundef %20)
br label %22
22: ; preds = %9
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %25, 1
br i1 %26, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %6
br label %28
28: ; preds = %27
%29 = load i32, ptr %1, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %1, align 4
%31 = load i32, ptr %1, align 4
%32 = icmp sle i32 %31, 2
br i1 %32, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %0
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.