llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpsgr62w6b.c' source_filename = "/tmp/tmpsgr62w6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Proc[%d] enter kernel to kfork a child\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Proc[%d] kforked a child %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kfork() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @getpid() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5) %7 = call i32 @syscall(i32 noundef 7, i32 noundef 0, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @syscall(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/tmpsgr62w6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Proc[%d] enter kernel to kfork a child\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Proc[%d] kforked a child %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kfork() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @getpid() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5) %7 = call i32 @syscall(i32 noundef 7, i32 noundef 0, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @syscall(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/tmpkozng8lo.c' source_filename = "/tmp/tmpkozng8lo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @lm_lmpar.p1 = internal global double 1.000000e-01, align 8 @lm_lmpar.p001 = internal global double 1.000000e-03, align 8 @DBL_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lm_lmpar(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store i32 %0, ptr %13, align 4 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store ptr %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %28, align 4 store i32 0, ptr %27, align 4 br label %39 39: ; preds = %79, %12 %40 = load i32, ptr %27, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %82 43: ; preds = %39 %44 = load ptr, ptr %18, align 8 %45 = load i32, ptr %27, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load ptr, ptr %23, align 8 %50 = load i32, ptr %27, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 store double %48, ptr %52, align 8 %53 = load ptr, ptr %14, align 8 %54 = load i32, ptr %27, align 4 %55 = load i32, ptr %15, align 4 %56 = mul nsw i32 %54, %55 %57 = load i32, ptr %27, align 4 %58 = add nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %53, i64 %59 %61 = load double, ptr %60, align 8 %62 = fcmp oeq double %61, 0.000000e+00 br i1 %62, label %63, label %69 63: ; preds = %43 %64 = load i32, ptr %28, align 4 %65 = load i32, ptr %13, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load i32, ptr %27, align 4 store i32 %68, ptr %28, align 4 br label %69 69: ; preds = %67, %63, %43 %70 = load i32, ptr %28, align 4 %71 = load i32, ptr %13, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %78 73: ; preds = %69 %74 = load ptr, ptr %23, align 8 %75 = load i32, ptr %27, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 store double 0.000000e+00, ptr %77, align 8 br label %78 78: ; preds = %73, %69 br label %79 79: ; preds = %78 %80 = load i32, ptr %27, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %27, align 4 br label %39, !llvm.loop !6 82: ; preds = %39 %83 = load i32, ptr %28, align 4 %84 = sub nsw i32 %83, 1 store i32 %84, ptr %27, align 4 br label %85 85: ; preds = %139, %82 %86 = load i32, ptr %27, align 4 %87 = icmp sge i32 %86, 0 br i1 %87, label %88, label %142 88: ; preds = %85 %89 = load ptr, ptr %23, align 8 %90 = load i32, ptr %27, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = load ptr, ptr %14, align 8 %95 = load i32, ptr %27, align 4 %96 = load i32, ptr %15, align 4 %97 = load i32, ptr %27, align 4 %98 = mul nsw i32 %96, %97 %99 = add nsw i32 %95, %98 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %94, i64 %100 %102 = load double, ptr %101, align 8 %103 = fdiv double %93, %102 %104 = load ptr, ptr %23, align 8 %105 = load i32, ptr %27, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %104, i64 %106 store double %103, ptr %107, align 8 %108 = load ptr, ptr %23, align 8 %109 = load i32, ptr %27, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 store double %112, ptr %37, align 8 store i32 0, ptr %25, align 4 br label %113 113: ; preds = %135, %88 %114 = load i32, ptr %25, align 4 %115 = load i32, ptr %27, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %117, label %138 117: ; preds = %113 %118 = load ptr, ptr %14, align 8 %119 = load i32, ptr %27, align 4 %120 = load i32, ptr %15, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %25, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %118, i64 %124 %126 = load double, ptr %125, align 8 %127 = load double, ptr %37, align 8 %128 = load ptr, ptr %23, align 8 %129 = load i32, ptr %25, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %128, i64 %130 %132 = load double, ptr %131, align 8 %133 = fneg double %126 %134 = call double @llvm.fmuladd.f64(double %133, double %127, double %132) store double %134, ptr %131, align 8 br label %135 135: ; preds = %117 %136 = load i32, ptr %25, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %25, align 4 br label %113, !llvm.loop !8 138: ; preds = %113 br label %139 139: ; preds = %138 %140 = load i32, ptr %27, align 4 %141 = add nsw i32 %140, -1 store i32 %141, ptr %27, align 4 br label %85, !llvm.loop !9 142: ; preds = %85 store i32 0, ptr %27, align 4 br label %143 143: ; preds = %161, %142 %144 = load i32, ptr %27, align 4 %145 = load i32, ptr %13, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %147, label %164 147: ; preds = %143 %148 = load ptr, ptr %23, align 8 %149 = load i32, ptr %27, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds double, ptr %148, i64 %150 %152 = load double, ptr %151, align 8 %153 = load ptr, ptr %21, align 8 %154 = load ptr, ptr %16, align 8 %155 = load i32, ptr %27, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 %158 = load i32, ptr %157, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %153, i64 %159 store double %152, ptr %160, align 8 br label %161 161: ; preds = %147 %162 = load i32, ptr %27, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %27, align 4 br label %143, !llvm.loop !10 164: ; preds = %143 store i32 0, ptr %26, align 4 store i32 0, ptr %27, align 4 br label %165 165: ; preds = %185, %164 %166 = load i32, ptr %27, align 4 %167 = load i32, ptr %13, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %169, label %188 169: ; preds = %165 %170 = load ptr, ptr %17, align 8 %171 = load i32, ptr %27, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %170, i64 %172 %174 = load double, ptr %173, align 8 %175 = load ptr, ptr %21, align 8 %176 = load i32, ptr %27, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds double, ptr %175, i64 %177 %179 = load double, ptr %178, align 8 %180 = fmul double %174, %179 %181 = load ptr, ptr %24, align 8 %182 = load i32, ptr %27, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %181, i64 %183 store double %180, ptr %184, align 8 br label %185 185: ; preds = %169 %186 = load i32, ptr %27, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %27, align 4 br label %165, !llvm.loop !11 188: ; preds = %165 %189 = load i32, ptr %13, align 4 %190 = load ptr, ptr %24, align 8 %191 = call double @lm_enorm(i32 noundef %189, ptr noundef %190) store double %191, ptr %29, align 8 %192 = load double, ptr %29, align 8 %193 = load double, ptr %19, align 8 %194 = fsub double %192, %193 store double %194, ptr %30, align 8 %195 = load double, ptr %30, align 8 %196 = load double, ptr @lm_lmpar.p1, align 8 %197 = load double, ptr %19, align 8 %198 = fmul double %196, %197 %199 = fcmp ole double %195, %198 br i1 %199, label %200, label %202 200: ; preds = %188 %201 = load ptr, ptr %20, align 8 store double 0.000000e+00, ptr %201, align 8 br label %665 202: ; preds = %188 store double 0.000000e+00, ptr %34, align 8 %203 = load i32, ptr %28, align 4 %204 = load i32, ptr %13, align 4 %205 = icmp sge i32 %203, %204 br i1 %205, label %206, label %306 206: ; preds = %202 store i32 0, ptr %27, align 4 br label %207 207: ; preds = %237, %206 %208 = load i32, ptr %27, align 4 %209 = load i32, ptr %13, align 4 %210 = icmp slt i32 %208, %209 br i1 %210, label %211, label %240 211: ; preds = %207 %212 = load ptr, ptr %17, align 8 %213 = load ptr, ptr %16, align 8 %214 = load i32, ptr %27, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i32, ptr %213, i64 %215 %217 = load i32, ptr %216, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds double, ptr %212, i64 %218 %220 = load double, ptr %219, align 8 %221 = load ptr, ptr %24, align 8 %222 = load ptr, ptr %16, align 8 %223 = load i32, ptr %27, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i32, ptr %222, i64 %224 %226 = load i32, ptr %225, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %221, i64 %227 %229 = load double, ptr %228, align 8 %230 = fmul double %220, %229 %231 = load double, ptr %29, align 8 %232 = fdiv double %230, %231 %233 = load ptr, ptr %23, align 8 %234 = load i32, ptr %27, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %233, i64 %235 store double %232, ptr %236, align 8 br label %237 237: ; preds = %211 %238 = load i32, ptr %27, align 4 %239 = add nsw i32 %238, 1 store i32 %239, ptr %27, align 4 br label %207, !llvm.loop !12 240: ; preds = %207 store i32 0, ptr %27, align 4 br label %241 241: ; preds = %292, %240 %242 = load i32, ptr %27, align 4 %243 = load i32, ptr %13, align 4 %244 = icmp slt i32 %242, %243 br i1 %244, label %245, label %295 245: ; preds = %241 store double 0.000000e+00, ptr %36, align 8 store i32 0, ptr %25, align 4 br label %246 246: ; preds = %267, %245 %247 = load i32, ptr %25, align 4 %248 = load i32, ptr %27, align 4 %249 = icmp slt i32 %247, %248 br i1 %249, label %250, label %270 250: ; preds = %246 %251 = load ptr, ptr %14, align 8 %252 = load i32, ptr %27, align 4 %253 = load i32, ptr %15, align 4 %254 = mul nsw i32 %252, %253 %255 = load i32, ptr %25, align 4 %256 = add nsw i32 %254, %255 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds double, ptr %251, i64 %257 %259 = load double, ptr %258, align 8 %260 = load ptr, ptr %23, align 8 %261 = load i32, ptr %25, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds double, ptr %260, i64 %262 %264 = load double, ptr %263, align 8 %265 = load double, ptr %36, align 8 %266 = call double @llvm.fmuladd.f64(double %259, double %264, double %265) store double %266, ptr %36, align 8 br label %267 267: ; preds = %250 %268 = load i32, ptr %25, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %25, align 4 br label %246, !llvm.loop !13 270: ; preds = %246 %271 = load ptr, ptr %23, align 8 %272 = load i32, ptr %27, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %271, i64 %273 %275 = load double, ptr %274, align 8 %276 = load double, ptr %36, align 8 %277 = fsub double %275, %276 %278 = load ptr, ptr %14, align 8 %279 = load i32, ptr %27, align 4 %280 = load i32, ptr %15, align 4 %281 = load i32, ptr %27, align 4 %282 = mul nsw i32 %280, %281 %283 = add nsw i32 %279, %282 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds double, ptr %278, i64 %284 %286 = load double, ptr %285, align 8 %287 = fdiv double %277, %286 %288 = load ptr, ptr %23, align 8 %289 = load i32, ptr %27, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %288, i64 %290 store double %287, ptr %291, align 8 br label %292 292: ; preds = %270 %293 = load i32, ptr %27, align 4 %294 = add nsw i32 %293, 1 store i32 %294, ptr %27, align 4 br label %241, !llvm.loop !14 295: ; preds = %241 %296 = load i32, ptr %13, align 4 %297 = load ptr, ptr %23, align 8 %298 = call double @lm_enorm(i32 noundef %296, ptr noundef %297) store double %298, ptr %37, align 8 %299 = load double, ptr %30, align 8 %300 = load double, ptr %19, align 8 %301 = fdiv double %299, %300 %302 = load double, ptr %37, align 8 %303 = fdiv double %301, %302 %304 = load double, ptr %37, align 8 %305 = fdiv double %303, %304 store double %305, ptr %34, align 8 br label %306 306: ; preds = %295, %202 store i32 0, ptr %27, align 4 br label %307 307: ; preds = %352, %306 %308 = load i32, ptr %27, align 4 %309 = load i32, ptr %13, align 4 %310 = icmp slt i32 %308, %309 br i1 %310, label %311, label %355 311: ; preds = %307 store double 0.000000e+00, ptr %36, align 8 store i32 0, ptr %25, align 4 br label %312 312: ; preds = %333, %311 %313 = load i32, ptr %25, align 4 %314 = load i32, ptr %27, align 4 %315 = icmp sle i32 %313, %314 br i1 %315, label %316, label %336 316: ; preds = %312 %317 = load ptr, ptr %14, align 8 %318 = load i32, ptr %27, align 4 %319 = load i32, ptr %15, align 4 %320 = mul nsw i32 %318, %319 %321 = load i32, ptr %25, align 4 %322 = add nsw i32 %320, %321 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds double, ptr %317, i64 %323 %325 = load double, ptr %324, align 8 %326 = load ptr, ptr %18, align 8 %327 = load i32, ptr %25, align 4 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds double, ptr %326, i64 %328 %330 = load double, ptr %329, align 8 %331 = load double, ptr %36, align 8 %332 = call double @llvm.fmuladd.f64(double %325, double %330, double %331) store double %332, ptr %36, align 8 br label %333 333: ; preds = %316 %334 = load i32, ptr %25, align 4 %335 = add nsw i32 %334, 1 store i32 %335, ptr %25, align 4 br label %312, !llvm.loop !15 336: ; preds = %312 %337 = load double, ptr %36, align 8 %338 = load ptr, ptr %17, align 8 %339 = load ptr, ptr %16, align 8 %340 = load i32, ptr %27, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds i32, ptr %339, i64 %341 %343 = load i32, ptr %342, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds double, ptr %338, i64 %344 %346 = load double, ptr %345, align 8 %347 = fdiv double %337, %346 %348 = load ptr, ptr %23, align 8 %349 = load i32, ptr %27, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds double, ptr %348, i64 %350 store double %347, ptr %351, align 8 br label %352 352: ; preds = %336 %353 = load i32, ptr %27, align 4 %354 = add nsw i32 %353, 1 store i32 %354, ptr %27, align 4 br label %307, !llvm.loop !16 355: ; preds = %307 %356 = load i32, ptr %13, align 4 %357 = load ptr, ptr %23, align 8 %358 = call double @lm_enorm(i32 noundef %356, ptr noundef %357) store double %358, ptr %32, align 8 %359 = load double, ptr %32, align 8 %360 = load double, ptr %19, align 8 %361 = fdiv double %359, %360 store double %361, ptr %35, align 8 %362 = load double, ptr %35, align 8 %363 = fcmp oeq double %362, 0.000000e+00 br i1 %363, label %364, label %376 364: ; preds = %355 %365 = load double, ptr @DBL_MIN, align 8 %366 = load double, ptr %19, align 8 %367 = load double, ptr @lm_lmpar.p1, align 8 %368 = fcmp ole double %366, %367 br i1 %368, label %369, label %371 369: ; preds = %364 %370 = load double, ptr %19, align 8 br label %373 371: ; preds = %364 %372 = load double, ptr @lm_lmpar.p1, align 8 br label %373 373: ; preds = %371, %369 %374 = phi double [ %370, %369 ], [ %372, %371 ] %375 = fdiv double %365, %374 store double %375, ptr %35, align 8 br label %376 376: ; preds = %373, %355 %377 = load ptr, ptr %20, align 8 %378 = load double, ptr %377, align 8 %379 = load double, ptr %34, align 8 %380 = fcmp oge double %378, %379 br i1 %380, label %381, label %384 381: ; preds = %376 %382 = load ptr, ptr %20, align 8 %383 = load double, ptr %382, align 8 br label %386 384: ; preds = %376 %385 = load double, ptr %34, align 8 br label %386 386: ; preds = %384, %381 %387 = phi double [ %383, %381 ], [ %385, %384 ] %388 = load ptr, ptr %20, align 8 store double %387, ptr %388, align 8 %389 = load ptr, ptr %20, align 8 %390 = load double, ptr %389, align 8 %391 = load double, ptr %35, align 8 %392 = fcmp ole double %390, %391 br i1 %392, label %393, label %396 393: ; preds = %386 %394 = load ptr, ptr %20, align 8 %395 = load double, ptr %394, align 8 br label %398 396: ; preds = %386 %397 = load double, ptr %35, align 8 br label %398 398: ; preds = %396, %393 %399 = phi double [ %395, %393 ], [ %397, %396 ] %400 = load ptr, ptr %20, align 8 store double %399, ptr %400, align 8 %401 = load ptr, ptr %20, align 8 %402 = load double, ptr %401, align 8 %403 = fcmp oeq double %402, 0.000000e+00 br i1 %403, label %404, label %409 404: ; preds = %398 %405 = load double, ptr %32, align 8 %406 = load double, ptr %29, align 8 %407 = fdiv double %405, %406 %408 = load ptr, ptr %20, align 8 store double %407, ptr %408, align 8 br label %409 409: ; preds = %404, %398 br label %410 410: ; preds = %662, %409 %411 = load ptr, ptr %20, align 8 %412 = load double, ptr %411, align 8 %413 = fcmp oeq double %412, 0.000000e+00 br i1 %413, label %414, label %429 414: ; preds = %410 %415 = load double, ptr @DBL_MIN, align 8 %416 = load double, ptr @lm_lmpar.p001, align 8 %417 = load double, ptr %35, align 8 %418 = fmul double %416, %417 %419 = fcmp oge double %415, %418 br i1 %419, label %420, label %422 420: ; preds = %414 %421 = load double, ptr @DBL_MIN, align 8 br label %426 422: ; preds = %414 %423 = load double, ptr @lm_lmpar.p001, align 8 %424 = load double, ptr %35, align 8 %425 = fmul double %423, %424 br label %426 426: ; preds = %422, %420 %427 = phi double [ %421, %420 ], [ %425, %422 ] %428 = load ptr, ptr %20, align 8 store double %427, ptr %428, align 8 br label %429 429: ; preds = %426, %410 %430 = load ptr, ptr %20, align 8 %431 = load double, ptr %430, align 8 %432 = call double @sqrt(double noundef %431) #4 store double %432, ptr %37, align 8 store i32 0, ptr %27, align 4 br label %433 433: ; preds = %449, %429 %434 = load i32, ptr %27, align 4 %435 = load i32, ptr %13, align 4 %436 = icmp slt i32 %434, %435 br i1 %436, label %437, label %452 437: ; preds = %433 %438 = load double, ptr %37, align 8 %439 = load ptr, ptr %17, align 8 %440 = load i32, ptr %27, align 4 %441 = sext i32 %440 to i64 %442 = getelementptr inbounds double, ptr %439, i64 %441 %443 = load double, ptr %442, align 8 %444 = fmul double %438, %443 %445 = load ptr, ptr %23, align 8 %446 = load i32, ptr %27, align 4 %447 = sext i32 %446 to i64 %448 = getelementptr inbounds double, ptr %445, i64 %447 store double %444, ptr %448, align 8 br label %449 449: ; preds = %437 %450 = load i32, ptr %27, align 4 %451 = add nsw i32 %450, 1 store i32 %451, ptr %27, align 4 br label %433, !llvm.loop !17 452: ; preds = %433 %453 = load i32, ptr %13, align 4 %454 = load ptr, ptr %14, align 8 %455 = load i32, ptr %15, align 4 %456 = load ptr, ptr %16, align 8 %457 = load ptr, ptr %23, align 8 %458 = load ptr, ptr %18, align 8 %459 = load ptr, ptr %21, align 8 %460 = load ptr, ptr %22, align 8 %461 = load ptr, ptr %24, align 8 %462 = call i32 @lm_qrsolv(i32 noundef %453, ptr noundef %454, i32 noundef %455, ptr noundef %456, ptr noundef %457, ptr noundef %458, ptr noundef %459, ptr noundef %460, ptr noundef %461) store i32 0, ptr %27, align 4 br label %463 463: ; preds = %483, %452 %464 = load i32, ptr %27, align 4 %465 = load i32, ptr %13, align 4 %466 = icmp slt i32 %464, %465 br i1 %466, label %467, label %486 467: ; preds = %463 %468 = load ptr, ptr %17, align 8 %469 = load i32, ptr %27, align 4 %470 = sext i32 %469 to i64 %471 = getelementptr inbounds double, ptr %468, i64 %470 %472 = load double, ptr %471, align 8 %473 = load ptr, ptr %21, align 8 %474 = load i32, ptr %27, align 4 %475 = sext i32 %474 to i64 %476 = getelementptr inbounds double, ptr %473, i64 %475 %477 = load double, ptr %476, align 8 %478 = fmul double %472, %477 %479 = load ptr, ptr %24, align 8 %480 = load i32, ptr %27, align 4 %481 = sext i32 %480 to i64 %482 = getelementptr inbounds double, ptr %479, i64 %481 store double %478, ptr %482, align 8 br label %483 483: ; preds = %467 %484 = load i32, ptr %27, align 4 %485 = add nsw i32 %484, 1 store i32 %485, ptr %27, align 4 br label %463, !llvm.loop !18 486: ; preds = %463 %487 = load i32, ptr %13, align 4 %488 = load ptr, ptr %24, align 8 %489 = call double @lm_enorm(i32 noundef %487, ptr noundef %488) store double %489, ptr %29, align 8 %490 = load double, ptr %30, align 8 store double %490, ptr %31, align 8 %491 = load double, ptr %29, align 8 %492 = load double, ptr %19, align 8 %493 = fsub double %491, %492 store double %493, ptr %30, align 8 %494 = load double, ptr %30, align 8 %495 = call double @llvm.fabs.f64(double %494) %496 = load double, ptr @lm_lmpar.p1, align 8 %497 = load double, ptr %19, align 8 %498 = fmul double %496, %497 %499 = fcmp ole double %495, %498 br i1 %499, label %513, label %500 500: ; preds = %486 %501 = load double, ptr %34, align 8 %502 = fcmp oeq double %501, 0.000000e+00 br i1 %502, label %503, label %510 503: ; preds = %500 %504 = load double, ptr %30, align 8 %505 = load double, ptr %31, align 8 %506 = fcmp ole double %504, %505 br i1 %506, label %507, label %510 507: ; preds = %503 %508 = load double, ptr %31, align 8 %509 = fcmp olt double %508, 0.000000e+00 br i1 %509, label %513, label %510 510: ; preds = %507, %503, %500 %511 = load i32, ptr %26, align 4 %512 = icmp eq i32 %511, 10 br i1 %512, label %513, label %514 513: ; preds = %510, %507, %486 br label %665 514: ; preds = %510 store i32 0, ptr %27, align 4 br label %515 515: ; preds = %545, %514 %516 = load i32, ptr %27, align 4 %517 = load i32, ptr %13, align 4 %518 = icmp slt i32 %516, %517 br i1 %518, label %519, label %548 519: ; preds = %515 %520 = load ptr, ptr %17, align 8 %521 = load ptr, ptr %16, align 8 %522 = load i32, ptr %27, align 4 %523 = sext i32 %522 to i64 %524 = getelementptr inbounds i32, ptr %521, i64 %523 %525 = load i32, ptr %524, align 4 %526 = sext i32 %525 to i64 %527 = getelementptr inbounds double, ptr %520, i64 %526 %528 = load double, ptr %527, align 8 %529 = load ptr, ptr %24, align 8 %530 = load ptr, ptr %16, align 8 %531 = load i32, ptr %27, align 4 %532 = sext i32 %531 to i64 %533 = getelementptr inbounds i32, ptr %530, i64 %532 %534 = load i32, ptr %533, align 4 %535 = sext i32 %534 to i64 %536 = getelementptr inbounds double, ptr %529, i64 %535 %537 = load double, ptr %536, align 8 %538 = fmul double %528, %537 %539 = load double, ptr %29, align 8 %540 = fdiv double %538, %539 %541 = load ptr, ptr %23, align 8 %542 = load i32, ptr %27, align 4 %543 = sext i32 %542 to i64 %544 = getelementptr inbounds double, ptr %541, i64 %543 store double %540, ptr %544, align 8 br label %545 545: ; preds = %519 %546 = load i32, ptr %27, align 4 %547 = add nsw i32 %546, 1 store i32 %547, ptr %27, align 4 br label %515, !llvm.loop !19 548: ; preds = %515 store i32 0, ptr %27, align 4 br label %549 549: ; preds = %601, %548 %550 = load i32, ptr %27, align 4 %551 = load i32, ptr %13, align 4 %552 = icmp slt i32 %550, %551 br i1 %552, label %553, label %604 553: ; preds = %549 %554 = load ptr, ptr %23, align 8 %555 = load i32, ptr %27, align 4 %556 = sext i32 %555 to i64 %557 = getelementptr inbounds double, ptr %554, i64 %556 %558 = load double, ptr %557, align 8 %559 = load ptr, ptr %22, align 8 %560 = load i32, ptr %27, align 4 %561 = sext i32 %560 to i64 %562 = getelementptr inbounds double, ptr %559, i64 %561 %563 = load double, ptr %562, align 8 %564 = fdiv double %558, %563 %565 = load ptr, ptr %23, align 8 %566 = load i32, ptr %27, align 4 %567 = sext i32 %566 to i64 %568 = getelementptr inbounds double, ptr %565, i64 %567 store double %564, ptr %568, align 8 %569 = load i32, ptr %27, align 4 %570 = add nsw i32 %569, 1 store i32 %570, ptr %25, align 4 br label %571 571: ; preds = %597, %553 %572 = load i32, ptr %25, align 4 %573 = load i32, ptr %13, align 4 %574 = icmp slt i32 %572, %573 br i1 %574, label %575, label %600 575: ; preds = %571 %576 = load ptr, ptr %14, align 8 %577 = load i32, ptr %27, align 4 %578 = load i32, ptr %15, align 4 %579 = mul nsw i32 %577, %578 %580 = load i32, ptr %25, align 4 %581 = add nsw i32 %579, %580 %582 = sext i32 %581 to i64 %583 = getelementptr inbounds double, ptr %576, i64 %582 %584 = load double, ptr %583, align 8 %585 = load ptr, ptr %23, align 8 %586 = load i32, ptr %27, align 4 %587 = sext i32 %586 to i64 %588 = getelementptr inbounds double, ptr %585, i64 %587 %589 = load double, ptr %588, align 8 %590 = load ptr, ptr %23, align 8 %591 = load i32, ptr %25, align 4 %592 = sext i32 %591 to i64 %593 = getelementptr inbounds double, ptr %590, i64 %592 %594 = load double, ptr %593, align 8 %595 = fneg double %584 %596 = call double @llvm.fmuladd.f64(double %595, double %589, double %594) store double %596, ptr %593, align 8 br label %597 597: ; preds = %575 %598 = load i32, ptr %25, align 4 %599 = add nsw i32 %598, 1 store i32 %599, ptr %25, align 4 br label %571, !llvm.loop !20 600: ; preds = %571 br label %601 601: ; preds = %600 %602 = load i32, ptr %27, align 4 %603 = add nsw i32 %602, 1 store i32 %603, ptr %27, align 4 br label %549, !llvm.loop !21 604: ; preds = %549 %605 = load i32, ptr %13, align 4 %606 = load ptr, ptr %23, align 8 %607 = call double @lm_enorm(i32 noundef %605, ptr noundef %606) store double %607, ptr %37, align 8 %608 = load double, ptr %30, align 8 %609 = load double, ptr %19, align 8 %610 = fdiv double %608, %609 %611 = load double, ptr %37, align 8 %612 = fdiv double %610, %611 %613 = load double, ptr %37, align 8 %614 = fdiv double %612, %613 store double %614, ptr %33, align 8 %615 = load double, ptr %30, align 8 %616 = fcmp ogt double %615, 0.000000e+00 br i1 %616, label %617, label %629 617: ; preds = %604 %618 = load double, ptr %34, align 8 %619 = load ptr, ptr %20, align 8 %620 = load double, ptr %619, align 8 %621 = fcmp oge double %618, %620 br i1 %621, label %622, label %624 622: ; preds = %617 %623 = load double, ptr %34, align 8 br label %627 624: ; preds = %617 %625 = load ptr, ptr %20, align 8 %626 = load double, ptr %625, align 8 br label %627 627: ; preds = %624, %622 %628 = phi double [ %623, %622 ], [ %626, %624 ] store double %628, ptr %34, align 8 br label %645 629: ; preds = %604 %630 = load double, ptr %30, align 8 %631 = fcmp olt double %630, 0.000000e+00 br i1 %631, label %632, label %644 632: ; preds = %629 %633 = load double, ptr %35, align 8 %634 = load ptr, ptr %20, align 8 %635 = load double, ptr %634, align 8 %636 = fcmp ole double %633, %635 br i1 %636, label %637, label %639 637: ; preds = %632 %638 = load double, ptr %35, align 8 br label %642 639: ; preds = %632 %640 = load ptr, ptr %20, align 8 %641 = load double, ptr %640, align 8 br label %642 642: ; preds = %639, %637 %643 = phi double [ %638, %637 ], [ %641, %639 ] store double %643, ptr %35, align 8 br label %644 644: ; preds = %642, %629 br label %645 645: ; preds = %644, %627 %646 = load double, ptr %34, align 8 %647 = load ptr, ptr %20, align 8 %648 = load double, ptr %647, align 8 %649 = load double, ptr %33, align 8 %650 = fadd double %648, %649 %651 = fcmp oge double %646, %650 br i1 %651, label %652, label %654 652: ; preds = %645 %653 = load double, ptr %34, align 8 br label %659 654: ; preds = %645 %655 = load ptr, ptr %20, align 8 %656 = load double, ptr %655, align 8 %657 = load double, ptr %33, align 8 %658 = fadd double %656, %657 br label %659 659: ; preds = %654, %652 %660 = phi double [ %653, %652 ], [ %658, %654 ] %661 = load ptr, ptr %20, align 8 store double %660, ptr %661, align 8 br label %662 662: ; preds = %659 %663 = load i32, ptr %26, align 4 %664 = add nsw i32 %663, 1 store i32 %664, ptr %26, align 4 br label %410 665: ; preds = %200, %513 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @lm_enorm(i32 noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @lm_qrsolv(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkozng8lo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @lm_lmpar.p1 = internal global double 1.000000e-01, align 8 @lm_lmpar.p001 = internal global double 1.000000e-03, align 8 @DBL_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lm_lmpar(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store i32 %0, ptr %13, align 4 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store ptr %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %28, align 4 store i32 0, ptr %27, align 4 %39 = load i32, ptr %27, align 4 %40 = load i32, ptr %13, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph, label %84 .lr.ph: ; preds = %12 br label %42 42: ; preds = %.lr.ph, %78 %43 = load ptr, ptr %18, align 8 %44 = load i32, ptr %27, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %23, align 8 %49 = load i32, ptr %27, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %48, i64 %50 store double %47, ptr %51, align 8 %52 = load ptr, ptr %14, align 8 %53 = load i32, ptr %27, align 4 %54 = load i32, ptr %15, align 4 %55 = mul nsw i32 %53, %54 %56 = load i32, ptr %27, align 4 %57 = add nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %52, i64 %58 %60 = load double, ptr %59, align 8 %61 = fcmp oeq double %60, 0.000000e+00 br i1 %61, label %62, label %68 62: ; preds = %42 %63 = load i32, ptr %28, align 4 %64 = load i32, ptr %13, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = load i32, ptr %27, align 4 store i32 %67, ptr %28, align 4 br label %68 68: ; preds = %66, %62, %42 %69 = load i32, ptr %28, align 4 %70 = load i32, ptr %13, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %77 72: ; preds = %68 %73 = load ptr, ptr %23, align 8 %74 = load i32, ptr %27, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 store double 0.000000e+00, ptr %76, align 8 br label %77 77: ; preds = %72, %68 br label %78 78: ; preds = %77 %79 = load i32, ptr %27, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %27, align 4 %81 = load i32, ptr %27, align 4 %82 = load i32, ptr %13, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %12 %85 = load i32, ptr %28, align 4 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %27, align 4 %87 = load i32, ptr %27, align 4 %88 = icmp sge i32 %87, 0 br i1 %88, label %.lr.ph5, label %147 .lr.ph5: ; preds = %84 br label %89 89: ; preds = %.lr.ph5, %142 %90 = load ptr, ptr %23, align 8 %91 = load i32, ptr %27, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %14, align 8 %96 = load i32, ptr %27, align 4 %97 = load i32, ptr %15, align 4 %98 = load i32, ptr %27, align 4 %99 = mul nsw i32 %97, %98 %100 = add nsw i32 %96, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %95, i64 %101 %103 = load double, ptr %102, align 8 %104 = fdiv double %94, %103 %105 = load ptr, ptr %23, align 8 %106 = load i32, ptr %27, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 store double %104, ptr %108, align 8 %109 = load ptr, ptr %23, align 8 %110 = load i32, ptr %27, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %109, i64 %111 %113 = load double, ptr %112, align 8 store double %113, ptr %37, align 8 store i32 0, ptr %25, align 4 %114 = load i32, ptr %25, align 4 %115 = load i32, ptr %27, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %.lr.ph2, label %141 .lr.ph2: ; preds = %89 br label %117 117: ; preds = %.lr.ph2, %135 %118 = load ptr, ptr %14, align 8 %119 = load i32, ptr %27, align 4 %120 = load i32, ptr %15, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %25, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %118, i64 %124 %126 = load double, ptr %125, align 8 %127 = load double, ptr %37, align 8 %128 = load ptr, ptr %23, align 8 %129 = load i32, ptr %25, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %128, i64 %130 %132 = load double, ptr %131, align 8 %133 = fneg double %126 %134 = call double @llvm.fmuladd.f64(double %133, double %127, double %132) store double %134, ptr %131, align 8 br label %135 135: ; preds = %117 %136 = load i32, ptr %25, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %25, align 4 %138 = load i32, ptr %25, align 4 %139 = load i32, ptr %27, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %117, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %135 br label %141 141: ; preds = %._crit_edge3, %89 br label %142 142: ; preds = %141 %143 = load i32, ptr %27, align 4 %144 = add nsw i32 %143, -1 store i32 %144, ptr %27, align 4 %145 = load i32, ptr %27, align 4 %146 = icmp sge i32 %145, 0 br i1 %146, label %89, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %142 br label %147 147: ; preds = %._crit_edge6, %84 store i32 0, ptr %27, align 4 %148 = load i32, ptr %27, align 4 %149 = load i32, ptr %13, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %.lr.ph8, label %171 .lr.ph8: ; preds = %147 br label %151 151: ; preds = %.lr.ph8, %165 %152 = load ptr, ptr %23, align 8 %153 = load i32, ptr %27, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %152, i64 %154 %156 = load double, ptr %155, align 8 %157 = load ptr, ptr %21, align 8 %158 = load ptr, ptr %16, align 8 %159 = load i32, ptr %27, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %157, i64 %163 store double %156, ptr %164, align 8 br label %165 165: ; preds = %151 %166 = load i32, ptr %27, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %27, align 4 %168 = load i32, ptr %27, align 4 %169 = load i32, ptr %13, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %151, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %165 br label %171 171: ; preds = %._crit_edge9, %147 store i32 0, ptr %26, align 4 store i32 0, ptr %27, align 4 %172 = load i32, ptr %27, align 4 %173 = load i32, ptr %13, align 4 %174 = icmp slt i32 %172, %173 br i1 %174, label %.lr.ph11, label %197 .lr.ph11: ; preds = %171 br label %175 175: ; preds = %.lr.ph11, %191 %176 = load ptr, ptr %17, align 8 %177 = load i32, ptr %27, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds double, ptr %176, i64 %178 %180 = load double, ptr %179, align 8 %181 = load ptr, ptr %21, align 8 %182 = load i32, ptr %27, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %181, i64 %183 %185 = load double, ptr %184, align 8 %186 = fmul double %180, %185 %187 = load ptr, ptr %24, align 8 %188 = load i32, ptr %27, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 store double %186, ptr %190, align 8 br label %191 191: ; preds = %175 %192 = load i32, ptr %27, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %27, align 4 %194 = load i32, ptr %27, align 4 %195 = load i32, ptr %13, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %175, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %191 br label %197 197: ; preds = %._crit_edge12, %171 %198 = load i32, ptr %13, align 4 %199 = load ptr, ptr %24, align 8 %200 = call double @lm_enorm(i32 noundef %198, ptr noundef %199) store double %200, ptr %29, align 8 %201 = load double, ptr %29, align 8 %202 = load double, ptr %19, align 8 %203 = fsub double %201, %202 store double %203, ptr %30, align 8 %204 = load double, ptr %30, align 8 %205 = load double, ptr @lm_lmpar.p1, align 8 %206 = load double, ptr %19, align 8 %207 = fmul double %205, %206 %208 = fcmp ole double %204, %207 br i1 %208, label %209, label %211 209: ; preds = %197 %210 = load ptr, ptr %20, align 8 store double 0.000000e+00, ptr %210, align 8 br label %694 211: ; preds = %197 store double 0.000000e+00, ptr %34, align 8 %212 = load i32, ptr %28, align 4 %213 = load i32, ptr %13, align 4 %214 = icmp sge i32 %212, %213 br i1 %214, label %215, label %321 215: ; preds = %211 store i32 0, ptr %27, align 4 %216 = load i32, ptr %27, align 4 %217 = load i32, ptr %13, align 4 %218 = icmp slt i32 %216, %217 br i1 %218, label %.lr.ph14, label %251 .lr.ph14: ; preds = %215 br label %219 219: ; preds = %.lr.ph14, %245 %220 = load ptr, ptr %17, align 8 %221 = load ptr, ptr %16, align 8 %222 = load i32, ptr %27, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds i32, ptr %221, i64 %223 %225 = load i32, ptr %224, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds double, ptr %220, i64 %226 %228 = load double, ptr %227, align 8 %229 = load ptr, ptr %24, align 8 %230 = load ptr, ptr %16, align 8 %231 = load i32, ptr %27, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i32, ptr %230, i64 %232 %234 = load i32, ptr %233, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %229, i64 %235 %237 = load double, ptr %236, align 8 %238 = fmul double %228, %237 %239 = load double, ptr %29, align 8 %240 = fdiv double %238, %239 %241 = load ptr, ptr %23, align 8 %242 = load i32, ptr %27, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds double, ptr %241, i64 %243 store double %240, ptr %244, align 8 br label %245 245: ; preds = %219 %246 = load i32, ptr %27, align 4 %247 = add nsw i32 %246, 1 store i32 %247, ptr %27, align 4 %248 = load i32, ptr %27, align 4 %249 = load i32, ptr %13, align 4 %250 = icmp slt i32 %248, %249 br i1 %250, label %219, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %245 br label %251 251: ; preds = %._crit_edge15, %215 store i32 0, ptr %27, align 4 %252 = load i32, ptr %27, align 4 %253 = load i32, ptr %13, align 4 %254 = icmp slt i32 %252, %253 br i1 %254, label %.lr.ph20, label %310 .lr.ph20: ; preds = %251 br label %255 255: ; preds = %.lr.ph20, %304 store double 0.000000e+00, ptr %36, align 8 store i32 0, ptr %25, align 4 %256 = load i32, ptr %25, align 4 %257 = load i32, ptr %27, align 4 %258 = icmp slt i32 %256, %257 br i1 %258, label %.lr.ph17, label %282 .lr.ph17: ; preds = %255 br label %259 259: ; preds = %.lr.ph17, %276 %260 = load ptr, ptr %14, align 8 %261 = load i32, ptr %27, align 4 %262 = load i32, ptr %15, align 4 %263 = mul nsw i32 %261, %262 %264 = load i32, ptr %25, align 4 %265 = add nsw i32 %263, %264 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %260, i64 %266 %268 = load double, ptr %267, align 8 %269 = load ptr, ptr %23, align 8 %270 = load i32, ptr %25, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds double, ptr %269, i64 %271 %273 = load double, ptr %272, align 8 %274 = load double, ptr %36, align 8 %275 = call double @llvm.fmuladd.f64(double %268, double %273, double %274) store double %275, ptr %36, align 8 br label %276 276: ; preds = %259 %277 = load i32, ptr %25, align 4 %278 = add nsw i32 %277, 1 store i32 %278, ptr %25, align 4 %279 = load i32, ptr %25, align 4 %280 = load i32, ptr %27, align 4 %281 = icmp slt i32 %279, %280 br i1 %281, label %259, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %276 br label %282 282: ; preds = %._crit_edge18, %255 %283 = load ptr, ptr %23, align 8 %284 = load i32, ptr %27, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds double, ptr %283, i64 %285 %287 = load double, ptr %286, align 8 %288 = load double, ptr %36, align 8 %289 = fsub double %287, %288 %290 = load ptr, ptr %14, align 8 %291 = load i32, ptr %27, align 4 %292 = load i32, ptr %15, align 4 %293 = load i32, ptr %27, align 4 %294 = mul nsw i32 %292, %293 %295 = add nsw i32 %291, %294 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds double, ptr %290, i64 %296 %298 = load double, ptr %297, align 8 %299 = fdiv double %289, %298 %300 = load ptr, ptr %23, align 8 %301 = load i32, ptr %27, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds double, ptr %300, i64 %302 store double %299, ptr %303, align 8 br label %304 304: ; preds = %282 %305 = load i32, ptr %27, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %27, align 4 %307 = load i32, ptr %27, align 4 %308 = load i32, ptr %13, align 4 %309 = icmp slt i32 %307, %308 br i1 %309, label %255, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %304 br label %310 310: ; preds = %._crit_edge21, %251 %311 = load i32, ptr %13, align 4 %312 = load ptr, ptr %23, align 8 %313 = call double @lm_enorm(i32 noundef %311, ptr noundef %312) store double %313, ptr %37, align 8 %314 = load double, ptr %30, align 8 %315 = load double, ptr %19, align 8 %316 = fdiv double %314, %315 %317 = load double, ptr %37, align 8 %318 = fdiv double %316, %317 %319 = load double, ptr %37, align 8 %320 = fdiv double %318, %319 store double %320, ptr %34, align 8 br label %321 321: ; preds = %310, %211 store i32 0, ptr %27, align 4 %322 = load i32, ptr %27, align 4 %323 = load i32, ptr %13, align 4 %324 = icmp slt i32 %322, %323 br i1 %324, label %.lr.ph26, label %374 .lr.ph26: ; preds = %321 br label %325 325: ; preds = %.lr.ph26, %368 store double 0.000000e+00, ptr %36, align 8 store i32 0, ptr %25, align 4 %326 = load i32, ptr %25, align 4 %327 = load i32, ptr %27, align 4 %328 = icmp sle i32 %326, %327 br i1 %328, label %.lr.ph23, label %352 .lr.ph23: ; preds = %325 br label %329 329: ; preds = %.lr.ph23, %346 %330 = load ptr, ptr %14, align 8 %331 = load i32, ptr %27, align 4 %332 = load i32, ptr %15, align 4 %333 = mul nsw i32 %331, %332 %334 = load i32, ptr %25, align 4 %335 = add nsw i32 %333, %334 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds double, ptr %330, i64 %336 %338 = load double, ptr %337, align 8 %339 = load ptr, ptr %18, align 8 %340 = load i32, ptr %25, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds double, ptr %339, i64 %341 %343 = load double, ptr %342, align 8 %344 = load double, ptr %36, align 8 %345 = call double @llvm.fmuladd.f64(double %338, double %343, double %344) store double %345, ptr %36, align 8 br label %346 346: ; preds = %329 %347 = load i32, ptr %25, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %25, align 4 %349 = load i32, ptr %25, align 4 %350 = load i32, ptr %27, align 4 %351 = icmp sle i32 %349, %350 br i1 %351, label %329, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %346 br label %352 352: ; preds = %._crit_edge24, %325 %353 = load double, ptr %36, align 8 %354 = load ptr, ptr %17, align 8 %355 = load ptr, ptr %16, align 8 %356 = load i32, ptr %27, align 4 %357 = sext i32 %356 to i64 %358 = getelementptr inbounds i32, ptr %355, i64 %357 %359 = load i32, ptr %358, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds double, ptr %354, i64 %360 %362 = load double, ptr %361, align 8 %363 = fdiv double %353, %362 %364 = load ptr, ptr %23, align 8 %365 = load i32, ptr %27, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds double, ptr %364, i64 %366 store double %363, ptr %367, align 8 br label %368 368: ; preds = %352 %369 = load i32, ptr %27, align 4 %370 = add nsw i32 %369, 1 store i32 %370, ptr %27, align 4 %371 = load i32, ptr %27, align 4 %372 = load i32, ptr %13, align 4 %373 = icmp slt i32 %371, %372 br i1 %373, label %325, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %368 br label %374 374: ; preds = %._crit_edge27, %321 %375 = load i32, ptr %13, align 4 %376 = load ptr, ptr %23, align 8 %377 = call double @lm_enorm(i32 noundef %375, ptr noundef %376) store double %377, ptr %32, align 8 %378 = load double, ptr %32, align 8 %379 = load double, ptr %19, align 8 %380 = fdiv double %378, %379 store double %380, ptr %35, align 8 %381 = load double, ptr %35, align 8 %382 = fcmp oeq double %381, 0.000000e+00 br i1 %382, label %383, label %395 383: ; preds = %374 %384 = load double, ptr @DBL_MIN, align 8 %385 = load double, ptr %19, align 8 %386 = load double, ptr @lm_lmpar.p1, align 8 %387 = fcmp ole double %385, %386 br i1 %387, label %388, label %390 388: ; preds = %383 %389 = load double, ptr %19, align 8 br label %392 390: ; preds = %383 %391 = load double, ptr @lm_lmpar.p1, align 8 br label %392 392: ; preds = %390, %388 %393 = phi double [ %389, %388 ], [ %391, %390 ] %394 = fdiv double %384, %393 store double %394, ptr %35, align 8 br label %395 395: ; preds = %392, %374 %396 = load ptr, ptr %20, align 8 %397 = load double, ptr %396, align 8 %398 = load double, ptr %34, align 8 %399 = fcmp oge double %397, %398 br i1 %399, label %400, label %403 400: ; preds = %395 %401 = load ptr, ptr %20, align 8 %402 = load double, ptr %401, align 8 br label %405 403: ; preds = %395 %404 = load double, ptr %34, align 8 br label %405 405: ; preds = %403, %400 %406 = phi double [ %402, %400 ], [ %404, %403 ] %407 = load ptr, ptr %20, align 8 store double %406, ptr %407, align 8 %408 = load ptr, ptr %20, align 8 %409 = load double, ptr %408, align 8 %410 = load double, ptr %35, align 8 %411 = fcmp ole double %409, %410 br i1 %411, label %412, label %415 412: ; preds = %405 %413 = load ptr, ptr %20, align 8 %414 = load double, ptr %413, align 8 br label %417 415: ; preds = %405 %416 = load double, ptr %35, align 8 br label %417 417: ; preds = %415, %412 %418 = phi double [ %414, %412 ], [ %416, %415 ] %419 = load ptr, ptr %20, align 8 store double %418, ptr %419, align 8 %420 = load ptr, ptr %20, align 8 %421 = load double, ptr %420, align 8 %422 = fcmp oeq double %421, 0.000000e+00 br i1 %422, label %423, label %428 423: ; preds = %417 %424 = load double, ptr %32, align 8 %425 = load double, ptr %29, align 8 %426 = fdiv double %424, %425 %427 = load ptr, ptr %20, align 8 store double %426, ptr %427, align 8 br label %428 428: ; preds = %423, %417 br label %429 429: ; preds = %691, %428 %430 = load ptr, ptr %20, align 8 %431 = load double, ptr %430, align 8 %432 = fcmp oeq double %431, 0.000000e+00 br i1 %432, label %433, label %448 433: ; preds = %429 %434 = load double, ptr @DBL_MIN, align 8 %435 = load double, ptr @lm_lmpar.p001, align 8 %436 = load double, ptr %35, align 8 %437 = fmul double %435, %436 %438 = fcmp oge double %434, %437 br i1 %438, label %439, label %441 439: ; preds = %433 %440 = load double, ptr @DBL_MIN, align 8 br label %445 441: ; preds = %433 %442 = load double, ptr @lm_lmpar.p001, align 8 %443 = load double, ptr %35, align 8 %444 = fmul double %442, %443 br label %445 445: ; preds = %441, %439 %446 = phi double [ %440, %439 ], [ %444, %441 ] %447 = load ptr, ptr %20, align 8 store double %446, ptr %447, align 8 br label %448 448: ; preds = %445, %429 %449 = load ptr, ptr %20, align 8 %450 = load double, ptr %449, align 8 %451 = call double @sqrt(double noundef %450) #4 store double %451, ptr %37, align 8 store i32 0, ptr %27, align 4 %452 = load i32, ptr %27, align 4 %453 = load i32, ptr %13, align 4 %454 = icmp slt i32 %452, %453 br i1 %454, label %.lr.ph29, label %473 .lr.ph29: ; preds = %448 br label %455 455: ; preds = %.lr.ph29, %467 %456 = load double, ptr %37, align 8 %457 = load ptr, ptr %17, align 8 %458 = load i32, ptr %27, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds double, ptr %457, i64 %459 %461 = load double, ptr %460, align 8 %462 = fmul double %456, %461 %463 = load ptr, ptr %23, align 8 %464 = load i32, ptr %27, align 4 %465 = sext i32 %464 to i64 %466 = getelementptr inbounds double, ptr %463, i64 %465 store double %462, ptr %466, align 8 br label %467 467: ; preds = %455 %468 = load i32, ptr %27, align 4 %469 = add nsw i32 %468, 1 store i32 %469, ptr %27, align 4 %470 = load i32, ptr %27, align 4 %471 = load i32, ptr %13, align 4 %472 = icmp slt i32 %470, %471 br i1 %472, label %455, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %467 br label %473 473: ; preds = %._crit_edge30, %448 %474 = load i32, ptr %13, align 4 %475 = load ptr, ptr %14, align 8 %476 = load i32, ptr %15, align 4 %477 = load ptr, ptr %16, align 8 %478 = load ptr, ptr %23, align 8 %479 = load ptr, ptr %18, align 8 %480 = load ptr, ptr %21, align 8 %481 = load ptr, ptr %22, align 8 %482 = load ptr, ptr %24, align 8 %483 = call i32 @lm_qrsolv(i32 noundef %474, ptr noundef %475, i32 noundef %476, ptr noundef %477, ptr noundef %478, ptr noundef %479, ptr noundef %480, ptr noundef %481, ptr noundef %482) store i32 0, ptr %27, align 4 %484 = load i32, ptr %27, align 4 %485 = load i32, ptr %13, align 4 %486 = icmp slt i32 %484, %485 br i1 %486, label %.lr.ph32, label %509 .lr.ph32: ; preds = %473 br label %487 487: ; preds = %.lr.ph32, %503 %488 = load ptr, ptr %17, align 8 %489 = load i32, ptr %27, align 4 %490 = sext i32 %489 to i64 %491 = getelementptr inbounds double, ptr %488, i64 %490 %492 = load double, ptr %491, align 8 %493 = load ptr, ptr %21, align 8 %494 = load i32, ptr %27, align 4 %495 = sext i32 %494 to i64 %496 = getelementptr inbounds double, ptr %493, i64 %495 %497 = load double, ptr %496, align 8 %498 = fmul double %492, %497 %499 = load ptr, ptr %24, align 8 %500 = load i32, ptr %27, align 4 %501 = sext i32 %500 to i64 %502 = getelementptr inbounds double, ptr %499, i64 %501 store double %498, ptr %502, align 8 br label %503 503: ; preds = %487 %504 = load i32, ptr %27, align 4 %505 = add nsw i32 %504, 1 store i32 %505, ptr %27, align 4 %506 = load i32, ptr %27, align 4 %507 = load i32, ptr %13, align 4 %508 = icmp slt i32 %506, %507 br i1 %508, label %487, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %503 br label %509 509: ; preds = %._crit_edge33, %473 %510 = load i32, ptr %13, align 4 %511 = load ptr, ptr %24, align 8 %512 = call double @lm_enorm(i32 noundef %510, ptr noundef %511) store double %512, ptr %29, align 8 %513 = load double, ptr %30, align 8 store double %513, ptr %31, align 8 %514 = load double, ptr %29, align 8 %515 = load double, ptr %19, align 8 %516 = fsub double %514, %515 store double %516, ptr %30, align 8 %517 = load double, ptr %30, align 8 %518 = call double @llvm.fabs.f64(double %517) %519 = load double, ptr @lm_lmpar.p1, align 8 %520 = load double, ptr %19, align 8 %521 = fmul double %519, %520 %522 = fcmp ole double %518, %521 br i1 %522, label %536, label %523 523: ; preds = %509 %524 = load double, ptr %34, align 8 %525 = fcmp oeq double %524, 0.000000e+00 br i1 %525, label %526, label %533 526: ; preds = %523 %527 = load double, ptr %30, align 8 %528 = load double, ptr %31, align 8 %529 = fcmp ole double %527, %528 br i1 %529, label %530, label %533 530: ; preds = %526 %531 = load double, ptr %31, align 8 %532 = fcmp olt double %531, 0.000000e+00 br i1 %532, label %536, label %533 533: ; preds = %530, %526, %523 %534 = load i32, ptr %26, align 4 %535 = icmp eq i32 %534, 10 br i1 %535, label %536, label %537 536: ; preds = %533, %530, %509 br label %694 537: ; preds = %533 store i32 0, ptr %27, align 4 %538 = load i32, ptr %27, align 4 %539 = load i32, ptr %13, align 4 %540 = icmp slt i32 %538, %539 br i1 %540, label %.lr.ph35, label %573 .lr.ph35: ; preds = %537 br label %541 541: ; preds = %.lr.ph35, %567 %542 = load ptr, ptr %17, align 8 %543 = load ptr, ptr %16, align 8 %544 = load i32, ptr %27, align 4 %545 = sext i32 %544 to i64 %546 = getelementptr inbounds i32, ptr %543, i64 %545 %547 = load i32, ptr %546, align 4 %548 = sext i32 %547 to i64 %549 = getelementptr inbounds double, ptr %542, i64 %548 %550 = load double, ptr %549, align 8 %551 = load ptr, ptr %24, align 8 %552 = load ptr, ptr %16, align 8 %553 = load i32, ptr %27, align 4 %554 = sext i32 %553 to i64 %555 = getelementptr inbounds i32, ptr %552, i64 %554 %556 = load i32, ptr %555, align 4 %557 = sext i32 %556 to i64 %558 = getelementptr inbounds double, ptr %551, i64 %557 %559 = load double, ptr %558, align 8 %560 = fmul double %550, %559 %561 = load double, ptr %29, align 8 %562 = fdiv double %560, %561 %563 = load ptr, ptr %23, align 8 %564 = load i32, ptr %27, align 4 %565 = sext i32 %564 to i64 %566 = getelementptr inbounds double, ptr %563, i64 %565 store double %562, ptr %566, align 8 br label %567 567: ; preds = %541 %568 = load i32, ptr %27, align 4 %569 = add nsw i32 %568, 1 store i32 %569, ptr %27, align 4 %570 = load i32, ptr %27, align 4 %571 = load i32, ptr %13, align 4 %572 = icmp slt i32 %570, %571 br i1 %572, label %541, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %567 br label %573 573: ; preds = %._crit_edge36, %537 store i32 0, ptr %27, align 4 %574 = load i32, ptr %27, align 4 %575 = load i32, ptr %13, align 4 %576 = icmp slt i32 %574, %575 br i1 %576, label %.lr.ph41, label %633 .lr.ph41: ; preds = %573 br label %577 577: ; preds = %.lr.ph41, %627 %578 = load ptr, ptr %23, align 8 %579 = load i32, ptr %27, align 4 %580 = sext i32 %579 to i64 %581 = getelementptr inbounds double, ptr %578, i64 %580 %582 = load double, ptr %581, align 8 %583 = load ptr, ptr %22, align 8 %584 = load i32, ptr %27, align 4 %585 = sext i32 %584 to i64 %586 = getelementptr inbounds double, ptr %583, i64 %585 %587 = load double, ptr %586, align 8 %588 = fdiv double %582, %587 %589 = load ptr, ptr %23, align 8 %590 = load i32, ptr %27, align 4 %591 = sext i32 %590 to i64 %592 = getelementptr inbounds double, ptr %589, i64 %591 store double %588, ptr %592, align 8 %593 = load i32, ptr %27, align 4 %594 = add nsw i32 %593, 1 store i32 %594, ptr %25, align 4 %595 = load i32, ptr %25, align 4 %596 = load i32, ptr %13, align 4 %597 = icmp slt i32 %595, %596 br i1 %597, label %.lr.ph38, label %626 .lr.ph38: ; preds = %577 br label %598 598: ; preds = %.lr.ph38, %620 %599 = load ptr, ptr %14, align 8 %600 = load i32, ptr %27, align 4 %601 = load i32, ptr %15, align 4 %602 = mul nsw i32 %600, %601 %603 = load i32, ptr %25, align 4 %604 = add nsw i32 %602, %603 %605 = sext i32 %604 to i64 %606 = getelementptr inbounds double, ptr %599, i64 %605 %607 = load double, ptr %606, align 8 %608 = load ptr, ptr %23, align 8 %609 = load i32, ptr %27, align 4 %610 = sext i32 %609 to i64 %611 = getelementptr inbounds double, ptr %608, i64 %610 %612 = load double, ptr %611, align 8 %613 = load ptr, ptr %23, align 8 %614 = load i32, ptr %25, align 4 %615 = sext i32 %614 to i64 %616 = getelementptr inbounds double, ptr %613, i64 %615 %617 = load double, ptr %616, align 8 %618 = fneg double %607 %619 = call double @llvm.fmuladd.f64(double %618, double %612, double %617) store double %619, ptr %616, align 8 br label %620 620: ; preds = %598 %621 = load i32, ptr %25, align 4 %622 = add nsw i32 %621, 1 store i32 %622, ptr %25, align 4 %623 = load i32, ptr %25, align 4 %624 = load i32, ptr %13, align 4 %625 = icmp slt i32 %623, %624 br i1 %625, label %598, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %620 br label %626 626: ; preds = %._crit_edge39, %577 br label %627 627: ; preds = %626 %628 = load i32, ptr %27, align 4 %629 = add nsw i32 %628, 1 store i32 %629, ptr %27, align 4 %630 = load i32, ptr %27, align 4 %631 = load i32, ptr %13, align 4 %632 = icmp slt i32 %630, %631 br i1 %632, label %577, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %627 br label %633 633: ; preds = %._crit_edge42, %573 %634 = load i32, ptr %13, align 4 %635 = load ptr, ptr %23, align 8 %636 = call double @lm_enorm(i32 noundef %634, ptr noundef %635) store double %636, ptr %37, align 8 %637 = load double, ptr %30, align 8 %638 = load double, ptr %19, align 8 %639 = fdiv double %637, %638 %640 = load double, ptr %37, align 8 %641 = fdiv double %639, %640 %642 = load double, ptr %37, align 8 %643 = fdiv double %641, %642 store double %643, ptr %33, align 8 %644 = load double, ptr %30, align 8 %645 = fcmp ogt double %644, 0.000000e+00 br i1 %645, label %646, label %658 646: ; preds = %633 %647 = load double, ptr %34, align 8 %648 = load ptr, ptr %20, align 8 %649 = load double, ptr %648, align 8 %650 = fcmp oge double %647, %649 br i1 %650, label %651, label %653 651: ; preds = %646 %652 = load double, ptr %34, align 8 br label %656 653: ; preds = %646 %654 = load ptr, ptr %20, align 8 %655 = load double, ptr %654, align 8 br label %656 656: ; preds = %653, %651 %657 = phi double [ %652, %651 ], [ %655, %653 ] store double %657, ptr %34, align 8 br label %674 658: ; preds = %633 %659 = load double, ptr %30, align 8 %660 = fcmp olt double %659, 0.000000e+00 br i1 %660, label %661, label %673 661: ; preds = %658 %662 = load double, ptr %35, align 8 %663 = load ptr, ptr %20, align 8 %664 = load double, ptr %663, align 8 %665 = fcmp ole double %662, %664 br i1 %665, label %666, label %668 666: ; preds = %661 %667 = load double, ptr %35, align 8 br label %671 668: ; preds = %661 %669 = load ptr, ptr %20, align 8 %670 = load double, ptr %669, align 8 br label %671 671: ; preds = %668, %666 %672 = phi double [ %667, %666 ], [ %670, %668 ] store double %672, ptr %35, align 8 br label %673 673: ; preds = %671, %658 br label %674 674: ; preds = %673, %656 %675 = load double, ptr %34, align 8 %676 = load ptr, ptr %20, align 8 %677 = load double, ptr %676, align 8 %678 = load double, ptr %33, align 8 %679 = fadd double %677, %678 %680 = fcmp oge double %675, %679 br i1 %680, label %681, label %683 681: ; preds = %674 %682 = load double, ptr %34, align 8 br label %688 683: ; preds = %674 %684 = load ptr, ptr %20, align 8 %685 = load double, ptr %684, align 8 %686 = load double, ptr %33, align 8 %687 = fadd double %685, %686 br label %688 688: ; preds = %683, %681 %689 = phi double [ %682, %681 ], [ %687, %683 ] %690 = load ptr, ptr %20, align 8 store double %689, ptr %690, align 8 br label %691 691: ; preds = %688 %692 = load i32, ptr %26, align 4 %693 = add nsw i32 %692, 1 store i32 %693, ptr %26, align 4 br label %429 694: ; preds = %536, %209 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @lm_enorm(i32 noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @lm_qrsolv(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7}
; ModuleID = '/tmp/tmpfxi0znoo.c' source_filename = "/tmp/tmpfxi0znoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMaxConsecutiveOnes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %75 15: ; preds = %11 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %71, %15 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %73 20: ; preds = %16 br label %21 21: ; preds = %34, %20 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, 0 br label %32 32: ; preds = %25, %21 %33 = phi i1 [ false, %21 ], [ %31, %25 ] br i1 %33, label %34, label %37 34: ; preds = %32 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %21, !llvm.loop !6 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %42 41: ; preds = %37 store i32 0, ptr %3, align 4 br label %75 42: ; preds = %37 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %45 45: ; preds = %58, %42 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %56 49: ; preds = %45 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp eq i32 %54, 1 br label %56 56: ; preds = %49, %45 %57 = phi i1 [ false, %45 ], [ %55, %49 ] br i1 %57, label %58, label %61 58: ; preds = %56 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 br label %45, !llvm.loop !8 61: ; preds = %56 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %6, align 4 %65 = sub nsw i32 %63, %64 %66 = icmp slt i32 %62, %65 br i1 %66, label %67, label %71 67: ; preds = %61 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %6, align 4 %70 = sub nsw i32 %68, %69 store i32 %70, ptr %8, align 4 br label %71 71: ; preds = %67, %61 %72 = load i32, ptr %7, align 4 store i32 %72, ptr %6, align 4 br label %16, !llvm.loop !9 73: ; preds = %16 %74 = load i32, ptr %8, align 4 store i32 %74, ptr %3, align 4 br label %75 75: ; preds = %73, %41, %14 %76 = load i32, ptr %3, align 4 ret i32 %76 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxi0znoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMaxConsecutiveOnes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %77 15: ; preds = %11 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %75 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %70 br label %20 20: ; preds = %33, %19 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 0 br label %31 31: ; preds = %24, %20 %32 = phi i1 [ false, %20 ], [ %30, %24 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %20, !llvm.loop !6 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 0, ptr %3, align 4 br label %77 41: ; preds = %36 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %57, %41 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %55 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp eq i32 %53, 1 br label %55 55: ; preds = %48, %44 %56 = phi i1 [ false, %44 ], [ %54, %48 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %44, !llvm.loop !8 60: ; preds = %55 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %6, align 4 %64 = sub nsw i32 %62, %63 %65 = icmp slt i32 %61, %64 br i1 %65, label %66, label %70 66: ; preds = %60 %67 = load i32, ptr %7, align 4 %68 = load i32, ptr %6, align 4 %69 = sub nsw i32 %67, %68 store i32 %69, ptr %8, align 4 br label %70 70: ; preds = %66, %60 %71 = load i32, ptr %7, align 4 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %19, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %70 br label %75 75: ; preds = %._crit_edge, %15 %76 = load i32, ptr %8, align 4 store i32 %76, ptr %3, align 4 br label %77 77: ; preds = %75, %40, %14 %78 = load i32, ptr %3, align 4 ret i32 %78 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpessj4axf.c' source_filename = "/tmp/tmpessj4axf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%lc\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tabuleiro(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %36 23: ; preds = %9 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %29 29: ; preds = %27, %23 %30 = load ptr, ptr %10, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %29 br label %38 36: ; preds = %9 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %38 38: ; preds = %36, %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %40 = load ptr, ptr %11, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %56 43: ; preds = %38 %44 = load ptr, ptr %11, align 8 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 49: ; preds = %47, %43 %50 = load ptr, ptr %11, align 8 %51 = load i32, ptr %50, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 55: ; preds = %53, %49 br label %58 56: ; preds = %38 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %58 58: ; preds = %56, %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %60 = load ptr, ptr %12, align 8 %61 = load i32, ptr %60, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %76 63: ; preds = %58 %64 = load ptr, ptr %12, align 8 %65 = load i32, ptr %64, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %69 69: ; preds = %67, %63 %70 = load ptr, ptr %12, align 8 %71 = load i32, ptr %70, align 4 %72 = icmp eq i32 %71, -1 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %75 75: ; preds = %73, %69 br label %78 76: ; preds = %58 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %78 78: ; preds = %76, %75 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %86 = load ptr, ptr %13, align 8 %87 = load i32, ptr %86, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %102 89: ; preds = %78 %90 = load ptr, ptr %13, align 8 %91 = load i32, ptr %90, align 4 %92 = icmp eq i32 %91, 1 br i1 %92, label %93, label %95 93: ; preds = %89 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %95 95: ; preds = %93, %89 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %96, align 4 %98 = icmp eq i32 %97, -1 br i1 %98, label %99, label %101 99: ; preds = %95 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %101 101: ; preds = %99, %95 br label %104 102: ; preds = %78 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %104 104: ; preds = %102, %101 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %106, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %122 109: ; preds = %104 %110 = load ptr, ptr %14, align 8 %111 = load i32, ptr %110, align 4 %112 = icmp eq i32 %111, 1 br i1 %112, label %113, label %115 113: ; preds = %109 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %115 115: ; preds = %113, %109 %116 = load ptr, ptr %14, align 8 %117 = load i32, ptr %116, align 4 %118 = icmp eq i32 %117, -1 br i1 %118, label %119, label %121 119: ; preds = %115 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %121 121: ; preds = %119, %115 br label %124 122: ; preds = %104 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %124 124: ; preds = %122, %121 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %126 = load ptr, ptr %15, align 8 %127 = load i32, ptr %126, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %142 129: ; preds = %124 %130 = load ptr, ptr %15, align 8 %131 = load i32, ptr %130, align 4 %132 = icmp eq i32 %131, 1 br i1 %132, label %133, label %135 133: ; preds = %129 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %135 135: ; preds = %133, %129 %136 = load ptr, ptr %15, align 8 %137 = load i32, ptr %136, align 4 %138 = icmp eq i32 %137, -1 br i1 %138, label %139, label %141 139: ; preds = %135 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %141 141: ; preds = %139, %135 br label %144 142: ; preds = %124 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %144 144: ; preds = %142, %141 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %152 = load ptr, ptr %16, align 8 %153 = load i32, ptr %152, align 4 %154 = icmp ne i32 %153, 0 br i1 %154, label %155, label %168 155: ; preds = %144 %156 = load ptr, ptr %16, align 8 %157 = load i32, ptr %156, align 4 %158 = icmp eq i32 %157, 1 br i1 %158, label %159, label %161 159: ; preds = %155 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %161 161: ; preds = %159, %155 %162 = load ptr, ptr %16, align 8 %163 = load i32, ptr %162, align 4 %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %167 165: ; preds = %161 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %167 167: ; preds = %165, %161 br label %170 168: ; preds = %144 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %170 170: ; preds = %168, %167 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %172 = load ptr, ptr %17, align 8 %173 = load i32, ptr %172, align 4 %174 = icmp ne i32 %173, 0 br i1 %174, label %175, label %188 175: ; preds = %170 %176 = load ptr, ptr %17, align 8 %177 = load i32, ptr %176, align 4 %178 = icmp eq i32 %177, 1 br i1 %178, label %179, label %181 179: ; preds = %175 %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %181 181: ; preds = %179, %175 %182 = load ptr, ptr %17, align 8 %183 = load i32, ptr %182, align 4 %184 = icmp eq i32 %183, -1 br i1 %184, label %185, label %187 185: ; preds = %181 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %187 187: ; preds = %185, %181 br label %190 188: ; preds = %170 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %190 190: ; preds = %188, %187 %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %192 = load ptr, ptr %18, align 8 %193 = load i32, ptr %192, align 4 %194 = icmp ne i32 %193, 0 br i1 %194, label %195, label %208 195: ; preds = %190 %196 = load ptr, ptr %18, align 8 %197 = load i32, ptr %196, align 4 %198 = icmp eq i32 %197, 1 br i1 %198, label %199, label %201 199: ; preds = %195 %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %201 201: ; preds = %199, %195 %202 = load ptr, ptr %18, align 8 %203 = load i32, ptr %202, align 4 %204 = icmp eq i32 %203, -1 br i1 %204, label %205, label %207 205: ; preds = %201 %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %207 207: ; preds = %205, %201 br label %210 208: ; preds = %190 %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %210 210: ; preds = %208, %207 %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpessj4axf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%lc\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tabuleiro(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %36 23: ; preds = %9 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %29 29: ; preds = %27, %23 %30 = load ptr, ptr %10, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %29 br label %38 36: ; preds = %9 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %38 38: ; preds = %36, %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %40 = load ptr, ptr %11, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %56 43: ; preds = %38 %44 = load ptr, ptr %11, align 8 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 49: ; preds = %47, %43 %50 = load ptr, ptr %11, align 8 %51 = load i32, ptr %50, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 55: ; preds = %53, %49 br label %58 56: ; preds = %38 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %58 58: ; preds = %56, %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %60 = load ptr, ptr %12, align 8 %61 = load i32, ptr %60, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %76 63: ; preds = %58 %64 = load ptr, ptr %12, align 8 %65 = load i32, ptr %64, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %69 69: ; preds = %67, %63 %70 = load ptr, ptr %12, align 8 %71 = load i32, ptr %70, align 4 %72 = icmp eq i32 %71, -1 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %75 75: ; preds = %73, %69 br label %78 76: ; preds = %58 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %78 78: ; preds = %76, %75 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %86 = load ptr, ptr %13, align 8 %87 = load i32, ptr %86, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %102 89: ; preds = %78 %90 = load ptr, ptr %13, align 8 %91 = load i32, ptr %90, align 4 %92 = icmp eq i32 %91, 1 br i1 %92, label %93, label %95 93: ; preds = %89 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %95 95: ; preds = %93, %89 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %96, align 4 %98 = icmp eq i32 %97, -1 br i1 %98, label %99, label %101 99: ; preds = %95 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %101 101: ; preds = %99, %95 br label %104 102: ; preds = %78 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %104 104: ; preds = %102, %101 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %106, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %122 109: ; preds = %104 %110 = load ptr, ptr %14, align 8 %111 = load i32, ptr %110, align 4 %112 = icmp eq i32 %111, 1 br i1 %112, label %113, label %115 113: ; preds = %109 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %115 115: ; preds = %113, %109 %116 = load ptr, ptr %14, align 8 %117 = load i32, ptr %116, align 4 %118 = icmp eq i32 %117, -1 br i1 %118, label %119, label %121 119: ; preds = %115 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %121 121: ; preds = %119, %115 br label %124 122: ; preds = %104 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %124 124: ; preds = %122, %121 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %126 = load ptr, ptr %15, align 8 %127 = load i32, ptr %126, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %142 129: ; preds = %124 %130 = load ptr, ptr %15, align 8 %131 = load i32, ptr %130, align 4 %132 = icmp eq i32 %131, 1 br i1 %132, label %133, label %135 133: ; preds = %129 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %135 135: ; preds = %133, %129 %136 = load ptr, ptr %15, align 8 %137 = load i32, ptr %136, align 4 %138 = icmp eq i32 %137, -1 br i1 %138, label %139, label %141 139: ; preds = %135 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %141 141: ; preds = %139, %135 br label %144 142: ; preds = %124 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %144 144: ; preds = %142, %141 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9532) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9472) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %152 = load ptr, ptr %16, align 8 %153 = load i32, ptr %152, align 4 %154 = icmp ne i32 %153, 0 br i1 %154, label %155, label %168 155: ; preds = %144 %156 = load ptr, ptr %16, align 8 %157 = load i32, ptr %156, align 4 %158 = icmp eq i32 %157, 1 br i1 %158, label %159, label %161 159: ; preds = %155 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %161 161: ; preds = %159, %155 %162 = load ptr, ptr %16, align 8 %163 = load i32, ptr %162, align 4 %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %167 165: ; preds = %161 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %167 167: ; preds = %165, %161 br label %170 168: ; preds = %144 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %170 170: ; preds = %168, %167 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %172 = load ptr, ptr %17, align 8 %173 = load i32, ptr %172, align 4 %174 = icmp ne i32 %173, 0 br i1 %174, label %175, label %188 175: ; preds = %170 %176 = load ptr, ptr %17, align 8 %177 = load i32, ptr %176, align 4 %178 = icmp eq i32 %177, 1 br i1 %178, label %179, label %181 179: ; preds = %175 %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %181 181: ; preds = %179, %175 %182 = load ptr, ptr %17, align 8 %183 = load i32, ptr %182, align 4 %184 = icmp eq i32 %183, -1 br i1 %184, label %185, label %187 185: ; preds = %181 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %187 187: ; preds = %185, %181 br label %190 188: ; preds = %170 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %190 190: ; preds = %188, %187 %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 9474) %192 = load ptr, ptr %18, align 8 %193 = load i32, ptr %192, align 4 %194 = icmp ne i32 %193, 0 br i1 %194, label %195, label %208 195: ; preds = %190 %196 = load ptr, ptr %18, align 8 %197 = load i32, ptr %196, align 4 %198 = icmp eq i32 %197, 1 br i1 %198, label %199, label %201 199: ; preds = %195 %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %201 201: ; preds = %199, %195 %202 = load ptr, ptr %18, align 8 %203 = load i32, ptr %202, align 4 %204 = icmp eq i32 %203, -1 br i1 %204, label %205, label %207 205: ; preds = %201 %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %207 207: ; preds = %205, %201 br label %210 208: ; preds = %190 %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %210 210: ; preds = %208, %207 %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu2r60q32.c' source_filename = "/tmp/tmpu2r60q32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ut2ep() #0 { %1 = call i32 (...) @ut2jd() %2 = call double @jd2ep(i32 noundef %1) ret double %2 } declare double @jd2ep(i32 noundef) #1 declare i32 @ut2jd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2r60q32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ut2ep() #0 { %1 = call i32 (...) @ut2jd() %2 = call double @jd2ep(i32 noundef %1) ret double %2 } declare double @jd2ep(i32 noundef) #1 declare i32 @ut2jd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprdavrg5n.c' source_filename = "/tmp/tmprdavrg5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter point count: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Pi = %lf \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call i32 @pi_monte_carlo(double noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @pi_monte_carlo(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprdavrg5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter point count: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Pi = %lf \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call i32 @pi_monte_carlo(double noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @pi_monte_carlo(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppu5fyi1e.c' source_filename = "/tmp/tmppu5fyi1e.c" target datalayout = "e-m:e-p270: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/tmppu5fyi1e.c" target datalayout = "e-m:e-p270: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/tmphq_lnso9.c' source_filename = "/tmp/tmphq_lnso9.c" target datalayout = "e-m:e-p270: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/tmphq_lnso9.c" target datalayout = "e-m:e-p270: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/tmp91j7m_of.c' source_filename = "/tmp/tmp91j7m_of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 50000, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %6) br label %18 18: ; preds = %13, %2 store i32 0, ptr %7, align 4 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %19) store i32 %20, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %21 21: ; preds = %41, %18 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %42 24: ; preds = %21 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %7, align 4 %28 = load i32, ptr @stdin, align 4 %29 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %28) store i32 %29, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp sge i32 %32, %33 br i1 %34, label %35, label %41 35: ; preds = %24 %36 = load i32, ptr %7, align 4 %37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36) %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %10, align 4 %40 = sub nsw i32 %39, %38 store i32 %40, ptr %10, align 4 store i32 0, ptr %7, align 4 br label %41 41: ; preds = %35, %24 br label %21, !llvm.loop !6 42: ; preds = %21 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91j7m_of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 50000, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %6) br label %18 18: ; preds = %13, %2 store i32 0, ptr %7, align 4 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %19) store i32 %20, ptr %9, align 4 store i32 0, ptr %10, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %.lr.ph, label %43 .lr.ph: ; preds = %18 br label %23 23: ; preds = %.lr.ph, %40 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %7, align 4 %27 = load i32, ptr @stdin, align 4 %28 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, i32 noundef %27) store i32 %28, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %23 %35 = load i32, ptr %7, align 4 %36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %10, align 4 %39 = sub nsw i32 %38, %37 store i32 %39, ptr %10, align 4 store i32 0, ptr %7, align 4 br label %40 40: ; preds = %34, %23 %41 = load i32, ptr %9, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %43 43: ; preds = %._crit_edge, %18 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnc4z4clv.c' source_filename = "/tmp/tmpnc4z4clv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ECONNABORTED = dso_local global i32 0, align 4 @ECONNRESET = dso_local global i32 0, align 4 @ENETRESET = dso_local global i32 0, align 4 @ENOTCONN = dso_local global i32 0, align 4 @ESHUTDOWN = dso_local global i32 0, align 4 @POLLERR = dso_local global i32 0, align 4 @POLLHUP = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLWRNORM = 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/tmpnc4z4clv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ECONNABORTED = dso_local global i32 0, align 4 @ECONNRESET = dso_local global i32 0, align 4 @ENETRESET = dso_local global i32 0, align 4 @ENOTCONN = dso_local global i32 0, align 4 @ESHUTDOWN = dso_local global i32 0, align 4 @POLLERR = dso_local global i32 0, align 4 @POLLHUP = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLWRNORM = 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/tmp5nmtwje8.c' source_filename = "/tmp/tmp5nmtwje8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"QUIT :%s\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Shutting Down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quit() #0 { %1 = alloca ptr, align 8 %2 = call ptr @strtok(i32 noundef 0, ptr noundef @.str) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 br label %8 7: ; preds = %0 br label %8 8: ; preds = %7, %5 %9 = phi ptr [ %6, %5 ], [ @.str.2, %7 ] %10 = call i32 @firc_send(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 (...) @term() ret void } declare ptr @strtok(i32 noundef, ptr noundef) #1 declare i32 @firc_send(ptr noundef, ptr noundef) #1 declare i32 @term(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5nmtwje8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"QUIT :%s\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Shutting Down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quit() #0 { %1 = alloca ptr, align 8 %2 = call ptr @strtok(i32 noundef 0, ptr noundef @.str) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 br label %8 7: ; preds = %0 br label %8 8: ; preds = %7, %5 %9 = phi ptr [ %6, %5 ], [ @.str.2, %7 ] %10 = call i32 @firc_send(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 (...) @term() ret void } declare ptr @strtok(i32 noundef, ptr noundef) #1 declare i32 @firc_send(ptr noundef, ptr noundef) #1 declare i32 @term(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphc3lqjhe.c' source_filename = "/tmp/tmphc3lqjhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @same(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 = call i64 @find(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i64 @find(i32 noundef %7) %9 = icmp eq i64 %6, %8 %10 = zext i1 %9 to i32 ret i32 %10 } declare i64 @find(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/tmphc3lqjhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @same(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 = call i64 @find(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i64 @find(i32 noundef %7) %9 = icmp eq i64 %6, %8 %10 = zext i1 %9 to i32 ret i32 %10 } declare i64 @find(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/tmpdc0pxeee.c' source_filename = "/tmp/tmpdc0pxeee.c" target datalayout = "e-m:e-p270: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/tmpdc0pxeee.c" target datalayout = "e-m:e-p270: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/tmp9edfz5f0.c' source_filename = "/tmp/tmp9edfz5f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %31, %2 %13 = load i32, ptr %10, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %10, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %9) store i32 5, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %28, %16 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %22, label %31 22: ; preds = %18 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %8, align 4 %25 = sdiv i32 %23, %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %6, align 4 br label %28 28: ; preds = %22 %29 = load i32, ptr %8, align 4 %30 = mul nsw i32 %29, 5 store i32 %30, ptr %8, align 4 br label %18, !llvm.loop !6 31: ; preds = %18 %32 = load i32, ptr %6, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %12, !llvm.loop !8 34: ; preds = %12 %35 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %35 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9edfz5f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = load i32, ptr %10, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %10, align 4 %14 = icmp ne i32 %12, 0 br i1 %14, label %.lr.ph2, label %38 .lr.ph2: ; preds = %2 br label %15 15: ; preds = %.lr.ph2, %32 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %9) store i32 5, ptr %8, align 4 store i32 0, ptr %6, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %26 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = sdiv i32 %21, %22 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, %23 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %20 %27 = load i32, ptr %8, align 4 %28 = mul nsw i32 %27, 5 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %9, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %15 %33 = load i32, ptr %6, align 4 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33) %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %10, align 4 %37 = icmp ne i32 %35, 0 br i1 %37, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %2 %39 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %39 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa86msc_3.c' source_filename = "/tmp/tmpa86msc_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa86msc_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl9e8mq1f.c' source_filename = "/tmp/tmpl9e8mq1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_tgkill = 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/tmpl9e8mq1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_tgkill = 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/tmp82l5vn7n.c' source_filename = "/tmp/tmp82l5vn7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_error(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 ptr @strerror(i32 noundef %3) ret ptr %4 } declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp82l5vn7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_error(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 ptr @strerror(i32 noundef %3) ret ptr %4 } declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvxdyw2wc.c' source_filename = "/tmp/tmpvxdyw2wc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"A String in C is a Poiner itself\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %19, %0 %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 %22 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 @printf(ptr noundef @.str.1, i8 noundef signext %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %4, !llvm.loop !6 22: ; preds = %4 %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } declare i32 @printf(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/tmpvxdyw2wc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"A String in C is a Poiner itself\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, 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 %28 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %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 @printf(ptr noundef @.str.1, i8 noundef signext %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %29 } declare i32 @printf(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/tmpgbckfvmi.c' source_filename = "/tmp/tmpgbckfvmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel322_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77skernel322_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77skernel322_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbckfvmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel322_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77skernel322_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77skernel322_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpas7kvmdg.c' source_filename = "/tmp/tmpas7kvmdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_hex(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %3 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %38, %13 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %41 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = srem i32 %19, 2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %24 24: ; preds = %22, %18 %25 = load i32, ptr %7, align 4 %26 = srem i32 %25, 16 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 30: ; preds = %28, %24 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) br label %38 38: ; preds = %30 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %14, !llvm.loop !6 41: ; preds = %14 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpas7kvmdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_hex(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %3 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %43 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %37 %18 = load i32, ptr %7, align 4 %19 = srem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %17 %24 = load i32, ptr %7, align 4 %25 = srem i32 %24, 16 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27, %23 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35) br label %37 37: ; preds = %29 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %13 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3gasa0i9.c' source_filename = "/tmp/tmp3gasa0i9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"input array length and the random value range.\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = 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 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %2 %18 = call i64 @time(ptr noundef null) %19 = trunc i64 %18 to i32 %20 = call i32 @srand(i32 noundef %19) %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 ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @atoi(ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 4, %34 %36 = trunc i64 %35 to i32 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %9, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 4, %40 %42 = trunc i64 %41 to i32 %43 = call i64 @malloc(i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %10, align 8 store i32 1000, ptr %11, align 4 br label %45 45: ; preds = %62, %17 %46 = load i32, ptr %11, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %65 48: ; preds = %45 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %6, align 4 %53 = call i32 @initArr(ptr noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52) %54 = load ptr, ptr %9, align 8 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %8, align 4 %58 = call i32 @counting_sort(ptr noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57) %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %6, align 4 %61 = call i32 @check_is_inc_arr(ptr noundef %59, i32 noundef %60) br label %62 62: ; preds = %48 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %63, -1 store i32 %64, ptr %11, align 4 br label %45, !llvm.loop !6 65: ; preds = %45 ret i32 0 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @initArr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @counting_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @check_is_inc_arr(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/tmp3gasa0i9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"input array length and the random value range.\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = 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 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %2 %18 = call i64 @time(ptr noundef null) %19 = trunc i64 %18 to i32 %20 = call i32 @srand(i32 noundef %19) %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 ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @atoi(ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 4, %34 %36 = trunc i64 %35 to i32 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %9, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 4, %40 %42 = trunc i64 %41 to i32 %43 = call i64 @malloc(i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %10, align 8 store i32 1000, ptr %11, align 4 %45 = load i32, ptr %11, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %.lr.ph, label %66 .lr.ph: ; preds = %17 br label %47 47: ; preds = %.lr.ph, %61 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %6, align 4 %52 = call i32 @initArr(ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %8, align 4 %57 = call i32 @counting_sort(ptr noundef %53, ptr noundef %54, i32 noundef %55, i32 noundef %56) %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %6, align 4 %60 = call i32 @check_is_inc_arr(ptr noundef %58, i32 noundef %59) br label %61 61: ; preds = %47 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %11, align 4 %64 = load i32, ptr %11, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %66 66: ; preds = %._crit_edge, %17 ret i32 0 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @initArr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @counting_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @check_is_inc_arr(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/tmpsvyjmh8l.c' source_filename = "/tmp/tmpsvyjmh8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @KEY_ENTER = dso_local global i32 0, align 4 @KEY_LEFT = dso_local global i32 0, align 4 @KEY_RIGHT = dso_local global i32 0, align 4 @KEY_DC = dso_local global i32 0, align 4 @KEY_BACKSPACE = dso_local global i32 0, align 4 @KEY_NPAGE = dso_local global i32 0, align 4 @KEY_PPAGE = dso_local global i32 0, align 4 @KEY_DOWN = dso_local global i32 0, align 4 @KEY_UP = dso_local global i32 0, align 4 @KEY_HOME = dso_local global i32 0, align 4 @KEY_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @io_text(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i64 %4, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 %25 = load i32, ptr @stdscr, align 4 %26 = load i32, ptr %18, align 4 %27 = load i32, ptr %17, align 4 %28 = call i32 @getmaxyx(i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %17, align 4 %30 = sub nsw i32 %29, 3 store i32 %30, ptr %16, align 4 %31 = load i32, ptr %17, align 4 %32 = icmp slt i32 %31, 24 br i1 %32, label %33, label %34 33: ; preds = %5 store i32 -1, ptr %6, align 4 br label %397 34: ; preds = %5 br label %35 35: ; preds = %396, %34 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %14, align 4 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, i32 60, i32 91 %42 = trunc i32 %41 to i8 %43 = call i32 @mvaddch(i32 noundef %36, i32 noundef %37, i8 noundef signext %42) %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %14, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %8, align 4 %50 = sub nsw i32 %48, %49 %51 = sub nsw i32 %50, 1 %52 = call i32 @addnstr(ptr noundef %47, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %14, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = call i32 @strlen(ptr noundef %56) %58 = load i32, ptr %16, align 4 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %58, %59 %61 = sub nsw i32 %60, 1 %62 = icmp sgt i32 %57, %61 %63 = zext i1 %62 to i64 %64 = select i1 %62, i32 62, i32 93 %65 = trunc i32 %64 to i8 %66 = call i32 @addch(i8 noundef signext %65) %67 = call i32 @addch(i8 noundef signext 32) %68 = call i32 (...) @refresh() %69 = load i32, ptr @KEY_ENTER, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %15, align 4 %72 = call i32 @get_key(i32 noundef %70, i32 noundef %71) store i32 %72, ptr %12, align 4 %73 = icmp eq i32 %69, %72 br i1 %73, label %74, label %76 74: ; preds = %35 %75 = load i32, ptr @KEY_ENTER, align 4 store i32 %75, ptr %6, align 4 br label %397 76: ; preds = %35 %77 = load i32, ptr @KEY_LEFT, align 4 %78 = load i32, ptr %12, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %102 80: ; preds = %76 %81 = load i32, ptr %13, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %101 83: ; preds = %80 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, -1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 %88 = load i32, ptr %15, align 4 %89 = icmp eq i32 %87, %88 br i1 %89, label %90, label %97 90: ; preds = %83 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %90 %94 = load i32, ptr %14, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %14, align 4 br label %96 96: ; preds = %93, %90 br label %100 97: ; preds = %83 %98 = load i32, ptr %15, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %15, align 4 br label %100 100: ; preds = %97, %96 br label %101 101: ; preds = %100, %80 br label %395 102: ; preds = %76 %103 = load i32, ptr @KEY_RIGHT, align 4 %104 = load i32, ptr %12, align 4 %105 = icmp eq i32 %103, %104 br i1 %105, label %106, label %128 106: ; preds = %102 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %13, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 0, %112 br i1 %113, label %114, label %127 114: ; preds = %106 %115 = load i32, ptr %13, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %13, align 4 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %16, align 4 %119 = icmp eq i32 %117, %118 br i1 %119, label %120, label %123 120: ; preds = %114 %121 = load i32, ptr %14, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %14, align 4 br label %126 123: ; preds = %114 %124 = load i32, ptr %15, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %15, align 4 br label %126 126: ; preds = %123, %120 br label %127 127: ; preds = %126, %106 br label %394 128: ; preds = %102 %129 = load i32, ptr @KEY_DC, align 4 %130 = load i32, ptr %12, align 4 %131 = icmp eq i32 %129, %130 br i1 %131, label %132, label %165 132: ; preds = %128 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %13, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %133, i64 %135 %137 = load i8, ptr %136, align 1 %138 = icmp ne i8 %137, 0 br i1 %138, label %139, label %164 139: ; preds = %132 store i32 0, ptr %19, align 4 %140 = load i32, ptr %13, align 4 store i32 %140, ptr %19, align 4 br label %141 141: ; preds = %156, %139 %142 = load i32, ptr %19, align 4 %143 = load i32, ptr %10, align 4 %144 = icmp ult i32 %142, %143 br i1 %144, label %145, label %159 145: ; preds = %141 %146 = load ptr, ptr %9, align 8 %147 = load i32, ptr %19, align 4 %148 = add i32 %147, 1 %149 = zext i32 %148 to i64 %150 = getelementptr inbounds i8, ptr %146, i64 %149 %151 = load i8, ptr %150, align 1 %152 = load ptr, ptr %9, align 8 %153 = load i32, ptr %19, align 4 %154 = zext i32 %153 to i64 %155 = getelementptr inbounds i8, ptr %152, i64 %154 store i8 %151, ptr %155, align 1 br label %156 156: ; preds = %145 %157 = load i32, ptr %19, align 4 %158 = add i32 %157, 1 store i32 %158, ptr %19, align 4 br label %141, !llvm.loop !6 159: ; preds = %141 %160 = load ptr, ptr %9, align 8 %161 = load i32, ptr %10, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %160, i64 %162 store i8 0, ptr %163, align 1 br label %164 164: ; preds = %159, %132 br label %393 165: ; preds = %128 %166 = load i32, ptr @KEY_BACKSPACE, align 4 %167 = load i32, ptr %12, align 4 %168 = icmp eq i32 %166, %167 br i1 %168, label %169, label %217 169: ; preds = %165 %170 = load i32, ptr %13, align 4 %171 = icmp ne i32 %170, 0 br i1 %171, label %172, label %216 172: ; preds = %169 store i32 0, ptr %20, align 4 %173 = load i32, ptr %13, align 4 %174 = sub nsw i32 %173, 1 store i32 %174, ptr %20, align 4 br label %175 175: ; preds = %190, %172 %176 = load i32, ptr %20, align 4 %177 = load i32, ptr %10, align 4 %178 = icmp ult i32 %176, %177 br i1 %178, label %179, label %193 179: ; preds = %175 %180 = load ptr, ptr %9, align 8 %181 = load i32, ptr %20, align 4 %182 = add i32 %181, 1 %183 = zext i32 %182 to i64 %184 = getelementptr inbounds i8, ptr %180, i64 %183 %185 = load i8, ptr %184, align 1 %186 = load ptr, ptr %9, align 8 %187 = load i32, ptr %20, align 4 %188 = zext i32 %187 to i64 %189 = getelementptr inbounds i8, ptr %186, i64 %188 store i8 %185, ptr %189, align 1 br label %190 190: ; preds = %179 %191 = load i32, ptr %20, align 4 %192 = add i32 %191, 1 store i32 %192, ptr %20, align 4 br label %175, !llvm.loop !8 193: ; preds = %175 %194 = load ptr, ptr %9, align 8 %195 = load i32, ptr %10, align 4 %196 = sub nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i8, ptr %194, i64 %197 store i8 0, ptr %198, align 1 %199 = load i32, ptr %13, align 4 %200 = add nsw i32 %199, -1 store i32 %200, ptr %13, align 4 %201 = load i32, ptr %14, align 4 %202 = icmp eq i32 0, %201 br i1 %202, label %203, label %212 203: ; preds = %193 %204 = load i32, ptr %8, align 4 %205 = add nsw i32 %204, 1 %206 = load i32, ptr %15, align 4 %207 = icmp slt i32 %205, %206 br i1 %207, label %208, label %211 208: ; preds = %203 %209 = load i32, ptr %15, align 4 %210 = add nsw i32 %209, -1 store i32 %210, ptr %15, align 4 br label %211 211: ; preds = %208, %203 br label %215 212: ; preds = %193 %213 = load i32, ptr %14, align 4 %214 = add nsw i32 %213, -1 store i32 %214, ptr %14, align 4 br label %215 215: ; preds = %212, %211 br label %216 216: ; preds = %215, %169 br label %392 217: ; preds = %165 %218 = call i32 @KEY_F(i32 noundef 3) %219 = load i32, ptr %12, align 4 %220 = icmp eq i32 %218, %219 br i1 %220, label %221, label %225 221: ; preds = %217 %222 = load i64, ptr %11, align 8 %223 = and i64 %222, 4 %224 = icmp ne i64 %223, 0 br i1 %224, label %281, label %225 225: ; preds = %221, %217 %226 = call i32 @KEY_F(i32 noundef 4) %227 = load i32, ptr %12, align 4 %228 = icmp eq i32 %226, %227 br i1 %228, label %229, label %233 229: ; preds = %225 %230 = load i64, ptr %11, align 8 %231 = and i64 %230, 8 %232 = icmp ne i64 %231, 0 br i1 %232, label %281, label %233 233: ; preds = %229, %225 %234 = call i32 @KEY_F(i32 noundef 5) %235 = load i32, ptr %12, align 4 %236 = icmp eq i32 %234, %235 br i1 %236, label %237, label %241 237: ; preds = %233 %238 = load i64, ptr %11, align 8 %239 = and i64 %238, 16 %240 = icmp ne i64 %239, 0 br i1 %240, label %281, label %241 241: ; preds = %237, %233 %242 = load i32, ptr @KEY_NPAGE, align 4 %243 = load i32, ptr %12, align 4 %244 = icmp eq i32 %242, %243 br i1 %244, label %245, label %249 245: ; preds = %241 %246 = load i64, ptr %11, align 8 %247 = and i64 %246, 64 %248 = icmp ne i64 %247, 0 br i1 %248, label %281, label %249 249: ; preds = %245, %241 %250 = load i32, ptr @KEY_PPAGE, align 4 %251 = load i32, ptr %12, align 4 %252 = icmp eq i32 %250, %251 br i1 %252, label %253, label %257 253: ; preds = %249 %254 = load i64, ptr %11, align 8 %255 = and i64 %254, 128 %256 = icmp ne i64 %255, 0 br i1 %256, label %281, label %257 257: ; preds = %253, %249 %258 = load i32, ptr @KEY_DOWN, align 4 %259 = load i32, ptr %12, align 4 %260 = icmp eq i32 %258, %259 br i1 %260, label %261, label %265 261: ; preds = %257 %262 = load i64, ptr %11, align 8 %263 = and i64 %262, 512 %264 = icmp ne i64 %263, 0 br i1 %264, label %281, label %265 265: ; preds = %261, %257 %266 = load i32, ptr @KEY_UP, align 4 %267 = load i32, ptr %12, align 4 %268 = icmp eq i32 %266, %267 br i1 %268, label %269, label %273 269: ; preds = %265 %270 = load i64, ptr %11, align 8 %271 = and i64 %270, 256 %272 = icmp ne i64 %271, 0 br i1 %272, label %281, label %273 273: ; preds = %269, %265 %274 = call i32 @KEY_F(i32 noundef 10) %275 = load i32, ptr %12, align 4 %276 = icmp eq i32 %274, %275 br i1 %276, label %277, label %283 277: ; preds = %273 %278 = load i64, ptr %11, align 8 %279 = and i64 %278, 32 %280 = icmp ne i64 %279, 0 br i1 %280, label %281, label %283 281: ; preds = %277, %269, %261, %253, %245, %237, %229, %221 %282 = load i32, ptr %12, align 4 store i32 %282, ptr %6, align 4 br label %397 283: ; preds = %277, %273 %284 = load i32, ptr @KEY_HOME, align 4 %285 = load i32, ptr %12, align 4 %286 = icmp eq i32 %284, %285 br i1 %286, label %287, label %290 287: ; preds = %283 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %288 = load i32, ptr %8, align 4 %289 = add nsw i32 %288, 1 store i32 %289, ptr %15, align 4 br label %390 290: ; preds = %283 %291 = load i32, ptr @KEY_END, align 4 %292 = load i32, ptr %12, align 4 %293 = icmp eq i32 %291, %292 br i1 %293, label %294, label %335 294: ; preds = %290 store i32 0, ptr %21, align 4 %295 = load i32, ptr %13, align 4 store i32 %295, ptr %21, align 4 br label %296 296: ; preds = %311, %294 %297 = load i32, ptr %21, align 4 %298 = load i32, ptr %10, align 4 %299 = icmp ult i32 %297, %298 br i1 %299, label %300, label %314 300: ; preds = %296 %301 = load ptr, ptr %9, align 8 %302 = load i32, ptr %21, align 4 %303 = zext i32 %302 to i64 %304 = getelementptr inbounds i8, ptr %301, i64 %303 %305 = load i8, ptr %304, align 1 %306 = sext i8 %305 to i32 %307 = icmp eq i32 0, %306 br i1 %307, label %308, label %310 308: ; preds = %300 %309 = load i32, ptr %21, align 4 store i32 %309, ptr %13, align 4 br label %314 310: ; preds = %300 br label %311 311: ; preds = %310 %312 = load i32, ptr %21, align 4 %313 = add i32 %312, 1 store i32 %313, ptr %21, align 4 br label %296, !llvm.loop !9 314: ; preds = %308, %296 %315 = load i32, ptr %8, align 4 %316 = add nsw i32 %315, 1 %317 = load i32, ptr %13, align 4 %318 = add nsw i32 %316, %317 %319 = load i32, ptr %16, align 4 %320 = icmp slt i32 %318, %319 br i1 %320, label %321, label %326 321: ; preds = %314 %322 = load i32, ptr %8, align 4 %323 = add nsw i32 %322, 1 %324 = load i32, ptr %13, align 4 %325 = add nsw i32 %323, %324 store i32 %325, ptr %15, align 4 store i32 0, ptr %14, align 4 br label %334 326: ; preds = %314 %327 = load i32, ptr %16, align 4 store i32 %327, ptr %15, align 4 %328 = load i32, ptr %8, align 4 %329 = add nsw i32 %328, 1 %330 = load i32, ptr %13, align 4 %331 = add nsw i32 %329, %330 %332 = load i32, ptr %16, align 4 %333 = sub nsw i32 %331, %332 store i32 %333, ptr %14, align 4 br label %334 334: ; preds = %326, %321 br label %389 335: ; preds = %290 %336 = load i32, ptr %12, align 4 %337 = call i64 @isprint(i32 noundef %336) %338 = icmp ne i64 %337, 0 br i1 %338, label %339, label %388 339: ; preds = %335 %340 = load ptr, ptr %9, align 8 %341 = load i32, ptr %10, align 4 %342 = sub nsw i32 %341, 1 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds i8, ptr %340, i64 %343 %345 = load i8, ptr %344, align 1 %346 = sext i8 %345 to i32 %347 = icmp eq i32 0, %346 br i1 %347, label %348, label %387 348: ; preds = %339 store i32 0, ptr %22, align 4 %349 = load i32, ptr %10, align 4 %350 = sub nsw i32 %349, 1 store i32 %350, ptr %22, align 4 br label %351 351: ; preds = %366, %348 %352 = load i32, ptr %22, align 4 %353 = load i32, ptr %13, align 4 %354 = icmp ugt i32 %352, %353 br i1 %354, label %355, label %369 355: ; preds = %351 %356 = load ptr, ptr %9, align 8 %357 = load i32, ptr %22, align 4 %358 = sub i32 %357, 1 %359 = zext i32 %358 to i64 %360 = getelementptr inbounds i8, ptr %356, i64 %359 %361 = load i8, ptr %360, align 1 %362 = load ptr, ptr %9, align 8 %363 = load i32, ptr %22, align 4 %364 = zext i32 %363 to i64 %365 = getelementptr inbounds i8, ptr %362, i64 %364 store i8 %361, ptr %365, align 1 br label %366 366: ; preds = %355 %367 = load i32, ptr %22, align 4 %368 = add i32 %367, -1 store i32 %368, ptr %22, align 4 br label %351, !llvm.loop !10 369: ; preds = %351 %370 = load i32, ptr %12, align 4 %371 = trunc i32 %370 to i8 %372 = load ptr, ptr %9, align 8 %373 = load i32, ptr %13, align 4 %374 = add nsw i32 %373, 1 store i32 %374, ptr %13, align 4 %375 = sext i32 %373 to i64 %376 = getelementptr inbounds i8, ptr %372, i64 %375 store i8 %371, ptr %376, align 1 %377 = load i32, ptr %15, align 4 %378 = load i32, ptr %16, align 4 %379 = icmp eq i32 %377, %378 br i1 %379, label %380, label %383 380: ; preds = %369 %381 = load i32, ptr %14, align 4 %382 = add nsw i32 %381, 1 store i32 %382, ptr %14, align 4 br label %386 383: ; preds = %369 %384 = load i32, ptr %15, align 4 %385 = add nsw i32 %384, 1 store i32 %385, ptr %15, align 4 br label %386 386: ; preds = %383, %380 br label %387 387: ; preds = %386, %339 br label %388 388: ; preds = %387, %335 br label %389 389: ; preds = %388, %334 br label %390 390: ; preds = %389, %287 br label %391 391: ; preds = %390 br label %392 392: ; preds = %391, %216 br label %393 393: ; preds = %392, %164 br label %394 394: ; preds = %393, %127 br label %395 395: ; preds = %394, %101 br label %396 396: ; preds = %395 br label %35 397: ; preds = %281, %74, %33 %398 = load i32, ptr %6, align 4 ret i32 %398 } declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @addnstr(ptr noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @get_key(i32 noundef, i32 noundef) #1 declare i32 @KEY_F(i32 noundef) #1 declare i64 @isprint(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsvyjmh8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @KEY_ENTER = dso_local global i32 0, align 4 @KEY_LEFT = dso_local global i32 0, align 4 @KEY_RIGHT = dso_local global i32 0, align 4 @KEY_DC = dso_local global i32 0, align 4 @KEY_BACKSPACE = dso_local global i32 0, align 4 @KEY_NPAGE = dso_local global i32 0, align 4 @KEY_PPAGE = dso_local global i32 0, align 4 @KEY_DOWN = dso_local global i32 0, align 4 @KEY_UP = dso_local global i32 0, align 4 @KEY_HOME = dso_local global i32 0, align 4 @KEY_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @io_text(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i64 %4, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 %25 = load i32, ptr @stdscr, align 4 %26 = load i32, ptr %18, align 4 %27 = load i32, ptr %17, align 4 %28 = call i32 @getmaxyx(i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %17, align 4 %30 = sub nsw i32 %29, 3 store i32 %30, ptr %16, align 4 %31 = load i32, ptr %17, align 4 %32 = icmp slt i32 %31, 24 br i1 %32, label %33, label %34 33: ; preds = %5 store i32 -1, ptr %6, align 4 br label %405 34: ; preds = %5 br label %35 35: ; preds = %404, %34 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %14, align 4 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, i32 60, i32 91 %42 = trunc i32 %41 to i8 %43 = call i32 @mvaddch(i32 noundef %36, i32 noundef %37, i8 noundef signext %42) %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %14, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %8, align 4 %50 = sub nsw i32 %48, %49 %51 = sub nsw i32 %50, 1 %52 = call i32 @addnstr(ptr noundef %47, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %14, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = call i32 @strlen(ptr noundef %56) %58 = load i32, ptr %16, align 4 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %58, %59 %61 = sub nsw i32 %60, 1 %62 = icmp sgt i32 %57, %61 %63 = zext i1 %62 to i64 %64 = select i1 %62, i32 62, i32 93 %65 = trunc i32 %64 to i8 %66 = call i32 @addch(i8 noundef signext %65) %67 = call i32 @addch(i8 noundef signext 32) %68 = call i32 (...) @refresh() %69 = load i32, ptr @KEY_ENTER, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %15, align 4 %72 = call i32 @get_key(i32 noundef %70, i32 noundef %71) store i32 %72, ptr %12, align 4 %73 = icmp eq i32 %69, %72 br i1 %73, label %74, label %76 74: ; preds = %35 %75 = load i32, ptr @KEY_ENTER, align 4 store i32 %75, ptr %6, align 4 br label %405 76: ; preds = %35 %77 = load i32, ptr @KEY_LEFT, align 4 %78 = load i32, ptr %12, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %102 80: ; preds = %76 %81 = load i32, ptr %13, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %101 83: ; preds = %80 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, -1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 %88 = load i32, ptr %15, align 4 %89 = icmp eq i32 %87, %88 br i1 %89, label %90, label %97 90: ; preds = %83 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %90 %94 = load i32, ptr %14, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %14, align 4 br label %96 96: ; preds = %93, %90 br label %100 97: ; preds = %83 %98 = load i32, ptr %15, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %15, align 4 br label %100 100: ; preds = %97, %96 br label %101 101: ; preds = %100, %80 br label %403 102: ; preds = %76 %103 = load i32, ptr @KEY_RIGHT, align 4 %104 = load i32, ptr %12, align 4 %105 = icmp eq i32 %103, %104 br i1 %105, label %106, label %128 106: ; preds = %102 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %13, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 0, %112 br i1 %113, label %114, label %127 114: ; preds = %106 %115 = load i32, ptr %13, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %13, align 4 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %16, align 4 %119 = icmp eq i32 %117, %118 br i1 %119, label %120, label %123 120: ; preds = %114 %121 = load i32, ptr %14, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %14, align 4 br label %126 123: ; preds = %114 %124 = load i32, ptr %15, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %15, align 4 br label %126 126: ; preds = %123, %120 br label %127 127: ; preds = %126, %106 br label %402 128: ; preds = %102 %129 = load i32, ptr @KEY_DC, align 4 %130 = load i32, ptr %12, align 4 %131 = icmp eq i32 %129, %130 br i1 %131, label %132, label %167 132: ; preds = %128 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %13, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %133, i64 %135 %137 = load i8, ptr %136, align 1 %138 = icmp ne i8 %137, 0 br i1 %138, label %139, label %166 139: ; preds = %132 store i32 0, ptr %19, align 4 %140 = load i32, ptr %13, align 4 store i32 %140, ptr %19, align 4 %141 = load i32, ptr %19, align 4 %142 = load i32, ptr %10, align 4 %143 = icmp ult i32 %141, %142 br i1 %143, label %.lr.ph7, label %161 .lr.ph7: ; preds = %139 br label %144 144: ; preds = %.lr.ph7, %155 %145 = load ptr, ptr %9, align 8 %146 = load i32, ptr %19, align 4 %147 = add i32 %146, 1 %148 = zext i32 %147 to i64 %149 = getelementptr inbounds i8, ptr %145, i64 %148 %150 = load i8, ptr %149, align 1 %151 = load ptr, ptr %9, align 8 %152 = load i32, ptr %19, align 4 %153 = zext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 store i8 %150, ptr %154, align 1 br label %155 155: ; preds = %144 %156 = load i32, ptr %19, align 4 %157 = add i32 %156, 1 store i32 %157, ptr %19, align 4 %158 = load i32, ptr %19, align 4 %159 = load i32, ptr %10, align 4 %160 = icmp ult i32 %158, %159 br i1 %160, label %144, label %._crit_edge8, !llvm.loop !6 ._crit_edge8: ; preds = %155 br label %161 161: ; preds = %._crit_edge8, %139 %162 = load ptr, ptr %9, align 8 %163 = load i32, ptr %10, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %162, i64 %164 store i8 0, ptr %165, align 1 br label %166 166: ; preds = %161, %132 br label %401 167: ; preds = %128 %168 = load i32, ptr @KEY_BACKSPACE, align 4 %169 = load i32, ptr %12, align 4 %170 = icmp eq i32 %168, %169 br i1 %170, label %171, label %221 171: ; preds = %167 %172 = load i32, ptr %13, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %220 174: ; preds = %171 store i32 0, ptr %20, align 4 %175 = load i32, ptr %13, align 4 %176 = sub nsw i32 %175, 1 store i32 %176, ptr %20, align 4 %177 = load i32, ptr %20, align 4 %178 = load i32, ptr %10, align 4 %179 = icmp ult i32 %177, %178 br i1 %179, label %.lr.ph4, label %197 .lr.ph4: ; preds = %174 br label %180 180: ; preds = %.lr.ph4, %191 %181 = load ptr, ptr %9, align 8 %182 = load i32, ptr %20, align 4 %183 = add i32 %182, 1 %184 = zext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %181, i64 %184 %186 = load i8, ptr %185, align 1 %187 = load ptr, ptr %9, align 8 %188 = load i32, ptr %20, align 4 %189 = zext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %187, i64 %189 store i8 %186, ptr %190, align 1 br label %191 191: ; preds = %180 %192 = load i32, ptr %20, align 4 %193 = add i32 %192, 1 store i32 %193, ptr %20, align 4 %194 = load i32, ptr %20, align 4 %195 = load i32, ptr %10, align 4 %196 = icmp ult i32 %194, %195 br i1 %196, label %180, label %._crit_edge5, !llvm.loop !8 ._crit_edge5: ; preds = %191 br label %197 197: ; preds = %._crit_edge5, %174 %198 = load ptr, ptr %9, align 8 %199 = load i32, ptr %10, align 4 %200 = sub nsw i32 %199, 1 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i8, ptr %198, i64 %201 store i8 0, ptr %202, align 1 %203 = load i32, ptr %13, align 4 %204 = add nsw i32 %203, -1 store i32 %204, ptr %13, align 4 %205 = load i32, ptr %14, align 4 %206 = icmp eq i32 0, %205 br i1 %206, label %207, label %216 207: ; preds = %197 %208 = load i32, ptr %8, align 4 %209 = add nsw i32 %208, 1 %210 = load i32, ptr %15, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %215 212: ; preds = %207 %213 = load i32, ptr %15, align 4 %214 = add nsw i32 %213, -1 store i32 %214, ptr %15, align 4 br label %215 215: ; preds = %212, %207 br label %219 216: ; preds = %197 %217 = load i32, ptr %14, align 4 %218 = add nsw i32 %217, -1 store i32 %218, ptr %14, align 4 br label %219 219: ; preds = %216, %215 br label %220 220: ; preds = %219, %171 br label %400 221: ; preds = %167 %222 = call i32 @KEY_F(i32 noundef 3) %223 = load i32, ptr %12, align 4 %224 = icmp eq i32 %222, %223 br i1 %224, label %225, label %229 225: ; preds = %221 %226 = load i64, ptr %11, align 8 %227 = and i64 %226, 4 %228 = icmp ne i64 %227, 0 br i1 %228, label %285, label %229 229: ; preds = %225, %221 %230 = call i32 @KEY_F(i32 noundef 4) %231 = load i32, ptr %12, align 4 %232 = icmp eq i32 %230, %231 br i1 %232, label %233, label %237 233: ; preds = %229 %234 = load i64, ptr %11, align 8 %235 = and i64 %234, 8 %236 = icmp ne i64 %235, 0 br i1 %236, label %285, label %237 237: ; preds = %233, %229 %238 = call i32 @KEY_F(i32 noundef 5) %239 = load i32, ptr %12, align 4 %240 = icmp eq i32 %238, %239 br i1 %240, label %241, label %245 241: ; preds = %237 %242 = load i64, ptr %11, align 8 %243 = and i64 %242, 16 %244 = icmp ne i64 %243, 0 br i1 %244, label %285, label %245 245: ; preds = %241, %237 %246 = load i32, ptr @KEY_NPAGE, align 4 %247 = load i32, ptr %12, align 4 %248 = icmp eq i32 %246, %247 br i1 %248, label %249, label %253 249: ; preds = %245 %250 = load i64, ptr %11, align 8 %251 = and i64 %250, 64 %252 = icmp ne i64 %251, 0 br i1 %252, label %285, label %253 253: ; preds = %249, %245 %254 = load i32, ptr @KEY_PPAGE, align 4 %255 = load i32, ptr %12, align 4 %256 = icmp eq i32 %254, %255 br i1 %256, label %257, label %261 257: ; preds = %253 %258 = load i64, ptr %11, align 8 %259 = and i64 %258, 128 %260 = icmp ne i64 %259, 0 br i1 %260, label %285, label %261 261: ; preds = %257, %253 %262 = load i32, ptr @KEY_DOWN, align 4 %263 = load i32, ptr %12, align 4 %264 = icmp eq i32 %262, %263 br i1 %264, label %265, label %269 265: ; preds = %261 %266 = load i64, ptr %11, align 8 %267 = and i64 %266, 512 %268 = icmp ne i64 %267, 0 br i1 %268, label %285, label %269 269: ; preds = %265, %261 %270 = load i32, ptr @KEY_UP, align 4 %271 = load i32, ptr %12, align 4 %272 = icmp eq i32 %270, %271 br i1 %272, label %273, label %277 273: ; preds = %269 %274 = load i64, ptr %11, align 8 %275 = and i64 %274, 256 %276 = icmp ne i64 %275, 0 br i1 %276, label %285, label %277 277: ; preds = %273, %269 %278 = call i32 @KEY_F(i32 noundef 10) %279 = load i32, ptr %12, align 4 %280 = icmp eq i32 %278, %279 br i1 %280, label %281, label %287 281: ; preds = %277 %282 = load i64, ptr %11, align 8 %283 = and i64 %282, 32 %284 = icmp ne i64 %283, 0 br i1 %284, label %285, label %287 285: ; preds = %281, %273, %265, %257, %249, %241, %233, %225 %286 = load i32, ptr %12, align 4 store i32 %286, ptr %6, align 4 br label %405 287: ; preds = %281, %277 %288 = load i32, ptr @KEY_HOME, align 4 %289 = load i32, ptr %12, align 4 %290 = icmp eq i32 %288, %289 br i1 %290, label %291, label %294 291: ; preds = %287 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %292 = load i32, ptr %8, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %15, align 4 br label %398 294: ; preds = %287 %295 = load i32, ptr @KEY_END, align 4 %296 = load i32, ptr %12, align 4 %297 = icmp eq i32 %295, %296 br i1 %297, label %298, label %341 298: ; preds = %294 store i32 0, ptr %21, align 4 %299 = load i32, ptr %13, align 4 store i32 %299, ptr %21, align 4 %300 = load i32, ptr %21, align 4 %301 = load i32, ptr %10, align 4 %302 = icmp ult i32 %300, %301 br i1 %302, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %298 br label %303 303: ; preds = %.lr.ph2, %314 %304 = load ptr, ptr %9, align 8 %305 = load i32, ptr %21, align 4 %306 = zext i32 %305 to i64 %307 = getelementptr inbounds i8, ptr %304, i64 %306 %308 = load i8, ptr %307, align 1 %309 = sext i8 %308 to i32 %310 = icmp eq i32 0, %309 br i1 %310, label %311, label %313 311: ; preds = %303 %312 = load i32, ptr %21, align 4 store i32 %312, ptr %13, align 4 br label %320 313: ; preds = %303 br label %314 314: ; preds = %313 %315 = load i32, ptr %21, align 4 %316 = add i32 %315, 1 store i32 %316, ptr %21, align 4 %317 = load i32, ptr %21, align 4 %318 = load i32, ptr %10, align 4 %319 = icmp ult i32 %317, %318 br i1 %319, label %303, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %314 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %298 br label %320 320: ; preds = %.loopexit, %311 %321 = load i32, ptr %8, align 4 %322 = add nsw i32 %321, 1 %323 = load i32, ptr %13, align 4 %324 = add nsw i32 %322, %323 %325 = load i32, ptr %16, align 4 %326 = icmp slt i32 %324, %325 br i1 %326, label %327, label %332 327: ; preds = %320 %328 = load i32, ptr %8, align 4 %329 = add nsw i32 %328, 1 %330 = load i32, ptr %13, align 4 %331 = add nsw i32 %329, %330 store i32 %331, ptr %15, align 4 store i32 0, ptr %14, align 4 br label %340 332: ; preds = %320 %333 = load i32, ptr %16, align 4 store i32 %333, ptr %15, align 4 %334 = load i32, ptr %8, align 4 %335 = add nsw i32 %334, 1 %336 = load i32, ptr %13, align 4 %337 = add nsw i32 %335, %336 %338 = load i32, ptr %16, align 4 %339 = sub nsw i32 %337, %338 store i32 %339, ptr %14, align 4 br label %340 340: ; preds = %332, %327 br label %397 341: ; preds = %294 %342 = load i32, ptr %12, align 4 %343 = call i64 @isprint(i32 noundef %342) %344 = icmp ne i64 %343, 0 br i1 %344, label %345, label %396 345: ; preds = %341 %346 = load ptr, ptr %9, align 8 %347 = load i32, ptr %10, align 4 %348 = sub nsw i32 %347, 1 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds i8, ptr %346, i64 %349 %351 = load i8, ptr %350, align 1 %352 = sext i8 %351 to i32 %353 = icmp eq i32 0, %352 br i1 %353, label %354, label %395 354: ; preds = %345 store i32 0, ptr %22, align 4 %355 = load i32, ptr %10, align 4 %356 = sub nsw i32 %355, 1 store i32 %356, ptr %22, align 4 %357 = load i32, ptr %22, align 4 %358 = load i32, ptr %13, align 4 %359 = icmp ugt i32 %357, %358 br i1 %359, label %.lr.ph, label %377 .lr.ph: ; preds = %354 br label %360 360: ; preds = %.lr.ph, %371 %361 = load ptr, ptr %9, align 8 %362 = load i32, ptr %22, align 4 %363 = sub i32 %362, 1 %364 = zext i32 %363 to i64 %365 = getelementptr inbounds i8, ptr %361, i64 %364 %366 = load i8, ptr %365, align 1 %367 = load ptr, ptr %9, align 8 %368 = load i32, ptr %22, align 4 %369 = zext i32 %368 to i64 %370 = getelementptr inbounds i8, ptr %367, i64 %369 store i8 %366, ptr %370, align 1 br label %371 371: ; preds = %360 %372 = load i32, ptr %22, align 4 %373 = add i32 %372, -1 store i32 %373, ptr %22, align 4 %374 = load i32, ptr %22, align 4 %375 = load i32, ptr %13, align 4 %376 = icmp ugt i32 %374, %375 br i1 %376, label %360, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %371 br label %377 377: ; preds = %._crit_edge, %354 %378 = load i32, ptr %12, align 4 %379 = trunc i32 %378 to i8 %380 = load ptr, ptr %9, align 8 %381 = load i32, ptr %13, align 4 %382 = add nsw i32 %381, 1 store i32 %382, ptr %13, align 4 %383 = sext i32 %381 to i64 %384 = getelementptr inbounds i8, ptr %380, i64 %383 store i8 %379, ptr %384, align 1 %385 = load i32, ptr %15, align 4 %386 = load i32, ptr %16, align 4 %387 = icmp eq i32 %385, %386 br i1 %387, label %388, label %391 388: ; preds = %377 %389 = load i32, ptr %14, align 4 %390 = add nsw i32 %389, 1 store i32 %390, ptr %14, align 4 br label %394 391: ; preds = %377 %392 = load i32, ptr %15, align 4 %393 = add nsw i32 %392, 1 store i32 %393, ptr %15, align 4 br label %394 394: ; preds = %391, %388 br label %395 395: ; preds = %394, %345 br label %396 396: ; preds = %395, %341 br label %397 397: ; preds = %396, %340 br label %398 398: ; preds = %397, %291 br label %399 399: ; preds = %398 br label %400 400: ; preds = %399, %220 br label %401 401: ; preds = %400, %166 br label %402 402: ; preds = %401, %127 br label %403 403: ; preds = %402, %101 br label %404 404: ; preds = %403 br label %35 405: ; preds = %285, %74, %33 %406 = load i32, ptr %6, align 4 ret i32 %406 } declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @addnstr(ptr noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @get_key(i32 noundef, i32 noundef) #1 declare i32 @KEY_F(i32 noundef) #1 declare i64 @isprint(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpeu667070.c' source_filename = "/tmp/tmpeu667070.c" target datalayout = "e-m:e-p270: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.createUser.filePath = private unnamed_addr constant <{ [8 x i8], [42 x i8] }> <{ [8 x i8] c"records/", [42 x i8] zeroinitializer }>, align 16 @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Enter Username: \00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Enter Password: \00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Enter Permission level: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"logins\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c" %i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @createUser() #0 { %1 = alloca [20 x i8], align 16 %2 = alloca [20 x i8], align 16 %3 = alloca [10 x i8], align 1 %4 = alloca [33 x i8], align 16 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %10 = call i32 @initializeString(ptr noundef %9, i32 noundef 20) %11 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @initializeString(ptr noundef %11, i32 noundef 20) %13 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @initializeString(ptr noundef %13, i32 noundef 10) %15 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @initializeString(ptr noundef %15, i32 noundef 33) %17 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @generateUUID(ptr noundef %17) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.createUser.filePath, i64 50, i1 false) store i32 -1, ptr %6, align 4 %19 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %20 = load i32, ptr @stdin, align 4 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 20, i32 noundef %20) %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %0 br label %24 24: ; preds = %23, %0 %25 = call i32 @printf(ptr noundef @.str) %26 = load i32, ptr @stdin, align 4 %27 = load i32, ptr @SEEK_END, align 4 %28 = call i64 @fseek(i32 noundef %26, i32 noundef 0, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %24 br label %31 31: ; preds = %30, %24 %32 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %33 = load i32, ptr @stdin, align 4 %34 = call ptr @fgets(ptr noundef %32, i32 noundef 20, i32 noundef %33) %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %31 br label %37 37: ; preds = %36, %31 %38 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %39 = call i32 @sanitizeInput(ptr noundef %38, i32 noundef 20) %40 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %41 = call i32 @sanitizeSpace(ptr noundef %40, i32 noundef 20) %42 = call i32 @printf(ptr noundef @.str.1) %43 = load i32, ptr @stdin, align 4 %44 = load i32, ptr @SEEK_END, align 4 %45 = call i64 @fseek(i32 noundef %43, i32 noundef 0, i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %37 %49 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %50 = load i32, ptr @stdin, align 4 %51 = call ptr @fgets(ptr noundef %49, i32 noundef 20, i32 noundef %50) %52 = icmp eq ptr %51, null br i1 %52, label %53, label %54 53: ; preds = %48 br label %54 54: ; preds = %53, %48 %55 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %56 = call i32 @sanitizeInput(ptr noundef %55, i32 noundef 20) %57 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %58 = call i32 @sanitizeSpace(ptr noundef %57, i32 noundef 20) br label %59 59: ; preds = %80, %54 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %59 %63 = load i32, ptr %6, align 4 %64 = icmp sgt i32 %63, 5 br label %65 65: ; preds = %62, %59 %66 = phi i1 [ true, %59 ], [ %64, %62 ] br i1 %66, label %67, label %87 67: ; preds = %65 %68 = call i32 @printf(ptr noundef @.str.2) %69 = load i32, ptr @stdin, align 4 %70 = load i32, ptr @SEEK_END, align 4 %71 = call i64 @fseek(i32 noundef %69, i32 noundef 0, i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %74 73: ; preds = %67 br label %74 74: ; preds = %73, %67 %75 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %76 = load i32, ptr @stdin, align 4 %77 = call ptr @fgets(ptr noundef %75, i32 noundef 10, i32 noundef %76) %78 = icmp eq ptr %77, null br i1 %78, label %79, label %80 79: ; preds = %74 br label %80 80: ; preds = %79, %74 %81 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %82 = call i32 @sanitizeInput(ptr noundef %81, i32 noundef 1) %83 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = sub nsw i32 %85, 48 store i32 %86, ptr %6, align 4 br label %59, !llvm.loop !6 87: ; preds = %65 %88 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %89 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %90 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef 33) %91 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %92 = call ptr @fopen(ptr noundef %91, ptr noundef @.str.3) store ptr %92, ptr %7, align 8 %93 = load ptr, ptr %7, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %95, ptr %8, align 8 %96 = load ptr, ptr %8, align 8 %97 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.6, ptr noundef %97) %99 = load ptr, ptr %8, align 8 %100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.7, ptr noundef %100) %102 = load ptr, ptr %8, align 8 %103 = load i32, ptr %6, align 4 %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.8, i32 noundef %103) %105 = load ptr, ptr %8, align 8 %106 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.7, ptr noundef %106) %108 = load ptr, ptr %8, align 8 %109 = call i32 @fclose(ptr noundef %108) ret void } declare i32 @initializeString(ptr noundef, i32 noundef) #1 declare i32 @generateUUID(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sanitizeInput(ptr noundef, i32 noundef) #1 declare i32 @sanitizeSpace(ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpeu667070.c" target datalayout = "e-m:e-p270: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.createUser.filePath = private unnamed_addr constant <{ [8 x i8], [42 x i8] }> <{ [8 x i8] c"records/", [42 x i8] zeroinitializer }>, align 16 @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Enter Username: \00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Enter Password: \00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Enter Permission level: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"logins\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c" %i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @createUser() #0 { %1 = alloca [20 x i8], align 16 %2 = alloca [20 x i8], align 16 %3 = alloca [10 x i8], align 1 %4 = alloca [33 x i8], align 16 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %10 = call i32 @initializeString(ptr noundef %9, i32 noundef 20) %11 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @initializeString(ptr noundef %11, i32 noundef 20) %13 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @initializeString(ptr noundef %13, i32 noundef 10) %15 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @initializeString(ptr noundef %15, i32 noundef 33) %17 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @generateUUID(ptr noundef %17) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.createUser.filePath, i64 50, i1 false) store i32 -1, ptr %6, align 4 %19 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %20 = load i32, ptr @stdin, align 4 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 20, i32 noundef %20) %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %0 br label %24 24: ; preds = %23, %0 %25 = call i32 @printf(ptr noundef @.str) %26 = load i32, ptr @stdin, align 4 %27 = load i32, ptr @SEEK_END, align 4 %28 = call i64 @fseek(i32 noundef %26, i32 noundef 0, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %24 br label %31 31: ; preds = %30, %24 %32 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %33 = load i32, ptr @stdin, align 4 %34 = call ptr @fgets(ptr noundef %32, i32 noundef 20, i32 noundef %33) %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %31 br label %37 37: ; preds = %36, %31 %38 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %39 = call i32 @sanitizeInput(ptr noundef %38, i32 noundef 20) %40 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %41 = call i32 @sanitizeSpace(ptr noundef %40, i32 noundef 20) %42 = call i32 @printf(ptr noundef @.str.1) %43 = load i32, ptr @stdin, align 4 %44 = load i32, ptr @SEEK_END, align 4 %45 = call i64 @fseek(i32 noundef %43, i32 noundef 0, i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %37 %49 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %50 = load i32, ptr @stdin, align 4 %51 = call ptr @fgets(ptr noundef %49, i32 noundef 20, i32 noundef %50) %52 = icmp eq ptr %51, null br i1 %52, label %53, label %54 53: ; preds = %48 br label %54 54: ; preds = %53, %48 %55 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %56 = call i32 @sanitizeInput(ptr noundef %55, i32 noundef 20) %57 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %58 = call i32 @sanitizeSpace(ptr noundef %57, i32 noundef 20) br label %59 59: ; preds = %80, %54 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %59 %63 = load i32, ptr %6, align 4 %64 = icmp sgt i32 %63, 5 br label %65 65: ; preds = %62, %59 %66 = phi i1 [ true, %59 ], [ %64, %62 ] br i1 %66, label %67, label %87 67: ; preds = %65 %68 = call i32 @printf(ptr noundef @.str.2) %69 = load i32, ptr @stdin, align 4 %70 = load i32, ptr @SEEK_END, align 4 %71 = call i64 @fseek(i32 noundef %69, i32 noundef 0, i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %74 73: ; preds = %67 br label %74 74: ; preds = %73, %67 %75 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %76 = load i32, ptr @stdin, align 4 %77 = call ptr @fgets(ptr noundef %75, i32 noundef 10, i32 noundef %76) %78 = icmp eq ptr %77, null br i1 %78, label %79, label %80 79: ; preds = %74 br label %80 80: ; preds = %79, %74 %81 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %82 = call i32 @sanitizeInput(ptr noundef %81, i32 noundef 1) %83 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = sub nsw i32 %85, 48 store i32 %86, ptr %6, align 4 br label %59, !llvm.loop !6 87: ; preds = %65 %88 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %89 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %90 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef 33) %91 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %92 = call ptr @fopen(ptr noundef %91, ptr noundef @.str.3) store ptr %92, ptr %7, align 8 %93 = load ptr, ptr %7, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %95, ptr %8, align 8 %96 = load ptr, ptr %8, align 8 %97 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.6, ptr noundef %97) %99 = load ptr, ptr %8, align 8 %100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.7, ptr noundef %100) %102 = load ptr, ptr %8, align 8 %103 = load i32, ptr %6, align 4 %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.8, i32 noundef %103) %105 = load ptr, ptr %8, align 8 %106 = getelementptr inbounds [33 x i8], ptr %4, i64 0, i64 0 %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.7, ptr noundef %106) %108 = load ptr, ptr %8, align 8 %109 = call i32 @fclose(ptr noundef %108) ret void } declare i32 @initializeString(ptr noundef, i32 noundef) #1 declare i32 @generateUUID(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sanitizeInput(ptr noundef, i32 noundef) #1 declare i32 @sanitizeSpace(ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpu6ind3fh.c' source_filename = "/tmp/tmpu6ind3fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"using default import and export\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_IMPORT=0\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_EXPORT=0\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"using minimalistic import and default export\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_IMPORT=1\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"using default import and minimalistic export\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_EXPORT=1\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"using minimalistic import and export\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @putenv(ptr noundef @.str.1) %5 = call i32 @putenv(ptr noundef @.str.2) %6 = call i32 (...) @one_test() store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = load i32, ptr %2, align 4 store i32 %10, ptr %1, align 4 br label %39 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.3) %13 = call i32 @putenv(ptr noundef @.str.4) %14 = call i32 @putenv(ptr noundef @.str.2) %15 = call i32 (...) @one_test() store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %11 %19 = load i32, ptr %2, align 4 store i32 %19, ptr %1, align 4 br label %39 20: ; preds = %11 %21 = call i32 @printf(ptr noundef @.str.5) %22 = call i32 @putenv(ptr noundef @.str.1) %23 = call i32 @putenv(ptr noundef @.str.6) %24 = call i32 (...) @one_test() store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %1, align 4 br label %39 29: ; preds = %20 %30 = call i32 @printf(ptr noundef @.str.7) %31 = call i32 @putenv(ptr noundef @.str.4) %32 = call i32 @putenv(ptr noundef @.str.6) %33 = call i32 (...) @one_test() store i32 %33, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %1, align 4 br label %39 38: ; preds = %29 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %36, %27, %18, %9 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @printf(ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @one_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6ind3fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"using default import and export\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_IMPORT=0\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_EXPORT=0\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"using minimalistic import and default export\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_IMPORT=1\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"using default import and minimalistic export\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"HWLOC_NO_LIBXML_EXPORT=1\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"using minimalistic import and export\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @putenv(ptr noundef @.str.1) %5 = call i32 @putenv(ptr noundef @.str.2) %6 = call i32 (...) @one_test() store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = load i32, ptr %2, align 4 store i32 %10, ptr %1, align 4 br label %39 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.3) %13 = call i32 @putenv(ptr noundef @.str.4) %14 = call i32 @putenv(ptr noundef @.str.2) %15 = call i32 (...) @one_test() store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %11 %19 = load i32, ptr %2, align 4 store i32 %19, ptr %1, align 4 br label %39 20: ; preds = %11 %21 = call i32 @printf(ptr noundef @.str.5) %22 = call i32 @putenv(ptr noundef @.str.1) %23 = call i32 @putenv(ptr noundef @.str.6) %24 = call i32 (...) @one_test() store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %1, align 4 br label %39 29: ; preds = %20 %30 = call i32 @printf(ptr noundef @.str.7) %31 = call i32 @putenv(ptr noundef @.str.4) %32 = call i32 @putenv(ptr noundef @.str.6) %33 = call i32 (...) @one_test() store i32 %33, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %1, align 4 br label %39 38: ; preds = %29 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %36, %27, %18, %9 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @printf(ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @one_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl24cmm2h.c' source_filename = "/tmp/tmpl24cmm2h.c" target datalayout = "e-m:e-p270: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.iovec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @iovec_free(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %27, %2 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %8, align 4 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %30 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds %struct.iovec, ptr %13, i64 %15 %17 = getelementptr inbounds %struct.iovec, ptr %16, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds %struct.iovec, ptr %20, i64 %22 %24 = getelementptr inbounds %struct.iovec, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @munmap(i32 noundef %18, i32 noundef %25) br label %27 27: ; preds = %11 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %6, !llvm.loop !6 30: ; preds = %6 %31 = load ptr, ptr %3, align 8 store i32 0, ptr %31, align 4 ret void } declare i32 @munmap(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl24cmm2h.c" target datalayout = "e-m:e-p270: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.iovec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @iovec_free(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %26 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds %struct.iovec, ptr %12, i64 %14 %16 = getelementptr inbounds %struct.iovec, ptr %15, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds %struct.iovec, ptr %19, i64 %21 %23 = getelementptr inbounds %struct.iovec, ptr %22, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = call i32 @munmap(i32 noundef %17, i32 noundef %24) br label %26 26: ; preds = %10 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %29, %31 br i1 %32, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %3, align 8 store i32 0, ptr %34, align 4 ret void } declare i32 @munmap(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn9ack3si.c' source_filename = "/tmp/tmpn9ack3si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"timer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @timer(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @SIGALRM, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn9ack3si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"timer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @timer(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @SIGALRM, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnvlbzpzf.c' source_filename = "/tmp/tmpnvlbzpzf.c" target datalayout = "e-m:e-p270: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/tmpnvlbzpzf.c" target datalayout = "e-m:e-p270: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/tmp4uzkkv2f.c' source_filename = "/tmp/tmp4uzkkv2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Unexpected Error Case.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @split(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 br label %12 12: ; preds = %15, %11 %13 = call i32 @wait(ptr noundef %8) store i32 %13, ptr %7, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 br label %12, !llvm.loop !6 16: ; preds = %12 br label %19 17: ; preds = %2 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %3, align 4 br label %60 19: ; preds = %16 %20 = load i32, ptr %8, align 4 %21 = call i64 @WIFEXITED(i32 noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = call i64 @WEXITSTATUS(i32 noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %23 br label %30 30: ; preds = %29 br label %34 31: ; preds = %19 %32 = call i32 @printf(ptr noundef @.str) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %30 %35 = call i32 (...) @fork() store i32 %35, ptr %6, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %34 br label %38 38: ; preds = %41, %37 %39 = call i32 @wait(ptr noundef %8) store i32 %39, ptr %7, align 4 %40 = icmp sgt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 br label %38, !llvm.loop !8 42: ; preds = %38 br label %45 43: ; preds = %34 %44 = load i32, ptr %5, align 4 store i32 %44, ptr %3, align 4 br label %60 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = call i64 @WIFEXITED(i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %57 49: ; preds = %45 %50 = load i32, ptr %8, align 4 %51 = call i64 @WEXITSTATUS(i32 noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @exit(i32 noundef 0) #3 unreachable 55: ; preds = %49 %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %45 %58 = call i32 @printf(ptr noundef @.str) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %43, %17 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @fork(...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmp4uzkkv2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Unexpected Error Case.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @split(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %2 br label %12 12: ; preds = %12, %11 %13 = call i32 @wait(ptr noundef %8) store i32 %13, ptr %7, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %12, label %15, !llvm.loop !6 15: ; preds = %12 br label %18 16: ; preds = %2 %17 = load i32, ptr %4, align 4 store i32 %17, ptr %3, align 4 br label %58 18: ; preds = %15 %19 = load i32, ptr %8, align 4 %20 = call i64 @WIFEXITED(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = call i64 @WEXITSTATUS(i32 noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @exit(i32 noundef 0) #3 unreachable 28: ; preds = %22 br label %29 29: ; preds = %28 br label %33 30: ; preds = %18 %31 = call i32 @printf(ptr noundef @.str) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %29 %34 = call i32 (...) @fork() store i32 %34, ptr %6, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %33 br label %37 37: ; preds = %37, %36 %38 = call i32 @wait(ptr noundef %8) store i32 %38, ptr %7, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %37, label %40, !llvm.loop !8 40: ; preds = %37 br label %43 41: ; preds = %33 %42 = load i32, ptr %5, align 4 store i32 %42, ptr %3, align 4 br label %58 43: ; preds = %40 %44 = load i32, ptr %8, align 4 %45 = call i64 @WIFEXITED(i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %55 47: ; preds = %43 %48 = load i32, ptr %8, align 4 %49 = call i64 @WEXITSTATUS(i32 noundef %48) %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 @exit(i32 noundef 0) #3 unreachable 53: ; preds = %47 %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %43 %56 = call i32 @printf(ptr noundef @.str) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %41, %16 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @fork(...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmp5hsgmdex.c' source_filename = "/tmp/tmp5hsgmdex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parse_window\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"You see that \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" is at \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_window(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @DEBUG(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i64 @strncmp(ptr noundef %5, ptr noundef @.str.1, i32 noundef 12) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %25 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 12 %12 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @get_string(ptr noundef %11, ptr noundef %12, i32 noundef 256) %14 = load ptr, ptr %2, align 8 %15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.2) store ptr %15, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %9 br label %25 19: ; preds = %9 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 7 store ptr %21, ptr %2, align 8 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @locate_room(ptr noundef %22, i32 noundef 1, ptr noundef %23) br label %25 25: ; preds = %19, %18, %8 ret void } declare i32 @DEBUG(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_string(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @locate_room(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5hsgmdex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parse_window\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"You see that \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" is at \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_window(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @DEBUG(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i64 @strncmp(ptr noundef %5, ptr noundef @.str.1, i32 noundef 12) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %25 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 12 %12 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @get_string(ptr noundef %11, ptr noundef %12, i32 noundef 256) %14 = load ptr, ptr %2, align 8 %15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.2) store ptr %15, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %9 br label %25 19: ; preds = %9 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 7 store ptr %21, ptr %2, align 8 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @locate_room(ptr noundef %22, i32 noundef 1, ptr noundef %23) br label %25 25: ; preds = %19, %18, %8 ret void } declare i32 @DEBUG(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_string(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @locate_room(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk7m16rdt.c' source_filename = "/tmp/tmpk7m16rdt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"/device\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcislot_scsi_host(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %5, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @readlink(ptr noundef %7, ptr noundef %8, i32 noundef 253) store i32 %9, ptr %6, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str.1) %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @readlink(ptr noundef %14, ptr noundef %15, i32 noundef 253) store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %11, %1 %18 = load i32, ptr %6, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %57 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %22 store i8 0, ptr %23, align 1 %24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 47) store ptr %25, ptr %4, align 8 br label %26 26: ; preds = %42, %20 %27 = load ptr, ptr %4, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %45 29: ; preds = %26 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %4, align 8 store i8 0, ptr %30, align 1 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sge i32 %34, 48 br i1 %35, label %36, label %42 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sle i32 %39, 57 br i1 %40, label %41, label %42 41: ; preds = %36 br label %45 42: ; preds = %36, %29 %43 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %44 = call ptr @strrchr(ptr noundef %43, i8 noundef signext 47) store ptr %44, ptr %4, align 8 br label %26, !llvm.loop !6 45: ; preds = %41, %26 %46 = load ptr, ptr %4, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %56 48: ; preds = %45 %49 = load ptr, ptr %4, align 8 store ptr %49, ptr %5, align 8 %50 = load ptr, ptr %4, align 8 %51 = call ptr @strrchr(ptr noundef %50, i8 noundef signext 46) store ptr %51, ptr %4, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %55 53: ; preds = %48 %54 = load ptr, ptr %4, align 8 store i8 0, ptr %54, align 1 br label %55 55: ; preds = %53, %48 br label %56 56: ; preds = %55, %45 br label %57 57: ; preds = %56, %17 %58 = load ptr, ptr %5, align 8 %59 = call i32 @getPCIslot_str(ptr noundef %58) ret i32 %59 } declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @getPCIslot_str(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk7m16rdt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"/device\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcislot_scsi_host(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %5, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @readlink(ptr noundef %7, ptr noundef %8, i32 noundef 253) store i32 %9, ptr %6, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str.1) %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @readlink(ptr noundef %14, ptr noundef %15, i32 noundef 253) store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %11, %1 %18 = load i32, ptr %6, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %58 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %22 store i8 0, ptr %23, align 1 %24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 47) store ptr %25, ptr %4, align 8 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %20 br label %28 28: ; preds = %.lr.ph, %41 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %4, align 8 store i8 0, ptr %29, align 1 %31 = load ptr, ptr %4, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 48 br i1 %34, label %35, label %41 35: ; preds = %28 %36 = load ptr, ptr %4, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sle i32 %38, 57 br i1 %39, label %40, label %41 40: ; preds = %35 br label %46 41: ; preds = %35, %28 %42 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %43 = call ptr @strrchr(ptr noundef %42, i8 noundef signext 47) store ptr %43, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %41 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %20 br label %46 46: ; preds = %.loopexit, %40 %47 = load ptr, ptr %4, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %57 49: ; preds = %46 %50 = load ptr, ptr %4, align 8 store ptr %50, ptr %5, align 8 %51 = load ptr, ptr %4, align 8 %52 = call ptr @strrchr(ptr noundef %51, i8 noundef signext 46) store ptr %52, ptr %4, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %56 54: ; preds = %49 %55 = load ptr, ptr %4, align 8 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %54, %49 br label %57 57: ; preds = %56, %46 br label %58 58: ; preds = %57, %17 %59 = load ptr, ptr %5, align 8 %60 = call i32 @getPCIslot_str(ptr noundef %59) ret i32 %60 } declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @getPCIslot_str(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1ktfqb1t.c' source_filename = "/tmp/tmp1ktfqb1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"To enter the triskaidekaphobia therapy club, \0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"please enter the secret code number: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Congratulations! You are cured!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 13 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = call i32 @printf(ptr noundef @.str) %12 = call i32 @printf(ptr noundef @.str.1) %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) br label %7, !llvm.loop !6 14: ; preds = %7 %15 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ktfqb1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"To enter the triskaidekaphobia therapy club, \0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"please enter the secret code number: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Congratulations! You are cured!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 13 br i1 %8, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 13 br i1 %14, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %0 %16 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx9csobf3.c' source_filename = "/tmp/tmpx9csobf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeNewLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %14, %1 %21 = load i32, ptr %3, align 4 ret i32 %21 } 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/tmpx9csobf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeNewLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %14, %1 %21 = load i32, ptr %3, align 4 ret i32 %21 } 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/tmp3m7ux1l3.c' source_filename = "/tmp/tmp3m7ux1l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swt2_output4_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12) #0 { %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 store ptr %0, ptr %14, align 8 store i32 %1, ptr %15, align 4 store i32 %2, ptr %16, align 4 store ptr %3, ptr %17, align 8 store ptr %4, ptr %18, align 8 store ptr %5, ptr %19, align 8 store ptr %6, ptr %20, align 8 store i32 %7, ptr %21, align 4 store i32 %8, ptr %22, align 4 store ptr %9, ptr %23, align 8 store ptr %10, ptr %24, align 8 store i32 %11, ptr %25, align 4 store i32 %12, ptr %26, align 4 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %16, align 4 %32 = mul nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call ptr @malloc(i32 noundef %35) store ptr %36, ptr %28, align 8 %37 = load i32, ptr %15, align 4 %38 = load i32, ptr %16, align 4 %39 = mul nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 8 %42 = trunc i64 %41 to i32 %43 = call ptr @malloc(i32 noundef %42) store ptr %43, ptr %29, align 8 %44 = load ptr, ptr %14, align 8 %45 = load i32, ptr %16, align 4 %46 = load i32, ptr %15, align 4 %47 = load ptr, ptr %28, align 8 %48 = load i32, ptr %15, align 4 %49 = load i32, ptr %16, align 4 %50 = call i32 @matrix_tran(ptr noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49) store i32 0, ptr %27, align 4 br label %51 51: ; preds = %114, %13 %52 = load i32, ptr %27, align 4 %53 = load i32, ptr %26, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %117 55: ; preds = %51 %56 = load ptr, ptr %28, align 8 %57 = load i32, ptr %15, align 4 %58 = load i32, ptr %16, align 4 %59 = load ptr, ptr %29, align 8 %60 = load ptr, ptr %18, align 8 %61 = load i32, ptr %27, align 4 %62 = load i32, ptr %15, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %16, align 4 %65 = mul nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %60, i64 %66 %68 = load ptr, ptr %19, align 8 %69 = load i32, ptr %27, align 4 %70 = load i32, ptr %15, align 4 %71 = mul nsw i32 %69, %70 %72 = load i32, ptr %16, align 4 %73 = mul nsw i32 %71, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %68, i64 %74 %76 = load ptr, ptr %20, align 8 %77 = load i32, ptr %27, align 4 %78 = load i32, ptr %15, align 4 %79 = mul nsw i32 %77, %78 %80 = load i32, ptr %16, align 4 %81 = mul nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %76, i64 %82 %84 = load i32, ptr %21, align 4 %85 = load i32, ptr %22, align 4 %86 = load ptr, ptr %23, align 8 %87 = load ptr, ptr %24, align 8 %88 = load i32, ptr %25, align 4 %89 = load i32, ptr %27, align 4 %90 = call i32 @swt2_output4(ptr noundef %56, i32 noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %67, ptr noundef %75, ptr noundef %83, i32 noundef %84, i32 noundef %85, ptr noundef %86, ptr noundef %87, i32 noundef %88, i32 noundef %89) %91 = load ptr, ptr %29, align 8 %92 = load i32, ptr %15, align 4 %93 = load i32, ptr %16, align 4 %94 = mul nsw i32 %92, %93 %95 = load ptr, ptr %17, align 8 %96 = load i32, ptr %27, align 4 %97 = load i32, ptr %15, align 4 %98 = mul nsw i32 %96, %97 %99 = load i32, ptr %16, align 4 %100 = mul nsw i32 %98, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %95, i64 %101 %103 = load i32, ptr %15, align 4 %104 = load i32, ptr %16, align 4 %105 = mul nsw i32 %103, %104 %106 = call i32 @verbatim_copy(ptr noundef %91, i32 noundef %94, ptr noundef %102, i32 noundef %105) %107 = load ptr, ptr %29, align 8 %108 = load i32, ptr %16, align 4 %109 = load i32, ptr %15, align 4 %110 = load ptr, ptr %28, align 8 %111 = load i32, ptr %15, align 4 %112 = load i32, ptr %16, align 4 %113 = call i32 @matrix_tran(ptr noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %110, i32 noundef %111, i32 noundef %112) br label %114 114: ; preds = %55 %115 = load i32, ptr %27, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %27, align 4 br label %51, !llvm.loop !6 117: ; preds = %51 %118 = load ptr, ptr %29, align 8 %119 = call i32 @free(ptr noundef %118) %120 = load ptr, ptr %28, align 8 %121 = call i32 @free(ptr noundef %120) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @swt2_output4(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @verbatim_copy(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3m7ux1l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swt2_output4_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12) #0 { %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 store ptr %0, ptr %14, align 8 store i32 %1, ptr %15, align 4 store i32 %2, ptr %16, align 4 store ptr %3, ptr %17, align 8 store ptr %4, ptr %18, align 8 store ptr %5, ptr %19, align 8 store ptr %6, ptr %20, align 8 store i32 %7, ptr %21, align 4 store i32 %8, ptr %22, align 4 store ptr %9, ptr %23, align 8 store ptr %10, ptr %24, align 8 store i32 %11, ptr %25, align 4 store i32 %12, ptr %26, align 4 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %16, align 4 %32 = mul nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call ptr @malloc(i32 noundef %35) store ptr %36, ptr %28, align 8 %37 = load i32, ptr %15, align 4 %38 = load i32, ptr %16, align 4 %39 = mul nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 8 %42 = trunc i64 %41 to i32 %43 = call ptr @malloc(i32 noundef %42) store ptr %43, ptr %29, align 8 %44 = load ptr, ptr %14, align 8 %45 = load i32, ptr %16, align 4 %46 = load i32, ptr %15, align 4 %47 = load ptr, ptr %28, align 8 %48 = load i32, ptr %15, align 4 %49 = load i32, ptr %16, align 4 %50 = call i32 @matrix_tran(ptr noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49) store i32 0, ptr %27, align 4 %51 = load i32, ptr %27, align 4 %52 = load i32, ptr %26, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph, label %119 .lr.ph: ; preds = %13 br label %54 54: ; preds = %.lr.ph, %113 %55 = load ptr, ptr %28, align 8 %56 = load i32, ptr %15, align 4 %57 = load i32, ptr %16, align 4 %58 = load ptr, ptr %29, align 8 %59 = load ptr, ptr %18, align 8 %60 = load i32, ptr %27, align 4 %61 = load i32, ptr %15, align 4 %62 = mul nsw i32 %60, %61 %63 = load i32, ptr %16, align 4 %64 = mul nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %59, i64 %65 %67 = load ptr, ptr %19, align 8 %68 = load i32, ptr %27, align 4 %69 = load i32, ptr %15, align 4 %70 = mul nsw i32 %68, %69 %71 = load i32, ptr %16, align 4 %72 = mul nsw i32 %70, %71 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %67, i64 %73 %75 = load ptr, ptr %20, align 8 %76 = load i32, ptr %27, align 4 %77 = load i32, ptr %15, align 4 %78 = mul nsw i32 %76, %77 %79 = load i32, ptr %16, align 4 %80 = mul nsw i32 %78, %79 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %75, i64 %81 %83 = load i32, ptr %21, align 4 %84 = load i32, ptr %22, align 4 %85 = load ptr, ptr %23, align 8 %86 = load ptr, ptr %24, align 8 %87 = load i32, ptr %25, align 4 %88 = load i32, ptr %27, align 4 %89 = call i32 @swt2_output4(ptr noundef %55, i32 noundef %56, i32 noundef %57, ptr noundef %58, ptr noundef %66, ptr noundef %74, ptr noundef %82, i32 noundef %83, i32 noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88) %90 = load ptr, ptr %29, align 8 %91 = load i32, ptr %15, align 4 %92 = load i32, ptr %16, align 4 %93 = mul nsw i32 %91, %92 %94 = load ptr, ptr %17, align 8 %95 = load i32, ptr %27, align 4 %96 = load i32, ptr %15, align 4 %97 = mul nsw i32 %95, %96 %98 = load i32, ptr %16, align 4 %99 = mul nsw i32 %97, %98 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %94, i64 %100 %102 = load i32, ptr %15, align 4 %103 = load i32, ptr %16, align 4 %104 = mul nsw i32 %102, %103 %105 = call i32 @verbatim_copy(ptr noundef %90, i32 noundef %93, ptr noundef %101, i32 noundef %104) %106 = load ptr, ptr %29, align 8 %107 = load i32, ptr %16, align 4 %108 = load i32, ptr %15, align 4 %109 = load ptr, ptr %28, align 8 %110 = load i32, ptr %15, align 4 %111 = load i32, ptr %16, align 4 %112 = call i32 @matrix_tran(ptr noundef %106, i32 noundef %107, i32 noundef %108, ptr noundef %109, i32 noundef %110, i32 noundef %111) br label %113 113: ; preds = %54 %114 = load i32, ptr %27, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %27, align 4 %116 = load i32, ptr %27, align 4 %117 = load i32, ptr %26, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %113 br label %119 119: ; preds = %._crit_edge, %13 %120 = load ptr, ptr %29, align 8 %121 = call i32 @free(ptr noundef %120) %122 = load ptr, ptr %28, align 8 %123 = call i32 @free(ptr noundef %122) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @swt2_output4(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @verbatim_copy(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsea2vje3.c' source_filename = "/tmp/tmpsea2vje3.c" target datalayout = "e-m:e-p270: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.v = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [10 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.v, i64 40, i1 false) store i32 10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %28, %2 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %31 15: ; preds = %11 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %15 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 store i32 %26, ptr %8, align 4 br label %27 27: ; preds = %22, %15 br label %28 28: ; preds = %27 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 br label %11, !llvm.loop !6 31: ; preds = %11 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %35 = call i32 @counting_sort(i32 noundef %32, i32 noundef %33, ptr noundef %34) store i32 0, ptr %10, align 4 br label %36 36: ; preds = %46, %31 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %49 40: ; preds = %36 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) br label %46 46: ; preds = %40 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %36, !llvm.loop !8 49: ; preds = %36 %50 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %50 } ; 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 @counting_sort(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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/tmpsea2vje3.c" target datalayout = "e-m:e-p270: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.v = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [10 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.v, i64 40, i1 false) store i32 10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %27 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %14 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %21, %14 br label %27 27: ; preds = %26 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %37 = call i32 @counting_sort(i32 noundef %34, i32 noundef %35, ptr noundef %36) store i32 0, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %53 .lr.ph2: ; preds = %33 br label %41 41: ; preds = %.lr.ph2, %47 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %45) br label %47 47: ; preds = %41 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %33 %54 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %54 } ; 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 @counting_sort(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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/tmp_9crn50d.c' source_filename = "/tmp/tmp_9crn50d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Matrix_mult: incompatible size\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Matrix_mult3(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %18 = load i64, ptr %12, align 8 %19 = load i64, ptr %13, align 8 %20 = icmp ne i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %7 %22 = call i32 @error(ptr noundef @.str) br label %23 23: ; preds = %21, %7 %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %11, align 8 %26 = mul i64 8, %25 %27 = load i64, ptr %14, align 8 %28 = mul i64 %26, %27 %29 = trunc i64 %28 to i32 %30 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %29) store i64 0, ptr %15, align 8 br label %31 31: ; preds = %78, %23 %32 = load i64, ptr %15, align 8 %33 = load i64, ptr %11, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %35, label %81 35: ; preds = %31 store i64 0, ptr %16, align 8 br label %36 36: ; preds = %74, %35 %37 = load i64, ptr %16, align 8 %38 = load i64, ptr %14, align 8 %39 = icmp ult i64 %37, %38 br i1 %39, label %40, label %77 40: ; preds = %36 store i64 0, ptr %17, align 8 br label %41 41: ; preds = %70, %40 %42 = load i64, ptr %17, align 8 %43 = load i64, ptr %13, align 8 %44 = icmp ult i64 %42, %43 br i1 %44, label %45, label %73 45: ; preds = %41 %46 = load ptr, ptr %9, align 8 %47 = load i64, ptr %15, align 8 %48 = getelementptr inbounds ptr, ptr %46, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = load i64, ptr %17, align 8 %51 = getelementptr inbounds double, ptr %49, i64 %50 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %10, align 8 %54 = load i64, ptr %17, align 8 %55 = load i64, ptr %14, align 8 %56 = mul i64 %54, %55 %57 = load i64, ptr %16, align 8 %58 = add i64 %56, %57 %59 = getelementptr inbounds double, ptr %53, i64 %58 %60 = load double, ptr %59, align 8 %61 = load ptr, ptr %8, align 8 %62 = load i64, ptr %15, align 8 %63 = load i64, ptr %14, align 8 %64 = mul i64 %62, %63 %65 = load i64, ptr %16, align 8 %66 = add i64 %64, %65 %67 = getelementptr inbounds double, ptr %61, i64 %66 %68 = load double, ptr %67, align 8 %69 = call double @llvm.fmuladd.f64(double %52, double %60, double %68) store double %69, ptr %67, align 8 br label %70 70: ; preds = %45 %71 = load i64, ptr %17, align 8 %72 = add i64 %71, 1 store i64 %72, ptr %17, align 8 br label %41, !llvm.loop !6 73: ; preds = %41 br label %74 74: ; preds = %73 %75 = load i64, ptr %16, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %16, align 8 br label %36, !llvm.loop !8 77: ; preds = %36 br label %78 78: ; preds = %77 %79 = load i64, ptr %15, align 8 %80 = add i64 %79, 1 store i64 %80, ptr %15, align 8 br label %31, !llvm.loop !9 81: ; preds = %31 ret void } declare i32 @error(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_9crn50d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Matrix_mult: incompatible size\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Matrix_mult3(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %18 = load i64, ptr %12, align 8 %19 = load i64, ptr %13, align 8 %20 = icmp ne i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %7 %22 = call i32 @error(ptr noundef @.str) br label %23 23: ; preds = %21, %7 %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %11, align 8 %26 = mul i64 8, %25 %27 = load i64, ptr %14, align 8 %28 = mul i64 %26, %27 %29 = trunc i64 %28 to i32 %30 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %29) store i64 0, ptr %15, align 8 %31 = load i64, ptr %15, align 8 %32 = load i64, ptr %11, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %.lr.ph5, label %87 .lr.ph5: ; preds = %23 br label %34 34: ; preds = %.lr.ph5, %81 store i64 0, ptr %16, align 8 %35 = load i64, ptr %16, align 8 %36 = load i64, ptr %14, align 8 %37 = icmp ult i64 %35, %36 br i1 %37, label %.lr.ph2, label %80 .lr.ph2: ; preds = %34 br label %38 38: ; preds = %.lr.ph2, %74 store i64 0, ptr %17, align 8 %39 = load i64, ptr %17, align 8 %40 = load i64, ptr %13, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %.lr.ph, label %73 .lr.ph: ; preds = %38 br label %42 42: ; preds = %.lr.ph, %67 %43 = load ptr, ptr %9, align 8 %44 = load i64, ptr %15, align 8 %45 = getelementptr inbounds ptr, ptr %43, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i64, ptr %17, align 8 %48 = getelementptr inbounds double, ptr %46, i64 %47 %49 = load double, ptr %48, align 8 %50 = load ptr, ptr %10, align 8 %51 = load i64, ptr %17, align 8 %52 = load i64, ptr %14, align 8 %53 = mul i64 %51, %52 %54 = load i64, ptr %16, align 8 %55 = add i64 %53, %54 %56 = getelementptr inbounds double, ptr %50, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %8, align 8 %59 = load i64, ptr %15, align 8 %60 = load i64, ptr %14, align 8 %61 = mul i64 %59, %60 %62 = load i64, ptr %16, align 8 %63 = add i64 %61, %62 %64 = getelementptr inbounds double, ptr %58, i64 %63 %65 = load double, ptr %64, align 8 %66 = call double @llvm.fmuladd.f64(double %49, double %57, double %65) store double %66, ptr %64, align 8 br label %67 67: ; preds = %42 %68 = load i64, ptr %17, align 8 %69 = add i64 %68, 1 store i64 %69, ptr %17, align 8 %70 = load i64, ptr %17, align 8 %71 = load i64, ptr %13, align 8 %72 = icmp ult i64 %70, %71 br i1 %72, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %38 br label %74 74: ; preds = %73 %75 = load i64, ptr %16, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %16, align 8 %77 = load i64, ptr %16, align 8 %78 = load i64, ptr %14, align 8 %79 = icmp ult i64 %77, %78 br i1 %79, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %80 80: ; preds = %._crit_edge3, %34 br label %81 81: ; preds = %80 %82 = load i64, ptr %15, align 8 %83 = add i64 %82, 1 store i64 %83, ptr %15, align 8 %84 = load i64, ptr %15, align 8 %85 = load i64, ptr %11, align 8 %86 = icmp ult i64 %84, %85 br i1 %86, label %34, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %81 br label %87 87: ; preds = %._crit_edge6, %23 ret void } declare i32 @error(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnk57yg3p.c' source_filename = "/tmp/tmpnk57yg3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_buf_size_concrete_with_multiplication() #0 { %1 = alloca [3 x i16], align 2 %2 = getelementptr inbounds [3 x i16], ptr %1, i64 0, i64 0 %3 = call i32 @__buf_size_arg_constraint_mul(ptr noundef %2, i32 noundef 4, i32 noundef 2) ret void } declare i32 @__buf_size_arg_constraint_mul(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/tmpnk57yg3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_buf_size_concrete_with_multiplication() #0 { %1 = alloca [3 x i16], align 2 %2 = getelementptr inbounds [3 x i16], ptr %1, i64 0, i64 0 %3 = call i32 @__buf_size_arg_constraint_mul(ptr noundef %2, i32 noundef 4, i32 noundef 2) ret void } declare i32 @__buf_size_arg_constraint_mul(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/tmpxuejz5o_.c' source_filename = "/tmp/tmpxuejz5o_.c" target datalayout = "e-m:e-p270: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/tmpxuejz5o_.c" target datalayout = "e-m:e-p270: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/tmpiybhh5zj.c' source_filename = "/tmp/tmpiybhh5zj.c" target datalayout = "e-m:e-p270: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/tmpiybhh5zj.c" target datalayout = "e-m:e-p270: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/tmpdrg3a11c.c' source_filename = "/tmp/tmpdrg3a11c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIConfigHB8Set(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 1074593792 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %11, 256 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %5, align 8 %16 = and i64 %15, 256 %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 -2147483648, i32 0 %20 = load i64, ptr %5, align 8 %21 = and i64 %20, 2048 %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 67108864, i32 0 %25 = or i32 %19, %24 %26 = zext i32 %25 to i64 %27 = load i64, ptr %5, align 8 %28 = and i64 %27, 1536 %29 = shl i64 %28, 15 %30 = or i64 %26, %29 %31 = load i64, ptr %4, align 8 %32 = add i64 %31, 20 %33 = inttoptr i64 %32 to ptr store volatile i64 %30, ptr %33, align 8 %34 = load i64, ptr %5, align 8 %35 = and i64 %34, -65281 store i64 %35, ptr %5, align 8 %36 = load i64, ptr %6, align 8 %37 = shl i64 %36, 8 %38 = load i64, ptr %5, align 8 %39 = or i64 %38, %37 store i64 %39, ptr %5, align 8 %40 = load i64, ptr %5, align 8 %41 = load i64, ptr %4, align 8 %42 = add i64 %41, 16 %43 = inttoptr i64 %42 to ptr store volatile i64 %40, ptr %43, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrg3a11c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIConfigHB8Set(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 1074593792 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %11, 256 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %5, align 8 %16 = and i64 %15, 256 %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 -2147483648, i32 0 %20 = load i64, ptr %5, align 8 %21 = and i64 %20, 2048 %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 67108864, i32 0 %25 = or i32 %19, %24 %26 = zext i32 %25 to i64 %27 = load i64, ptr %5, align 8 %28 = and i64 %27, 1536 %29 = shl i64 %28, 15 %30 = or i64 %26, %29 %31 = load i64, ptr %4, align 8 %32 = add i64 %31, 20 %33 = inttoptr i64 %32 to ptr store volatile i64 %30, ptr %33, align 8 %34 = load i64, ptr %5, align 8 %35 = and i64 %34, -65281 store i64 %35, ptr %5, align 8 %36 = load i64, ptr %6, align 8 %37 = shl i64 %36, 8 %38 = load i64, ptr %5, align 8 %39 = or i64 %38, %37 store i64 %39, ptr %5, align 8 %40 = load i64, ptr %5, align 8 %41 = load i64, ptr %4, align 8 %42 = add i64 %41, 16 %43 = inttoptr i64 %42 to ptr store volatile i64 %40, ptr %43, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxa3x5qoq.c' source_filename = "/tmp/tmpxa3x5qoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"U_WMRA2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMRA2_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxa3x5qoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"U_WMRA2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMRA2_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0vuohvwg.c' source_filename = "/tmp/tmp0vuohvwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = add nsw i32 1, %4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 %8 = sdiv i32 %7, 2 %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0vuohvwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = add nsw i32 1, %4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 %8 = sdiv i32 %7, 2 %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm4ende2p.c' source_filename = "/tmp/tmpm4ende2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"EFN LED modules + EUG100 Ethernet to serial converter\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drv_EFN_list() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4ende2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"EFN LED modules + EUG100 Ethernet to serial converter\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drv_EFN_list() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoxahrnri.c' source_filename = "/tmp/tmpoxahrnri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_ParseOIDInfos() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %9, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 18 br i1 %4, label %5, label %12 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 787, %6 %8 = call i32 @CG_ParseOIDInfo(i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %1, align 4 br label %2, !llvm.loop !6 12: ; preds = %2 ret void } declare i32 @CG_ParseOIDInfo(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/tmpoxahrnri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_ParseOIDInfos() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 18 br i1 %3, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %8 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 787, %5 %7 = call i32 @CG_ParseOIDInfo(i32 noundef %6) br label %8 8: ; preds = %4 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = icmp slt i32 %11, 18 br i1 %12, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret void } declare i32 @CG_ParseOIDInfo(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/tmp21lps48p.c' source_filename = "/tmp/tmp21lps48p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"usage: %s <ttydev> <outfile> <start offset> <length>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp21lps48p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"usage: %s <ttydev> <outfile> <start offset> <length>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjdxf4l_7.c' source_filename = "/tmp/tmpjdxf4l_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_SNDTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"setsockopt: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @SO_SNDBUF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"setsockopt fail to change SNDbuf.\0A\00", align 1 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [15 x i8] c"Send timeout.\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Send errors!\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Send: disconnected.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_send(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %8, align 4 store i32 %17, ptr %12, align 4 %18 = load i32, ptr %9, align 4 %19 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %20, align 8 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr @SOL_SOCKET, align 4 %23 = load i32, ptr @SO_SNDTIMEO, align 4 %24 = call i32 @setsockopt(i32 noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %13, i32 noundef 16) store i32 %24, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %4 %28 = load i64, ptr @errno, align 8 %29 = call i32 @strerror(i64 noundef %28) %30 = call i32 (ptr, ...) @logcat(ptr noundef @.str, i32 noundef %29) store i32 -1, ptr %5, align 4 br label %89 31: ; preds = %4 store i32 65536, ptr %15, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr @SOL_SOCKET, align 4 %34 = load i32, ptr @SO_SNDBUF, align 4 %35 = call i32 @setsockopt(i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %15, i32 noundef 4) %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = call i32 (ptr, ...) @logcat(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %89 39: ; preds = %31 br label %40 40: ; preds = %39, %78, %86 %41 = load i32, ptr %6, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr @MSG_NOSIGNAL, align 4 %45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %65 48: ; preds = %40 %49 = load i64, ptr @errno, align 8 %50 = load i64, ptr @EINTR, align 8 %51 = icmp ne i64 %49, %50 br i1 %51, label %52, label %65 52: ; preds = %48 %53 = load i64, ptr @errno, align 8 %54 = load i64, ptr @EWOULDBLOCK, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %60, label %56 56: ; preds = %52 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EAGAIN, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56, %52 %61 = call i32 (ptr, ...) @logcat(ptr noundef @.str.2) br label %64 62: ; preds = %56 %63 = call i32 (ptr, ...) @logcat(ptr noundef @.str.3) br label %64 64: ; preds = %62, %60 store i32 -1, ptr %5, align 4 br label %89 65: ; preds = %48, %40 %66 = load i32, ptr %11, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 (ptr, ...) @logcat(ptr noundef @.str.4) store i32 0, ptr %5, align 4 br label %89 70: ; preds = %65 %71 = load i32, ptr %11, align 4 %72 = icmp sgt i32 %71, 0 br i1 %72, label %73, label %86 73: ; preds = %70 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sge i32 %74, %75 br i1 %76, label %77, label %78 77: ; preds = %73 br label %87 78: ; preds = %73 %79 = load i32, ptr %11, align 4 %80 = load ptr, ptr %10, align 8 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i8, ptr %80, i64 %81 store ptr %82, ptr %10, align 8 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %12, align 4 %85 = sub nsw i32 %84, %83 store i32 %85, ptr %12, align 4 br label %40 86: ; preds = %70 br label %40 87: ; preds = %77 %88 = load i32, ptr %8, align 4 store i32 %88, ptr %5, align 4 br label %89 89: ; preds = %87, %68, %64, %37, %27 %90 = load i32, ptr %5, align 4 ret i32 %90 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @logcat(ptr noundef, ...) #1 declare i32 @strerror(i64 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdxf4l_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_SNDTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"setsockopt: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @SO_SNDBUF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"setsockopt fail to change SNDbuf.\0A\00", align 1 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [15 x i8] c"Send timeout.\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Send errors!\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Send: disconnected.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_send(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %8, align 4 store i32 %17, ptr %12, align 4 %18 = load i32, ptr %9, align 4 %19 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %20, align 8 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr @SOL_SOCKET, align 4 %23 = load i32, ptr @SO_SNDTIMEO, align 4 %24 = call i32 @setsockopt(i32 noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %13, i32 noundef 16) store i32 %24, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %4 %28 = load i64, ptr @errno, align 8 %29 = call i32 @strerror(i64 noundef %28) %30 = call i32 (ptr, ...) @logcat(ptr noundef @.str, i32 noundef %29) store i32 -1, ptr %5, align 4 br label %89 31: ; preds = %4 store i32 65536, ptr %15, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr @SOL_SOCKET, align 4 %34 = load i32, ptr @SO_SNDBUF, align 4 %35 = call i32 @setsockopt(i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %15, i32 noundef 4) %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = call i32 (ptr, ...) @logcat(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %89 39: ; preds = %31 br label %40 40: ; preds = %.backedge, %39 %41 = load i32, ptr %6, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr @MSG_NOSIGNAL, align 4 %45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %65 48: ; preds = %40 %49 = load i64, ptr @errno, align 8 %50 = load i64, ptr @EINTR, align 8 %51 = icmp ne i64 %49, %50 br i1 %51, label %52, label %65 52: ; preds = %48 %53 = load i64, ptr @errno, align 8 %54 = load i64, ptr @EWOULDBLOCK, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %60, label %56 56: ; preds = %52 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EAGAIN, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56, %52 %61 = call i32 (ptr, ...) @logcat(ptr noundef @.str.2) br label %64 62: ; preds = %56 %63 = call i32 (ptr, ...) @logcat(ptr noundef @.str.3) br label %64 64: ; preds = %62, %60 store i32 -1, ptr %5, align 4 br label %89 65: ; preds = %48, %40 %66 = load i32, ptr %11, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 (ptr, ...) @logcat(ptr noundef @.str.4) store i32 0, ptr %5, align 4 br label %89 70: ; preds = %65 %71 = load i32, ptr %11, align 4 %72 = icmp sgt i32 %71, 0 br i1 %72, label %73, label %86 73: ; preds = %70 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sge i32 %74, %75 br i1 %76, label %77, label %78 77: ; preds = %73 br label %87 78: ; preds = %73 %79 = load i32, ptr %11, align 4 %80 = load ptr, ptr %10, align 8 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i8, ptr %80, i64 %81 store ptr %82, ptr %10, align 8 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %12, align 4 %85 = sub nsw i32 %84, %83 store i32 %85, ptr %12, align 4 br label %.backedge .backedge: ; preds = %78, %86 br label %40 86: ; preds = %70 br label %.backedge 87: ; preds = %77 %88 = load i32, ptr %8, align 4 store i32 %88, ptr %5, align 4 br label %89 89: ; preds = %87, %68, %64, %37, %27 %90 = load i32, ptr %5, align 4 ret i32 %90 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @logcat(ptr noundef, ...) #1 declare i32 @strerror(i64 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptl35sq9j.c' source_filename = "/tmp/tmptl35sq9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_AIO_LISTIO_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"_SC_AIO_LISTIO_MAX\00", align 1 @_SC_AIO_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"_SC_AIO_MAX\00", align 1 @_SC_AIO_PRIO_DELTA_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"_SC_AIO_PRIO_DELTA_MAX\00", align 1 @_SC_ARG_MAX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"_SC_ARG_MAX\00", align 1 @_SC_ATEXIT_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"_SC_ATEXIT_MAX\00", align 1 @_SC_BC_BASE_MAX = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"_SC_BC_BASE_MAX\00", align 1 @_SC_BC_DIM_MAX = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [15 x i8] c"_SC_BC_DIM_MAX\00", align 1 @_SC_BC_SCALE_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [17 x i8] c"_SC_BC_SCALE_MAX\00", align 1 @_SC_BC_STRING_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [18 x i8] c"_SC_BC_STRING_MAX\00", align 1 @_SC_CHILD_MAX = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [14 x i8] c"_SC_CHILD_MAX\00", align 1 @_SC_CLK_TCK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [12 x i8] c"_SC_CLK_TCK\00", align 1 @_SC_COLL_WEIGHTS_MAX = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [21 x i8] c"_SC_COLL_WEIGHTS_MAX\00", align 1 @_SC_DELAYTIMER_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [19 x i8] c"_SC_DELAYTIMER_MAX\00", align 1 @_SC_EXPR_NEST_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [18 x i8] c"_SC_EXPR_NEST_MAX\00", align 1 @_SC_HOST_NAME_MAX = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [18 x i8] c"_SC_HOST_NAME_MAX\00", align 1 @_SC_IOV_MAX = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [12 x i8] c"_SC_IOV_MAX\00", align 1 @_SC_LINE_MAX = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"_SC_LINE_MAX\00", align 1 @_SC_LOGIN_NAME_MAX = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [19 x i8] c"_SC_LOGIN_NAME_MAX\00", align 1 @_SC_NGROUPS_MAX = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [16 x i8] c"_SC_NGROUPS_MAX\00", align 1 @_SC_GETGR_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.19 = private unnamed_addr constant [21 x i8] c"_SC_GETGR_R_SIZE_MAX\00", align 1 @_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.20 = private unnamed_addr constant [21 x i8] c"_SC_GETPW_R_SIZE_MAX\00", align 1 @_SC_MQ_OPEN_MAX = dso_local global i32 0, align 4 @.str.21 = private unnamed_addr constant [16 x i8] c"_SC_MQ_OPEN_MAX\00", align 1 @_SC_MQ_PRIO_MAX = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [16 x i8] c"_SC_MQ_PRIO_MAX\00", align 1 @_SC_OPEN_MAX = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [13 x i8] c"_SC_OPEN_MAX\00", align 1 @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [14 x i8] c"_SC_PAGE_SIZE\00", align 1 @_SC_PAGESIZE = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [13 x i8] c"_SC_PAGESIZE\00", align 1 @_SC_THREAD_DESTRUCTOR_ITERATIONS = dso_local global i32 0, align 4 @.str.26 = private unnamed_addr constant [33 x i8] c"_SC_THREAD_DESTRUCTOR_ITERATIONS\00", align 1 @_SC_THREAD_KEYS_MAX = dso_local global i32 0, align 4 @.str.27 = private unnamed_addr constant [20 x i8] c"_SC_THREAD_KEYS_MAX\00", align 1 @_SC_THREAD_STACK_MIN = dso_local global i32 0, align 4 @.str.28 = private unnamed_addr constant [21 x i8] c"_SC_THREAD_STACK_MIN\00", align 1 @_SC_THREAD_THREADS_MAX = dso_local global i32 0, align 4 @.str.29 = private unnamed_addr constant [23 x i8] c"_SC_THREAD_THREADS_MAX\00", align 1 @_SC_RE_DUP_MAX = dso_local global i32 0, align 4 @.str.30 = private unnamed_addr constant [15 x i8] c"_SC_RE_DUP_MAX\00", align 1 @_SC_RTSIG_MAX = dso_local global i32 0, align 4 @.str.31 = private unnamed_addr constant [14 x i8] c"_SC_RTSIG_MAX\00", align 1 @_SC_SEM_NSEMS_MAX = dso_local global i32 0, align 4 @.str.32 = private unnamed_addr constant [18 x i8] c"_SC_SEM_NSEMS_MAX\00", align 1 @_SC_SEM_VALUE_MAX = dso_local global i32 0, align 4 @.str.33 = private unnamed_addr constant [18 x i8] c"_SC_SEM_VALUE_MAX\00", align 1 @_SC_SIGQUEUE_MAX = dso_local global i32 0, align 4 @.str.34 = private unnamed_addr constant [17 x i8] c"_SC_SIGQUEUE_MAX\00", align 1 @_SC_STREAM_MAX = dso_local global i32 0, align 4 @.str.35 = private unnamed_addr constant [15 x i8] c"_SC_STREAM_MAX\00", align 1 @_SC_SYMLOOP_MAX = dso_local global i32 0, align 4 @.str.36 = private unnamed_addr constant [16 x i8] c"_SC_SYMLOOP_MAX\00", align 1 @_SC_TIMER_MAX = dso_local global i32 0, align 4 @.str.37 = private unnamed_addr constant [14 x i8] c"_SC_TIMER_MAX\00", align 1 @_SC_TTY_NAME_MAX = dso_local global i32 0, align 4 @.str.38 = private unnamed_addr constant [17 x i8] c"_SC_TTY_NAME_MAX\00", align 1 @_SC_TZNAME_MAX = dso_local global i32 0, align 4 @.str.39 = private unnamed_addr constant [15 x i8] c"_SC_TZNAME_MAX\00", align 1 @_SC_ADVISORY_INFO = dso_local global i32 0, align 4 @.str.40 = private unnamed_addr constant [18 x i8] c"_SC_ADVISORY_INFO\00", align 1 @_SC_BARRIERS = dso_local global i32 0, align 4 @.str.41 = private unnamed_addr constant [13 x i8] c"_SC_BARRIERS\00", align 1 @_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4 @.str.42 = private unnamed_addr constant [20 x i8] c"_SC_ASYNCHRONOUS_IO\00", align 1 @_SC_CLOCK_SELECTION = dso_local global i32 0, align 4 @.str.43 = private unnamed_addr constant [20 x i8] c"_SC_CLOCK_SELECTION\00", align 1 @_SC_CPUTIME = dso_local global i32 0, align 4 @.str.44 = private unnamed_addr constant [12 x i8] c"_SC_CPUTIME\00", align 1 @_SC_FSYNC = dso_local global i32 0, align 4 @.str.45 = private unnamed_addr constant [10 x i8] c"_SC_FSYNC\00", align 1 @_SC_IPV6 = dso_local global i32 0, align 4 @.str.46 = private unnamed_addr constant [9 x i8] c"_SC_IPV6\00", align 1 @_SC_JOB_CONTROL = dso_local global i32 0, align 4 @.str.47 = private unnamed_addr constant [16 x i8] c"_SC_JOB_CONTROL\00", align 1 @_SC_MAPPED_FILES = dso_local global i32 0, align 4 @.str.48 = private unnamed_addr constant [17 x i8] c"_SC_MAPPED_FILES\00", align 1 @_SC_MEMLOCK = dso_local global i32 0, align 4 @.str.49 = private unnamed_addr constant [12 x i8] c"_SC_MEMLOCK\00", align 1 @_SC_MEMLOCK_RANGE = dso_local global i32 0, align 4 @.str.50 = private unnamed_addr constant [18 x i8] c"_SC_MEMLOCK_RANGE\00", align 1 @_SC_MEMORY_PROTECTION = dso_local global i32 0, align 4 @.str.51 = private unnamed_addr constant [22 x i8] c"_SC_MEMORY_PROTECTION\00", align 1 @_SC_MESSAGE_PASSING = dso_local global i32 0, align 4 @.str.52 = private unnamed_addr constant [20 x i8] c"_SC_MESSAGE_PASSING\00", align 1 @_SC_MONOTONIC_CLOCK = dso_local global i32 0, align 4 @.str.53 = private unnamed_addr constant [20 x i8] c"_SC_MONOTONIC_CLOCK\00", align 1 @_SC_PRIORITIZED_IO = dso_local global i32 0, align 4 @.str.54 = private unnamed_addr constant [19 x i8] c"_SC_PRIORITIZED_IO\00", align 1 @_SC_PRIORITY_SCHEDULING = dso_local global i32 0, align 4 @.str.55 = private unnamed_addr constant [24 x i8] c"_SC_PRIORITY_SCHEDULING\00", align 1 @_SC_RAW_SOCKETS = dso_local global i32 0, align 4 @.str.56 = private unnamed_addr constant [16 x i8] c"_SC_RAW_SOCKETS\00", align 1 @_SC_READER_WRITER_LOCKS = dso_local global i32 0, align 4 @.str.57 = private unnamed_addr constant [24 x i8] c"_SC_READER_WRITER_LOCKS\00", align 1 @_SC_REALTIME_SIGNALS = dso_local global i32 0, align 4 @.str.58 = private unnamed_addr constant [21 x i8] c"_SC_REALTIME_SIGNALS\00", align 1 @_SC_REGEXP = dso_local global i32 0, align 4 @.str.59 = private unnamed_addr constant [11 x i8] c"_SC_REGEXP\00", align 1 @_SC_SAVED_IDS = dso_local global i32 0, align 4 @.str.60 = private unnamed_addr constant [14 x i8] c"_SC_SAVED_IDS\00", align 1 @_SC_SEMAPHORES = dso_local global i32 0, align 4 @.str.61 = private unnamed_addr constant [15 x i8] c"_SC_SEMAPHORES\00", align 1 @_SC_SHARED_MEMORY_OBJECTS = dso_local global i32 0, align 4 @.str.62 = private unnamed_addr constant [26 x i8] c"_SC_SHARED_MEMORY_OBJECTS\00", align 1 @_SC_SHELL = dso_local global i32 0, align 4 @.str.63 = private unnamed_addr constant [10 x i8] c"_SC_SHELL\00", align 1 @_SC_SPAWN = dso_local global i32 0, align 4 @.str.64 = private unnamed_addr constant [10 x i8] c"_SC_SPAWN\00", align 1 @_SC_SPIN_LOCKS = dso_local global i32 0, align 4 @.str.65 = private unnamed_addr constant [15 x i8] c"_SC_SPIN_LOCKS\00", align 1 @_SC_SPORADIC_SERVER = dso_local global i32 0, align 4 @.str.66 = private unnamed_addr constant [20 x i8] c"_SC_SPORADIC_SERVER\00", align 1 @_SC_SS_REPL_MAX = dso_local global i32 0, align 4 @.str.67 = private unnamed_addr constant [16 x i8] c"_SC_SS_REPL_MAX\00", align 1 @_SC_SYNCHRONIZED_IO = dso_local global i32 0, align 4 @.str.68 = private unnamed_addr constant [20 x i8] c"_SC_SYNCHRONIZED_IO\00", align 1 @_SC_THREAD_ATTR_STACKADDR = dso_local global i32 0, align 4 @.str.69 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_ATTR_STACKADDR\00", align 1 @_SC_THREAD_ATTR_STACKSIZE = dso_local global i32 0, align 4 @.str.70 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_ATTR_STACKSIZE\00", align 1 @_SC_THREAD_CPUTIME = dso_local global i32 0, align 4 @.str.71 = private unnamed_addr constant [19 x i8] c"_SC_THREAD_CPUTIME\00", align 1 @_SC_THREAD_PRIO_INHERIT = dso_local global i32 0, align 4 @.str.72 = private unnamed_addr constant [24 x i8] c"_SC_THREAD_PRIO_INHERIT\00", align 1 @_SC_THREAD_PRIO_PROTECT = dso_local global i32 0, align 4 @.str.73 = private unnamed_addr constant [24 x i8] c"_SC_THREAD_PRIO_PROTECT\00", align 1 @_SC_THREAD_PRIORITY_SCHEDULING = dso_local global i32 0, align 4 @.str.74 = private unnamed_addr constant [31 x i8] c"_SC_THREAD_PRIORITY_SCHEDULING\00", align 1 @_SC_THREAD_PROCESS_SHARED = dso_local global i32 0, align 4 @.str.75 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_PROCESS_SHARED\00", align 1 @_SC_THREAD_SAFE_FUNCTIONS = dso_local global i32 0, align 4 @.str.76 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_SAFE_FUNCTIONS\00", align 1 @_SC_THREAD_SPORADIC_SERVER = dso_local global i32 0, align 4 @.str.77 = private unnamed_addr constant [27 x i8] c"_SC_THREAD_SPORADIC_SERVER\00", align 1 @_SC_THREADS = dso_local global i32 0, align 4 @.str.78 = private unnamed_addr constant [12 x i8] c"_SC_THREADS\00", align 1 @_SC_TIMEOUTS = dso_local global i32 0, align 4 @.str.79 = private unnamed_addr constant [13 x i8] c"_SC_TIMEOUTS\00", align 1 @_SC_TIMERS = dso_local global i32 0, align 4 @.str.80 = private unnamed_addr constant [11 x i8] c"_SC_TIMERS\00", align 1 @_SC_TRACE = dso_local global i32 0, align 4 @.str.81 = private unnamed_addr constant [10 x i8] c"_SC_TRACE\00", align 1 @_SC_TRACE_EVENT_FILTER = dso_local global i32 0, align 4 @.str.82 = private unnamed_addr constant [23 x i8] c"_SC_TRACE_EVENT_FILTER\00", align 1 @_SC_TRACE_EVENT_NAME_MAX = dso_local global i32 0, align 4 @.str.83 = private unnamed_addr constant [25 x i8] c"_SC_TRACE_EVENT_NAME_MAX\00", align 1 @_SC_TRACE_INHERIT = dso_local global i32 0, align 4 @.str.84 = private unnamed_addr constant [18 x i8] c"_SC_TRACE_INHERIT\00", align 1 @_SC_TRACE_LOG = dso_local global i32 0, align 4 @.str.85 = private unnamed_addr constant [14 x i8] c"_SC_TRACE_LOG\00", align 1 @_SC_TRACE_NAME_MAX = dso_local global i32 0, align 4 @.str.86 = private unnamed_addr constant [19 x i8] c"_SC_TRACE_NAME_MAX\00", align 1 @_SC_TRACE_SYS_MAX = dso_local global i32 0, align 4 @.str.87 = private unnamed_addr constant [18 x i8] c"_SC_TRACE_SYS_MAX\00", align 1 @_SC_TRACE_USER_EVENT_MAX = dso_local global i32 0, align 4 @.str.88 = private unnamed_addr constant [25 x i8] c"_SC_TRACE_USER_EVENT_MAX\00", align 1 @_SC_TYPED_MEMORY_OBJECTS = dso_local global i32 0, align 4 @.str.89 = private unnamed_addr constant [25 x i8] c"_SC_TYPED_MEMORY_OBJECTS\00", align 1 @_SC_VERSION = dso_local global i32 0, align 4 @.str.90 = private unnamed_addr constant [12 x i8] c"_SC_VERSION\00", align 1 @_SC_V6_ILP32_OFF32 = dso_local global i32 0, align 4 @.str.91 = private unnamed_addr constant [19 x i8] c"_SC_V6_ILP32_OFF32\00", align 1 @_SC_V6_ILP32_OFFBIG = dso_local global i32 0, align 4 @.str.92 = private unnamed_addr constant [20 x i8] c"_SC_V6_ILP32_OFFBIG\00", align 1 @_SC_V6_LP64_OFF64 = dso_local global i32 0, align 4 @.str.93 = private unnamed_addr constant [18 x i8] c"_SC_V6_LP64_OFF64\00", align 1 @_SC_V6_LPBIG_OFFBIG = dso_local global i32 0, align 4 @.str.94 = private unnamed_addr constant [20 x i8] c"_SC_V6_LPBIG_OFFBIG\00", align 1 @_SC_2_C_BIND = dso_local global i32 0, align 4 @.str.95 = private unnamed_addr constant [13 x i8] c"_SC_2_C_BIND\00", align 1 @_SC_2_C_DEV = dso_local global i32 0, align 4 @.str.96 = private unnamed_addr constant [12 x i8] c"_SC_2_C_DEV\00", align 1 @_SC_2_CHAR_TERM = dso_local global i32 0, align 4 @.str.97 = private unnamed_addr constant [16 x i8] c"_SC_2_CHAR_TERM\00", align 1 @_SC_2_FORT_DEV = dso_local global i32 0, align 4 @.str.98 = private unnamed_addr constant [15 x i8] c"_SC_2_FORT_DEV\00", align 1 @_SC_2_FORT_RUN = dso_local global i32 0, align 4 @.str.99 = private unnamed_addr constant [15 x i8] c"_SC_2_FORT_RUN\00", align 1 @_SC_2_LOCALEDEF = dso_local global i32 0, align 4 @.str.100 = private unnamed_addr constant [16 x i8] c"_SC_2_LOCALEDEF\00", align 1 @_SC_2_PBS = dso_local global i32 0, align 4 @.str.101 = private unnamed_addr constant [10 x i8] c"_SC_2_PBS\00", align 1 @_SC_2_PBS_ACCOUNTING = dso_local global i32 0, align 4 @.str.102 = private unnamed_addr constant [21 x i8] c"_SC_2_PBS_ACCOUNTING\00", align 1 @_SC_2_PBS_CHECKPOINT = dso_local global i32 0, align 4 @.str.103 = private unnamed_addr constant [21 x i8] c"_SC_2_PBS_CHECKPOINT\00", align 1 @_SC_2_PBS_LOCATE = dso_local global i32 0, align 4 @.str.104 = private unnamed_addr constant [17 x i8] c"_SC_2_PBS_LOCATE\00", align 1 @_SC_2_PBS_MESSAGE = dso_local global i32 0, align 4 @.str.105 = private unnamed_addr constant [18 x i8] c"_SC_2_PBS_MESSAGE\00", align 1 @_SC_2_PBS_TRACK = dso_local global i32 0, align 4 @.str.106 = private unnamed_addr constant [16 x i8] c"_SC_2_PBS_TRACK\00", align 1 @_SC_2_SW_DEV = dso_local global i32 0, align 4 @.str.107 = private unnamed_addr constant [13 x i8] c"_SC_2_SW_DEV\00", align 1 @_SC_2_UPE = dso_local global i32 0, align 4 @.str.108 = private unnamed_addr constant [10 x i8] c"_SC_2_UPE\00", align 1 @_SC_2_VERSION = dso_local global i32 0, align 4 @.str.109 = private unnamed_addr constant [14 x i8] c"_SC_2_VERSION\00", align 1 @_SC_XOPEN_CRYPT = dso_local global i32 0, align 4 @.str.110 = private unnamed_addr constant [16 x i8] c"_SC_XOPEN_CRYPT\00", align 1 @_SC_XOPEN_ENH_I18N = dso_local global i32 0, align 4 @.str.111 = private unnamed_addr constant [19 x i8] c"_SC_XOPEN_ENH_I18N\00", align 1 @_SC_XOPEN_REALTIME = dso_local global i32 0, align 4 @.str.112 = private unnamed_addr constant [19 x i8] c"_SC_XOPEN_REALTIME\00", align 1 @_SC_XOPEN_REALTIME_THREADS = dso_local global i32 0, align 4 @.str.113 = private unnamed_addr constant [27 x i8] c"_SC_XOPEN_REALTIME_THREADS\00", align 1 @_SC_XOPEN_SHM = dso_local global i32 0, align 4 @.str.114 = private unnamed_addr constant [14 x i8] c"_SC_XOPEN_SHM\00", align 1 @_SC_XOPEN_STREAMS = dso_local global i32 0, align 4 @.str.115 = private unnamed_addr constant [18 x i8] c"_SC_XOPEN_STREAMS\00", align 1 @_SC_XOPEN_UNIX = dso_local global i32 0, align 4 @.str.116 = private unnamed_addr constant [15 x i8] c"_SC_XOPEN_UNIX\00", align 1 @_SC_XOPEN_VERSION = dso_local global i32 0, align 4 @.str.117 = private unnamed_addr constant [18 x i8] c"_SC_XOPEN_VERSION\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sysconf() #0 { %1 = load i32, ptr @_SC_AIO_LISTIO_MAX, align 4 %2 = call i32 @print_conf_value(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @_SC_AIO_MAX, align 4 %4 = call i32 @print_conf_value(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @_SC_AIO_PRIO_DELTA_MAX, align 4 %6 = call i32 @print_conf_value(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @_SC_ARG_MAX, align 4 %8 = call i32 @print_conf_value(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @_SC_ATEXIT_MAX, align 4 %10 = call i32 @print_conf_value(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @_SC_BC_BASE_MAX, align 4 %12 = call i32 @print_conf_value(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @_SC_BC_DIM_MAX, align 4 %14 = call i32 @print_conf_value(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @_SC_BC_SCALE_MAX, align 4 %16 = call i32 @print_conf_value(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @_SC_BC_STRING_MAX, align 4 %18 = call i32 @print_conf_value(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @_SC_CHILD_MAX, align 4 %20 = call i32 @print_conf_value(i32 noundef %19, ptr noundef @.str.9) %21 = load i32, ptr @_SC_CLK_TCK, align 4 %22 = call i32 @print_conf_value(i32 noundef %21, ptr noundef @.str.10) %23 = load i32, ptr @_SC_COLL_WEIGHTS_MAX, align 4 %24 = call i32 @print_conf_value(i32 noundef %23, ptr noundef @.str.11) %25 = load i32, ptr @_SC_DELAYTIMER_MAX, align 4 %26 = call i32 @print_conf_value(i32 noundef %25, ptr noundef @.str.12) %27 = load i32, ptr @_SC_EXPR_NEST_MAX, align 4 %28 = call i32 @print_conf_value(i32 noundef %27, ptr noundef @.str.13) %29 = load i32, ptr @_SC_HOST_NAME_MAX, align 4 %30 = call i32 @print_conf_value(i32 noundef %29, ptr noundef @.str.14) %31 = load i32, ptr @_SC_IOV_MAX, align 4 %32 = call i32 @print_conf_value(i32 noundef %31, ptr noundef @.str.15) %33 = load i32, ptr @_SC_LINE_MAX, align 4 %34 = call i32 @print_conf_value(i32 noundef %33, ptr noundef @.str.16) %35 = load i32, ptr @_SC_LOGIN_NAME_MAX, align 4 %36 = call i32 @print_conf_value(i32 noundef %35, ptr noundef @.str.17) %37 = load i32, ptr @_SC_NGROUPS_MAX, align 4 %38 = call i32 @print_conf_value(i32 noundef %37, ptr noundef @.str.18) %39 = load i32, ptr @_SC_GETGR_R_SIZE_MAX, align 4 %40 = call i32 @print_conf_value(i32 noundef %39, ptr noundef @.str.19) %41 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4 %42 = call i32 @print_conf_value(i32 noundef %41, ptr noundef @.str.20) %43 = load i32, ptr @_SC_MQ_OPEN_MAX, align 4 %44 = call i32 @print_conf_value(i32 noundef %43, ptr noundef @.str.21) %45 = load i32, ptr @_SC_MQ_PRIO_MAX, align 4 %46 = call i32 @print_conf_value(i32 noundef %45, ptr noundef @.str.22) %47 = load i32, ptr @_SC_OPEN_MAX, align 4 %48 = call i32 @print_conf_value(i32 noundef %47, ptr noundef @.str.23) %49 = load i32, ptr @_SC_PAGE_SIZE, align 4 %50 = call i32 @print_conf_value(i32 noundef %49, ptr noundef @.str.24) %51 = load i32, ptr @_SC_PAGESIZE, align 4 %52 = call i32 @print_conf_value(i32 noundef %51, ptr noundef @.str.25) %53 = load i32, ptr @_SC_THREAD_DESTRUCTOR_ITERATIONS, align 4 %54 = call i32 @print_conf_value(i32 noundef %53, ptr noundef @.str.26) %55 = load i32, ptr @_SC_THREAD_KEYS_MAX, align 4 %56 = call i32 @print_conf_value(i32 noundef %55, ptr noundef @.str.27) %57 = load i32, ptr @_SC_THREAD_STACK_MIN, align 4 %58 = call i32 @print_conf_value(i32 noundef %57, ptr noundef @.str.28) %59 = load i32, ptr @_SC_THREAD_THREADS_MAX, align 4 %60 = call i32 @print_conf_value(i32 noundef %59, ptr noundef @.str.29) %61 = load i32, ptr @_SC_RE_DUP_MAX, align 4 %62 = call i32 @print_conf_value(i32 noundef %61, ptr noundef @.str.30) %63 = load i32, ptr @_SC_RTSIG_MAX, align 4 %64 = call i32 @print_conf_value(i32 noundef %63, ptr noundef @.str.31) %65 = load i32, ptr @_SC_SEM_NSEMS_MAX, align 4 %66 = call i32 @print_conf_value(i32 noundef %65, ptr noundef @.str.32) %67 = load i32, ptr @_SC_SEM_VALUE_MAX, align 4 %68 = call i32 @print_conf_value(i32 noundef %67, ptr noundef @.str.33) %69 = load i32, ptr @_SC_SIGQUEUE_MAX, align 4 %70 = call i32 @print_conf_value(i32 noundef %69, ptr noundef @.str.34) %71 = load i32, ptr @_SC_STREAM_MAX, align 4 %72 = call i32 @print_conf_value(i32 noundef %71, ptr noundef @.str.35) %73 = load i32, ptr @_SC_SYMLOOP_MAX, align 4 %74 = call i32 @print_conf_value(i32 noundef %73, ptr noundef @.str.36) %75 = load i32, ptr @_SC_TIMER_MAX, align 4 %76 = call i32 @print_conf_value(i32 noundef %75, ptr noundef @.str.37) %77 = load i32, ptr @_SC_TTY_NAME_MAX, align 4 %78 = call i32 @print_conf_value(i32 noundef %77, ptr noundef @.str.38) %79 = load i32, ptr @_SC_TZNAME_MAX, align 4 %80 = call i32 @print_conf_value(i32 noundef %79, ptr noundef @.str.39) %81 = load i32, ptr @_SC_ADVISORY_INFO, align 4 %82 = call i32 @print_conf_value(i32 noundef %81, ptr noundef @.str.40) %83 = load i32, ptr @_SC_BARRIERS, align 4 %84 = call i32 @print_conf_value(i32 noundef %83, ptr noundef @.str.41) %85 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4 %86 = call i32 @print_conf_value(i32 noundef %85, ptr noundef @.str.42) %87 = load i32, ptr @_SC_CLOCK_SELECTION, align 4 %88 = call i32 @print_conf_value(i32 noundef %87, ptr noundef @.str.43) %89 = load i32, ptr @_SC_CPUTIME, align 4 %90 = call i32 @print_conf_value(i32 noundef %89, ptr noundef @.str.44) %91 = load i32, ptr @_SC_FSYNC, align 4 %92 = call i32 @print_conf_value(i32 noundef %91, ptr noundef @.str.45) %93 = load i32, ptr @_SC_IPV6, align 4 %94 = call i32 @print_conf_value(i32 noundef %93, ptr noundef @.str.46) %95 = load i32, ptr @_SC_JOB_CONTROL, align 4 %96 = call i32 @print_conf_value(i32 noundef %95, ptr noundef @.str.47) %97 = load i32, ptr @_SC_MAPPED_FILES, align 4 %98 = call i32 @print_conf_value(i32 noundef %97, ptr noundef @.str.48) %99 = load i32, ptr @_SC_MEMLOCK, align 4 %100 = call i32 @print_conf_value(i32 noundef %99, ptr noundef @.str.49) %101 = load i32, ptr @_SC_MEMLOCK_RANGE, align 4 %102 = call i32 @print_conf_value(i32 noundef %101, ptr noundef @.str.50) %103 = load i32, ptr @_SC_MEMORY_PROTECTION, align 4 %104 = call i32 @print_conf_value(i32 noundef %103, ptr noundef @.str.51) %105 = load i32, ptr @_SC_MESSAGE_PASSING, align 4 %106 = call i32 @print_conf_value(i32 noundef %105, ptr noundef @.str.52) %107 = load i32, ptr @_SC_MONOTONIC_CLOCK, align 4 %108 = call i32 @print_conf_value(i32 noundef %107, ptr noundef @.str.53) %109 = load i32, ptr @_SC_PRIORITIZED_IO, align 4 %110 = call i32 @print_conf_value(i32 noundef %109, ptr noundef @.str.54) %111 = load i32, ptr @_SC_PRIORITY_SCHEDULING, align 4 %112 = call i32 @print_conf_value(i32 noundef %111, ptr noundef @.str.55) %113 = load i32, ptr @_SC_RAW_SOCKETS, align 4 %114 = call i32 @print_conf_value(i32 noundef %113, ptr noundef @.str.56) %115 = load i32, ptr @_SC_READER_WRITER_LOCKS, align 4 %116 = call i32 @print_conf_value(i32 noundef %115, ptr noundef @.str.57) %117 = load i32, ptr @_SC_REALTIME_SIGNALS, align 4 %118 = call i32 @print_conf_value(i32 noundef %117, ptr noundef @.str.58) %119 = load i32, ptr @_SC_REGEXP, align 4 %120 = call i32 @print_conf_value(i32 noundef %119, ptr noundef @.str.59) %121 = load i32, ptr @_SC_SAVED_IDS, align 4 %122 = call i32 @print_conf_value(i32 noundef %121, ptr noundef @.str.60) %123 = load i32, ptr @_SC_SEMAPHORES, align 4 %124 = call i32 @print_conf_value(i32 noundef %123, ptr noundef @.str.61) %125 = load i32, ptr @_SC_SHARED_MEMORY_OBJECTS, align 4 %126 = call i32 @print_conf_value(i32 noundef %125, ptr noundef @.str.62) %127 = load i32, ptr @_SC_SHELL, align 4 %128 = call i32 @print_conf_value(i32 noundef %127, ptr noundef @.str.63) %129 = load i32, ptr @_SC_SPAWN, align 4 %130 = call i32 @print_conf_value(i32 noundef %129, ptr noundef @.str.64) %131 = load i32, ptr @_SC_SPIN_LOCKS, align 4 %132 = call i32 @print_conf_value(i32 noundef %131, ptr noundef @.str.65) %133 = load i32, ptr @_SC_SPORADIC_SERVER, align 4 %134 = call i32 @print_conf_value(i32 noundef %133, ptr noundef @.str.66) %135 = load i32, ptr @_SC_SS_REPL_MAX, align 4 %136 = call i32 @print_conf_value(i32 noundef %135, ptr noundef @.str.67) %137 = load i32, ptr @_SC_SYNCHRONIZED_IO, align 4 %138 = call i32 @print_conf_value(i32 noundef %137, ptr noundef @.str.68) %139 = load i32, ptr @_SC_THREAD_ATTR_STACKADDR, align 4 %140 = call i32 @print_conf_value(i32 noundef %139, ptr noundef @.str.69) %141 = load i32, ptr @_SC_THREAD_ATTR_STACKSIZE, align 4 %142 = call i32 @print_conf_value(i32 noundef %141, ptr noundef @.str.70) %143 = load i32, ptr @_SC_THREAD_CPUTIME, align 4 %144 = call i32 @print_conf_value(i32 noundef %143, ptr noundef @.str.71) %145 = load i32, ptr @_SC_THREAD_PRIO_INHERIT, align 4 %146 = call i32 @print_conf_value(i32 noundef %145, ptr noundef @.str.72) %147 = load i32, ptr @_SC_THREAD_PRIO_PROTECT, align 4 %148 = call i32 @print_conf_value(i32 noundef %147, ptr noundef @.str.73) %149 = load i32, ptr @_SC_THREAD_PRIORITY_SCHEDULING, align 4 %150 = call i32 @print_conf_value(i32 noundef %149, ptr noundef @.str.74) %151 = load i32, ptr @_SC_THREAD_PROCESS_SHARED, align 4 %152 = call i32 @print_conf_value(i32 noundef %151, ptr noundef @.str.75) %153 = load i32, ptr @_SC_THREAD_SAFE_FUNCTIONS, align 4 %154 = call i32 @print_conf_value(i32 noundef %153, ptr noundef @.str.76) %155 = load i32, ptr @_SC_THREAD_SPORADIC_SERVER, align 4 %156 = call i32 @print_conf_value(i32 noundef %155, ptr noundef @.str.77) %157 = load i32, ptr @_SC_THREADS, align 4 %158 = call i32 @print_conf_value(i32 noundef %157, ptr noundef @.str.78) %159 = load i32, ptr @_SC_TIMEOUTS, align 4 %160 = call i32 @print_conf_value(i32 noundef %159, ptr noundef @.str.79) %161 = load i32, ptr @_SC_TIMERS, align 4 %162 = call i32 @print_conf_value(i32 noundef %161, ptr noundef @.str.80) %163 = load i32, ptr @_SC_TRACE, align 4 %164 = call i32 @print_conf_value(i32 noundef %163, ptr noundef @.str.81) %165 = load i32, ptr @_SC_TRACE_EVENT_FILTER, align 4 %166 = call i32 @print_conf_value(i32 noundef %165, ptr noundef @.str.82) %167 = load i32, ptr @_SC_TRACE_EVENT_NAME_MAX, align 4 %168 = call i32 @print_conf_value(i32 noundef %167, ptr noundef @.str.83) %169 = load i32, ptr @_SC_TRACE_INHERIT, align 4 %170 = call i32 @print_conf_value(i32 noundef %169, ptr noundef @.str.84) %171 = load i32, ptr @_SC_TRACE_LOG, align 4 %172 = call i32 @print_conf_value(i32 noundef %171, ptr noundef @.str.85) %173 = load i32, ptr @_SC_TRACE_NAME_MAX, align 4 %174 = call i32 @print_conf_value(i32 noundef %173, ptr noundef @.str.86) %175 = load i32, ptr @_SC_TRACE_SYS_MAX, align 4 %176 = call i32 @print_conf_value(i32 noundef %175, ptr noundef @.str.87) %177 = load i32, ptr @_SC_TRACE_USER_EVENT_MAX, align 4 %178 = call i32 @print_conf_value(i32 noundef %177, ptr noundef @.str.88) %179 = load i32, ptr @_SC_TYPED_MEMORY_OBJECTS, align 4 %180 = call i32 @print_conf_value(i32 noundef %179, ptr noundef @.str.89) %181 = load i32, ptr @_SC_VERSION, align 4 %182 = call i32 @print_conf_value(i32 noundef %181, ptr noundef @.str.90) %183 = load i32, ptr @_SC_V6_ILP32_OFF32, align 4 %184 = call i32 @print_conf_value(i32 noundef %183, ptr noundef @.str.91) %185 = load i32, ptr @_SC_V6_ILP32_OFFBIG, align 4 %186 = call i32 @print_conf_value(i32 noundef %185, ptr noundef @.str.92) %187 = load i32, ptr @_SC_V6_LP64_OFF64, align 4 %188 = call i32 @print_conf_value(i32 noundef %187, ptr noundef @.str.93) %189 = load i32, ptr @_SC_V6_LPBIG_OFFBIG, align 4 %190 = call i32 @print_conf_value(i32 noundef %189, ptr noundef @.str.94) %191 = load i32, ptr @_SC_2_C_BIND, align 4 %192 = call i32 @print_conf_value(i32 noundef %191, ptr noundef @.str.95) %193 = load i32, ptr @_SC_2_C_DEV, align 4 %194 = call i32 @print_conf_value(i32 noundef %193, ptr noundef @.str.96) %195 = load i32, ptr @_SC_2_CHAR_TERM, align 4 %196 = call i32 @print_conf_value(i32 noundef %195, ptr noundef @.str.97) %197 = load i32, ptr @_SC_2_FORT_DEV, align 4 %198 = call i32 @print_conf_value(i32 noundef %197, ptr noundef @.str.98) %199 = load i32, ptr @_SC_2_FORT_RUN, align 4 %200 = call i32 @print_conf_value(i32 noundef %199, ptr noundef @.str.99) %201 = load i32, ptr @_SC_2_LOCALEDEF, align 4 %202 = call i32 @print_conf_value(i32 noundef %201, ptr noundef @.str.100) %203 = load i32, ptr @_SC_2_PBS, align 4 %204 = call i32 @print_conf_value(i32 noundef %203, ptr noundef @.str.101) %205 = load i32, ptr @_SC_2_PBS_ACCOUNTING, align 4 %206 = call i32 @print_conf_value(i32 noundef %205, ptr noundef @.str.102) %207 = load i32, ptr @_SC_2_PBS_CHECKPOINT, align 4 %208 = call i32 @print_conf_value(i32 noundef %207, ptr noundef @.str.103) %209 = load i32, ptr @_SC_2_PBS_LOCATE, align 4 %210 = call i32 @print_conf_value(i32 noundef %209, ptr noundef @.str.104) %211 = load i32, ptr @_SC_2_PBS_MESSAGE, align 4 %212 = call i32 @print_conf_value(i32 noundef %211, ptr noundef @.str.105) %213 = load i32, ptr @_SC_2_PBS_TRACK, align 4 %214 = call i32 @print_conf_value(i32 noundef %213, ptr noundef @.str.106) %215 = load i32, ptr @_SC_2_SW_DEV, align 4 %216 = call i32 @print_conf_value(i32 noundef %215, ptr noundef @.str.107) %217 = load i32, ptr @_SC_2_UPE, align 4 %218 = call i32 @print_conf_value(i32 noundef %217, ptr noundef @.str.108) %219 = load i32, ptr @_SC_2_VERSION, align 4 %220 = call i32 @print_conf_value(i32 noundef %219, ptr noundef @.str.109) %221 = load i32, ptr @_SC_XOPEN_CRYPT, align 4 %222 = call i32 @print_conf_value(i32 noundef %221, ptr noundef @.str.110) %223 = load i32, ptr @_SC_XOPEN_ENH_I18N, align 4 %224 = call i32 @print_conf_value(i32 noundef %223, ptr noundef @.str.111) %225 = load i32, ptr @_SC_XOPEN_REALTIME, align 4 %226 = call i32 @print_conf_value(i32 noundef %225, ptr noundef @.str.112) %227 = load i32, ptr @_SC_XOPEN_REALTIME_THREADS, align 4 %228 = call i32 @print_conf_value(i32 noundef %227, ptr noundef @.str.113) %229 = load i32, ptr @_SC_XOPEN_SHM, align 4 %230 = call i32 @print_conf_value(i32 noundef %229, ptr noundef @.str.114) %231 = load i32, ptr @_SC_XOPEN_STREAMS, align 4 %232 = call i32 @print_conf_value(i32 noundef %231, ptr noundef @.str.115) %233 = load i32, ptr @_SC_XOPEN_UNIX, align 4 %234 = call i32 @print_conf_value(i32 noundef %233, ptr noundef @.str.116) %235 = load i32, ptr @_SC_XOPEN_VERSION, align 4 %236 = call i32 @print_conf_value(i32 noundef %235, ptr noundef @.str.117) ret void } declare i32 @print_conf_value(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptl35sq9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_AIO_LISTIO_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"_SC_AIO_LISTIO_MAX\00", align 1 @_SC_AIO_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"_SC_AIO_MAX\00", align 1 @_SC_AIO_PRIO_DELTA_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"_SC_AIO_PRIO_DELTA_MAX\00", align 1 @_SC_ARG_MAX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"_SC_ARG_MAX\00", align 1 @_SC_ATEXIT_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"_SC_ATEXIT_MAX\00", align 1 @_SC_BC_BASE_MAX = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"_SC_BC_BASE_MAX\00", align 1 @_SC_BC_DIM_MAX = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [15 x i8] c"_SC_BC_DIM_MAX\00", align 1 @_SC_BC_SCALE_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [17 x i8] c"_SC_BC_SCALE_MAX\00", align 1 @_SC_BC_STRING_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [18 x i8] c"_SC_BC_STRING_MAX\00", align 1 @_SC_CHILD_MAX = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [14 x i8] c"_SC_CHILD_MAX\00", align 1 @_SC_CLK_TCK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [12 x i8] c"_SC_CLK_TCK\00", align 1 @_SC_COLL_WEIGHTS_MAX = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [21 x i8] c"_SC_COLL_WEIGHTS_MAX\00", align 1 @_SC_DELAYTIMER_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [19 x i8] c"_SC_DELAYTIMER_MAX\00", align 1 @_SC_EXPR_NEST_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [18 x i8] c"_SC_EXPR_NEST_MAX\00", align 1 @_SC_HOST_NAME_MAX = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [18 x i8] c"_SC_HOST_NAME_MAX\00", align 1 @_SC_IOV_MAX = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [12 x i8] c"_SC_IOV_MAX\00", align 1 @_SC_LINE_MAX = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"_SC_LINE_MAX\00", align 1 @_SC_LOGIN_NAME_MAX = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [19 x i8] c"_SC_LOGIN_NAME_MAX\00", align 1 @_SC_NGROUPS_MAX = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [16 x i8] c"_SC_NGROUPS_MAX\00", align 1 @_SC_GETGR_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.19 = private unnamed_addr constant [21 x i8] c"_SC_GETGR_R_SIZE_MAX\00", align 1 @_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.20 = private unnamed_addr constant [21 x i8] c"_SC_GETPW_R_SIZE_MAX\00", align 1 @_SC_MQ_OPEN_MAX = dso_local global i32 0, align 4 @.str.21 = private unnamed_addr constant [16 x i8] c"_SC_MQ_OPEN_MAX\00", align 1 @_SC_MQ_PRIO_MAX = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [16 x i8] c"_SC_MQ_PRIO_MAX\00", align 1 @_SC_OPEN_MAX = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [13 x i8] c"_SC_OPEN_MAX\00", align 1 @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [14 x i8] c"_SC_PAGE_SIZE\00", align 1 @_SC_PAGESIZE = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [13 x i8] c"_SC_PAGESIZE\00", align 1 @_SC_THREAD_DESTRUCTOR_ITERATIONS = dso_local global i32 0, align 4 @.str.26 = private unnamed_addr constant [33 x i8] c"_SC_THREAD_DESTRUCTOR_ITERATIONS\00", align 1 @_SC_THREAD_KEYS_MAX = dso_local global i32 0, align 4 @.str.27 = private unnamed_addr constant [20 x i8] c"_SC_THREAD_KEYS_MAX\00", align 1 @_SC_THREAD_STACK_MIN = dso_local global i32 0, align 4 @.str.28 = private unnamed_addr constant [21 x i8] c"_SC_THREAD_STACK_MIN\00", align 1 @_SC_THREAD_THREADS_MAX = dso_local global i32 0, align 4 @.str.29 = private unnamed_addr constant [23 x i8] c"_SC_THREAD_THREADS_MAX\00", align 1 @_SC_RE_DUP_MAX = dso_local global i32 0, align 4 @.str.30 = private unnamed_addr constant [15 x i8] c"_SC_RE_DUP_MAX\00", align 1 @_SC_RTSIG_MAX = dso_local global i32 0, align 4 @.str.31 = private unnamed_addr constant [14 x i8] c"_SC_RTSIG_MAX\00", align 1 @_SC_SEM_NSEMS_MAX = dso_local global i32 0, align 4 @.str.32 = private unnamed_addr constant [18 x i8] c"_SC_SEM_NSEMS_MAX\00", align 1 @_SC_SEM_VALUE_MAX = dso_local global i32 0, align 4 @.str.33 = private unnamed_addr constant [18 x i8] c"_SC_SEM_VALUE_MAX\00", align 1 @_SC_SIGQUEUE_MAX = dso_local global i32 0, align 4 @.str.34 = private unnamed_addr constant [17 x i8] c"_SC_SIGQUEUE_MAX\00", align 1 @_SC_STREAM_MAX = dso_local global i32 0, align 4 @.str.35 = private unnamed_addr constant [15 x i8] c"_SC_STREAM_MAX\00", align 1 @_SC_SYMLOOP_MAX = dso_local global i32 0, align 4 @.str.36 = private unnamed_addr constant [16 x i8] c"_SC_SYMLOOP_MAX\00", align 1 @_SC_TIMER_MAX = dso_local global i32 0, align 4 @.str.37 = private unnamed_addr constant [14 x i8] c"_SC_TIMER_MAX\00", align 1 @_SC_TTY_NAME_MAX = dso_local global i32 0, align 4 @.str.38 = private unnamed_addr constant [17 x i8] c"_SC_TTY_NAME_MAX\00", align 1 @_SC_TZNAME_MAX = dso_local global i32 0, align 4 @.str.39 = private unnamed_addr constant [15 x i8] c"_SC_TZNAME_MAX\00", align 1 @_SC_ADVISORY_INFO = dso_local global i32 0, align 4 @.str.40 = private unnamed_addr constant [18 x i8] c"_SC_ADVISORY_INFO\00", align 1 @_SC_BARRIERS = dso_local global i32 0, align 4 @.str.41 = private unnamed_addr constant [13 x i8] c"_SC_BARRIERS\00", align 1 @_SC_ASYNCHRONOUS_IO = dso_local global i32 0, align 4 @.str.42 = private unnamed_addr constant [20 x i8] c"_SC_ASYNCHRONOUS_IO\00", align 1 @_SC_CLOCK_SELECTION = dso_local global i32 0, align 4 @.str.43 = private unnamed_addr constant [20 x i8] c"_SC_CLOCK_SELECTION\00", align 1 @_SC_CPUTIME = dso_local global i32 0, align 4 @.str.44 = private unnamed_addr constant [12 x i8] c"_SC_CPUTIME\00", align 1 @_SC_FSYNC = dso_local global i32 0, align 4 @.str.45 = private unnamed_addr constant [10 x i8] c"_SC_FSYNC\00", align 1 @_SC_IPV6 = dso_local global i32 0, align 4 @.str.46 = private unnamed_addr constant [9 x i8] c"_SC_IPV6\00", align 1 @_SC_JOB_CONTROL = dso_local global i32 0, align 4 @.str.47 = private unnamed_addr constant [16 x i8] c"_SC_JOB_CONTROL\00", align 1 @_SC_MAPPED_FILES = dso_local global i32 0, align 4 @.str.48 = private unnamed_addr constant [17 x i8] c"_SC_MAPPED_FILES\00", align 1 @_SC_MEMLOCK = dso_local global i32 0, align 4 @.str.49 = private unnamed_addr constant [12 x i8] c"_SC_MEMLOCK\00", align 1 @_SC_MEMLOCK_RANGE = dso_local global i32 0, align 4 @.str.50 = private unnamed_addr constant [18 x i8] c"_SC_MEMLOCK_RANGE\00", align 1 @_SC_MEMORY_PROTECTION = dso_local global i32 0, align 4 @.str.51 = private unnamed_addr constant [22 x i8] c"_SC_MEMORY_PROTECTION\00", align 1 @_SC_MESSAGE_PASSING = dso_local global i32 0, align 4 @.str.52 = private unnamed_addr constant [20 x i8] c"_SC_MESSAGE_PASSING\00", align 1 @_SC_MONOTONIC_CLOCK = dso_local global i32 0, align 4 @.str.53 = private unnamed_addr constant [20 x i8] c"_SC_MONOTONIC_CLOCK\00", align 1 @_SC_PRIORITIZED_IO = dso_local global i32 0, align 4 @.str.54 = private unnamed_addr constant [19 x i8] c"_SC_PRIORITIZED_IO\00", align 1 @_SC_PRIORITY_SCHEDULING = dso_local global i32 0, align 4 @.str.55 = private unnamed_addr constant [24 x i8] c"_SC_PRIORITY_SCHEDULING\00", align 1 @_SC_RAW_SOCKETS = dso_local global i32 0, align 4 @.str.56 = private unnamed_addr constant [16 x i8] c"_SC_RAW_SOCKETS\00", align 1 @_SC_READER_WRITER_LOCKS = dso_local global i32 0, align 4 @.str.57 = private unnamed_addr constant [24 x i8] c"_SC_READER_WRITER_LOCKS\00", align 1 @_SC_REALTIME_SIGNALS = dso_local global i32 0, align 4 @.str.58 = private unnamed_addr constant [21 x i8] c"_SC_REALTIME_SIGNALS\00", align 1 @_SC_REGEXP = dso_local global i32 0, align 4 @.str.59 = private unnamed_addr constant [11 x i8] c"_SC_REGEXP\00", align 1 @_SC_SAVED_IDS = dso_local global i32 0, align 4 @.str.60 = private unnamed_addr constant [14 x i8] c"_SC_SAVED_IDS\00", align 1 @_SC_SEMAPHORES = dso_local global i32 0, align 4 @.str.61 = private unnamed_addr constant [15 x i8] c"_SC_SEMAPHORES\00", align 1 @_SC_SHARED_MEMORY_OBJECTS = dso_local global i32 0, align 4 @.str.62 = private unnamed_addr constant [26 x i8] c"_SC_SHARED_MEMORY_OBJECTS\00", align 1 @_SC_SHELL = dso_local global i32 0, align 4 @.str.63 = private unnamed_addr constant [10 x i8] c"_SC_SHELL\00", align 1 @_SC_SPAWN = dso_local global i32 0, align 4 @.str.64 = private unnamed_addr constant [10 x i8] c"_SC_SPAWN\00", align 1 @_SC_SPIN_LOCKS = dso_local global i32 0, align 4 @.str.65 = private unnamed_addr constant [15 x i8] c"_SC_SPIN_LOCKS\00", align 1 @_SC_SPORADIC_SERVER = dso_local global i32 0, align 4 @.str.66 = private unnamed_addr constant [20 x i8] c"_SC_SPORADIC_SERVER\00", align 1 @_SC_SS_REPL_MAX = dso_local global i32 0, align 4 @.str.67 = private unnamed_addr constant [16 x i8] c"_SC_SS_REPL_MAX\00", align 1 @_SC_SYNCHRONIZED_IO = dso_local global i32 0, align 4 @.str.68 = private unnamed_addr constant [20 x i8] c"_SC_SYNCHRONIZED_IO\00", align 1 @_SC_THREAD_ATTR_STACKADDR = dso_local global i32 0, align 4 @.str.69 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_ATTR_STACKADDR\00", align 1 @_SC_THREAD_ATTR_STACKSIZE = dso_local global i32 0, align 4 @.str.70 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_ATTR_STACKSIZE\00", align 1 @_SC_THREAD_CPUTIME = dso_local global i32 0, align 4 @.str.71 = private unnamed_addr constant [19 x i8] c"_SC_THREAD_CPUTIME\00", align 1 @_SC_THREAD_PRIO_INHERIT = dso_local global i32 0, align 4 @.str.72 = private unnamed_addr constant [24 x i8] c"_SC_THREAD_PRIO_INHERIT\00", align 1 @_SC_THREAD_PRIO_PROTECT = dso_local global i32 0, align 4 @.str.73 = private unnamed_addr constant [24 x i8] c"_SC_THREAD_PRIO_PROTECT\00", align 1 @_SC_THREAD_PRIORITY_SCHEDULING = dso_local global i32 0, align 4 @.str.74 = private unnamed_addr constant [31 x i8] c"_SC_THREAD_PRIORITY_SCHEDULING\00", align 1 @_SC_THREAD_PROCESS_SHARED = dso_local global i32 0, align 4 @.str.75 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_PROCESS_SHARED\00", align 1 @_SC_THREAD_SAFE_FUNCTIONS = dso_local global i32 0, align 4 @.str.76 = private unnamed_addr constant [26 x i8] c"_SC_THREAD_SAFE_FUNCTIONS\00", align 1 @_SC_THREAD_SPORADIC_SERVER = dso_local global i32 0, align 4 @.str.77 = private unnamed_addr constant [27 x i8] c"_SC_THREAD_SPORADIC_SERVER\00", align 1 @_SC_THREADS = dso_local global i32 0, align 4 @.str.78 = private unnamed_addr constant [12 x i8] c"_SC_THREADS\00", align 1 @_SC_TIMEOUTS = dso_local global i32 0, align 4 @.str.79 = private unnamed_addr constant [13 x i8] c"_SC_TIMEOUTS\00", align 1 @_SC_TIMERS = dso_local global i32 0, align 4 @.str.80 = private unnamed_addr constant [11 x i8] c"_SC_TIMERS\00", align 1 @_SC_TRACE = dso_local global i32 0, align 4 @.str.81 = private unnamed_addr constant [10 x i8] c"_SC_TRACE\00", align 1 @_SC_TRACE_EVENT_FILTER = dso_local global i32 0, align 4 @.str.82 = private unnamed_addr constant [23 x i8] c"_SC_TRACE_EVENT_FILTER\00", align 1 @_SC_TRACE_EVENT_NAME_MAX = dso_local global i32 0, align 4 @.str.83 = private unnamed_addr constant [25 x i8] c"_SC_TRACE_EVENT_NAME_MAX\00", align 1 @_SC_TRACE_INHERIT = dso_local global i32 0, align 4 @.str.84 = private unnamed_addr constant [18 x i8] c"_SC_TRACE_INHERIT\00", align 1 @_SC_TRACE_LOG = dso_local global i32 0, align 4 @.str.85 = private unnamed_addr constant [14 x i8] c"_SC_TRACE_LOG\00", align 1 @_SC_TRACE_NAME_MAX = dso_local global i32 0, align 4 @.str.86 = private unnamed_addr constant [19 x i8] c"_SC_TRACE_NAME_MAX\00", align 1 @_SC_TRACE_SYS_MAX = dso_local global i32 0, align 4 @.str.87 = private unnamed_addr constant [18 x i8] c"_SC_TRACE_SYS_MAX\00", align 1 @_SC_TRACE_USER_EVENT_MAX = dso_local global i32 0, align 4 @.str.88 = private unnamed_addr constant [25 x i8] c"_SC_TRACE_USER_EVENT_MAX\00", align 1 @_SC_TYPED_MEMORY_OBJECTS = dso_local global i32 0, align 4 @.str.89 = private unnamed_addr constant [25 x i8] c"_SC_TYPED_MEMORY_OBJECTS\00", align 1 @_SC_VERSION = dso_local global i32 0, align 4 @.str.90 = private unnamed_addr constant [12 x i8] c"_SC_VERSION\00", align 1 @_SC_V6_ILP32_OFF32 = dso_local global i32 0, align 4 @.str.91 = private unnamed_addr constant [19 x i8] c"_SC_V6_ILP32_OFF32\00", align 1 @_SC_V6_ILP32_OFFBIG = dso_local global i32 0, align 4 @.str.92 = private unnamed_addr constant [20 x i8] c"_SC_V6_ILP32_OFFBIG\00", align 1 @_SC_V6_LP64_OFF64 = dso_local global i32 0, align 4 @.str.93 = private unnamed_addr constant [18 x i8] c"_SC_V6_LP64_OFF64\00", align 1 @_SC_V6_LPBIG_OFFBIG = dso_local global i32 0, align 4 @.str.94 = private unnamed_addr constant [20 x i8] c"_SC_V6_LPBIG_OFFBIG\00", align 1 @_SC_2_C_BIND = dso_local global i32 0, align 4 @.str.95 = private unnamed_addr constant [13 x i8] c"_SC_2_C_BIND\00", align 1 @_SC_2_C_DEV = dso_local global i32 0, align 4 @.str.96 = private unnamed_addr constant [12 x i8] c"_SC_2_C_DEV\00", align 1 @_SC_2_CHAR_TERM = dso_local global i32 0, align 4 @.str.97 = private unnamed_addr constant [16 x i8] c"_SC_2_CHAR_TERM\00", align 1 @_SC_2_FORT_DEV = dso_local global i32 0, align 4 @.str.98 = private unnamed_addr constant [15 x i8] c"_SC_2_FORT_DEV\00", align 1 @_SC_2_FORT_RUN = dso_local global i32 0, align 4 @.str.99 = private unnamed_addr constant [15 x i8] c"_SC_2_FORT_RUN\00", align 1 @_SC_2_LOCALEDEF = dso_local global i32 0, align 4 @.str.100 = private unnamed_addr constant [16 x i8] c"_SC_2_LOCALEDEF\00", align 1 @_SC_2_PBS = dso_local global i32 0, align 4 @.str.101 = private unnamed_addr constant [10 x i8] c"_SC_2_PBS\00", align 1 @_SC_2_PBS_ACCOUNTING = dso_local global i32 0, align 4 @.str.102 = private unnamed_addr constant [21 x i8] c"_SC_2_PBS_ACCOUNTING\00", align 1 @_SC_2_PBS_CHECKPOINT = dso_local global i32 0, align 4 @.str.103 = private unnamed_addr constant [21 x i8] c"_SC_2_PBS_CHECKPOINT\00", align 1 @_SC_2_PBS_LOCATE = dso_local global i32 0, align 4 @.str.104 = private unnamed_addr constant [17 x i8] c"_SC_2_PBS_LOCATE\00", align 1 @_SC_2_PBS_MESSAGE = dso_local global i32 0, align 4 @.str.105 = private unnamed_addr constant [18 x i8] c"_SC_2_PBS_MESSAGE\00", align 1 @_SC_2_PBS_TRACK = dso_local global i32 0, align 4 @.str.106 = private unnamed_addr constant [16 x i8] c"_SC_2_PBS_TRACK\00", align 1 @_SC_2_SW_DEV = dso_local global i32 0, align 4 @.str.107 = private unnamed_addr constant [13 x i8] c"_SC_2_SW_DEV\00", align 1 @_SC_2_UPE = dso_local global i32 0, align 4 @.str.108 = private unnamed_addr constant [10 x i8] c"_SC_2_UPE\00", align 1 @_SC_2_VERSION = dso_local global i32 0, align 4 @.str.109 = private unnamed_addr constant [14 x i8] c"_SC_2_VERSION\00", align 1 @_SC_XOPEN_CRYPT = dso_local global i32 0, align 4 @.str.110 = private unnamed_addr constant [16 x i8] c"_SC_XOPEN_CRYPT\00", align 1 @_SC_XOPEN_ENH_I18N = dso_local global i32 0, align 4 @.str.111 = private unnamed_addr constant [19 x i8] c"_SC_XOPEN_ENH_I18N\00", align 1 @_SC_XOPEN_REALTIME = dso_local global i32 0, align 4 @.str.112 = private unnamed_addr constant [19 x i8] c"_SC_XOPEN_REALTIME\00", align 1 @_SC_XOPEN_REALTIME_THREADS = dso_local global i32 0, align 4 @.str.113 = private unnamed_addr constant [27 x i8] c"_SC_XOPEN_REALTIME_THREADS\00", align 1 @_SC_XOPEN_SHM = dso_local global i32 0, align 4 @.str.114 = private unnamed_addr constant [14 x i8] c"_SC_XOPEN_SHM\00", align 1 @_SC_XOPEN_STREAMS = dso_local global i32 0, align 4 @.str.115 = private unnamed_addr constant [18 x i8] c"_SC_XOPEN_STREAMS\00", align 1 @_SC_XOPEN_UNIX = dso_local global i32 0, align 4 @.str.116 = private unnamed_addr constant [15 x i8] c"_SC_XOPEN_UNIX\00", align 1 @_SC_XOPEN_VERSION = dso_local global i32 0, align 4 @.str.117 = private unnamed_addr constant [18 x i8] c"_SC_XOPEN_VERSION\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sysconf() #0 { %1 = load i32, ptr @_SC_AIO_LISTIO_MAX, align 4 %2 = call i32 @print_conf_value(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @_SC_AIO_MAX, align 4 %4 = call i32 @print_conf_value(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @_SC_AIO_PRIO_DELTA_MAX, align 4 %6 = call i32 @print_conf_value(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @_SC_ARG_MAX, align 4 %8 = call i32 @print_conf_value(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @_SC_ATEXIT_MAX, align 4 %10 = call i32 @print_conf_value(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @_SC_BC_BASE_MAX, align 4 %12 = call i32 @print_conf_value(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @_SC_BC_DIM_MAX, align 4 %14 = call i32 @print_conf_value(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @_SC_BC_SCALE_MAX, align 4 %16 = call i32 @print_conf_value(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @_SC_BC_STRING_MAX, align 4 %18 = call i32 @print_conf_value(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @_SC_CHILD_MAX, align 4 %20 = call i32 @print_conf_value(i32 noundef %19, ptr noundef @.str.9) %21 = load i32, ptr @_SC_CLK_TCK, align 4 %22 = call i32 @print_conf_value(i32 noundef %21, ptr noundef @.str.10) %23 = load i32, ptr @_SC_COLL_WEIGHTS_MAX, align 4 %24 = call i32 @print_conf_value(i32 noundef %23, ptr noundef @.str.11) %25 = load i32, ptr @_SC_DELAYTIMER_MAX, align 4 %26 = call i32 @print_conf_value(i32 noundef %25, ptr noundef @.str.12) %27 = load i32, ptr @_SC_EXPR_NEST_MAX, align 4 %28 = call i32 @print_conf_value(i32 noundef %27, ptr noundef @.str.13) %29 = load i32, ptr @_SC_HOST_NAME_MAX, align 4 %30 = call i32 @print_conf_value(i32 noundef %29, ptr noundef @.str.14) %31 = load i32, ptr @_SC_IOV_MAX, align 4 %32 = call i32 @print_conf_value(i32 noundef %31, ptr noundef @.str.15) %33 = load i32, ptr @_SC_LINE_MAX, align 4 %34 = call i32 @print_conf_value(i32 noundef %33, ptr noundef @.str.16) %35 = load i32, ptr @_SC_LOGIN_NAME_MAX, align 4 %36 = call i32 @print_conf_value(i32 noundef %35, ptr noundef @.str.17) %37 = load i32, ptr @_SC_NGROUPS_MAX, align 4 %38 = call i32 @print_conf_value(i32 noundef %37, ptr noundef @.str.18) %39 = load i32, ptr @_SC_GETGR_R_SIZE_MAX, align 4 %40 = call i32 @print_conf_value(i32 noundef %39, ptr noundef @.str.19) %41 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4 %42 = call i32 @print_conf_value(i32 noundef %41, ptr noundef @.str.20) %43 = load i32, ptr @_SC_MQ_OPEN_MAX, align 4 %44 = call i32 @print_conf_value(i32 noundef %43, ptr noundef @.str.21) %45 = load i32, ptr @_SC_MQ_PRIO_MAX, align 4 %46 = call i32 @print_conf_value(i32 noundef %45, ptr noundef @.str.22) %47 = load i32, ptr @_SC_OPEN_MAX, align 4 %48 = call i32 @print_conf_value(i32 noundef %47, ptr noundef @.str.23) %49 = load i32, ptr @_SC_PAGE_SIZE, align 4 %50 = call i32 @print_conf_value(i32 noundef %49, ptr noundef @.str.24) %51 = load i32, ptr @_SC_PAGESIZE, align 4 %52 = call i32 @print_conf_value(i32 noundef %51, ptr noundef @.str.25) %53 = load i32, ptr @_SC_THREAD_DESTRUCTOR_ITERATIONS, align 4 %54 = call i32 @print_conf_value(i32 noundef %53, ptr noundef @.str.26) %55 = load i32, ptr @_SC_THREAD_KEYS_MAX, align 4 %56 = call i32 @print_conf_value(i32 noundef %55, ptr noundef @.str.27) %57 = load i32, ptr @_SC_THREAD_STACK_MIN, align 4 %58 = call i32 @print_conf_value(i32 noundef %57, ptr noundef @.str.28) %59 = load i32, ptr @_SC_THREAD_THREADS_MAX, align 4 %60 = call i32 @print_conf_value(i32 noundef %59, ptr noundef @.str.29) %61 = load i32, ptr @_SC_RE_DUP_MAX, align 4 %62 = call i32 @print_conf_value(i32 noundef %61, ptr noundef @.str.30) %63 = load i32, ptr @_SC_RTSIG_MAX, align 4 %64 = call i32 @print_conf_value(i32 noundef %63, ptr noundef @.str.31) %65 = load i32, ptr @_SC_SEM_NSEMS_MAX, align 4 %66 = call i32 @print_conf_value(i32 noundef %65, ptr noundef @.str.32) %67 = load i32, ptr @_SC_SEM_VALUE_MAX, align 4 %68 = call i32 @print_conf_value(i32 noundef %67, ptr noundef @.str.33) %69 = load i32, ptr @_SC_SIGQUEUE_MAX, align 4 %70 = call i32 @print_conf_value(i32 noundef %69, ptr noundef @.str.34) %71 = load i32, ptr @_SC_STREAM_MAX, align 4 %72 = call i32 @print_conf_value(i32 noundef %71, ptr noundef @.str.35) %73 = load i32, ptr @_SC_SYMLOOP_MAX, align 4 %74 = call i32 @print_conf_value(i32 noundef %73, ptr noundef @.str.36) %75 = load i32, ptr @_SC_TIMER_MAX, align 4 %76 = call i32 @print_conf_value(i32 noundef %75, ptr noundef @.str.37) %77 = load i32, ptr @_SC_TTY_NAME_MAX, align 4 %78 = call i32 @print_conf_value(i32 noundef %77, ptr noundef @.str.38) %79 = load i32, ptr @_SC_TZNAME_MAX, align 4 %80 = call i32 @print_conf_value(i32 noundef %79, ptr noundef @.str.39) %81 = load i32, ptr @_SC_ADVISORY_INFO, align 4 %82 = call i32 @print_conf_value(i32 noundef %81, ptr noundef @.str.40) %83 = load i32, ptr @_SC_BARRIERS, align 4 %84 = call i32 @print_conf_value(i32 noundef %83, ptr noundef @.str.41) %85 = load i32, ptr @_SC_ASYNCHRONOUS_IO, align 4 %86 = call i32 @print_conf_value(i32 noundef %85, ptr noundef @.str.42) %87 = load i32, ptr @_SC_CLOCK_SELECTION, align 4 %88 = call i32 @print_conf_value(i32 noundef %87, ptr noundef @.str.43) %89 = load i32, ptr @_SC_CPUTIME, align 4 %90 = call i32 @print_conf_value(i32 noundef %89, ptr noundef @.str.44) %91 = load i32, ptr @_SC_FSYNC, align 4 %92 = call i32 @print_conf_value(i32 noundef %91, ptr noundef @.str.45) %93 = load i32, ptr @_SC_IPV6, align 4 %94 = call i32 @print_conf_value(i32 noundef %93, ptr noundef @.str.46) %95 = load i32, ptr @_SC_JOB_CONTROL, align 4 %96 = call i32 @print_conf_value(i32 noundef %95, ptr noundef @.str.47) %97 = load i32, ptr @_SC_MAPPED_FILES, align 4 %98 = call i32 @print_conf_value(i32 noundef %97, ptr noundef @.str.48) %99 = load i32, ptr @_SC_MEMLOCK, align 4 %100 = call i32 @print_conf_value(i32 noundef %99, ptr noundef @.str.49) %101 = load i32, ptr @_SC_MEMLOCK_RANGE, align 4 %102 = call i32 @print_conf_value(i32 noundef %101, ptr noundef @.str.50) %103 = load i32, ptr @_SC_MEMORY_PROTECTION, align 4 %104 = call i32 @print_conf_value(i32 noundef %103, ptr noundef @.str.51) %105 = load i32, ptr @_SC_MESSAGE_PASSING, align 4 %106 = call i32 @print_conf_value(i32 noundef %105, ptr noundef @.str.52) %107 = load i32, ptr @_SC_MONOTONIC_CLOCK, align 4 %108 = call i32 @print_conf_value(i32 noundef %107, ptr noundef @.str.53) %109 = load i32, ptr @_SC_PRIORITIZED_IO, align 4 %110 = call i32 @print_conf_value(i32 noundef %109, ptr noundef @.str.54) %111 = load i32, ptr @_SC_PRIORITY_SCHEDULING, align 4 %112 = call i32 @print_conf_value(i32 noundef %111, ptr noundef @.str.55) %113 = load i32, ptr @_SC_RAW_SOCKETS, align 4 %114 = call i32 @print_conf_value(i32 noundef %113, ptr noundef @.str.56) %115 = load i32, ptr @_SC_READER_WRITER_LOCKS, align 4 %116 = call i32 @print_conf_value(i32 noundef %115, ptr noundef @.str.57) %117 = load i32, ptr @_SC_REALTIME_SIGNALS, align 4 %118 = call i32 @print_conf_value(i32 noundef %117, ptr noundef @.str.58) %119 = load i32, ptr @_SC_REGEXP, align 4 %120 = call i32 @print_conf_value(i32 noundef %119, ptr noundef @.str.59) %121 = load i32, ptr @_SC_SAVED_IDS, align 4 %122 = call i32 @print_conf_value(i32 noundef %121, ptr noundef @.str.60) %123 = load i32, ptr @_SC_SEMAPHORES, align 4 %124 = call i32 @print_conf_value(i32 noundef %123, ptr noundef @.str.61) %125 = load i32, ptr @_SC_SHARED_MEMORY_OBJECTS, align 4 %126 = call i32 @print_conf_value(i32 noundef %125, ptr noundef @.str.62) %127 = load i32, ptr @_SC_SHELL, align 4 %128 = call i32 @print_conf_value(i32 noundef %127, ptr noundef @.str.63) %129 = load i32, ptr @_SC_SPAWN, align 4 %130 = call i32 @print_conf_value(i32 noundef %129, ptr noundef @.str.64) %131 = load i32, ptr @_SC_SPIN_LOCKS, align 4 %132 = call i32 @print_conf_value(i32 noundef %131, ptr noundef @.str.65) %133 = load i32, ptr @_SC_SPORADIC_SERVER, align 4 %134 = call i32 @print_conf_value(i32 noundef %133, ptr noundef @.str.66) %135 = load i32, ptr @_SC_SS_REPL_MAX, align 4 %136 = call i32 @print_conf_value(i32 noundef %135, ptr noundef @.str.67) %137 = load i32, ptr @_SC_SYNCHRONIZED_IO, align 4 %138 = call i32 @print_conf_value(i32 noundef %137, ptr noundef @.str.68) %139 = load i32, ptr @_SC_THREAD_ATTR_STACKADDR, align 4 %140 = call i32 @print_conf_value(i32 noundef %139, ptr noundef @.str.69) %141 = load i32, ptr @_SC_THREAD_ATTR_STACKSIZE, align 4 %142 = call i32 @print_conf_value(i32 noundef %141, ptr noundef @.str.70) %143 = load i32, ptr @_SC_THREAD_CPUTIME, align 4 %144 = call i32 @print_conf_value(i32 noundef %143, ptr noundef @.str.71) %145 = load i32, ptr @_SC_THREAD_PRIO_INHERIT, align 4 %146 = call i32 @print_conf_value(i32 noundef %145, ptr noundef @.str.72) %147 = load i32, ptr @_SC_THREAD_PRIO_PROTECT, align 4 %148 = call i32 @print_conf_value(i32 noundef %147, ptr noundef @.str.73) %149 = load i32, ptr @_SC_THREAD_PRIORITY_SCHEDULING, align 4 %150 = call i32 @print_conf_value(i32 noundef %149, ptr noundef @.str.74) %151 = load i32, ptr @_SC_THREAD_PROCESS_SHARED, align 4 %152 = call i32 @print_conf_value(i32 noundef %151, ptr noundef @.str.75) %153 = load i32, ptr @_SC_THREAD_SAFE_FUNCTIONS, align 4 %154 = call i32 @print_conf_value(i32 noundef %153, ptr noundef @.str.76) %155 = load i32, ptr @_SC_THREAD_SPORADIC_SERVER, align 4 %156 = call i32 @print_conf_value(i32 noundef %155, ptr noundef @.str.77) %157 = load i32, ptr @_SC_THREADS, align 4 %158 = call i32 @print_conf_value(i32 noundef %157, ptr noundef @.str.78) %159 = load i32, ptr @_SC_TIMEOUTS, align 4 %160 = call i32 @print_conf_value(i32 noundef %159, ptr noundef @.str.79) %161 = load i32, ptr @_SC_TIMERS, align 4 %162 = call i32 @print_conf_value(i32 noundef %161, ptr noundef @.str.80) %163 = load i32, ptr @_SC_TRACE, align 4 %164 = call i32 @print_conf_value(i32 noundef %163, ptr noundef @.str.81) %165 = load i32, ptr @_SC_TRACE_EVENT_FILTER, align 4 %166 = call i32 @print_conf_value(i32 noundef %165, ptr noundef @.str.82) %167 = load i32, ptr @_SC_TRACE_EVENT_NAME_MAX, align 4 %168 = call i32 @print_conf_value(i32 noundef %167, ptr noundef @.str.83) %169 = load i32, ptr @_SC_TRACE_INHERIT, align 4 %170 = call i32 @print_conf_value(i32 noundef %169, ptr noundef @.str.84) %171 = load i32, ptr @_SC_TRACE_LOG, align 4 %172 = call i32 @print_conf_value(i32 noundef %171, ptr noundef @.str.85) %173 = load i32, ptr @_SC_TRACE_NAME_MAX, align 4 %174 = call i32 @print_conf_value(i32 noundef %173, ptr noundef @.str.86) %175 = load i32, ptr @_SC_TRACE_SYS_MAX, align 4 %176 = call i32 @print_conf_value(i32 noundef %175, ptr noundef @.str.87) %177 = load i32, ptr @_SC_TRACE_USER_EVENT_MAX, align 4 %178 = call i32 @print_conf_value(i32 noundef %177, ptr noundef @.str.88) %179 = load i32, ptr @_SC_TYPED_MEMORY_OBJECTS, align 4 %180 = call i32 @print_conf_value(i32 noundef %179, ptr noundef @.str.89) %181 = load i32, ptr @_SC_VERSION, align 4 %182 = call i32 @print_conf_value(i32 noundef %181, ptr noundef @.str.90) %183 = load i32, ptr @_SC_V6_ILP32_OFF32, align 4 %184 = call i32 @print_conf_value(i32 noundef %183, ptr noundef @.str.91) %185 = load i32, ptr @_SC_V6_ILP32_OFFBIG, align 4 %186 = call i32 @print_conf_value(i32 noundef %185, ptr noundef @.str.92) %187 = load i32, ptr @_SC_V6_LP64_OFF64, align 4 %188 = call i32 @print_conf_value(i32 noundef %187, ptr noundef @.str.93) %189 = load i32, ptr @_SC_V6_LPBIG_OFFBIG, align 4 %190 = call i32 @print_conf_value(i32 noundef %189, ptr noundef @.str.94) %191 = load i32, ptr @_SC_2_C_BIND, align 4 %192 = call i32 @print_conf_value(i32 noundef %191, ptr noundef @.str.95) %193 = load i32, ptr @_SC_2_C_DEV, align 4 %194 = call i32 @print_conf_value(i32 noundef %193, ptr noundef @.str.96) %195 = load i32, ptr @_SC_2_CHAR_TERM, align 4 %196 = call i32 @print_conf_value(i32 noundef %195, ptr noundef @.str.97) %197 = load i32, ptr @_SC_2_FORT_DEV, align 4 %198 = call i32 @print_conf_value(i32 noundef %197, ptr noundef @.str.98) %199 = load i32, ptr @_SC_2_FORT_RUN, align 4 %200 = call i32 @print_conf_value(i32 noundef %199, ptr noundef @.str.99) %201 = load i32, ptr @_SC_2_LOCALEDEF, align 4 %202 = call i32 @print_conf_value(i32 noundef %201, ptr noundef @.str.100) %203 = load i32, ptr @_SC_2_PBS, align 4 %204 = call i32 @print_conf_value(i32 noundef %203, ptr noundef @.str.101) %205 = load i32, ptr @_SC_2_PBS_ACCOUNTING, align 4 %206 = call i32 @print_conf_value(i32 noundef %205, ptr noundef @.str.102) %207 = load i32, ptr @_SC_2_PBS_CHECKPOINT, align 4 %208 = call i32 @print_conf_value(i32 noundef %207, ptr noundef @.str.103) %209 = load i32, ptr @_SC_2_PBS_LOCATE, align 4 %210 = call i32 @print_conf_value(i32 noundef %209, ptr noundef @.str.104) %211 = load i32, ptr @_SC_2_PBS_MESSAGE, align 4 %212 = call i32 @print_conf_value(i32 noundef %211, ptr noundef @.str.105) %213 = load i32, ptr @_SC_2_PBS_TRACK, align 4 %214 = call i32 @print_conf_value(i32 noundef %213, ptr noundef @.str.106) %215 = load i32, ptr @_SC_2_SW_DEV, align 4 %216 = call i32 @print_conf_value(i32 noundef %215, ptr noundef @.str.107) %217 = load i32, ptr @_SC_2_UPE, align 4 %218 = call i32 @print_conf_value(i32 noundef %217, ptr noundef @.str.108) %219 = load i32, ptr @_SC_2_VERSION, align 4 %220 = call i32 @print_conf_value(i32 noundef %219, ptr noundef @.str.109) %221 = load i32, ptr @_SC_XOPEN_CRYPT, align 4 %222 = call i32 @print_conf_value(i32 noundef %221, ptr noundef @.str.110) %223 = load i32, ptr @_SC_XOPEN_ENH_I18N, align 4 %224 = call i32 @print_conf_value(i32 noundef %223, ptr noundef @.str.111) %225 = load i32, ptr @_SC_XOPEN_REALTIME, align 4 %226 = call i32 @print_conf_value(i32 noundef %225, ptr noundef @.str.112) %227 = load i32, ptr @_SC_XOPEN_REALTIME_THREADS, align 4 %228 = call i32 @print_conf_value(i32 noundef %227, ptr noundef @.str.113) %229 = load i32, ptr @_SC_XOPEN_SHM, align 4 %230 = call i32 @print_conf_value(i32 noundef %229, ptr noundef @.str.114) %231 = load i32, ptr @_SC_XOPEN_STREAMS, align 4 %232 = call i32 @print_conf_value(i32 noundef %231, ptr noundef @.str.115) %233 = load i32, ptr @_SC_XOPEN_UNIX, align 4 %234 = call i32 @print_conf_value(i32 noundef %233, ptr noundef @.str.116) %235 = load i32, ptr @_SC_XOPEN_VERSION, align 4 %236 = call i32 @print_conf_value(i32 noundef %235, ptr noundef @.str.117) ret void } declare i32 @print_conf_value(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphoi_v0cy.c' source_filename = "/tmp/tmphoi_v0cy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 1 for 0x1b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x1b() #0 { %1 = call i32 @isascii(i32 noundef 27) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 140, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmphoi_v0cy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 1 for 0x1b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x1b() #0 { %1 = call i32 @isascii(i32 noundef 27) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 140, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmp3aa7scoi.c' source_filename = "/tmp/tmp3aa7scoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_equal() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr (...) @pop() store ptr %3, ptr %1, align 8 %4 = call ptr (...) @pop() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @equal(ptr noundef %5, ptr noundef %6) %8 = call i32 @new_int(i32 noundef %7) %9 = call i32 @push(i32 noundef %8) %10 = load ptr, ptr %1, align 8 %11 = call i32 @collect(ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = call i32 @collect(ptr noundef %12) ret void } declare ptr @pop(...) #1 declare i32 @push(i32 noundef) #1 declare i32 @new_int(i32 noundef) #1 declare i32 @equal(ptr noundef, ptr noundef) #1 declare i32 @collect(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3aa7scoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_equal() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr (...) @pop() store ptr %3, ptr %1, align 8 %4 = call ptr (...) @pop() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @equal(ptr noundef %5, ptr noundef %6) %8 = call i32 @new_int(i32 noundef %7) %9 = call i32 @push(i32 noundef %8) %10 = load ptr, ptr %1, align 8 %11 = call i32 @collect(ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = call i32 @collect(ptr noundef %12) ret void } declare ptr @pop(...) #1 declare i32 @push(i32 noundef) #1 declare i32 @new_int(i32 noundef) #1 declare i32 @equal(ptr noundef, ptr noundef) #1 declare i32 @collect(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpitlh52x7.c' source_filename = "/tmp/tmpitlh52x7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close(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 @fdatasync(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @real_close(i32 noundef %5) ret i32 %6 } declare i32 @fdatasync(i32 noundef) #1 declare i32 @real_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/tmpitlh52x7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close(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 @fdatasync(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @real_close(i32 noundef %5) ret i32 %6 } declare i32 @fdatasync(i32 noundef) #1 declare i32 @real_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/tmp46dho79k.c' source_filename = "/tmp/tmp46dho79k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @bounce_ease_in(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fsub float 1.000000e+00, %3 %5 = call float @bounce_ease_out(float noundef %4) %6 = fsub float 1.000000e+00, %5 ret float %6 } declare float @bounce_ease_out(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp46dho79k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @bounce_ease_in(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fsub float 1.000000e+00, %3 %5 = call float @bounce_ease_out(float noundef %4) %6 = fsub float 1.000000e+00, %5 ret float %6 } declare float @bounce_ease_out(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdoa2qa9_.c' source_filename = "/tmp/tmpdoa2qa9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdoa2qa9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0nujit6m.c' source_filename = "/tmp/tmp0nujit6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodes_equiespaiats(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 8, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 %15 = load double, ptr %6, align 8 %16 = load double, ptr %5, align 8 %17 = fsub double %15, %16 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = sitofp i32 %19 to double %21 = fdiv double %17, %20 store double %21, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %22 22: ; preds = %36, %3 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %39 26: ; preds = %22 %27 = load double, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sitofp i32 %28 to double %30 = load double, ptr %9, align 8 %31 = call double @llvm.fmuladd.f64(double %29, double %30, double %27) %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %32, i64 %34 store double %31, ptr %35, align 8 br label %36 36: ; preds = %26 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %22, !llvm.loop !6 39: ; preds = %22 %40 = load ptr, ptr %7, align 8 ret ptr %40 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nujit6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodes_equiespaiats(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 8, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 %15 = load double, ptr %6, align 8 %16 = load double, ptr %5, align 8 %17 = fsub double %15, %16 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = sitofp i32 %19 to double %21 = fdiv double %17, %20 store double %21, ptr %9, align 8 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %41 .lr.ph: ; preds = %3 br label %25 25: ; preds = %.lr.ph, %35 %26 = load double, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sitofp i32 %27 to double %29 = load double, ptr %9, align 8 %30 = call double @llvm.fmuladd.f64(double %28, double %29, double %26) %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 store double %30, ptr %34, align 8 br label %35 35: ; preds = %25 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %3 %42 = load ptr, ptr %7, align 8 ret ptr %42 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvqmyzk8u.c' source_filename = "/tmp/tmpvqmyzk8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_cmdline.cbuf = internal global [8192 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [17 x i8] c"/proc/%u/cmdline\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_cmdline(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [32 x i8], align 16 store i32 %0, ptr %3, align 4 %8 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %9 = load i32, ptr %3, align 4 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 32, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %57 17: ; preds = %1 %18 = load i32, ptr %4, align 4 %19 = call i32 @read(i32 noundef %18, ptr noundef @get_cmdline.cbuf, i32 noundef 8192) store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 @close(i32 noundef %23) store ptr null, ptr %2, align 8 br label %57 25: ; preds = %17 %26 = load i32, ptr %5, align 4 %27 = call i32 @strlen(ptr noundef @get_cmdline.cbuf) %28 = sub nsw i32 %26, %27 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %54 30: ; preds = %25 store i32 0, ptr %6, align 4 br label %31 31: ; preds = %47, %30 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %50 35: ; preds = %31 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %44 store i8 32, ptr %45, align 1 br label %46 46: ; preds = %42, %35 br label %47 47: ; preds = %46 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %31, !llvm.loop !6 50: ; preds = %31 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %52 store i8 0, ptr %53, align 1 br label %54 54: ; preds = %50, %25 %55 = load i32, ptr %4, align 4 %56 = call i32 @close(i32 noundef %55) store ptr @get_cmdline.cbuf, ptr %2, align 8 br label %57 57: ; preds = %54, %22, %16 %58 = load ptr, ptr %2, align 8 ret ptr %58 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqmyzk8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_cmdline.cbuf = internal global [8192 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [17 x i8] c"/proc/%u/cmdline\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_cmdline(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [32 x i8], align 16 store i32 %0, ptr %3, align 4 %8 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %9 = load i32, ptr %3, align 4 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 32, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %59 17: ; preds = %1 %18 = load i32, ptr %4, align 4 %19 = call i32 @read(i32 noundef %18, ptr noundef @get_cmdline.cbuf, i32 noundef 8192) store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 @close(i32 noundef %23) store ptr null, ptr %2, align 8 br label %59 25: ; preds = %17 %26 = load i32, ptr %5, align 4 %27 = call i32 @strlen(ptr noundef @get_cmdline.cbuf) %28 = sub nsw i32 %26, %27 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %56 30: ; preds = %25 store i32 0, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %52 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %46 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %34 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %43 store i8 32, ptr %44, align 1 br label %45 45: ; preds = %41, %34 br label %46 46: ; preds = %45 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %30 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [8192 x i8], ptr @get_cmdline.cbuf, i64 0, i64 %54 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %52, %25 %57 = load i32, ptr %4, align 4 %58 = call i32 @close(i32 noundef %57) store ptr @get_cmdline.cbuf, ptr %2, align 8 br label %59 59: ; preds = %56, %22, %16 %60 = load ptr, ptr %2, align 8 ret ptr %60 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptjp0dxwp.c' source_filename = "/tmp/tmptjp0dxwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @readInt() %2 = mul nsw i32 7, %1 %3 = call i32 @printInt(i32 noundef %2) %4 = call i32 @printDouble(double noundef 3.140000e+00) %5 = call i32 @printString(ptr noundef @.str) ret i32 0 } declare i32 @printInt(i32 noundef) #1 declare i32 @readInt(...) #1 declare i32 @printDouble(double noundef) #1 declare i32 @printString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptjp0dxwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @readInt() %2 = mul nsw i32 7, %1 %3 = call i32 @printInt(i32 noundef %2) %4 = call i32 @printDouble(double noundef 3.140000e+00) %5 = call i32 @printString(ptr noundef @.str) ret i32 0 } declare i32 @printInt(i32 noundef) #1 declare i32 @readInt(...) #1 declare i32 @printDouble(double noundef) #1 declare i32 @printString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbe9gmz3o.c' source_filename = "/tmp/tmpbe9gmz3o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strUtf8Len(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %126, %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %8, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %8, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %7, align 1 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %10 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = shl i32 %26, 8 %28 = load i8, ptr %7, align 1 %29 = zext i8 %28 to i32 %30 = or i32 %29, %27 %31 = trunc i32 %30 to i8 store i8 %31, ptr %7, align 1 br label %32 32: ; preds = %19, %10 %33 = load i8, ptr %7, align 1 %34 = zext i8 %33 to i32 %35 = icmp slt i32 %34, 128 br i1 %35, label %36, label %94 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %90 39: ; preds = %36 %40 = load i8, ptr %7, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 %46 = icmp sle i32 %45, 57 br i1 %46, label %90, label %47 47: ; preds = %43, %39 %48 = load i8, ptr %7, align 1 %49 = sext i8 %48 to i32 %50 = icmp sge i32 %49, 65 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = load i8, ptr %7, align 1 %53 = sext i8 %52 to i32 %54 = icmp sle i32 %53, 90 br i1 %54, label %90, label %55 55: ; preds = %51, %47 %56 = load i8, ptr %7, align 1 %57 = sext i8 %56 to i32 %58 = icmp sge i32 %57, 97 br i1 %58, label %59, label %63 59: ; preds = %55 %60 = load i8, ptr %7, align 1 %61 = sext i8 %60 to i32 %62 = icmp sle i32 %61, 122 br i1 %62, label %90, label %63 63: ; preds = %59, %55 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 46 br i1 %66, label %90, label %67 67: ; preds = %63 %68 = load i8, ptr %7, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 47 br i1 %70, label %90, label %71 71: ; preds = %67 %72 = load i8, ptr %7, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 58 br i1 %74, label %90, label %75 75: ; preds = %71 %76 = load i8, ptr %7, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 54 br i1 %78, label %90, label %79 79: ; preds = %75 %80 = load i8, ptr %7, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 95 br i1 %82, label %90, label %83 83: ; preds = %79 %84 = load i8, ptr %7, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 63 br i1 %86, label %90, label %87 87: ; preds = %83 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, 3 store i32 %89, ptr %9, align 4 br label %93 90: ; preds = %83, %79, %75, %71, %67, %63, %59, %51, %43, %36 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 br label %93 93: ; preds = %90, %87 br label %125 94: ; preds = %32 %95 = load i8, ptr %7, align 1 %96 = zext i8 %95 to i32 %97 = icmp slt i32 %96, 2048 br i1 %97, label %98, label %108 98: ; preds = %94 %99 = load i32, ptr %6, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %104 101: ; preds = %98 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 6 store i32 %103, ptr %9, align 4 br label %107 104: ; preds = %98 %105 = load i32, ptr %9, align 4 %106 = add nsw i32 %105, 2 store i32 %106, ptr %9, align 4 br label %107 107: ; preds = %104, %101 br label %124 108: ; preds = %94 %109 = load i8, ptr %7, align 1 %110 = zext i8 %109 to i32 %111 = icmp slt i32 %110, 65536 br i1 %111, label %112, label %122 112: ; preds = %108 %113 = load i32, ptr %6, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %118 115: ; preds = %112 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 9 store i32 %117, ptr %9, align 4 br label %121 118: ; preds = %112 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 %119, 3 store i32 %120, ptr %9, align 4 br label %121 121: ; preds = %118, %115 br label %123 122: ; preds = %108 br label %123 123: ; preds = %122, %121 br label %124 124: ; preds = %123, %107 br label %125 125: ; preds = %124, %93 br label %126 126: ; preds = %125 %127 = load i8, ptr %7, align 1 %128 = zext i8 %127 to i32 %129 = icmp ne i32 %128, 0 br i1 %129, label %10, label %130, !llvm.loop !6 130: ; preds = %126 %131 = load i32, ptr %9, align 4 ret i32 %131 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbe9gmz3o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strUtf8Len(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %126, %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %8, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %8, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %7, align 1 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %10 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = shl i32 %26, 8 %28 = load i8, ptr %7, align 1 %29 = zext i8 %28 to i32 %30 = or i32 %29, %27 %31 = trunc i32 %30 to i8 store i8 %31, ptr %7, align 1 br label %32 32: ; preds = %19, %10 %33 = load i8, ptr %7, align 1 %34 = zext i8 %33 to i32 %35 = icmp slt i32 %34, 128 br i1 %35, label %36, label %94 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %90 39: ; preds = %36 %40 = load i8, ptr %7, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 %46 = icmp sle i32 %45, 57 br i1 %46, label %90, label %47 47: ; preds = %43, %39 %48 = load i8, ptr %7, align 1 %49 = sext i8 %48 to i32 %50 = icmp sge i32 %49, 65 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = load i8, ptr %7, align 1 %53 = sext i8 %52 to i32 %54 = icmp sle i32 %53, 90 br i1 %54, label %90, label %55 55: ; preds = %51, %47 %56 = load i8, ptr %7, align 1 %57 = sext i8 %56 to i32 %58 = icmp sge i32 %57, 97 br i1 %58, label %59, label %63 59: ; preds = %55 %60 = load i8, ptr %7, align 1 %61 = sext i8 %60 to i32 %62 = icmp sle i32 %61, 122 br i1 %62, label %90, label %63 63: ; preds = %59, %55 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 46 br i1 %66, label %90, label %67 67: ; preds = %63 %68 = load i8, ptr %7, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 47 br i1 %70, label %90, label %71 71: ; preds = %67 %72 = load i8, ptr %7, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 58 br i1 %74, label %90, label %75 75: ; preds = %71 %76 = load i8, ptr %7, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 54 br i1 %78, label %90, label %79 79: ; preds = %75 %80 = load i8, ptr %7, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 95 br i1 %82, label %90, label %83 83: ; preds = %79 %84 = load i8, ptr %7, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 63 br i1 %86, label %90, label %87 87: ; preds = %83 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, 3 store i32 %89, ptr %9, align 4 br label %93 90: ; preds = %83, %79, %75, %71, %67, %63, %59, %51, %43, %36 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 br label %93 93: ; preds = %90, %87 br label %125 94: ; preds = %32 %95 = load i8, ptr %7, align 1 %96 = zext i8 %95 to i32 %97 = icmp slt i32 %96, 2048 br i1 %97, label %98, label %108 98: ; preds = %94 %99 = load i32, ptr %6, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %104 101: ; preds = %98 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 6 store i32 %103, ptr %9, align 4 br label %107 104: ; preds = %98 %105 = load i32, ptr %9, align 4 %106 = add nsw i32 %105, 2 store i32 %106, ptr %9, align 4 br label %107 107: ; preds = %104, %101 br label %124 108: ; preds = %94 %109 = load i8, ptr %7, align 1 %110 = zext i8 %109 to i32 %111 = icmp slt i32 %110, 65536 br i1 %111, label %112, label %122 112: ; preds = %108 %113 = load i32, ptr %6, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %118 115: ; preds = %112 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 9 store i32 %117, ptr %9, align 4 br label %121 118: ; preds = %112 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 %119, 3 store i32 %120, ptr %9, align 4 br label %121 121: ; preds = %118, %115 br label %123 122: ; preds = %108 br label %123 123: ; preds = %122, %121 br label %124 124: ; preds = %123, %107 br label %125 125: ; preds = %124, %93 br label %126 126: ; preds = %125 %127 = load i8, ptr %7, align 1 %128 = zext i8 %127 to i32 %129 = icmp ne i32 %128, 0 br i1 %129, label %10, label %130, !llvm.loop !6 130: ; preds = %126 %131 = load i32, ptr %9, align 4 ret i32 %131 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpag2l8wr0.c' source_filename = "/tmp/tmpag2l8wr0.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, ptr } @.str = private unnamed_addr constant [8 x i8] c"%c%i:%i\00", align 1 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFNAME = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"net\00", align 1 @ENODEV = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @udev_device_new_from_device_id(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca %struct.ifreq, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %98 [ i32 98, label %19 i32 99, label %19 i32 110, label %31 i32 43, label %78 ] 19: ; preds = %2, %2 %20 = load ptr, ptr %5, align 8 %21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %22 = icmp ne i32 %21, 3 br i1 %22, label %23, label %24 23: ; preds = %19 store ptr null, ptr %3, align 8 br label %100 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %6, align 1 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @makedev(i32 noundef %27, i32 noundef %28) %30 = call ptr @udev_device_new_from_devnum(ptr noundef %25, i8 noundef signext %26, i32 noundef %29) store ptr %30, ptr %3, align 8 br label %100 31: ; preds = %2 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = call i32 @strtoul(ptr noundef %33, ptr noundef null, i32 noundef 10) store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = load i32, ptr @EINVAL, align 4 store i32 %38, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 39: ; preds = %31 %40 = load i32, ptr @PF_INET, align 4 %41 = load i32, ptr @SOCK_DGRAM, align 4 %42 = call i32 @socket(i32 noundef %40, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %39 store ptr null, ptr %3, align 8 br label %100 46: ; preds = %39 %47 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 16) %48 = load i32, ptr %14, align 4 %49 = getelementptr inbounds %struct.ifreq, ptr %12, i32 0, i32 0 store i32 %48, ptr %49, align 8 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr @SIOCGIFNAME, align 4 %52 = call i32 @ioctl(i32 noundef %50, i32 noundef %51, ptr noundef %12) %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %46 %55 = load i32, ptr %11, align 4 %56 = call i32 @close(i32 noundef %55) store ptr null, ptr %3, align 8 br label %100 57: ; preds = %46 %58 = load i32, ptr %11, align 4 %59 = call i32 @close(i32 noundef %58) %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds %struct.ifreq, ptr %12, i32 0, i32 1 %62 = load ptr, ptr %61, align 8 %63 = call ptr @udev_device_new_from_subsystem_sysname(ptr noundef %60, ptr noundef @.str.1, ptr noundef %62) store ptr %63, ptr %13, align 8 %64 = load ptr, ptr %13, align 8 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %67 66: ; preds = %57 store ptr null, ptr %3, align 8 br label %100 67: ; preds = %57 %68 = load ptr, ptr %13, align 8 %69 = call i32 @udev_device_get_ifindex(ptr noundef %68) %70 = load i32, ptr %14, align 4 %71 = icmp eq i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = load ptr, ptr %13, align 8 store ptr %73, ptr %3, align 8 br label %100 74: ; preds = %67 %75 = load ptr, ptr %13, align 8 %76 = call i32 @udev_device_unref(ptr noundef %75) %77 = load i32, ptr @ENODEV, align 4 store i32 %77, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 78: ; preds = %2 %79 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 1 %82 = call i32 @strscpy(ptr noundef %79, i32 noundef 1024, ptr noundef %81) %83 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %84 = call ptr @strchr(ptr noundef %83, i8 noundef signext 58) store ptr %84, ptr %10, align 8 %85 = load ptr, ptr %10, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %87, label %89 87: ; preds = %78 %88 = load i32, ptr @EINVAL, align 4 store i32 %88, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 89: ; preds = %78 %90 = load ptr, ptr %10, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 0 store i8 0, ptr %91, align 1 %92 = load ptr, ptr %10, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 1 store ptr %93, ptr %10, align 8 %94 = load ptr, ptr %4, align 8 %95 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %96 = load ptr, ptr %10, align 8 %97 = call ptr @udev_device_new_from_subsystem_sysname(ptr noundef %94, ptr noundef %95, ptr noundef %96) store ptr %97, ptr %3, align 8 br label %100 98: ; preds = %2 %99 = load i32, ptr @EINVAL, align 4 store i32 %99, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 100: ; preds = %98, %89, %87, %74, %72, %66, %54, %45, %37, %24, %23 %101 = load ptr, ptr %3, align 8 ret ptr %101 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @udev_device_new_from_devnum(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @udev_device_new_from_subsystem_sysname(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @udev_device_get_ifindex(ptr noundef) #1 declare i32 @udev_device_unref(ptr noundef) #1 declare i32 @strscpy(ptr noundef, i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpag2l8wr0.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, ptr } @.str = private unnamed_addr constant [8 x i8] c"%c%i:%i\00", align 1 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFNAME = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"net\00", align 1 @ENODEV = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @udev_device_new_from_device_id(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca %struct.ifreq, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %98 [ i32 98, label %19 i32 99, label %19 i32 110, label %31 i32 43, label %78 ] 19: ; preds = %2, %2 %20 = load ptr, ptr %5, align 8 %21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %22 = icmp ne i32 %21, 3 br i1 %22, label %23, label %24 23: ; preds = %19 store ptr null, ptr %3, align 8 br label %100 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %6, align 1 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @makedev(i32 noundef %27, i32 noundef %28) %30 = call ptr @udev_device_new_from_devnum(ptr noundef %25, i8 noundef signext %26, i32 noundef %29) store ptr %30, ptr %3, align 8 br label %100 31: ; preds = %2 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = call i32 @strtoul(ptr noundef %33, ptr noundef null, i32 noundef 10) store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = load i32, ptr @EINVAL, align 4 store i32 %38, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 39: ; preds = %31 %40 = load i32, ptr @PF_INET, align 4 %41 = load i32, ptr @SOCK_DGRAM, align 4 %42 = call i32 @socket(i32 noundef %40, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %39 store ptr null, ptr %3, align 8 br label %100 46: ; preds = %39 %47 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 16) %48 = load i32, ptr %14, align 4 %49 = getelementptr inbounds %struct.ifreq, ptr %12, i32 0, i32 0 store i32 %48, ptr %49, align 8 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr @SIOCGIFNAME, align 4 %52 = call i32 @ioctl(i32 noundef %50, i32 noundef %51, ptr noundef %12) %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %46 %55 = load i32, ptr %11, align 4 %56 = call i32 @close(i32 noundef %55) store ptr null, ptr %3, align 8 br label %100 57: ; preds = %46 %58 = load i32, ptr %11, align 4 %59 = call i32 @close(i32 noundef %58) %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds %struct.ifreq, ptr %12, i32 0, i32 1 %62 = load ptr, ptr %61, align 8 %63 = call ptr @udev_device_new_from_subsystem_sysname(ptr noundef %60, ptr noundef @.str.1, ptr noundef %62) store ptr %63, ptr %13, align 8 %64 = load ptr, ptr %13, align 8 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %67 66: ; preds = %57 store ptr null, ptr %3, align 8 br label %100 67: ; preds = %57 %68 = load ptr, ptr %13, align 8 %69 = call i32 @udev_device_get_ifindex(ptr noundef %68) %70 = load i32, ptr %14, align 4 %71 = icmp eq i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = load ptr, ptr %13, align 8 store ptr %73, ptr %3, align 8 br label %100 74: ; preds = %67 %75 = load ptr, ptr %13, align 8 %76 = call i32 @udev_device_unref(ptr noundef %75) %77 = load i32, ptr @ENODEV, align 4 store i32 %77, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 78: ; preds = %2 %79 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 1 %82 = call i32 @strscpy(ptr noundef %79, i32 noundef 1024, ptr noundef %81) %83 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %84 = call ptr @strchr(ptr noundef %83, i8 noundef signext 58) store ptr %84, ptr %10, align 8 %85 = load ptr, ptr %10, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %87, label %89 87: ; preds = %78 %88 = load i32, ptr @EINVAL, align 4 store i32 %88, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 89: ; preds = %78 %90 = load ptr, ptr %10, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 0 store i8 0, ptr %91, align 1 %92 = load ptr, ptr %10, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 1 store ptr %93, ptr %10, align 8 %94 = load ptr, ptr %4, align 8 %95 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %96 = load ptr, ptr %10, align 8 %97 = call ptr @udev_device_new_from_subsystem_sysname(ptr noundef %94, ptr noundef %95, ptr noundef %96) store ptr %97, ptr %3, align 8 br label %100 98: ; preds = %2 %99 = load i32, ptr @EINVAL, align 4 store i32 %99, ptr @errno, align 4 store ptr null, ptr %3, align 8 br label %100 100: ; preds = %98, %89, %87, %74, %72, %66, %54, %45, %37, %24, %23 %101 = load ptr, ptr %3, align 8 ret ptr %101 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @udev_device_new_from_devnum(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @udev_device_new_from_subsystem_sysname(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @udev_device_get_ifindex(ptr noundef) #1 declare i32 @udev_device_unref(ptr noundef) #1 declare i32 @strscpy(ptr noundef, i32 noundef, 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"}
; ModuleID = '/tmp/tmpsl5v1u3m.c' source_filename = "/tmp/tmpsl5v1u3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @generate_space(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store ptr @.str, ptr %6, align 8 %8 = load i8, ptr %3, align 1 %9 = call ptr @char_to_str(i8 noundef signext %8) store ptr %9, ptr %7, align 8 br label %10 10: ; preds = %18, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %10 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = call ptr @my_strcat(ptr noundef %15, ptr noundef %16) store ptr %17, ptr %6, align 8 br label %18 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load ptr, ptr %6, align 8 ret ptr %22 } declare ptr @char_to_str(i8 noundef signext) #1 declare ptr @my_strcat(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/tmpsl5v1u3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @generate_space(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store ptr @.str, ptr %6, align 8 %8 = load i8, ptr %3, align 1 %9 = call ptr @char_to_str(i8 noundef signext %8) store ptr %9, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %17 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %7, align 8 %16 = call ptr @my_strcat(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %6, align 8 br label %17 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = load ptr, ptr %6, align 8 ret ptr %24 } declare ptr @char_to_str(i8 noundef signext) #1 declare ptr @my_strcat(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/tmpc_drir6n.c' source_filename = "/tmp/tmpc_drir6n.c" target datalayout = "e-m:e-p270: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.input_event = type { i32, i32, i32 } @__const.main.def = private unnamed_addr constant [12 x i8] c"/dev/event1\00", align 1 @EV_SND = dso_local global i32 0, align 4 @SND_TONE = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"open()\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 %struct.input_event, align 4 %8 = alloca [12 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca { i64, i32 }, align 4 %11 = alloca { i64, 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 -1, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.def, i64 12, i1 false) %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %9, align 8 br label %20 18: ; preds = %2 %19 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0 store ptr %19, ptr %9, align 8 br label %20 20: ; preds = %18, %14 %21 = load i32, ptr @EV_SND, align 4 %22 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @SND_TONE, align 4 %24 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr @O_WRONLY, align 4 %27 = call i32 @open(ptr noundef %25, i32 noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %20 %31 = call i32 @perror(ptr noundef @.str) %32 = call i32 @exit(i32 noundef 1) #4 unreachable 33: ; preds = %20 %34 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 750, ptr %34, align 4 %35 = load i32, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %7, i64 12, i1 false) %36 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 0 %37 = load i64, ptr %36, align 4 %38 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @write_event(i32 noundef %35, i64 %37, i32 %39) %41 = call i32 @usleep(i32 noundef 10000) %42 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 0, ptr %42, align 4 %43 = load i32, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %7, i64 12, i1 false) %44 = getelementptr inbounds { i64, i32 }, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 4 %46 = getelementptr inbounds { i64, i32 }, ptr %11, i32 0, i32 1 %47 = load i32, ptr %46, align 4 %48 = call i32 @write_event(i32 noundef %43, i64 %45, i32 %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) 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 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @write_event(i32 noundef, i64, i32) #2 declare i32 @usleep(i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" } 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 = { 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/tmpc_drir6n.c" target datalayout = "e-m:e-p270: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.input_event = type { i32, i32, i32 } @__const.main.def = private unnamed_addr constant [12 x i8] c"/dev/event1\00", align 1 @EV_SND = dso_local global i32 0, align 4 @SND_TONE = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"open()\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 %struct.input_event, align 4 %8 = alloca [12 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca { i64, i32 }, align 4 %11 = alloca { i64, 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 -1, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.def, i64 12, i1 false) %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %9, align 8 br label %20 18: ; preds = %2 %19 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0 store ptr %19, ptr %9, align 8 br label %20 20: ; preds = %18, %14 %21 = load i32, ptr @EV_SND, align 4 %22 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @SND_TONE, align 4 %24 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr @O_WRONLY, align 4 %27 = call i32 @open(ptr noundef %25, i32 noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %20 %31 = call i32 @perror(ptr noundef @.str) %32 = call i32 @exit(i32 noundef 1) #4 unreachable 33: ; preds = %20 %34 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 750, ptr %34, align 4 %35 = load i32, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %7, i64 12, i1 false) %36 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 0 %37 = load i64, ptr %36, align 4 %38 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @write_event(i32 noundef %35, i64 %37, i32 %39) %41 = call i32 @usleep(i32 noundef 10000) %42 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 0, ptr %42, align 4 %43 = load i32, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %7, i64 12, i1 false) %44 = getelementptr inbounds { i64, i32 }, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 4 %46 = getelementptr inbounds { i64, i32 }, ptr %11, i32 0, i32 1 %47 = load i32, ptr %46, align 4 %48 = call i32 @write_event(i32 noundef %43, i64 %45, i32 %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) 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 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @write_event(i32 noundef, i64, i32) #2 declare i32 @usleep(i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" } 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 = { 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/tmpff2p5obz.c' source_filename = "/tmp/tmpff2p5obz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, 37317403 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpff2p5obz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, 37317403 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpby_9fn2a.c' source_filename = "/tmp/tmpby_9fn2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = 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/tmpby_9fn2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = 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/tmp322joxvs.c' source_filename = "/tmp/tmp322joxvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Gamma Function\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%10s %21s %21s\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"gammln(x)\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"%12.2f %20.6f %20.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @nrerror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %0 %14 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 80, ptr noundef %15) br label %17 17: ; preds = %30, %13 %18 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.3, i32 noundef 14) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %23 = load ptr, ptr %8, align 8 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, ptr noundef %23) %25 = load ptr, ptr %8, align 8 %26 = call i64 @feof(ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %21 %29 = call i32 @nrerror(ptr noundef @.str.4) br label %30 30: ; preds = %28, %21 br label %17, !llvm.loop !6 31: ; preds = %17 %32 = load ptr, ptr %8, align 8 %33 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %4) %34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10) store i32 1, ptr %3, align 4 br label %37 37: ; preds = %74, %31 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %41, label %77 41: ; preds = %37 %42 = load ptr, ptr %8, align 8 %43 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %42, ptr noundef @.str.11, ptr noundef %7, ptr noundef %5) %44 = load float, ptr %7, align 4 %45 = fpext float %44 to double %46 = fcmp ogt double %45, 0.000000e+00 br i1 %46, label %47, label %73 47: ; preds = %41 %48 = load float, ptr %7, align 4 %49 = fpext float %48 to double %50 = fcmp olt double %49, 1.000000e+00 br i1 %50, label %51, label %60 51: ; preds = %47 %52 = load float, ptr %7, align 4 %53 = fpext float %52 to double %54 = fadd double %53, 1.000000e+00 %55 = fptrunc double %54 to float %56 = call double @gammln(float noundef %55) %57 = load float, ptr %7, align 4 %58 = call double @log(float noundef %57) %59 = fsub double %56, %58 br label %63 60: ; preds = %47 %61 = load float, ptr %7, align 4 %62 = call double @gammln(float noundef %61) br label %63 63: ; preds = %60, %51 %64 = phi double [ %59, %51 ], [ %62, %60 ] %65 = fptrunc double %64 to float store float %65, ptr %6, align 4 %66 = load float, ptr %7, align 4 %67 = fpext float %66 to double %68 = load float, ptr %5, align 4 %69 = call double @log(float noundef %68) %70 = load float, ptr %6, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %67, double noundef %69, double noundef %71) br label %73 73: ; preds = %63, %41 br label %74 74: ; preds = %73 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 br label %37, !llvm.loop !8 77: ; preds = %37 %78 = load ptr, ptr %8, align 8 %79 = call i32 @fclose(ptr noundef %78) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @gammln(float noundef) #1 declare double @log(float noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp322joxvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Gamma Function\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%10s %21s %21s\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"gammln(x)\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"%12.2f %20.6f %20.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @nrerror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %0 %14 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 80, ptr noundef %15) %17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 14) %19 = icmp ne i64 %18, 0 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %29 %21 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %22 = load ptr, ptr %8, align 8 %23 = call i32 @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i64 @feof(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 @nrerror(ptr noundef @.str.4) br label %29 29: ; preds = %27, %20 %30 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 14) %31 = icmp ne i64 %30, 0 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %32 32: ; preds = %._crit_edge, %13 %33 = load ptr, ptr %8, align 8 %34 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %33, ptr noundef @.str.5, ptr noundef %4) %35 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10) store i32 1, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %.lr.ph2, label %80 .lr.ph2: ; preds = %32 br label %41 41: ; preds = %.lr.ph2, %74 %42 = load ptr, ptr %8, align 8 %43 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %42, ptr noundef @.str.11, ptr noundef %7, ptr noundef %5) %44 = load float, ptr %7, align 4 %45 = fpext float %44 to double %46 = fcmp ogt double %45, 0.000000e+00 br i1 %46, label %47, label %73 47: ; preds = %41 %48 = load float, ptr %7, align 4 %49 = fpext float %48 to double %50 = fcmp olt double %49, 1.000000e+00 br i1 %50, label %51, label %60 51: ; preds = %47 %52 = load float, ptr %7, align 4 %53 = fpext float %52 to double %54 = fadd double %53, 1.000000e+00 %55 = fptrunc double %54 to float %56 = call double @gammln(float noundef %55) %57 = load float, ptr %7, align 4 %58 = call double @log(float noundef %57) %59 = fsub double %56, %58 br label %63 60: ; preds = %47 %61 = load float, ptr %7, align 4 %62 = call double @gammln(float noundef %61) br label %63 63: ; preds = %60, %51 %64 = phi double [ %59, %51 ], [ %62, %60 ] %65 = fptrunc double %64 to float store float %65, ptr %6, align 4 %66 = load float, ptr %7, align 4 %67 = fpext float %66 to double %68 = load float, ptr %5, align 4 %69 = call double @log(float noundef %68) %70 = load float, ptr %6, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %67, double noundef %69, double noundef %71) br label %73 73: ; preds = %63, %41 br label %74 74: ; preds = %73 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %4, align 4 %79 = icmp sle i32 %77, %78 br i1 %79, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %80 80: ; preds = %._crit_edge3, %32 %81 = load ptr, ptr %8, align 8 %82 = call i32 @fclose(ptr noundef %81) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @gammln(float noundef) #1 declare double @log(float noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpiv7omf2n.c' source_filename = "/tmp/tmpiv7omf2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YabSockInit() #0 { ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiv7omf2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YabSockInit() #0 { ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkrjlo4_z.c' source_filename = "/tmp/tmpkrjlo4_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mean(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %33 11: ; preds = %2 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %25, %11 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %5, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load double, ptr %6, align 8 %24 = fadd double %23, %22 store double %24, ptr %6, align 8 br label %25 25: ; preds = %17 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = load double, ptr %6, align 8 %30 = load i64, ptr %5, align 8 %31 = uitofp i64 %30 to double %32 = fdiv double %29, %31 store double %32, ptr %3, align 8 br label %33 33: ; preds = %28, %10 %34 = load double, ptr %3, align 8 ret double %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkrjlo4_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mean(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %36 11: ; preds = %2 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %5, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %24 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load double, ptr %6, align 8 %23 = fadd double %22, %21 store double %23, ptr %6, align 8 br label %24 24: ; preds = %16 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = load i64, ptr %5, align 8 %30 = icmp ult i64 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %31 31: ; preds = %._crit_edge, %11 %32 = load double, ptr %6, align 8 %33 = load i64, ptr %5, align 8 %34 = uitofp i64 %33 to double %35 = fdiv double %32, %34 store double %35, ptr %3, align 8 br label %36 36: ; preds = %31, %10 %37 = load double, ptr %3, align 8 ret double %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmplcdeo4pq.c' source_filename = "/tmp/tmplcdeo4pq.c" target datalayout = "e-m:e-p270: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/tmplcdeo4pq.c" target datalayout = "e-m:e-p270: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/tmp8zorxvz_.c' source_filename = "/tmp/tmp8zorxvz_.c" target datalayout = "e-m:e-p270: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/tmp8zorxvz_.c" target datalayout = "e-m:e-p270: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/tmppqwd90mf.c' source_filename = "/tmp/tmppqwd90mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @acc_device_default = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"CheCKpOInT\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @acc_device_default, align 4 %7 = call i32 @acc_init(i32 noundef %6) %8 = load i32, ptr @acc_device_default, align 4 %9 = call i32 @acc_shutdown(i32 noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @acc_device_default, align 4 %13 = call i32 @acc_shutdown(i32 noundef %12) ret i32 0 } declare i32 @acc_init(i32 noundef) #1 declare i32 @acc_shutdown(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppqwd90mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @acc_device_default = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"CheCKpOInT\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @acc_device_default, align 4 %7 = call i32 @acc_init(i32 noundef %6) %8 = load i32, ptr @acc_device_default, align 4 %9 = call i32 @acc_shutdown(i32 noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @acc_device_default, align 4 %13 = call i32 @acc_shutdown(i32 noundef %12) ret i32 0 } declare i32 @acc_init(i32 noundef) #1 declare i32 @acc_shutdown(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpku1qnoxd.c' source_filename = "/tmp/tmpku1qnoxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpku1qnoxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpv5ng1nip.c' source_filename = "/tmp/tmpv5ng1nip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Perimeter is: %.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Area is: %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 5.000000e+00, ptr %2, align 4 store float 7.500000e+00, ptr %3, align 4 store float 0x4024666660000000, ptr %4, align 4 %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fadd float %8, %9 %11 = load float, ptr %4, align 4 %12 = fadd float %10, %11 store float %12, ptr %5, align 4 %13 = load float, ptr %5, align 4 %14 = fdiv float %13, 2.000000e+00 store float %14, ptr %6, align 4 %15 = load float, ptr %6, align 4 %16 = load float, ptr %6, align 4 %17 = load float, ptr %2, align 4 %18 = fsub float %16, %17 %19 = fmul float %15, %18 %20 = load float, ptr %6, align 4 %21 = load float, ptr %3, align 4 %22 = fsub float %20, %21 %23 = fmul float %19, %22 %24 = load float, ptr %6, align 4 %25 = load float, ptr %4, align 4 %26 = fsub float %24, %25 %27 = fmul float %23, %26 store float %27, ptr %7, align 4 %28 = load float, ptr %5, align 4 %29 = call i32 @printf(ptr noundef @.str, float noundef %28) %30 = load float, ptr %7, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5ng1nip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Perimeter is: %.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Area is: %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 5.000000e+00, ptr %2, align 4 store float 7.500000e+00, ptr %3, align 4 store float 0x4024666660000000, ptr %4, align 4 %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fadd float %8, %9 %11 = load float, ptr %4, align 4 %12 = fadd float %10, %11 store float %12, ptr %5, align 4 %13 = load float, ptr %5, align 4 %14 = fdiv float %13, 2.000000e+00 store float %14, ptr %6, align 4 %15 = load float, ptr %6, align 4 %16 = load float, ptr %6, align 4 %17 = load float, ptr %2, align 4 %18 = fsub float %16, %17 %19 = fmul float %15, %18 %20 = load float, ptr %6, align 4 %21 = load float, ptr %3, align 4 %22 = fsub float %20, %21 %23 = fmul float %19, %22 %24 = load float, ptr %6, align 4 %25 = load float, ptr %4, align 4 %26 = fsub float %24, %25 %27 = fmul float %23, %26 store float %27, ptr %7, align 4 %28 = load float, ptr %5, align 4 %29 = call i32 @printf(ptr noundef @.str, float noundef %28) %30 = load float, ptr %7, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfaab6rtb.c' source_filename = "/tmp/tmpfaab6rtb.c" target datalayout = "e-m:e-p270: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/tmpfaab6rtb.c" target datalayout = "e-m:e-p270: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/tmp2kqzjxes.c' source_filename = "/tmp/tmp2kqzjxes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"maxcifra(%d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @maxcifra(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @maxcifra(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/tmp2kqzjxes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"maxcifra(%d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @maxcifra(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @maxcifra(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/tmpma5st01b.c' source_filename = "/tmp/tmpma5st01b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %32, %4 %12 = load i32, ptr %10, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp ult i32 %12, %13 br i1 %14, label %15, label %35 15: ; preds = %11 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %7, align 4 %19 = add i32 %17, %18 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %16, i64 %20 %22 = load i64, ptr %21, align 8 %23 = call i64 @tolower(i64 noundef %22) %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i64, ptr %24, i64 %26 %28 = load i64, ptr %27, align 8 %29 = icmp ne i64 %23, %28 br i1 %29, label %30, label %31 30: ; preds = %15 store i32 0, ptr %5, align 4 br label %36 31: ; preds = %15 br label %32 32: ; preds = %31 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 br label %11, !llvm.loop !6 35: ; preds = %11 store i32 1, ptr %5, align 4 br label %36 36: ; preds = %35, %30 %37 = load i32, ptr %5, align 4 ret i32 %37 } declare i64 @tolower(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/tmpma5st01b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp ult i32 %11, %12 br i1 %13, label %.lr.ph, label %37 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %31 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %7, align 4 %18 = add i32 %16, %17 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %15, i64 %19 %21 = load i64, ptr %20, align 8 %22 = call i64 @tolower(i64 noundef %21) %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i64, ptr %23, i64 %25 %27 = load i64, ptr %26, align 8 %28 = icmp ne i64 %22, %27 br i1 %28, label %29, label %30 29: ; preds = %14 store i32 0, ptr %5, align 4 br label %38 30: ; preds = %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %4 store i32 1, ptr %5, align 4 br label %38 38: ; preds = %37, %29 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i64 @tolower(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/tmpkhysu9sj.c' source_filename = "/tmp/tmpkhysu9sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tdLookAt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [16 x float], align 16 %10 = alloca [3 x float], align 4 %11 = alloca float, align 4 %12 = alloca [3 x float], align 4 %13 = alloca float, align 4 %14 = alloca [3 x float], align 4 %15 = alloca [3 x float], align 4 %16 = alloca [3 x float], align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds float, ptr %18, i64 0 %20 = load float, ptr %19, align 4 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds float, ptr %21, i64 0 %23 = load float, ptr %22, align 4 %24 = fsub float %20, %23 store float %24, ptr %17, align 4 %25 = getelementptr inbounds float, ptr %17, i64 1 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds float, ptr %26, i64 1 %28 = load float, ptr %27, align 4 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds float, ptr %29, i64 1 %31 = load float, ptr %30, align 4 %32 = fsub float %28, %31 store float %32, ptr %25, align 4 %33 = getelementptr inbounds float, ptr %25, i64 1 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %34, i64 2 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds float, ptr %37, i64 2 %39 = load float, ptr %38, align 4 %40 = fsub float %36, %39 store float %40, ptr %33, align 4 %41 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %42 = load float, ptr %41, align 4 %43 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %44 = load float, ptr %43, align 4 %45 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %46 = load float, ptr %45, align 4 %47 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %48 = load float, ptr %47, align 4 %49 = fmul float %46, %48 %50 = call float @llvm.fmuladd.f32(float %42, float %44, float %49) %51 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %52 = load float, ptr %51, align 4 %53 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %54 = load float, ptr %53, align 4 %55 = call float @llvm.fmuladd.f32(float %52, float %54, float %50) %56 = call i32 @sqrtf(float noundef %55) %57 = sitofp i32 %56 to double %58 = fdiv double 1.000000e+00, %57 %59 = fptrunc double %58 to float store float %59, ptr %11, align 4 %60 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %61 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %62 = load float, ptr %61, align 4 %63 = load float, ptr %11, align 4 %64 = fmul float %62, %63 store float %64, ptr %60, align 4 %65 = getelementptr inbounds float, ptr %60, i64 1 %66 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %67 = load float, ptr %66, align 4 %68 = load float, ptr %11, align 4 %69 = fmul float %67, %68 store float %69, ptr %65, align 4 %70 = getelementptr inbounds float, ptr %65, i64 1 %71 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %72 = load float, ptr %71, align 4 %73 = load float, ptr %11, align 4 %74 = fmul float %72, %73 store float %74, ptr %70, align 4 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds float, ptr %75, i64 0 %77 = load float, ptr %76, align 4 %78 = load ptr, ptr %8, align 8 %79 = getelementptr inbounds float, ptr %78, i64 0 %80 = load float, ptr %79, align 4 %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 %83 = load float, ptr %82, align 4 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds float, ptr %84, i64 1 %86 = load float, ptr %85, align 4 %87 = fmul float %83, %86 %88 = call float @llvm.fmuladd.f32(float %77, float %80, float %87) %89 = load ptr, ptr %8, align 8 %90 = getelementptr inbounds float, ptr %89, i64 2 %91 = load float, ptr %90, align 4 %92 = load ptr, ptr %8, align 8 %93 = getelementptr inbounds float, ptr %92, i64 2 %94 = load float, ptr %93, align 4 %95 = call float @llvm.fmuladd.f32(float %91, float %94, float %88) %96 = call i32 @sqrtf(float noundef %95) %97 = sitofp i32 %96 to double %98 = fdiv double 1.000000e+00, %97 %99 = fptrunc double %98 to float store float %99, ptr %13, align 4 %100 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0 %101 = load ptr, ptr %8, align 8 %102 = getelementptr inbounds float, ptr %101, i64 0 %103 = load float, ptr %102, align 4 %104 = load float, ptr %13, align 4 %105 = fmul float %103, %104 store float %105, ptr %100, align 4 %106 = getelementptr inbounds float, ptr %100, i64 1 %107 = load ptr, ptr %8, align 8 %108 = getelementptr inbounds float, ptr %107, i64 1 %109 = load float, ptr %108, align 4 %110 = load float, ptr %13, align 4 %111 = fmul float %109, %110 store float %111, ptr %106, align 4 %112 = getelementptr inbounds float, ptr %106, i64 1 %113 = load ptr, ptr %8, align 8 %114 = getelementptr inbounds float, ptr %113, i64 2 %115 = load float, ptr %114, align 4 %116 = load float, ptr %13, align 4 %117 = fmul float %115, %116 store float %117, ptr %112, align 4 %118 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %119 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0 %120 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %121 = call i32 @tdCross(ptr noundef %118, ptr noundef %119, ptr noundef %120) %122 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %123 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %124 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0 %125 = call i32 @tdCross(ptr noundef %122, ptr noundef %123, ptr noundef %124) %126 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %127 = load float, ptr %126, align 4 %128 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0 store float %127, ptr %128, align 16 %129 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 1 %130 = load float, ptr %129, align 4 %131 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 1 store float %130, ptr %131, align 4 %132 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 2 %133 = load float, ptr %132, align 4 %134 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 2 store float %133, ptr %134, align 8 %135 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 3 store float 0.000000e+00, ptr %135, align 4 %136 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0 %137 = load float, ptr %136, align 4 %138 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 4 store float %137, ptr %138, align 16 %139 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 1 %140 = load float, ptr %139, align 4 %141 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 5 store float %140, ptr %141, align 4 %142 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 2 %143 = load float, ptr %142, align 4 %144 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 6 store float %143, ptr %144, align 8 %145 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 7 store float 0.000000e+00, ptr %145, align 4 %146 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %147 = load float, ptr %146, align 4 %148 = fneg float %147 %149 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 8 store float %148, ptr %149, align 16 %150 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 1 %151 = load float, ptr %150, align 4 %152 = fneg float %151 %153 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 9 store float %152, ptr %153, align 4 %154 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 2 %155 = load float, ptr %154, align 4 %156 = fneg float %155 %157 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 10 store float %156, ptr %157, align 8 %158 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 11 store float 0.000000e+00, ptr %158, align 4 %159 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 12 store float 0.000000e+00, ptr %159, align 16 %160 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 13 store float 0.000000e+00, ptr %160, align 4 %161 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 14 store float 0.000000e+00, ptr %161, align 8 %162 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 15 store float 1.000000e+00, ptr %162, align 4 %163 = load ptr, ptr %5, align 8 %164 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0 %165 = load ptr, ptr %5, align 8 %166 = call i32 @tdMultiply(ptr noundef %163, ptr noundef %164, ptr noundef %165) %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds float, ptr %168, i64 0 %170 = load float, ptr %169, align 4 %171 = fneg float %170 %172 = load ptr, ptr %6, align 8 %173 = getelementptr inbounds float, ptr %172, i64 1 %174 = load float, ptr %173, align 4 %175 = fneg float %174 %176 = load ptr, ptr %6, align 8 %177 = getelementptr inbounds float, ptr %176, i64 2 %178 = load float, ptr %177, align 4 %179 = fneg float %178 %180 = call i32 @tdTranslate(ptr noundef %167, float noundef %171, float noundef %175, float noundef %179) ret void } declare i32 @sqrtf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @tdCross(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tdMultiply(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tdTranslate(ptr noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpkhysu9sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tdLookAt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [16 x float], align 16 %10 = alloca [3 x float], align 4 %11 = alloca float, align 4 %12 = alloca [3 x float], align 4 %13 = alloca float, align 4 %14 = alloca [3 x float], align 4 %15 = alloca [3 x float], align 4 %16 = alloca [3 x float], align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds float, ptr %18, i64 0 %20 = load float, ptr %19, align 4 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds float, ptr %21, i64 0 %23 = load float, ptr %22, align 4 %24 = fsub float %20, %23 store float %24, ptr %17, align 4 %25 = getelementptr inbounds float, ptr %17, i64 1 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds float, ptr %26, i64 1 %28 = load float, ptr %27, align 4 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds float, ptr %29, i64 1 %31 = load float, ptr %30, align 4 %32 = fsub float %28, %31 store float %32, ptr %25, align 4 %33 = getelementptr inbounds float, ptr %25, i64 1 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %34, i64 2 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds float, ptr %37, i64 2 %39 = load float, ptr %38, align 4 %40 = fsub float %36, %39 store float %40, ptr %33, align 4 %41 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %42 = load float, ptr %41, align 4 %43 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %44 = load float, ptr %43, align 4 %45 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %46 = load float, ptr %45, align 4 %47 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %48 = load float, ptr %47, align 4 %49 = fmul float %46, %48 %50 = call float @llvm.fmuladd.f32(float %42, float %44, float %49) %51 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %52 = load float, ptr %51, align 4 %53 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %54 = load float, ptr %53, align 4 %55 = call float @llvm.fmuladd.f32(float %52, float %54, float %50) %56 = call i32 @sqrtf(float noundef %55) %57 = sitofp i32 %56 to double %58 = fdiv double 1.000000e+00, %57 %59 = fptrunc double %58 to float store float %59, ptr %11, align 4 %60 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %61 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %62 = load float, ptr %61, align 4 %63 = load float, ptr %11, align 4 %64 = fmul float %62, %63 store float %64, ptr %60, align 4 %65 = getelementptr inbounds float, ptr %60, i64 1 %66 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1 %67 = load float, ptr %66, align 4 %68 = load float, ptr %11, align 4 %69 = fmul float %67, %68 store float %69, ptr %65, align 4 %70 = getelementptr inbounds float, ptr %65, i64 1 %71 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2 %72 = load float, ptr %71, align 4 %73 = load float, ptr %11, align 4 %74 = fmul float %72, %73 store float %74, ptr %70, align 4 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds float, ptr %75, i64 0 %77 = load float, ptr %76, align 4 %78 = load ptr, ptr %8, align 8 %79 = getelementptr inbounds float, ptr %78, i64 0 %80 = load float, ptr %79, align 4 %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 %83 = load float, ptr %82, align 4 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds float, ptr %84, i64 1 %86 = load float, ptr %85, align 4 %87 = fmul float %83, %86 %88 = call float @llvm.fmuladd.f32(float %77, float %80, float %87) %89 = load ptr, ptr %8, align 8 %90 = getelementptr inbounds float, ptr %89, i64 2 %91 = load float, ptr %90, align 4 %92 = load ptr, ptr %8, align 8 %93 = getelementptr inbounds float, ptr %92, i64 2 %94 = load float, ptr %93, align 4 %95 = call float @llvm.fmuladd.f32(float %91, float %94, float %88) %96 = call i32 @sqrtf(float noundef %95) %97 = sitofp i32 %96 to double %98 = fdiv double 1.000000e+00, %97 %99 = fptrunc double %98 to float store float %99, ptr %13, align 4 %100 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0 %101 = load ptr, ptr %8, align 8 %102 = getelementptr inbounds float, ptr %101, i64 0 %103 = load float, ptr %102, align 4 %104 = load float, ptr %13, align 4 %105 = fmul float %103, %104 store float %105, ptr %100, align 4 %106 = getelementptr inbounds float, ptr %100, i64 1 %107 = load ptr, ptr %8, align 8 %108 = getelementptr inbounds float, ptr %107, i64 1 %109 = load float, ptr %108, align 4 %110 = load float, ptr %13, align 4 %111 = fmul float %109, %110 store float %111, ptr %106, align 4 %112 = getelementptr inbounds float, ptr %106, i64 1 %113 = load ptr, ptr %8, align 8 %114 = getelementptr inbounds float, ptr %113, i64 2 %115 = load float, ptr %114, align 4 %116 = load float, ptr %13, align 4 %117 = fmul float %115, %116 store float %117, ptr %112, align 4 %118 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %119 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0 %120 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %121 = call i32 @tdCross(ptr noundef %118, ptr noundef %119, ptr noundef %120) %122 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %123 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %124 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0 %125 = call i32 @tdCross(ptr noundef %122, ptr noundef %123, ptr noundef %124) %126 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0 %127 = load float, ptr %126, align 4 %128 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0 store float %127, ptr %128, align 16 %129 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 1 %130 = load float, ptr %129, align 4 %131 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 1 store float %130, ptr %131, align 4 %132 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 2 %133 = load float, ptr %132, align 4 %134 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 2 store float %133, ptr %134, align 8 %135 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 3 store float 0.000000e+00, ptr %135, align 4 %136 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0 %137 = load float, ptr %136, align 4 %138 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 4 store float %137, ptr %138, align 16 %139 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 1 %140 = load float, ptr %139, align 4 %141 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 5 store float %140, ptr %141, align 4 %142 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 2 %143 = load float, ptr %142, align 4 %144 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 6 store float %143, ptr %144, align 8 %145 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 7 store float 0.000000e+00, ptr %145, align 4 %146 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0 %147 = load float, ptr %146, align 4 %148 = fneg float %147 %149 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 8 store float %148, ptr %149, align 16 %150 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 1 %151 = load float, ptr %150, align 4 %152 = fneg float %151 %153 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 9 store float %152, ptr %153, align 4 %154 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 2 %155 = load float, ptr %154, align 4 %156 = fneg float %155 %157 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 10 store float %156, ptr %157, align 8 %158 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 11 store float 0.000000e+00, ptr %158, align 4 %159 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 12 store float 0.000000e+00, ptr %159, align 16 %160 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 13 store float 0.000000e+00, ptr %160, align 4 %161 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 14 store float 0.000000e+00, ptr %161, align 8 %162 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 15 store float 1.000000e+00, ptr %162, align 4 %163 = load ptr, ptr %5, align 8 %164 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0 %165 = load ptr, ptr %5, align 8 %166 = call i32 @tdMultiply(ptr noundef %163, ptr noundef %164, ptr noundef %165) %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds float, ptr %168, i64 0 %170 = load float, ptr %169, align 4 %171 = fneg float %170 %172 = load ptr, ptr %6, align 8 %173 = getelementptr inbounds float, ptr %172, i64 1 %174 = load float, ptr %173, align 4 %175 = fneg float %174 %176 = load ptr, ptr %6, align 8 %177 = getelementptr inbounds float, ptr %176, i64 2 %178 = load float, ptr %177, align 4 %179 = fneg float %178 %180 = call i32 @tdTranslate(ptr noundef %167, float noundef %171, float noundef %175, float noundef %179) ret void } declare i32 @sqrtf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @tdCross(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tdMultiply(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tdTranslate(ptr noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpa8btamiy.c' source_filename = "/tmp/tmpa8btamiy.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"usage: %s <books filename>\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"couldn't open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"u9-books\00", align 1 @S_IWUSR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"unable to create u9-books directory\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"index.html\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"couldn't create index.html\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"<HTML><HEAD><TITLE>U9 Books</TITLE></HEAD>\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"<BODY>\0A<H1>U9 Books</H1>\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"</BODY></HTML>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr @stderr, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @flxx_open(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %33 26: ; preds = %19 %27 = load ptr, ptr @stderr, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %30) %32 = call i32 @exit(i32 noundef -1) #3 unreachable 33: ; preds = %19 %34 = load i32, ptr @S_IWUSR, align 4 %35 = call i64 @mkdir(ptr noundef @.str.2, i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %33 %38 = load ptr, ptr @stderr, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 @exit(i32 noundef -1) #3 unreachable 41: ; preds = %33 %42 = call i32 @chdir(ptr noundef @.str.2) %43 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %43, ptr %6, align 8 %44 = load ptr, ptr %6, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %41 %47 = load ptr, ptr @stderr, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.6) %49 = call i32 @exit(i32 noundef -1) #3 unreachable 50: ; preds = %41 %51 = load ptr, ptr %6, align 8 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.7) %53 = load ptr, ptr %6, align 8 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.8) %55 = load ptr, ptr %7, align 8 %56 = call i32 @flxx_numitems(ptr noundef %55) store i32 %56, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %57 57: ; preds = %72, %50 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %9, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %75 61: ; preds = %57 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = call i64 @flxx_getitem(ptr noundef %62, i32 noundef %63) %65 = icmp sgt i64 %64, 0 br i1 %65, label %66, label %71 66: ; preds = %61 %67 = load ptr, ptr %7, align 8 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %8, align 4 %70 = call i32 @dump_book(ptr noundef %67, ptr noundef %68, i32 noundef %69) br label %71 71: ; preds = %66, %61 br label %72 72: ; preds = %71 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %8, align 4 br label %57, !llvm.loop !6 75: ; preds = %57 %76 = load ptr, ptr %6, align 8 %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.9) %78 = load ptr, ptr %6, align 8 %79 = call i32 @fclose(ptr noundef %78) %80 = load ptr, ptr %7, align 8 %81 = call i32 @fclose(ptr noundef %80) ret i32 0 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @flxx_open(ptr noundef) #1 declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @flxx_numitems(ptr noundef) #1 declare i64 @flxx_getitem(ptr noundef, i32 noundef) #1 declare i32 @dump_book(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpa8btamiy.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"usage: %s <books filename>\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"couldn't open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"u9-books\00", align 1 @S_IWUSR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"unable to create u9-books directory\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"index.html\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"couldn't create index.html\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"<HTML><HEAD><TITLE>U9 Books</TITLE></HEAD>\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"<BODY>\0A<H1>U9 Books</H1>\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"</BODY></HTML>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr @stderr, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @flxx_open(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %33 26: ; preds = %19 %27 = load ptr, ptr @stderr, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %30) %32 = call i32 @exit(i32 noundef -1) #3 unreachable 33: ; preds = %19 %34 = load i32, ptr @S_IWUSR, align 4 %35 = call i64 @mkdir(ptr noundef @.str.2, i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %33 %38 = load ptr, ptr @stderr, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 @exit(i32 noundef -1) #3 unreachable 41: ; preds = %33 %42 = call i32 @chdir(ptr noundef @.str.2) %43 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %43, ptr %6, align 8 %44 = load ptr, ptr %6, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %41 %47 = load ptr, ptr @stderr, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.6) %49 = call i32 @exit(i32 noundef -1) #3 unreachable 50: ; preds = %41 %51 = load ptr, ptr %6, align 8 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.7) %53 = load ptr, ptr %6, align 8 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.8) %55 = load ptr, ptr %7, align 8 %56 = call i32 @flxx_numitems(ptr noundef %55) store i32 %56, ptr %9, align 4 store i32 0, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = load i32, ptr %9, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph, label %77 .lr.ph: ; preds = %50 br label %60 60: ; preds = %.lr.ph, %71 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %8, align 4 %63 = call i64 @flxx_getitem(ptr noundef %61, i32 noundef %62) %64 = icmp sgt i64 %63, 0 br i1 %64, label %65, label %70 65: ; preds = %60 %66 = load ptr, ptr %7, align 8 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %8, align 4 %69 = call i32 @dump_book(ptr noundef %66, ptr noundef %67, i32 noundef %68) br label %70 70: ; preds = %65, %60 br label %71 71: ; preds = %70 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %50 %78 = load ptr, ptr %6, align 8 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.9) %80 = load ptr, ptr %6, align 8 %81 = call i32 @fclose(ptr noundef %80) %82 = load ptr, ptr %7, align 8 %83 = call i32 @fclose(ptr noundef %82) ret i32 0 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @flxx_open(ptr noundef) #1 declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @flxx_numitems(ptr noundef) #1 declare i64 @flxx_getitem(ptr noundef, i32 noundef) #1 declare i32 @dump_book(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpp2ismpaz.c' source_filename = "/tmp/tmpp2ismpaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ax2omLoop(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i64 4, ptr %13, align 8 store i64 9, ptr %14, align 8 store i64 0, ptr %10, align 8 br label %15 15: ; preds = %34, %4 %16 = load i64, ptr %10, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %37 19: ; preds = %15 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %13, align 8 %22 = mul i64 %20, %21 store i64 %22, ptr %11, align 8 %23 = load i64, ptr %10, align 8 %24 = load i64, ptr %14, align 8 %25 = mul i64 %23, %24 store i64 %25, ptr %12, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %11, align 8 %28 = getelementptr inbounds double, ptr %26, i64 %27 %29 = load ptr, ptr %6, align 8 %30 = load i64, ptr %12, align 8 %31 = getelementptr inbounds double, ptr %29, i64 %30 %32 = load i32, ptr %8, align 4 %33 = call i32 @ax2om(ptr noundef %28, ptr noundef %31, i32 noundef %32) store i32 %33, ptr %9, align 4 br label %34 34: ; preds = %19 %35 = load i64, ptr %10, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %10, align 8 br label %15, !llvm.loop !6 37: ; preds = %15 ret i32 1 } declare i32 @ax2om(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/tmpp2ismpaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ax2omLoop(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i64 4, ptr %13, align 8 store i64 9, ptr %14, align 8 store i64 0, ptr %10, align 8 %15 = load i64, ptr %10, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %39 .lr.ph: ; preds = %4 br label %18 18: ; preds = %.lr.ph, %33 %19 = load i64, ptr %10, align 8 %20 = load i64, ptr %13, align 8 %21 = mul i64 %19, %20 store i64 %21, ptr %11, align 8 %22 = load i64, ptr %10, align 8 %23 = load i64, ptr %14, align 8 %24 = mul i64 %22, %23 store i64 %24, ptr %12, align 8 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %11, align 8 %27 = getelementptr inbounds double, ptr %25, i64 %26 %28 = load ptr, ptr %6, align 8 %29 = load i64, ptr %12, align 8 %30 = getelementptr inbounds double, ptr %28, i64 %29 %31 = load i32, ptr %8, align 4 %32 = call i32 @ax2om(ptr noundef %27, ptr noundef %30, i32 noundef %31) store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %18 %34 = load i64, ptr %10, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %10, align 8 %36 = load i64, ptr %10, align 8 %37 = load i64, ptr %7, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %4 ret i32 1 } declare i32 @ax2om(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/tmphxp697lm.c' source_filename = "/tmp/tmphxp697lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TD_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @td_ta_clear_event(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @TD_OK, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphxp697lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TD_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @td_ta_clear_event(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @TD_OK, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu8r7nv0c.c' source_filename = "/tmp/tmpu8r7nv0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usaF2(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 @usaF(ptr noundef %3) ret void } declare i32 @usaF(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8r7nv0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usaF2(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 @usaF(ptr noundef %3) ret void } declare i32 @usaF(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfcu3yo_w.c' source_filename = "/tmp/tmpfcu3yo_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load i32, ptr %12, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %43 18: ; preds = %7 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 4, %20 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr %25 = load ptr, ptr %13, align 8 %26 = load ptr, ptr %14, align 8 %27 = load i32, ptr %26, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 store ptr %24, ptr %29, align 8 %30 = load ptr, ptr %13, align 8 %31 = load ptr, ptr %14, align 8 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds ptr, ptr %30, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i32 noundef %41) br label %72 43: ; preds = %7 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %43 br label %72 48: ; preds = %43 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %12, align 4 %55 = load ptr, ptr %13, align 8 %56 = load ptr, ptr %14, align 8 call void @function(i32 noundef %49, i32 noundef %50, i32 noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %56) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %58, ptr %62, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %12, align 4 %69 = add nsw i32 %68, 1 %70 = load ptr, ptr %13, align 8 %71 = load ptr, ptr %14, align 8 call void @function(i32 noundef %63, i32 noundef %64, i32 noundef %66, ptr noundef %67, i32 noundef %69, ptr noundef %70, ptr noundef %71) br label %72 72: ; preds = %48, %47, %18 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfcu3yo_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load i32, ptr %12, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %43 18: ; preds = %7 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 4, %20 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr %25 = load ptr, ptr %13, align 8 %26 = load ptr, ptr %14, align 8 %27 = load i32, ptr %26, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 store ptr %24, ptr %29, align 8 %30 = load ptr, ptr %13, align 8 %31 = load ptr, ptr %14, align 8 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds ptr, ptr %30, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i32 noundef %41) br label %72 43: ; preds = %7 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %43 br label %72 48: ; preds = %43 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %12, align 4 %55 = load ptr, ptr %13, align 8 %56 = load ptr, ptr %14, align 8 call void @function(i32 noundef %49, i32 noundef %50, i32 noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %56) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %58, ptr %62, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %12, align 4 %69 = add nsw i32 %68, 1 %70 = load ptr, ptr %13, align 8 %71 = load ptr, ptr %14, align 8 call void @function(i32 noundef %63, i32 noundef %64, i32 noundef %66, ptr noundef %67, i32 noundef %69, ptr noundef %70, ptr noundef %71) br label %72 72: ; preds = %48, %47, %18 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3axr8uf1.c' source_filename = "/tmp/tmp3axr8uf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md_draw_line(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 = call i32 (...) @get_mdterm() switch i32 %11, label %12 [ ] 12: ; preds = %5 ret void } declare i32 @get_mdterm(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3axr8uf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md_draw_line(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 = call i32 (...) @get_mdterm() switch i32 %11, label %12 [ ] 12: ; preds = %5 ret void } declare i32 @get_mdterm(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfaqay9pe.c' source_filename = "/tmp/tmpfaqay9pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @benchmark_result.result = internal global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"benchmark_result\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @benchmark_result() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret ptr @benchmark_result.result } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfaqay9pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @benchmark_result.result = internal global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"benchmark_result\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @benchmark_result() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret ptr @benchmark_result.result } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2bub97s2.c' source_filename = "/tmp/tmp2bub97s2.c" target datalayout = "e-m:e-p270: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/tmp2bub97s2.c" target datalayout = "e-m:e-p270: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/tmp83awgkkh.c' source_filename = "/tmp/tmp83awgkkh.c" target datalayout = "e-m:e-p270: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/tmp83awgkkh.c" target datalayout = "e-m:e-p270: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/tmpswxt4yit.c' source_filename = "/tmp/tmpswxt4yit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"fopen %s error: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"fwrite error\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"getline error: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 ptr, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (...) @usage() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 store i64 128, ptr %12, align 8 %26 = load i64, ptr %12, align 8 %27 = mul i64 1, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %19 %34 = call i32 (ptr, ...) @err_exit(ptr noundef @.str) br label %35 35: ; preds = %33, %19 %36 = load ptr, ptr %6, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr @errno, align 4 %43 = call i32 @strerror(i32 noundef %42) %44 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2, ptr noundef %41, i32 noundef %43) br label %45 45: ; preds = %40, %35 %46 = load ptr, ptr %7, align 8 %47 = call ptr @fopen(ptr noundef %46, ptr noundef @.str.3) store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %55 50: ; preds = %45 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr @errno, align 4 %53 = call i32 @strerror(i32 noundef %52) %54 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2, ptr noundef %51, i32 noundef %53) br label %55 55: ; preds = %50, %45 %56 = load ptr, ptr %8, align 8 %57 = call i32 @clearerr(ptr noundef %56) br label %58 58: ; preds = %71, %55 %59 = load ptr, ptr %8, align 8 %60 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %59) store i32 %60, ptr %10, align 4 %61 = icmp ne i32 %60, -1 br i1 %61, label %62, label %72 62: ; preds = %58 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %10, align 4 %65 = load ptr, ptr %9, align 8 %66 = call i32 @fwrite(ptr noundef %63, i32 noundef 1, i32 noundef %64, ptr noundef %65) %67 = load i32, ptr %10, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %62 %70 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.4) br label %71 71: ; preds = %69, %62 br label %58, !llvm.loop !6 72: ; preds = %58 %73 = load ptr, ptr %8, align 8 %74 = call i64 @ferror(ptr noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %72 %77 = load i32, ptr @errno, align 4 %78 = call i32 @strerror(i32 noundef %77) %79 = call i32 @err_log(ptr noundef @.str.5, i32 noundef %78) br label %80 80: ; preds = %76, %72 %81 = load ptr, ptr %11, align 8 %82 = call i32 @free(ptr noundef %81) %83 = load ptr, ptr %8, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load ptr, ptr %9, align 8 %86 = call i32 @fclose(ptr noundef %85) %87 = load i32, ptr @EXIT_SUCCESS, align 4 %88 = call i32 @exit(i32 noundef %87) #3 unreachable } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @err_exit(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @clearerr(ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @err_log(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpswxt4yit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"fopen %s error: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"fwrite error\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"getline error: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 ptr, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (...) @usage() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 store i64 128, ptr %12, align 8 %26 = load i64, ptr %12, align 8 %27 = mul i64 1, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %19 %34 = call i32 (ptr, ...) @err_exit(ptr noundef @.str) br label %35 35: ; preds = %33, %19 %36 = load ptr, ptr %6, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr @errno, align 4 %43 = call i32 @strerror(i32 noundef %42) %44 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2, ptr noundef %41, i32 noundef %43) br label %45 45: ; preds = %40, %35 %46 = load ptr, ptr %7, align 8 %47 = call ptr @fopen(ptr noundef %46, ptr noundef @.str.3) store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %55 50: ; preds = %45 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr @errno, align 4 %53 = call i32 @strerror(i32 noundef %52) %54 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.2, ptr noundef %51, i32 noundef %53) br label %55 55: ; preds = %50, %45 %56 = load ptr, ptr %8, align 8 %57 = call i32 @clearerr(ptr noundef %56) %58 = load ptr, ptr %8, align 8 %59 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %58) store i32 %59, ptr %10, align 4 %60 = icmp ne i32 %59, -1 br i1 %60, label %.lr.ph, label %74 .lr.ph: ; preds = %55 br label %61 61: ; preds = %.lr.ph, %70 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %10, align 4 %64 = load ptr, ptr %9, align 8 %65 = call i32 @fwrite(ptr noundef %62, i32 noundef 1, i32 noundef %63, ptr noundef %64) %66 = load i32, ptr %10, align 4 %67 = icmp ne i32 %65, %66 br i1 %67, label %68, label %70 68: ; preds = %61 %69 = call i32 (ptr, ...) @err_exit(ptr noundef @.str.4) br label %70 70: ; preds = %68, %61 %71 = load ptr, ptr %8, align 8 %72 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %71) store i32 %72, ptr %10, align 4 %73 = icmp ne i32 %72, -1 br i1 %73, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %74 74: ; preds = %._crit_edge, %55 %75 = load ptr, ptr %8, align 8 %76 = call i64 @ferror(ptr noundef %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %82 78: ; preds = %74 %79 = load i32, ptr @errno, align 4 %80 = call i32 @strerror(i32 noundef %79) %81 = call i32 @err_log(ptr noundef @.str.5, i32 noundef %80) br label %82 82: ; preds = %78, %74 %83 = load ptr, ptr %11, align 8 %84 = call i32 @free(ptr noundef %83) %85 = load ptr, ptr %8, align 8 %86 = call i32 @fclose(ptr noundef %85) %87 = load ptr, ptr %9, align 8 %88 = call i32 @fclose(ptr noundef %87) %89 = load i32, ptr @EXIT_SUCCESS, align 4 %90 = call i32 @exit(i32 noundef %89) #3 unreachable } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @err_exit(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @clearerr(ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @err_log(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmph2xu0yo6.c' source_filename = "/tmp/tmph2xu0yo6.c" target datalayout = "e-m:e-p270: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/tmph2xu0yo6.c" target datalayout = "e-m:e-p270: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_o26wzxv.c' source_filename = "/tmp/tmp_o26wzxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @segment(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 ptr @segment_internal(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @segment_internal(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/tmp_o26wzxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @segment(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 ptr @segment_internal(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @segment_internal(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/tmpkld0egw3.c' source_filename = "/tmp/tmpkld0egw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"------------------------dispatch_test:-------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dispatch_test() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @taskAdd_example() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @taskAdd_example(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkld0egw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"------------------------dispatch_test:-------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dispatch_test() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @taskAdd_example() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @taskAdd_example(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp01pmpp47.c' source_filename = "/tmp/tmp01pmpp47.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [12 x i8] c"Char\09Count\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%4c\09\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [127 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 127 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %11 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 br label %17 17: ; preds = %21, %16 %18 = call i32 (...) @getchar() store i32 %18, ptr %2, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %24, align 4 br label %17, !llvm.loop !8 27: ; preds = %17 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %29 29: ; preds = %60, %27 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 127 br i1 %31, label %32, label %63 32: ; preds = %29 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %59 38: ; preds = %32 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) store i32 0, ptr %5, align 4 br label %41 41: ; preds = %50, %38 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp slt i32 %42, %46 br i1 %47, label %48, label %53 48: ; preds = %41 %49 = call i32 @putchar(i8 noundef signext 61) br label %50 50: ; preds = %48 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %41, !llvm.loop !9 53: ; preds = %41 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) br label %59 59: ; preds = %53, %32 br label %60 60: ; preds = %59 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %4, align 4 br label %29, !llvm.loop !10 63: ; preds = %29 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp01pmpp47.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [12 x i8] c"Char\09Count\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%4c\09\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [127 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 127 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %10 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 127 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 (...) @getchar() store i32 %18, ptr %2, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %.lr.ph2, label %30 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %21 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %24, align 4 %27 = call i32 (...) @getchar() store i32 %27, ptr %2, align 4 %28 = load i32, ptr @EOF, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %30 30: ; preds = %._crit_edge3, %17 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %32, 127 br i1 %33, label %.lr.ph8, label %72 .lr.ph8: ; preds = %30 br label %34 34: ; preds = %.lr.ph8, %67 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %66 40: ; preds = %34 %41 = load i32, ptr %4, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) store i32 0, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp slt i32 %43, %47 br i1 %48, label %.lr.ph5, label %60 .lr.ph5: ; preds = %40 br label %49 49: ; preds = %.lr.ph5, %51 %50 = call i32 @putchar(i8 noundef signext 61) br label %51 51: ; preds = %49 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %54, %58 br i1 %59, label %49, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %60 60: ; preds = %._crit_edge6, %40 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [127 x i32], ptr %3, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64) br label %66 66: ; preds = %60, %34 br label %67 67: ; preds = %66 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %70, 127 br i1 %71, label %34, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %67 br label %72 72: ; preds = %._crit_edge9, %30 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp0ytnhy4i.c' source_filename = "/tmp/tmp0ytnhy4i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rr_filesize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fstat(i32 noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @fstat(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ytnhy4i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rr_filesize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fstat(i32 noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @fstat(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe8sg60ft.c' source_filename = "/tmp/tmpe8sg60ft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Iggy\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Pop\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"James\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Osterberg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 @strcasecmp(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcasecmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %29 14: ; preds = %8, %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strcasecmp(ptr noundef %17, ptr noundef @.str.2) %19 = icmp ne i32 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %14 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcasecmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %20, %14 %28 = phi i1 [ false, %14 ], [ %26, %20 ] br label %29 29: ; preds = %27, %8 %30 = phi i1 [ true, %8 ], [ %28, %27 ] %31 = zext i1 %30 to i32 ret i32 %31 } declare i32 @strcasecmp(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/tmpe8sg60ft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Iggy\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Pop\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"James\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Osterberg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 @strcasecmp(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcasecmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %29 14: ; preds = %8, %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strcasecmp(ptr noundef %17, ptr noundef @.str.2) %19 = icmp ne i32 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %14 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcasecmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %20, %14 %28 = phi i1 [ false, %14 ], [ %26, %20 ] br label %29 29: ; preds = %27, %8 %30 = phi i1 [ true, %8 ], [ %28, %27 ] %31 = zext i1 %30 to i32 ret i32 %31 } declare i32 @strcasecmp(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/tmpd09woagm.c' source_filename = "/tmp/tmpd09woagm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @timetostr.s = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [18 x i8] c"%Y.%m.%d %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @timetostr(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.tm, align 4 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @localtime_r(ptr noundef %2, ptr noundef %3) %8 = call i32 @strftime(ptr noundef @timetostr.s, i32 noundef 20, ptr noundef @.str, ptr noundef %3) br label %10 9: ; preds = %1 store i8 0, ptr @timetostr.s, align 16 br label %10 10: ; preds = %9, %6 ret ptr @timetostr.s } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr 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/tmpd09woagm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @timetostr.s = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [18 x i8] c"%Y.%m.%d %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @timetostr(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.tm, align 4 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @localtime_r(ptr noundef %2, ptr noundef %3) %8 = call i32 @strftime(ptr noundef @timetostr.s, i32 noundef 20, ptr noundef @.str, ptr noundef %3) br label %10 9: ; preds = %1 store i8 0, ptr @timetostr.s, align 16 br label %10 10: ; preds = %9, %6 ret ptr @timetostr.s } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr 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/tmpbupf_4z8.c' source_filename = "/tmp/tmpbupf_4z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"WORD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"BYTE\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" {source on next line}\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PSEUDO_CODE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca [3 x i8], align 1 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %4 %20 = load ptr, ptr %5, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %8, align 8 %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.2) br label %101 26: ; preds = %19, %4 %27 = load ptr, ptr %6, align 8 %28 = call signext i8 @fgetc(ptr noundef %27) store i8 %28, ptr %9, align 1 %29 = load i8, ptr %9, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 116 br i1 %31, label %32, label %94 32: ; preds = %26 %33 = load ptr, ptr %6, align 8 %34 = call i32 @fscanf(ptr noundef %33, ptr noundef @.str.3, ptr noundef %10, ptr noundef %11) %35 = load ptr, ptr %6, align 8 %36 = call i32 @GET_LINE(ptr noundef %12, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %12, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.4, ptr noundef %38) %40 = load ptr, ptr %12, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = icmp sle i32 %41, 8 br i1 %42, label %43, label %57 43: ; preds = %32 %44 = load ptr, ptr %12, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 br label %47 47: ; preds = %53, %43 %48 = load i32, ptr %13, align 4 %49 = icmp sle i32 %48, 10 br i1 %49, label %50, label %56 50: ; preds = %47 %51 = load ptr, ptr %8, align 8 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.5) br label %53 53: ; preds = %50 %54 = load i32, ptr %13, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %13, align 4 br label %47, !llvm.loop !6 56: ; preds = %47 br label %60 57: ; preds = %32 %58 = load ptr, ptr %8, align 8 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.6) br label %60 60: ; preds = %57, %56 %61 = load i8, ptr %11, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 87 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %10, align 4 %67 = load ptr, ptr %7, align 8 %68 = call i32 @ADD_TO_TEXT_RECORD(ptr noundef %65, i32 noundef %66, ptr noundef %67) br label %93 69: ; preds = %60 store i32 0, ptr %15, align 4 %70 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 2 store i8 0, ptr %70, align 1 br label %71 71: ; preds = %89, %69 %72 = load ptr, ptr %12, align 8 %73 = load i8, ptr %72, align 1 %74 = call i32 @eoln(i8 noundef signext %73) %75 = icmp ne i32 %74, 0 %76 = xor i1 %75, true br i1 %76, label %77, label %92 77: ; preds = %71 %78 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %79 = load ptr, ptr %12, align 8 %80 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef 2) %81 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %82, %83 %85 = load ptr, ptr %7, align 8 %86 = call i32 @ADD_TO_TEXT_RECORD(ptr noundef %81, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %15, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %15, align 4 br label %89 89: ; preds = %77 %90 = load ptr, ptr %12, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 2 store ptr %91, ptr %12, align 8 br label %71, !llvm.loop !8 92: ; preds = %71 br label %93 93: ; preds = %92, %64 br label %100 94: ; preds = %26 %95 = load i8, ptr %9, align 1 %96 = load ptr, ptr %6, align 8 %97 = call i32 @ungetc(i8 noundef signext %95, ptr noundef %96) %98 = load ptr, ptr %8, align 8 %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.2) br label %100 100: ; preds = %94, %93 br label %101 101: ; preds = %100, %23 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @GET_LINE(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @ADD_TO_TEXT_RECORD(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @eoln(i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbupf_4z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"WORD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"BYTE\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" {source on next line}\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PSEUDO_CODE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca [3 x i8], align 1 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %4 %20 = load ptr, ptr %5, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %8, align 8 %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.2) br label %106 26: ; preds = %19, %4 %27 = load ptr, ptr %6, align 8 %28 = call signext i8 @fgetc(ptr noundef %27) store i8 %28, ptr %9, align 1 %29 = load i8, ptr %9, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 116 br i1 %31, label %32, label %99 32: ; preds = %26 %33 = load ptr, ptr %6, align 8 %34 = call i32 @fscanf(ptr noundef %33, ptr noundef @.str.3, ptr noundef %10, ptr noundef %11) %35 = load ptr, ptr %6, align 8 %36 = call i32 @GET_LINE(ptr noundef %12, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %12, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.4, ptr noundef %38) %40 = load ptr, ptr %12, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = icmp sle i32 %41, 8 br i1 %42, label %43, label %58 43: ; preds = %32 %44 = load ptr, ptr %12, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = icmp sle i32 %47, 10 br i1 %48, label %.lr.ph, label %57 .lr.ph: ; preds = %43 br label %49 49: ; preds = %.lr.ph, %52 %50 = load ptr, ptr %8, align 8 %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.5) br label %52 52: ; preds = %49 %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %13, align 4 %55 = load i32, ptr %13, align 4 %56 = icmp sle i32 %55, 10 br i1 %56, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %43 br label %61 58: ; preds = %32 %59 = load ptr, ptr %8, align 8 %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.6) br label %61 61: ; preds = %58, %57 %62 = load i8, ptr %11, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 87 br i1 %64, label %65, label %70 65: ; preds = %61 %66 = load ptr, ptr %12, align 8 %67 = load i32, ptr %10, align 4 %68 = load ptr, ptr %7, align 8 %69 = call i32 @ADD_TO_TEXT_RECORD(ptr noundef %66, i32 noundef %67, ptr noundef %68) br label %98 70: ; preds = %61 store i32 0, ptr %15, align 4 %71 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 2 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %12, align 8 %73 = load i8, ptr %72, align 1 %74 = call i32 @eoln(i8 noundef signext %73) %75 = icmp ne i32 %74, 0 %76 = xor i1 %75, true br i1 %76, label %.lr.ph2, label %97 .lr.ph2: ; preds = %70 br label %77 77: ; preds = %.lr.ph2, %89 %78 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %79 = load ptr, ptr %12, align 8 %80 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef 2) %81 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %82, %83 %85 = load ptr, ptr %7, align 8 %86 = call i32 @ADD_TO_TEXT_RECORD(ptr noundef %81, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %15, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %15, align 4 br label %89 89: ; preds = %77 %90 = load ptr, ptr %12, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 2 store ptr %91, ptr %12, align 8 %92 = load ptr, ptr %12, align 8 %93 = load i8, ptr %92, align 1 %94 = call i32 @eoln(i8 noundef signext %93) %95 = icmp ne i32 %94, 0 %96 = xor i1 %95, true br i1 %96, label %77, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %97 97: ; preds = %._crit_edge3, %70 br label %98 98: ; preds = %97, %65 br label %105 99: ; preds = %26 %100 = load i8, ptr %9, align 1 %101 = load ptr, ptr %6, align 8 %102 = call i32 @ungetc(i8 noundef signext %100, ptr noundef %101) %103 = load ptr, ptr %8, align 8 %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.2) br label %105 105: ; preds = %99, %98 br label %106 106: ; preds = %105, %23 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @GET_LINE(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @ADD_TO_TEXT_RECORD(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @eoln(i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0q5af2qa.c' source_filename = "/tmp/tmp0q5af2qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sample.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"New value: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 store float 1.000000e+01, ptr %3, align 4 store ptr %3, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load float, ptr %7, align 4 store float %8, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = fpext float %10 to double %12 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %9, double noundef %11) %13 = load ptr, ptr %4, align 8 store float 5.000000e+00, ptr %13, align 4 %14 = load float, ptr %3, align 4 %15 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %14) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0q5af2qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sample.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"New value: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 store float 1.000000e+01, ptr %3, align 4 store ptr %3, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load float, ptr %7, align 4 store float %8, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = fpext float %10 to double %12 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %9, double noundef %11) %13 = load ptr, ptr %4, align 8 store float 5.000000e+00, ptr %13, align 4 %14 = load float, ptr %3, align 4 %15 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %14) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc81t9b8z.c' source_filename = "/tmp/tmpc81t9b8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"forks\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @execute(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @ultimo(i32 noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = call i32 (...) @fork() store i32 %11, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %38 19: ; preds = %16 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = call i32 @proc_redirection(ptr noundef %20, i32 noundef %21) %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = call i32 @add_history(ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i32 @execvp(ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %34, align 8 %36 = call i32 @perror(ptr noundef %35) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %16 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 1, %39 br i1 %40, label %41, label %48 41: ; preds = %38 br label %42 42: ; preds = %46, %41 %43 = call i32 @wait(ptr noundef %6) %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42 br label %42, !llvm.loop !6 47: ; preds = %42 br label %48 48: ; preds = %47, %38 ret void } declare i32 @ultimo(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @proc_redirection(ptr noundef, i32 noundef) #1 declare i32 @add_history(ptr noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpc81t9b8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"forks\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @execute(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @ultimo(i32 noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = call i32 (...) @fork() store i32 %11, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %38 19: ; preds = %16 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = call i32 @proc_redirection(ptr noundef %20, i32 noundef %21) %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = call i32 @add_history(ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i32 @execvp(ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %34, align 8 %36 = call i32 @perror(ptr noundef %35) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %16 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 1, %39 br i1 %40, label %41, label %47 41: ; preds = %38 br label %42 42: ; preds = %42, %41 %43 = call i32 @wait(ptr noundef %6) %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %42, label %46, !llvm.loop !6 46: ; preds = %42 br label %47 47: ; preds = %46, %38 ret void } declare i32 @ultimo(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @proc_redirection(ptr noundef, i32 noundef) #1 declare i32 @add_history(ptr noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpy1rv2mmi.c' source_filename = "/tmp/tmpy1rv2mmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"** Selection Sort...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SelectionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 br label %10 10: ; preds = %66, %2 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %69 15: ; preds = %10 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %38, %15 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %41 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp slt i32 %28, %33 br i1 %34, label %35, label %37 35: ; preds = %23 %36 = load i32, ptr %7, align 4 store i32 %36, ptr %5, align 4 br label %37 37: ; preds = %35, %23 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %19, !llvm.loop !6 41: ; preds = %19 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp ne i32 %42, %43 br i1 %44, label %45, label %65 45: ; preds = %41 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 store i32 %50, ptr %8, align 4 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 %60 = load i32, ptr %8, align 4 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 store i32 %60, ptr %64, align 4 br label %65 65: ; preds = %45, %41 br label %66 66: ; preds = %65 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %10, !llvm.loop !8 69: ; preds = %10 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1rv2mmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"** Selection Sort...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SelectionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph2, label %74 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %67 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %42 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %36 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %26, %31 br i1 %32, label %33, label %35 33: ; preds = %21 %34 = load i32, ptr %7, align 4 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %33, %21 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 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %14 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %66 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %8, align 4 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 %61 = load i32, ptr %8, align 4 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 store i32 %61, ptr %65, align 4 br label %66 66: ; preds = %46, %42 br label %67 67: ; preds = %66 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %4, align 4 %72 = sub nsw i32 %71, 1 %73 = icmp slt i32 %70, %72 br i1 %73, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %74 74: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdgmevz5q.c' source_filename = "/tmp/tmpdgmevz5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @vectorOrientedAngleBetween(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [3 x float], align 4 %8 = alloca [3 x float], align 4 %9 = alloca float, align 4 %10 = alloca [3 x float], align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %12 = load ptr, ptr %4, align 8 %13 = call i32 @vectorNormalize(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %15 = load ptr, ptr %5, align 8 %16 = call i32 @vectorNormalize(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %18 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %19 = call float @vectorAngleBetween_norm(ptr noundef %17, ptr noundef %18) store float %19, ptr %9, align 4 %20 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %21 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %22 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %23 = call i32 @vectorCross(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %26 = call float @vectorDot(ptr noundef %24, ptr noundef %25) %27 = fcmp olt float %26, 0.000000e+00 br i1 %27, label %28, label %31 28: ; preds = %3 %29 = load float, ptr %9, align 4 %30 = fneg float %29 store float %30, ptr %9, align 4 br label %31 31: ; preds = %28, %3 %32 = load float, ptr %9, align 4 ret float %32 } declare i32 @vectorNormalize(ptr noundef, ptr noundef) #1 declare float @vectorAngleBetween_norm(ptr noundef, ptr noundef) #1 declare i32 @vectorCross(ptr noundef, ptr noundef, ptr noundef) #1 declare float @vectorDot(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/tmpdgmevz5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @vectorOrientedAngleBetween(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [3 x float], align 4 %8 = alloca [3 x float], align 4 %9 = alloca float, align 4 %10 = alloca [3 x float], align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %12 = load ptr, ptr %4, align 8 %13 = call i32 @vectorNormalize(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %15 = load ptr, ptr %5, align 8 %16 = call i32 @vectorNormalize(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %18 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %19 = call float @vectorAngleBetween_norm(ptr noundef %17, ptr noundef %18) store float %19, ptr %9, align 4 %20 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %21 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %22 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %23 = call i32 @vectorCross(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0 %26 = call float @vectorDot(ptr noundef %24, ptr noundef %25) %27 = fcmp olt float %26, 0.000000e+00 br i1 %27, label %28, label %31 28: ; preds = %3 %29 = load float, ptr %9, align 4 %30 = fneg float %29 store float %30, ptr %9, align 4 br label %31 31: ; preds = %28, %3 %32 = load float, ptr %9, align 4 ret float %32 } declare i32 @vectorNormalize(ptr noundef, ptr noundef) #1 declare float @vectorAngleBetween_norm(ptr noundef, ptr noundef) #1 declare i32 @vectorCross(ptr noundef, ptr noundef, ptr noundef) #1 declare float @vectorDot(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/tmpv0jw21pp.c' source_filename = "/tmp/tmpv0jw21pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @compute_function_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store double %5, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store i64 0, ptr %15, align 8 br label %18 18: ; preds = %58, %6 %19 = load i64, ptr %15, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp slt i64 %19, %20 br i1 %21, label %22, label %61 22: ; preds = %18 store double 0.000000e+00, ptr %14, align 8 store i64 0, ptr %16, align 8 br label %23 23: ; preds = %42, %22 %24 = load i64, ptr %16, align 8 %25 = load i64, ptr %11, align 8 %26 = icmp slt i64 %24, %25 br i1 %26, label %27, label %45 27: ; preds = %23 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %15, align 8 %30 = load i64, ptr %11, align 8 %31 = mul nsw i64 %29, %30 %32 = load i64, ptr %16, align 8 %33 = add nsw i64 %31, %32 %34 = getelementptr inbounds double, ptr %28, i64 %33 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %16, align 8 %38 = getelementptr inbounds double, ptr %36, i64 %37 %39 = load double, ptr %38, align 8 %40 = load double, ptr %14, align 8 %41 = call double @llvm.fmuladd.f64(double %35, double %39, double %40) store double %41, ptr %14, align 8 br label %42 42: ; preds = %27 %43 = load i64, ptr %16, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %16, align 8 br label %23, !llvm.loop !6 45: ; preds = %23 %46 = load ptr, ptr %9, align 8 %47 = load i64, ptr %15, align 8 %48 = getelementptr inbounds double, ptr %46, i64 %47 %49 = load double, ptr %48, align 8 %50 = load double, ptr %14, align 8 %51 = fmul double %49, %50 %52 = call i64 @exp(double noundef %51) %53 = add nsw i64 1, %52 %54 = call i64 @log(i64 noundef %53) %55 = sitofp i64 %54 to double %56 = load double, ptr %13, align 8 %57 = fadd double %56, %55 store double %57, ptr %13, align 8 br label %58 58: ; preds = %45 %59 = load i64, ptr %15, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %15, align 8 br label %18, !llvm.loop !8 61: ; preds = %18 %62 = load double, ptr %13, align 8 %63 = load i64, ptr %10, align 8 %64 = sitofp i64 %63 to double %65 = fdiv double %62, %64 store double %65, ptr %13, align 8 store i64 0, ptr %17, align 8 br label %66 66: ; preds = %84, %61 %67 = load i64, ptr %17, align 8 %68 = load i64, ptr %11, align 8 %69 = icmp slt i64 %67, %68 br i1 %69, label %70, label %87 70: ; preds = %66 %71 = load double, ptr %12, align 8 %72 = fdiv double %71, 2.000000e+00 %73 = load ptr, ptr %7, align 8 %74 = load i64, ptr %17, align 8 %75 = getelementptr inbounds double, ptr %73, i64 %74 %76 = load double, ptr %75, align 8 %77 = fmul double %72, %76 %78 = load ptr, ptr %7, align 8 %79 = load i64, ptr %17, align 8 %80 = getelementptr inbounds double, ptr %78, i64 %79 %81 = load double, ptr %80, align 8 %82 = load double, ptr %13, align 8 %83 = call double @llvm.fmuladd.f64(double %77, double %81, double %82) store double %83, ptr %13, align 8 br label %84 84: ; preds = %70 %85 = load i64, ptr %17, align 8 %86 = add nsw i64 %85, 1 store i64 %86, ptr %17, align 8 br label %66, !llvm.loop !9 87: ; preds = %66 %88 = load double, ptr %13, align 8 ret double %88 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @log(i64 noundef) #2 declare i64 @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0jw21pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @compute_function_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store double %5, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store i64 0, ptr %15, align 8 %18 = load i64, ptr %15, align 8 %19 = load i64, ptr %10, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %.lr.ph2, label %65 .lr.ph2: ; preds = %6 br label %21 21: ; preds = %.lr.ph2, %59 store double 0.000000e+00, ptr %14, align 8 store i64 0, ptr %16, align 8 %22 = load i64, ptr %16, align 8 %23 = load i64, ptr %11, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %.lr.ph, label %46 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %40 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %15, align 8 %28 = load i64, ptr %11, align 8 %29 = mul nsw i64 %27, %28 %30 = load i64, ptr %16, align 8 %31 = add nsw i64 %29, %30 %32 = getelementptr inbounds double, ptr %26, i64 %31 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %16, align 8 %36 = getelementptr inbounds double, ptr %34, i64 %35 %37 = load double, ptr %36, align 8 %38 = load double, ptr %14, align 8 %39 = call double @llvm.fmuladd.f64(double %33, double %37, double %38) store double %39, ptr %14, align 8 br label %40 40: ; preds = %25 %41 = load i64, ptr %16, align 8 %42 = add nsw i64 %41, 1 store i64 %42, ptr %16, align 8 %43 = load i64, ptr %16, align 8 %44 = load i64, ptr %11, align 8 %45 = icmp slt i64 %43, %44 br i1 %45, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %21 %47 = load ptr, ptr %9, align 8 %48 = load i64, ptr %15, align 8 %49 = getelementptr inbounds double, ptr %47, i64 %48 %50 = load double, ptr %49, align 8 %51 = load double, ptr %14, align 8 %52 = fmul double %50, %51 %53 = call i64 @exp(double noundef %52) %54 = add nsw i64 1, %53 %55 = call i64 @log(i64 noundef %54) %56 = sitofp i64 %55 to double %57 = load double, ptr %13, align 8 %58 = fadd double %57, %56 store double %58, ptr %13, align 8 br label %59 59: ; preds = %46 %60 = load i64, ptr %15, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %15, align 8 %62 = load i64, ptr %15, align 8 %63 = load i64, ptr %10, align 8 %64 = icmp slt i64 %62, %63 br i1 %64, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %6 %66 = load double, ptr %13, align 8 %67 = load i64, ptr %10, align 8 %68 = sitofp i64 %67 to double %69 = fdiv double %66, %68 store double %69, ptr %13, align 8 store i64 0, ptr %17, align 8 %70 = load i64, ptr %17, align 8 %71 = load i64, ptr %11, align 8 %72 = icmp slt i64 %70, %71 br i1 %72, label %.lr.ph5, label %93 .lr.ph5: ; preds = %65 br label %73 73: ; preds = %.lr.ph5, %87 %74 = load double, ptr %12, align 8 %75 = fdiv double %74, 2.000000e+00 %76 = load ptr, ptr %7, align 8 %77 = load i64, ptr %17, align 8 %78 = getelementptr inbounds double, ptr %76, i64 %77 %79 = load double, ptr %78, align 8 %80 = fmul double %75, %79 %81 = load ptr, ptr %7, align 8 %82 = load i64, ptr %17, align 8 %83 = getelementptr inbounds double, ptr %81, i64 %82 %84 = load double, ptr %83, align 8 %85 = load double, ptr %13, align 8 %86 = call double @llvm.fmuladd.f64(double %80, double %84, double %85) store double %86, ptr %13, align 8 br label %87 87: ; preds = %73 %88 = load i64, ptr %17, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %17, align 8 %90 = load i64, ptr %17, align 8 %91 = load i64, ptr %11, align 8 %92 = icmp slt i64 %90, %91 br i1 %92, label %73, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %87 br label %93 93: ; preds = %._crit_edge6, %65 %94 = load double, ptr %13, align 8 ret double %94 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @log(i64 noundef) #2 declare i64 @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_h9tsrvs.c' source_filename = "/tmp/tmp_h9tsrvs.c" target datalayout = "e-m:e-p270: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.n = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16 @.str = private unnamed_addr constant [15 x i8] c"The sum is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n, i64 40, i1 false) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = add nsw i32 %9, %13 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = load i32, ptr %4, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %1, align 4 ret i32 %21 } ; 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) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_h9tsrvs.c" target datalayout = "e-m:e-p270: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.n = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16 @.str = private unnamed_addr constant [15 x i8] c"The sum is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n, i64 40, i1 false) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %14 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = add nsw i32 %8, %12 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %4, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = load i32, ptr %1, align 4 ret i32 %22 } ; 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) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbxxnw0ee.c' source_filename = "/tmp/tmpbxxnw0ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i32], align 16 %7 = alloca [256 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 1024) %13 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 1024) %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %9, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %2 store i32 0, ptr %3, align 4 br label %72 23: ; preds = %2 store i32 0, ptr %8, align 4 br label %24 24: ; preds = %49, %23 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %52 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %46, align 4 br label %49 49: ; preds = %28 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 br label %24, !llvm.loop !6 52: ; preds = %24 store i32 0, ptr %8, align 4 br label %53 53: ; preds = %68, %52 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %54, 256 br i1 %55, label %56, label %71 56: ; preds = %53 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp ne i32 %60, %64 br i1 %65, label %66, label %67 66: ; preds = %56 store i32 0, ptr %3, align 4 br label %72 67: ; preds = %56 br label %68 68: ; preds = %67 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %53, !llvm.loop !8 71: ; preds = %53 store i32 1, ptr %3, align 4 br label %72 72: ; preds = %71, %66, %22 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @memset(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxxnw0ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i32], align 16 %7 = alloca [256 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 1024) %13 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 1024) %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %9, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %2 store i32 0, ptr %3, align 4 br label %75 23: ; preds = %2 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %54 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %48 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %35, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %45, align 4 br label %48 48: ; preds = %27 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %23 store i32 0, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp slt i32 %55, 256 br i1 %56, label %.lr.ph2, label %74 .lr.ph2: ; preds = %54 br label %57 57: ; preds = %.lr.ph2, %69 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load i32, ptr %8, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp ne i32 %61, %65 br i1 %66, label %67, label %68 67: ; preds = %57 store i32 0, ptr %3, align 4 br label %75 68: ; preds = %57 br label %69 69: ; preds = %68 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %72, 256 br i1 %73, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %74 74: ; preds = %._crit_edge3, %54 store i32 1, ptr %3, align 4 br label %75 75: ; preds = %74, %67, %22 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @memset(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmproajy993.c' source_filename = "/tmp/tmproajy993.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"allocation failure in submatrix()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @submatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %9, align 8 %22 = sub nsw i64 %20, %21 %23 = add nsw i64 %22, 1 store i64 %23, ptr %17, align 8 %24 = load i64, ptr %11, align 8 %25 = load i64, ptr %14, align 8 %26 = sub nsw i64 %24, %25 store i64 %26, ptr %18, align 8 %27 = load i64, ptr %17, align 8 %28 = add nsw i64 %27, 0 %29 = mul i64 %28, 8 %30 = call i64 @malloc(i64 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %19, align 8 %32 = load ptr, ptr %19, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %36, label %34 34: ; preds = %7 %35 = call i32 @nrerror(ptr noundef @.str) br label %36 36: ; preds = %34, %7 %37 = load ptr, ptr %19, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 store ptr %38, ptr %19, align 8 %39 = load i64, ptr %13, align 8 %40 = load ptr, ptr %19, align 8 %41 = sub i64 0, %39 %42 = getelementptr inbounds ptr, ptr %40, i64 %41 store ptr %42, ptr %19, align 8 %43 = load i64, ptr %9, align 8 store i64 %43, ptr %15, align 8 %44 = load i64, ptr %13, align 8 store i64 %44, ptr %16, align 8 br label %45 45: ; preds = %59, %36 %46 = load i64, ptr %15, align 8 %47 = load i64, ptr %10, align 8 %48 = icmp sle i64 %46, %47 br i1 %48, label %49, label %64 49: ; preds = %45 %50 = load ptr, ptr %8, align 8 %51 = load i64, ptr %15, align 8 %52 = getelementptr inbounds ptr, ptr %50, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load i64, ptr %18, align 8 %55 = getelementptr inbounds float, ptr %53, i64 %54 %56 = load ptr, ptr %19, align 8 %57 = load i64, ptr %16, align 8 %58 = getelementptr inbounds ptr, ptr %56, i64 %57 store ptr %55, ptr %58, align 8 br label %59 59: ; preds = %49 %60 = load i64, ptr %15, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %15, align 8 %62 = load i64, ptr %16, align 8 %63 = add nsw i64 %62, 1 store i64 %63, ptr %16, align 8 br label %45, !llvm.loop !6 64: ; preds = %45 %65 = load ptr, ptr %19, align 8 ret ptr %65 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmproajy993.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"allocation failure in submatrix()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @submatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %9, align 8 %22 = sub nsw i64 %20, %21 %23 = add nsw i64 %22, 1 store i64 %23, ptr %17, align 8 %24 = load i64, ptr %11, align 8 %25 = load i64, ptr %14, align 8 %26 = sub nsw i64 %24, %25 store i64 %26, ptr %18, align 8 %27 = load i64, ptr %17, align 8 %28 = add nsw i64 %27, 0 %29 = mul i64 %28, 8 %30 = call i64 @malloc(i64 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %19, align 8 %32 = load ptr, ptr %19, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %36, label %34 34: ; preds = %7 %35 = call i32 @nrerror(ptr noundef @.str) br label %36 36: ; preds = %34, %7 %37 = load ptr, ptr %19, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 store ptr %38, ptr %19, align 8 %39 = load i64, ptr %13, align 8 %40 = load ptr, ptr %19, align 8 %41 = sub i64 0, %39 %42 = getelementptr inbounds ptr, ptr %40, i64 %41 store ptr %42, ptr %19, align 8 %43 = load i64, ptr %9, align 8 store i64 %43, ptr %15, align 8 %44 = load i64, ptr %13, align 8 store i64 %44, ptr %16, align 8 %45 = load i64, ptr %15, align 8 %46 = load i64, ptr %10, align 8 %47 = icmp sle i64 %45, %46 br i1 %47, label %.lr.ph, label %66 .lr.ph: ; preds = %36 br label %48 48: ; preds = %.lr.ph, %58 %49 = load ptr, ptr %8, align 8 %50 = load i64, ptr %15, align 8 %51 = getelementptr inbounds ptr, ptr %49, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i64, ptr %18, align 8 %54 = getelementptr inbounds float, ptr %52, i64 %53 %55 = load ptr, ptr %19, align 8 %56 = load i64, ptr %16, align 8 %57 = getelementptr inbounds ptr, ptr %55, i64 %56 store ptr %54, ptr %57, align 8 br label %58 58: ; preds = %48 %59 = load i64, ptr %15, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %15, align 8 %61 = load i64, ptr %16, align 8 %62 = add nsw i64 %61, 1 store i64 %62, ptr %16, align 8 %63 = load i64, ptr %15, align 8 %64 = load i64, ptr %10, align 8 %65 = icmp sle i64 %63, %64 br i1 %65, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %66 66: ; preds = %._crit_edge, %36 %67 = load ptr, ptr %19, align 8 ret ptr %67 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmph5ae2zg8.c' source_filename = "/tmp/tmph5ae2zg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.iphdr = type { i32, i32, i32, ptr, i32, i32, i32, i64, i64, i32 } %struct.icmphdr = type { i32, ptr, i64 } @IPPROTO_ICMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @smurf(i32 noundef %0, i32 %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0 store i32 %1, ptr %13, align 4 store i32 %0, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = add i64 88, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %11, align 8 %19 = load ptr, ptr %11, align 8 store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %11, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 64 store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = add i64 88, %24 %26 = trunc i64 %25 to i32 %27 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = add i64 88, %29 %31 = trunc i64 %30 to i32 %32 = call i32 @htons(i32 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds %struct.iphdr, ptr %33, i32 0, i32 9 store i32 %32, ptr %34, align 8 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds %struct.iphdr, ptr %35, i32 0, i32 0 store i32 5, ptr %36, align 8 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.iphdr, ptr %37, i32 0, i32 1 store i32 4, ptr %38, align 4 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds %struct.iphdr, ptr %39, i32 0, i32 2 store i32 255, ptr %40, align 8 %41 = load ptr, ptr %9, align 8 %42 = getelementptr inbounds %struct.iphdr, ptr %41, i32 0, i32 8 store i64 0, ptr %42, align 8 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.iphdr, ptr %43, i32 0, i32 7 store i64 0, ptr %44, align 8 %45 = load i32, ptr @IPPROTO_ICMP, align 4 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds %struct.iphdr, ptr %46, i32 0, i32 6 store i32 %45, ptr %47, align 8 %48 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds %struct.iphdr, ptr %51, i32 0, i32 5 store i32 %50, ptr %52, align 4 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %9, align 8 %55 = getelementptr inbounds %struct.iphdr, ptr %54, i32 0, i32 4 store i32 %53, ptr %55, align 8 %56 = load ptr, ptr %9, align 8 %57 = call ptr @in_chksum(ptr noundef %56, i32 noundef 64) %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds %struct.iphdr, ptr %58, i32 0, i32 3 store ptr %57, ptr %59, align 8 %60 = load ptr, ptr %10, align 8 %61 = getelementptr inbounds %struct.icmphdr, ptr %60, i32 0, i32 0 store i32 8, ptr %61, align 8 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds %struct.icmphdr, ptr %62, i32 0, i32 2 store i64 0, ptr %63, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = add i64 24, %66 %68 = trunc i64 %67 to i32 %69 = call ptr @in_chksum(ptr noundef %64, i32 noundef %68) %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds %struct.icmphdr, ptr %70, i32 0, i32 1 store ptr %69, ptr %71, align 8 %72 = load i32, ptr %6, align 4 %73 = load ptr, ptr %11, align 8 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = add i64 88, %75 %77 = trunc i64 %76 to i32 %78 = call i32 @sendto(i32 noundef %72, ptr noundef %73, i32 noundef %77, i32 noundef 0, ptr noundef %5, i32 noundef 4) %79 = load ptr, ptr %11, align 8 %80 = call i32 @free(ptr noundef %79) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare ptr @in_chksum(ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 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/tmph5ae2zg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.iphdr = type { i32, i32, i32, ptr, i32, i32, i32, i64, i64, i32 } %struct.icmphdr = type { i32, ptr, i64 } @IPPROTO_ICMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @smurf(i32 noundef %0, i32 %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0 store i32 %1, ptr %13, align 4 store i32 %0, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = add i64 88, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %11, align 8 %19 = load ptr, ptr %11, align 8 store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %11, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 64 store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = add i64 88, %24 %26 = trunc i64 %25 to i32 %27 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = add i64 88, %29 %31 = trunc i64 %30 to i32 %32 = call i32 @htons(i32 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds %struct.iphdr, ptr %33, i32 0, i32 9 store i32 %32, ptr %34, align 8 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds %struct.iphdr, ptr %35, i32 0, i32 0 store i32 5, ptr %36, align 8 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.iphdr, ptr %37, i32 0, i32 1 store i32 4, ptr %38, align 4 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds %struct.iphdr, ptr %39, i32 0, i32 2 store i32 255, ptr %40, align 8 %41 = load ptr, ptr %9, align 8 %42 = getelementptr inbounds %struct.iphdr, ptr %41, i32 0, i32 8 store i64 0, ptr %42, align 8 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.iphdr, ptr %43, i32 0, i32 7 store i64 0, ptr %44, align 8 %45 = load i32, ptr @IPPROTO_ICMP, align 4 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds %struct.iphdr, ptr %46, i32 0, i32 6 store i32 %45, ptr %47, align 8 %48 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds %struct.iphdr, ptr %51, i32 0, i32 5 store i32 %50, ptr %52, align 4 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %9, align 8 %55 = getelementptr inbounds %struct.iphdr, ptr %54, i32 0, i32 4 store i32 %53, ptr %55, align 8 %56 = load ptr, ptr %9, align 8 %57 = call ptr @in_chksum(ptr noundef %56, i32 noundef 64) %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds %struct.iphdr, ptr %58, i32 0, i32 3 store ptr %57, ptr %59, align 8 %60 = load ptr, ptr %10, align 8 %61 = getelementptr inbounds %struct.icmphdr, ptr %60, i32 0, i32 0 store i32 8, ptr %61, align 8 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds %struct.icmphdr, ptr %62, i32 0, i32 2 store i64 0, ptr %63, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = add i64 24, %66 %68 = trunc i64 %67 to i32 %69 = call ptr @in_chksum(ptr noundef %64, i32 noundef %68) %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds %struct.icmphdr, ptr %70, i32 0, i32 1 store ptr %69, ptr %71, align 8 %72 = load i32, ptr %6, align 4 %73 = load ptr, ptr %11, align 8 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = add i64 88, %75 %77 = trunc i64 %76 to i32 %78 = call i32 @sendto(i32 noundef %72, ptr noundef %73, i32 noundef %77, i32 noundef 0, ptr noundef %5, i32 noundef 4) %79 = load ptr, ptr %11, align 8 %80 = call i32 @free(ptr noundef %79) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare ptr @in_chksum(ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 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/tmpw7l5dt8y.c' source_filename = "/tmp/tmpw7l5dt8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) br label %8 8: ; preds = %23, %0 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %3, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %12, label %24 12: ; preds = %8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %14, %15 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %16, %17 %19 = icmp sgt i32 %18, 1 br i1 %19, label %20, label %23 20: ; preds = %12 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %20, %12 br label %8, !llvm.loop !6 24: ; preds = %8 %25 = load i32, ptr %2, align 4 %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw7l5dt8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %3, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %22 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %13, %14 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %15, %16 %18 = icmp sgt i32 %17, 1 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %19, %11 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %3, align 4 %25 = icmp ne i32 %23, 0 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}