llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpmmaz1db4.c' source_filename = "/tmp/tmpmmaz1db4.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %struct.sockaddr_in, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i64 0, ptr %15, align 8 %16 = call i32 @get_myaddress(ptr noundef %9) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = icmp eq i64 %19, 0 %21 = zext i1 %20 to i32 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %7, align 4 ret i32 %24 } declare i32 @atoi(ptr noundef) #1 declare i32 @get_myaddress(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/tmpmmaz1db4.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %struct.sockaddr_in, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i64 0, ptr %15, align 8 %16 = call i32 @get_myaddress(ptr noundef %9) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = icmp eq i64 %19, 0 %21 = zext i1 %20 to i32 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %7, align 4 ret i32 %24 } declare i32 @atoi(ptr noundef) #1 declare i32 @get_myaddress(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/tmpwbex6jf1.c' source_filename = "/tmp/tmpwbex6jf1.c" target datalayout = "e-m:e-p270: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/tmpwbex6jf1.c" target datalayout = "e-m:e-p270: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/tmpvqfgog78.c' source_filename = "/tmp/tmpvqfgog78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apply_bitmask(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 i8, align 1 %8 = alloca i32, align 4 %9 = alloca [8 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %13, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %14, align 8 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = zext i32 %24 to i64 %26 = alloca i8, i64 %25, align 16 store i64 %25, ptr %15, align 8 store i32 0, ptr %5, align 4 br label %27 27: ; preds = %221, %2 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %224 31: ; preds = %27 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %217, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %220 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = mul nsw i32 %37, %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %39, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %21, i64 %42 store i8 0, ptr %43, align 1 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %47, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %44, i64 %50 %52 = load i8, ptr %51, align 1 %53 = zext i8 %52 to i32 %54 = and i32 %53, 240 %55 = icmp ne i32 %54, 0 br i1 %55, label %216, label %56 56: ; preds = %36 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %57, %58 %60 = and i32 %59, 1 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %74 62: ; preds = %56 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %4, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %21, i64 %68 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = add nsw i32 %71, 1 %73 = trunc i32 %72 to i8 store i8 %73, ptr %69, align 1 br label %74 74: ; preds = %62, %56 %75 = load i32, ptr %6, align 4 %76 = and i32 %75, 1 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %90 78: ; preds = %74 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %4, align 4 %81 = mul nsw i32 %79, %80 %82 = load i32, ptr %5, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %21, i64 %84 %86 = load i8, ptr %85, align 1 %87 = zext i8 %86 to i32 %88 = add nsw i32 %87, 2 %89 = trunc i32 %88 to i8 store i8 %89, ptr %85, align 1 br label %90 90: ; preds = %78, %74 %91 = load i32, ptr %5, align 4 %92 = srem i32 %91, 3 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %106 94: ; preds = %90 %95 = load i32, ptr %6, align 4 %96 = load i32, ptr %4, align 4 %97 = mul nsw i32 %95, %96 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %97, %98 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %21, i64 %100 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = add nsw i32 %103, 4 %105 = trunc i32 %104 to i8 store i8 %105, ptr %101, align 1 br label %106 106: ; preds = %94, %90 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %107, %108 %110 = srem i32 %109, 3 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %124 112: ; preds = %106 %113 = load i32, ptr %6, align 4 %114 = load i32, ptr %4, align 4 %115 = mul nsw i32 %113, %114 %116 = load i32, ptr %5, align 4 %117 = add nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %21, i64 %118 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = add nsw i32 %121, 8 %123 = trunc i32 %122 to i8 store i8 %123, ptr %119, align 1 br label %124 124: ; preds = %112, %106 %125 = load i32, ptr %6, align 4 %126 = sdiv i32 %125, 2 %127 = load i32, ptr %5, align 4 %128 = sdiv i32 %127, 3 %129 = add nsw i32 %126, %128 %130 = and i32 %129, 1 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %144 132: ; preds = %124 %133 = load i32, ptr %6, align 4 %134 = load i32, ptr %4, align 4 %135 = mul nsw i32 %133, %134 %136 = load i32, ptr %5, align 4 %137 = add nsw i32 %135, %136 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %21, i64 %138 %140 = load i8, ptr %139, align 1 %141 = zext i8 %140 to i32 %142 = add nsw i32 %141, 16 %143 = trunc i32 %142 to i8 store i8 %143, ptr %139, align 1 br label %144 144: ; preds = %132, %124 %145 = load i32, ptr %6, align 4 %146 = load i32, ptr %5, align 4 %147 = mul nsw i32 %145, %146 %148 = and i32 %147, 1 %149 = load i32, ptr %6, align 4 %150 = load i32, ptr %5, align 4 %151 = mul nsw i32 %149, %150 %152 = srem i32 %151, 3 %153 = add nsw i32 %148, %152 %154 = icmp eq i32 %153, 0 br i1 %154, label %155, label %167 155: ; preds = %144 %156 = load i32, ptr %6, align 4 %157 = load i32, ptr %4, align 4 %158 = mul nsw i32 %156, %157 %159 = load i32, ptr %5, align 4 %160 = add nsw i32 %158, %159 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %21, i64 %161 %163 = load i8, ptr %162, align 1 %164 = zext i8 %163 to i32 %165 = add nsw i32 %164, 32 %166 = trunc i32 %165 to i8 store i8 %166, ptr %162, align 1 br label %167 167: ; preds = %155, %144 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %5, align 4 %170 = mul nsw i32 %168, %169 %171 = and i32 %170, 1 %172 = load i32, ptr %6, align 4 %173 = load i32, ptr %5, align 4 %174 = mul nsw i32 %172, %173 %175 = srem i32 %174, 3 %176 = add nsw i32 %171, %175 %177 = and i32 %176, 1 %178 = icmp eq i32 %177, 0 br i1 %178, label %179, label %191 179: ; preds = %167 %180 = load i32, ptr %6, align 4 %181 = load i32, ptr %4, align 4 %182 = mul nsw i32 %180, %181 %183 = load i32, ptr %5, align 4 %184 = add nsw i32 %182, %183 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %21, i64 %185 %187 = load i8, ptr %186, align 1 %188 = zext i8 %187 to i32 %189 = add nsw i32 %188, 64 %190 = trunc i32 %189 to i8 store i8 %190, ptr %186, align 1 br label %191 191: ; preds = %179, %167 %192 = load i32, ptr %6, align 4 %193 = load i32, ptr %5, align 4 %194 = add nsw i32 %192, %193 %195 = and i32 %194, 1 %196 = load i32, ptr %6, align 4 %197 = load i32, ptr %5, align 4 %198 = mul nsw i32 %196, %197 %199 = srem i32 %198, 3 %200 = add nsw i32 %195, %199 %201 = and i32 %200, 1 %202 = icmp eq i32 %201, 0 br i1 %202, label %203, label %215 203: ; preds = %191 %204 = load i32, ptr %6, align 4 %205 = load i32, ptr %4, align 4 %206 = mul nsw i32 %204, %205 %207 = load i32, ptr %5, align 4 %208 = add nsw i32 %206, %207 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i8, ptr %21, i64 %209 %211 = load i8, ptr %210, align 1 %212 = zext i8 %211 to i32 %213 = add nsw i32 %212, 128 %214 = trunc i32 %213 to i8 store i8 %214, ptr %210, align 1 br label %215 215: ; preds = %203, %191 br label %216 216: ; preds = %215, %36 br label %217 217: ; preds = %216 %218 = load i32, ptr %6, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %6, align 4 br label %32, !llvm.loop !6 220: ; preds = %32 br label %221 221: ; preds = %220 %222 = load i32, ptr %5, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %5, align 4 br label %27, !llvm.loop !8 224: ; preds = %27 store i32 0, ptr %5, align 4 br label %225 225: ; preds = %274, %224 %226 = load i32, ptr %5, align 4 %227 = load i32, ptr %4, align 4 %228 = icmp slt i32 %226, %227 br i1 %228, label %229, label %277 229: ; preds = %225 store i32 0, ptr %6, align 4 br label %230 230: ; preds = %270, %229 %231 = load i32, ptr %6, align 4 %232 = load i32, ptr %4, align 4 %233 = icmp slt i32 %231, %232 br i1 %233, label %234, label %273 234: ; preds = %230 %235 = load ptr, ptr %3, align 8 %236 = load i32, ptr %6, align 4 %237 = load i32, ptr %4, align 4 %238 = mul nsw i32 %236, %237 %239 = load i32, ptr %5, align 4 %240 = add nsw i32 %238, %239 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i8, ptr %235, i64 %241 %243 = load i8, ptr %242, align 1 %244 = zext i8 %243 to i32 %245 = and i32 %244, 1 %246 = icmp ne i32 %245, 0 br i1 %246, label %247, label %248 247: ; preds = %234 store i8 -1, ptr %7, align 1 br label %249 248: ; preds = %234 store i8 0, ptr %7, align 1 br label %249 249: ; preds = %248, %247 %250 = load i32, ptr %6, align 4 %251 = load i32, ptr %4, align 4 %252 = mul nsw i32 %250, %251 %253 = load i32, ptr %5, align 4 %254 = add nsw i32 %252, %253 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i8, ptr %21, i64 %255 %257 = load i8, ptr %256, align 1 %258 = zext i8 %257 to i32 %259 = load i8, ptr %7, align 1 %260 = zext i8 %259 to i32 %261 = xor i32 %258, %260 %262 = trunc i32 %261 to i8 %263 = load i32, ptr %6, align 4 %264 = load i32, ptr %4, align 4 %265 = mul nsw i32 %263, %264 %266 = load i32, ptr %5, align 4 %267 = add nsw i32 %265, %266 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds i8, ptr %26, i64 %268 store i8 %262, ptr %269, align 1 br label %270 270: ; preds = %249 %271 = load i32, ptr %6, align 4 %272 = add nsw i32 %271, 1 store i32 %272, ptr %6, align 4 br label %230, !llvm.loop !9 273: ; preds = %230 br label %274 274: ; preds = %273 %275 = load i32, ptr %5, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %5, align 4 br label %225, !llvm.loop !10 277: ; preds = %225 store i32 0, ptr %8, align 4 br label %278 278: ; preds = %288, %277 %279 = load i32, ptr %8, align 4 %280 = icmp slt i32 %279, 8 br i1 %280, label %281, label %291 281: ; preds = %278 %282 = load i32, ptr %4, align 4 %283 = load i32, ptr %8, align 4 %284 = call i32 @evaluate(ptr noundef %26, i32 noundef %282, i32 noundef %283) %285 = load i32, ptr %8, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %286 store i32 %284, ptr %287, align 4 br label %288 288: ; preds = %281 %289 = load i32, ptr %8, align 4 %290 = add nsw i32 %289, 1 store i32 %290, ptr %8, align 4 br label %278, !llvm.loop !11 291: ; preds = %278 store i32 0, ptr %11, align 4 %292 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 0 %293 = load i32, ptr %292, align 16 store i32 %293, ptr %10, align 4 store i32 1, ptr %8, align 4 br label %294 294: ; preds = %311, %291 %295 = load i32, ptr %8, align 4 %296 = icmp slt i32 %295, 8 br i1 %296, label %297, label %314 297: ; preds = %294 %298 = load i32, ptr %8, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %299 %301 = load i32, ptr %300, align 4 %302 = load i32, ptr %10, align 4 %303 = icmp slt i32 %301, %302 br i1 %303, label %304, label %310 304: ; preds = %297 %305 = load i32, ptr %8, align 4 store i32 %305, ptr %11, align 4 %306 = load i32, ptr %8, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %307 %309 = load i32, ptr %308, align 4 store i32 %309, ptr %10, align 4 br label %310 310: ; preds = %304, %297 br label %311 311: ; preds = %310 %312 = load i32, ptr %8, align 4 %313 = add nsw i32 %312, 1 store i32 %313, ptr %8, align 4 br label %294, !llvm.loop !12 314: ; preds = %294 store i32 0, ptr %5, align 4 br label %315 315: ; preds = %478, %314 %316 = load i32, ptr %5, align 4 %317 = load i32, ptr %4, align 4 %318 = icmp slt i32 %316, %317 br i1 %318, label %319, label %481 319: ; preds = %315 store i32 0, ptr %6, align 4 br label %320 320: ; preds = %474, %319 %321 = load i32, ptr %6, align 4 %322 = load i32, ptr %4, align 4 %323 = icmp slt i32 %321, %322 br i1 %323, label %324, label %477 324: ; preds = %320 store i32 0, ptr %12, align 4 %325 = load i32, ptr %11, align 4 switch i32 %325, label %438 [ i32 0, label %326 i32 1, label %340 i32 2, label %354 i32 3, label %368 i32 4, label %382 i32 5, label %396 i32 6, label %410 i32 7, label %424 ] 326: ; preds = %324 %327 = load i32, ptr %6, align 4 %328 = load i32, ptr %4, align 4 %329 = mul nsw i32 %327, %328 %330 = load i32, ptr %5, align 4 %331 = add nsw i32 %329, %330 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds i8, ptr %21, i64 %332 %334 = load i8, ptr %333, align 1 %335 = zext i8 %334 to i32 %336 = and i32 %335, 1 %337 = icmp ne i32 %336, 0 br i1 %337, label %338, label %339 338: ; preds = %326 store i32 1, ptr %12, align 4 br label %339 339: ; preds = %338, %326 br label %438 340: ; preds = %324 %341 = load i32, ptr %6, align 4 %342 = load i32, ptr %4, align 4 %343 = mul nsw i32 %341, %342 %344 = load i32, ptr %5, align 4 %345 = add nsw i32 %343, %344 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds i8, ptr %21, i64 %346 %348 = load i8, ptr %347, align 1 %349 = zext i8 %348 to i32 %350 = and i32 %349, 2 %351 = icmp ne i32 %350, 0 br i1 %351, label %352, label %353 352: ; preds = %340 store i32 1, ptr %12, align 4 br label %353 353: ; preds = %352, %340 br label %438 354: ; preds = %324 %355 = load i32, ptr %6, align 4 %356 = load i32, ptr %4, align 4 %357 = mul nsw i32 %355, %356 %358 = load i32, ptr %5, align 4 %359 = add nsw i32 %357, %358 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds i8, ptr %21, i64 %360 %362 = load i8, ptr %361, align 1 %363 = zext i8 %362 to i32 %364 = and i32 %363, 4 %365 = icmp ne i32 %364, 0 br i1 %365, label %366, label %367 366: ; preds = %354 store i32 1, ptr %12, align 4 br label %367 367: ; preds = %366, %354 br label %438 368: ; preds = %324 %369 = load i32, ptr %6, align 4 %370 = load i32, ptr %4, align 4 %371 = mul nsw i32 %369, %370 %372 = load i32, ptr %5, align 4 %373 = add nsw i32 %371, %372 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds i8, ptr %21, i64 %374 %376 = load i8, ptr %375, align 1 %377 = zext i8 %376 to i32 %378 = and i32 %377, 8 %379 = icmp ne i32 %378, 0 br i1 %379, label %380, label %381 380: ; preds = %368 store i32 1, ptr %12, align 4 br label %381 381: ; preds = %380, %368 br label %438 382: ; preds = %324 %383 = load i32, ptr %6, align 4 %384 = load i32, ptr %4, align 4 %385 = mul nsw i32 %383, %384 %386 = load i32, ptr %5, align 4 %387 = add nsw i32 %385, %386 %388 = sext i32 %387 to i64 %389 = getelementptr inbounds i8, ptr %21, i64 %388 %390 = load i8, ptr %389, align 1 %391 = zext i8 %390 to i32 %392 = and i32 %391, 16 %393 = icmp ne i32 %392, 0 br i1 %393, label %394, label %395 394: ; preds = %382 store i32 1, ptr %12, align 4 br label %395 395: ; preds = %394, %382 br label %438 396: ; preds = %324 %397 = load i32, ptr %6, align 4 %398 = load i32, ptr %4, align 4 %399 = mul nsw i32 %397, %398 %400 = load i32, ptr %5, align 4 %401 = add nsw i32 %399, %400 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds i8, ptr %21, i64 %402 %404 = load i8, ptr %403, align 1 %405 = zext i8 %404 to i32 %406 = and i32 %405, 32 %407 = icmp ne i32 %406, 0 br i1 %407, label %408, label %409 408: ; preds = %396 store i32 1, ptr %12, align 4 br label %409 409: ; preds = %408, %396 br label %438 410: ; preds = %324 %411 = load i32, ptr %6, align 4 %412 = load i32, ptr %4, align 4 %413 = mul nsw i32 %411, %412 %414 = load i32, ptr %5, align 4 %415 = add nsw i32 %413, %414 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds i8, ptr %21, i64 %416 %418 = load i8, ptr %417, align 1 %419 = zext i8 %418 to i32 %420 = and i32 %419, 64 %421 = icmp ne i32 %420, 0 br i1 %421, label %422, label %423 422: ; preds = %410 store i32 1, ptr %12, align 4 br label %423 423: ; preds = %422, %410 br label %438 424: ; preds = %324 %425 = load i32, ptr %6, align 4 %426 = load i32, ptr %4, align 4 %427 = mul nsw i32 %425, %426 %428 = load i32, ptr %5, align 4 %429 = add nsw i32 %427, %428 %430 = sext i32 %429 to i64 %431 = getelementptr inbounds i8, ptr %21, i64 %430 %432 = load i8, ptr %431, align 1 %433 = zext i8 %432 to i32 %434 = and i32 %433, 128 %435 = icmp ne i32 %434, 0 br i1 %435, label %436, label %437 436: ; preds = %424 store i32 1, ptr %12, align 4 br label %437 437: ; preds = %436, %424 br label %438 438: ; preds = %324, %437, %423, %409, %395, %381, %367, %353, %339 %439 = load i32, ptr %12, align 4 %440 = icmp eq i32 %439, 1 br i1 %440, label %441, label %473 441: ; preds = %438 %442 = load ptr, ptr %3, align 8 %443 = load i32, ptr %6, align 4 %444 = load i32, ptr %4, align 4 %445 = mul nsw i32 %443, %444 %446 = load i32, ptr %5, align 4 %447 = add nsw i32 %445, %446 %448 = sext i32 %447 to i64 %449 = getelementptr inbounds i8, ptr %442, i64 %448 %450 = load i8, ptr %449, align 1 %451 = zext i8 %450 to i32 %452 = and i32 %451, 1 %453 = icmp ne i32 %452, 0 br i1 %453, label %454, label %463 454: ; preds = %441 %455 = load ptr, ptr %3, align 8 %456 = load i32, ptr %6, align 4 %457 = load i32, ptr %4, align 4 %458 = mul nsw i32 %456, %457 %459 = load i32, ptr %5, align 4 %460 = add nsw i32 %458, %459 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds i8, ptr %455, i64 %461 store i8 0, ptr %462, align 1 br label %472 463: ; preds = %441 %464 = load ptr, ptr %3, align 8 %465 = load i32, ptr %6, align 4 %466 = load i32, ptr %4, align 4 %467 = mul nsw i32 %465, %466 %468 = load i32, ptr %5, align 4 %469 = add nsw i32 %467, %468 %470 = sext i32 %469 to i64 %471 = getelementptr inbounds i8, ptr %464, i64 %470 store i8 1, ptr %471, align 1 br label %472 472: ; preds = %463, %454 br label %473 473: ; preds = %472, %438 br label %474 474: ; preds = %473 %475 = load i32, ptr %6, align 4 %476 = add nsw i32 %475, 1 store i32 %476, ptr %6, align 4 br label %320, !llvm.loop !13 477: ; preds = %320 br label %478 478: ; preds = %477 %479 = load i32, ptr %5, align 4 %480 = add nsw i32 %479, 1 store i32 %480, ptr %5, align 4 br label %315, !llvm.loop !14 481: ; preds = %315 %482 = load i32, ptr %11, align 4 %483 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %483) ret i32 %482 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @evaluate(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqfgog78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apply_bitmask(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 i8, align 1 %8 = alloca i32, align 4 %9 = alloca [8 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %13, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %14, align 8 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = zext i32 %24 to i64 %26 = alloca i8, i64 %25, align 16 store i64 %25, ptr %15, align 8 store i32 0, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %228 .lr.ph2: ; preds = %2 br label %30 30: ; preds = %.lr.ph2, %222 store i32 0, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %221 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %215 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %4, align 4 %37 = mul nsw i32 %35, %36 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %21, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %4, align 4 %45 = mul nsw i32 %43, %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %42, i64 %48 %50 = load i8, ptr %49, align 1 %51 = zext i8 %50 to i32 %52 = and i32 %51, 240 %53 = icmp ne i32 %52, 0 br i1 %53, label %214, label %54 54: ; preds = %34 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %55, %56 %58 = and i32 %57, 1 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %72 60: ; preds = %54 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %4, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %21, i64 %66 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = add nsw i32 %69, 1 %71 = trunc i32 %70 to i8 store i8 %71, ptr %67, align 1 br label %72 72: ; preds = %60, %54 %73 = load i32, ptr %6, align 4 %74 = and i32 %73, 1 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %88 76: ; preds = %72 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr %4, align 4 %79 = mul nsw i32 %77, %78 %80 = load i32, ptr %5, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %21, i64 %82 %84 = load i8, ptr %83, align 1 %85 = zext i8 %84 to i32 %86 = add nsw i32 %85, 2 %87 = trunc i32 %86 to i8 store i8 %87, ptr %83, align 1 br label %88 88: ; preds = %76, %72 %89 = load i32, ptr %5, align 4 %90 = srem i32 %89, 3 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %104 92: ; preds = %88 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %4, align 4 %95 = mul nsw i32 %93, %94 %96 = load i32, ptr %5, align 4 %97 = add nsw i32 %95, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %21, i64 %98 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = add nsw i32 %101, 4 %103 = trunc i32 %102 to i8 store i8 %103, ptr %99, align 1 br label %104 104: ; preds = %92, %88 %105 = load i32, ptr %6, align 4 %106 = load i32, ptr %5, align 4 %107 = add nsw i32 %105, %106 %108 = srem i32 %107, 3 %109 = icmp eq i32 %108, 0 br i1 %109, label %110, label %122 110: ; preds = %104 %111 = load i32, ptr %6, align 4 %112 = load i32, ptr %4, align 4 %113 = mul nsw i32 %111, %112 %114 = load i32, ptr %5, align 4 %115 = add nsw i32 %113, %114 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %21, i64 %116 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = add nsw i32 %119, 8 %121 = trunc i32 %120 to i8 store i8 %121, ptr %117, align 1 br label %122 122: ; preds = %110, %104 %123 = load i32, ptr %6, align 4 %124 = sdiv i32 %123, 2 %125 = load i32, ptr %5, align 4 %126 = sdiv i32 %125, 3 %127 = add nsw i32 %124, %126 %128 = and i32 %127, 1 %129 = icmp eq i32 %128, 0 br i1 %129, label %130, label %142 130: ; preds = %122 %131 = load i32, ptr %6, align 4 %132 = load i32, ptr %4, align 4 %133 = mul nsw i32 %131, %132 %134 = load i32, ptr %5, align 4 %135 = add nsw i32 %133, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %21, i64 %136 %138 = load i8, ptr %137, align 1 %139 = zext i8 %138 to i32 %140 = add nsw i32 %139, 16 %141 = trunc i32 %140 to i8 store i8 %141, ptr %137, align 1 br label %142 142: ; preds = %130, %122 %143 = load i32, ptr %6, align 4 %144 = load i32, ptr %5, align 4 %145 = mul nsw i32 %143, %144 %146 = and i32 %145, 1 %147 = load i32, ptr %6, align 4 %148 = load i32, ptr %5, align 4 %149 = mul nsw i32 %147, %148 %150 = srem i32 %149, 3 %151 = add nsw i32 %146, %150 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %165 153: ; preds = %142 %154 = load i32, ptr %6, align 4 %155 = load i32, ptr %4, align 4 %156 = mul nsw i32 %154, %155 %157 = load i32, ptr %5, align 4 %158 = add nsw i32 %156, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %21, i64 %159 %161 = load i8, ptr %160, align 1 %162 = zext i8 %161 to i32 %163 = add nsw i32 %162, 32 %164 = trunc i32 %163 to i8 store i8 %164, ptr %160, align 1 br label %165 165: ; preds = %153, %142 %166 = load i32, ptr %6, align 4 %167 = load i32, ptr %5, align 4 %168 = mul nsw i32 %166, %167 %169 = and i32 %168, 1 %170 = load i32, ptr %6, align 4 %171 = load i32, ptr %5, align 4 %172 = mul nsw i32 %170, %171 %173 = srem i32 %172, 3 %174 = add nsw i32 %169, %173 %175 = and i32 %174, 1 %176 = icmp eq i32 %175, 0 br i1 %176, label %177, label %189 177: ; preds = %165 %178 = load i32, ptr %6, align 4 %179 = load i32, ptr %4, align 4 %180 = mul nsw i32 %178, %179 %181 = load i32, ptr %5, align 4 %182 = add nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i8, ptr %21, i64 %183 %185 = load i8, ptr %184, align 1 %186 = zext i8 %185 to i32 %187 = add nsw i32 %186, 64 %188 = trunc i32 %187 to i8 store i8 %188, ptr %184, align 1 br label %189 189: ; preds = %177, %165 %190 = load i32, ptr %6, align 4 %191 = load i32, ptr %5, align 4 %192 = add nsw i32 %190, %191 %193 = and i32 %192, 1 %194 = load i32, ptr %6, align 4 %195 = load i32, ptr %5, align 4 %196 = mul nsw i32 %194, %195 %197 = srem i32 %196, 3 %198 = add nsw i32 %193, %197 %199 = and i32 %198, 1 %200 = icmp eq i32 %199, 0 br i1 %200, label %201, label %213 201: ; preds = %189 %202 = load i32, ptr %6, align 4 %203 = load i32, ptr %4, align 4 %204 = mul nsw i32 %202, %203 %205 = load i32, ptr %5, align 4 %206 = add nsw i32 %204, %205 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds i8, ptr %21, i64 %207 %209 = load i8, ptr %208, align 1 %210 = zext i8 %209 to i32 %211 = add nsw i32 %210, 128 %212 = trunc i32 %211 to i8 store i8 %212, ptr %208, align 1 br label %213 213: ; preds = %201, %189 br label %214 214: ; preds = %213, %34 br label %215 215: ; preds = %214 %216 = load i32, ptr %6, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %6, align 4 %218 = load i32, ptr %6, align 4 %219 = load i32, ptr %4, align 4 %220 = icmp slt i32 %218, %219 br i1 %220, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %215 br label %221 221: ; preds = %._crit_edge, %30 br label %222 222: ; preds = %221 %223 = load i32, ptr %5, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %5, align 4 %225 = load i32, ptr %5, align 4 %226 = load i32, ptr %4, align 4 %227 = icmp slt i32 %225, %226 br i1 %227, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %222 br label %228 228: ; preds = %._crit_edge3, %2 store i32 0, ptr %5, align 4 %229 = load i32, ptr %5, align 4 %230 = load i32, ptr %4, align 4 %231 = icmp slt i32 %229, %230 br i1 %231, label %.lr.ph8, label %285 .lr.ph8: ; preds = %228 br label %232 232: ; preds = %.lr.ph8, %279 store i32 0, ptr %6, align 4 %233 = load i32, ptr %6, align 4 %234 = load i32, ptr %4, align 4 %235 = icmp slt i32 %233, %234 br i1 %235, label %.lr.ph5, label %278 .lr.ph5: ; preds = %232 br label %236 236: ; preds = %.lr.ph5, %272 %237 = load ptr, ptr %3, align 8 %238 = load i32, ptr %6, align 4 %239 = load i32, ptr %4, align 4 %240 = mul nsw i32 %238, %239 %241 = load i32, ptr %5, align 4 %242 = add nsw i32 %240, %241 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds i8, ptr %237, i64 %243 %245 = load i8, ptr %244, align 1 %246 = zext i8 %245 to i32 %247 = and i32 %246, 1 %248 = icmp ne i32 %247, 0 br i1 %248, label %249, label %250 249: ; preds = %236 store i8 -1, ptr %7, align 1 br label %251 250: ; preds = %236 store i8 0, ptr %7, align 1 br label %251 251: ; preds = %250, %249 %252 = load i32, ptr %6, align 4 %253 = load i32, ptr %4, align 4 %254 = mul nsw i32 %252, %253 %255 = load i32, ptr %5, align 4 %256 = add nsw i32 %254, %255 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds i8, ptr %21, i64 %257 %259 = load i8, ptr %258, align 1 %260 = zext i8 %259 to i32 %261 = load i8, ptr %7, align 1 %262 = zext i8 %261 to i32 %263 = xor i32 %260, %262 %264 = trunc i32 %263 to i8 %265 = load i32, ptr %6, align 4 %266 = load i32, ptr %4, align 4 %267 = mul nsw i32 %265, %266 %268 = load i32, ptr %5, align 4 %269 = add nsw i32 %267, %268 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds i8, ptr %26, i64 %270 store i8 %264, ptr %271, align 1 br label %272 272: ; preds = %251 %273 = load i32, ptr %6, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %6, align 4 %275 = load i32, ptr %6, align 4 %276 = load i32, ptr %4, align 4 %277 = icmp slt i32 %275, %276 br i1 %277, label %236, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %272 br label %278 278: ; preds = %._crit_edge6, %232 br label %279 279: ; preds = %278 %280 = load i32, ptr %5, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %5, align 4 %282 = load i32, ptr %5, align 4 %283 = load i32, ptr %4, align 4 %284 = icmp slt i32 %282, %283 br i1 %284, label %232, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %279 br label %285 285: ; preds = %._crit_edge9, %228 store i32 0, ptr %8, align 4 %286 = load i32, ptr %8, align 4 %287 = icmp slt i32 %286, 8 br i1 %287, label %.lr.ph11, label %300 .lr.ph11: ; preds = %285 br label %288 288: ; preds = %.lr.ph11, %295 %289 = load i32, ptr %4, align 4 %290 = load i32, ptr %8, align 4 %291 = call i32 @evaluate(ptr noundef %26, i32 noundef %289, i32 noundef %290) %292 = load i32, ptr %8, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %293 store i32 %291, ptr %294, align 4 br label %295 295: ; preds = %288 %296 = load i32, ptr %8, align 4 %297 = add nsw i32 %296, 1 store i32 %297, ptr %8, align 4 %298 = load i32, ptr %8, align 4 %299 = icmp slt i32 %298, 8 br i1 %299, label %288, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %295 br label %300 300: ; preds = %._crit_edge12, %285 store i32 0, ptr %11, align 4 %301 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 0 %302 = load i32, ptr %301, align 16 store i32 %302, ptr %10, align 4 store i32 1, ptr %8, align 4 %303 = load i32, ptr %8, align 4 %304 = icmp slt i32 %303, 8 br i1 %304, label %.lr.ph14, label %324 .lr.ph14: ; preds = %300 br label %305 305: ; preds = %.lr.ph14, %319 %306 = load i32, ptr %8, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %307 %309 = load i32, ptr %308, align 4 %310 = load i32, ptr %10, align 4 %311 = icmp slt i32 %309, %310 br i1 %311, label %312, label %318 312: ; preds = %305 %313 = load i32, ptr %8, align 4 store i32 %313, ptr %11, align 4 %314 = load i32, ptr %8, align 4 %315 = sext i32 %314 to i64 %316 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %315 %317 = load i32, ptr %316, align 4 store i32 %317, ptr %10, align 4 br label %318 318: ; preds = %312, %305 br label %319 319: ; preds = %318 %320 = load i32, ptr %8, align 4 %321 = add nsw i32 %320, 1 store i32 %321, ptr %8, align 4 %322 = load i32, ptr %8, align 4 %323 = icmp slt i32 %322, 8 br i1 %323, label %305, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %319 br label %324 324: ; preds = %._crit_edge15, %300 store i32 0, ptr %5, align 4 %325 = load i32, ptr %5, align 4 %326 = load i32, ptr %4, align 4 %327 = icmp slt i32 %325, %326 br i1 %327, label %.lr.ph20, label %495 .lr.ph20: ; preds = %324 br label %328 328: ; preds = %.lr.ph20, %489 store i32 0, ptr %6, align 4 %329 = load i32, ptr %6, align 4 %330 = load i32, ptr %4, align 4 %331 = icmp slt i32 %329, %330 br i1 %331, label %.lr.ph17, label %488 .lr.ph17: ; preds = %328 br label %332 332: ; preds = %.lr.ph17, %482 store i32 0, ptr %12, align 4 %333 = load i32, ptr %11, align 4 switch i32 %333, label %446 [ i32 0, label %334 i32 1, label %348 i32 2, label %362 i32 3, label %376 i32 4, label %390 i32 5, label %404 i32 6, label %418 i32 7, label %432 ] 334: ; preds = %332 %335 = load i32, ptr %6, align 4 %336 = load i32, ptr %4, align 4 %337 = mul nsw i32 %335, %336 %338 = load i32, ptr %5, align 4 %339 = add nsw i32 %337, %338 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds i8, ptr %21, i64 %340 %342 = load i8, ptr %341, align 1 %343 = zext i8 %342 to i32 %344 = and i32 %343, 1 %345 = icmp ne i32 %344, 0 br i1 %345, label %346, label %347 346: ; preds = %334 store i32 1, ptr %12, align 4 br label %347 347: ; preds = %346, %334 br label %446 348: ; preds = %332 %349 = load i32, ptr %6, align 4 %350 = load i32, ptr %4, align 4 %351 = mul nsw i32 %349, %350 %352 = load i32, ptr %5, align 4 %353 = add nsw i32 %351, %352 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds i8, ptr %21, i64 %354 %356 = load i8, ptr %355, align 1 %357 = zext i8 %356 to i32 %358 = and i32 %357, 2 %359 = icmp ne i32 %358, 0 br i1 %359, label %360, label %361 360: ; preds = %348 store i32 1, ptr %12, align 4 br label %361 361: ; preds = %360, %348 br label %446 362: ; preds = %332 %363 = load i32, ptr %6, align 4 %364 = load i32, ptr %4, align 4 %365 = mul nsw i32 %363, %364 %366 = load i32, ptr %5, align 4 %367 = add nsw i32 %365, %366 %368 = sext i32 %367 to i64 %369 = getelementptr inbounds i8, ptr %21, i64 %368 %370 = load i8, ptr %369, align 1 %371 = zext i8 %370 to i32 %372 = and i32 %371, 4 %373 = icmp ne i32 %372, 0 br i1 %373, label %374, label %375 374: ; preds = %362 store i32 1, ptr %12, align 4 br label %375 375: ; preds = %374, %362 br label %446 376: ; preds = %332 %377 = load i32, ptr %6, align 4 %378 = load i32, ptr %4, align 4 %379 = mul nsw i32 %377, %378 %380 = load i32, ptr %5, align 4 %381 = add nsw i32 %379, %380 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds i8, ptr %21, i64 %382 %384 = load i8, ptr %383, align 1 %385 = zext i8 %384 to i32 %386 = and i32 %385, 8 %387 = icmp ne i32 %386, 0 br i1 %387, label %388, label %389 388: ; preds = %376 store i32 1, ptr %12, align 4 br label %389 389: ; preds = %388, %376 br label %446 390: ; preds = %332 %391 = load i32, ptr %6, align 4 %392 = load i32, ptr %4, align 4 %393 = mul nsw i32 %391, %392 %394 = load i32, ptr %5, align 4 %395 = add nsw i32 %393, %394 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds i8, ptr %21, i64 %396 %398 = load i8, ptr %397, align 1 %399 = zext i8 %398 to i32 %400 = and i32 %399, 16 %401 = icmp ne i32 %400, 0 br i1 %401, label %402, label %403 402: ; preds = %390 store i32 1, ptr %12, align 4 br label %403 403: ; preds = %402, %390 br label %446 404: ; preds = %332 %405 = load i32, ptr %6, align 4 %406 = load i32, ptr %4, align 4 %407 = mul nsw i32 %405, %406 %408 = load i32, ptr %5, align 4 %409 = add nsw i32 %407, %408 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds i8, ptr %21, i64 %410 %412 = load i8, ptr %411, align 1 %413 = zext i8 %412 to i32 %414 = and i32 %413, 32 %415 = icmp ne i32 %414, 0 br i1 %415, label %416, label %417 416: ; preds = %404 store i32 1, ptr %12, align 4 br label %417 417: ; preds = %416, %404 br label %446 418: ; preds = %332 %419 = load i32, ptr %6, align 4 %420 = load i32, ptr %4, align 4 %421 = mul nsw i32 %419, %420 %422 = load i32, ptr %5, align 4 %423 = add nsw i32 %421, %422 %424 = sext i32 %423 to i64 %425 = getelementptr inbounds i8, ptr %21, i64 %424 %426 = load i8, ptr %425, align 1 %427 = zext i8 %426 to i32 %428 = and i32 %427, 64 %429 = icmp ne i32 %428, 0 br i1 %429, label %430, label %431 430: ; preds = %418 store i32 1, ptr %12, align 4 br label %431 431: ; preds = %430, %418 br label %446 432: ; preds = %332 %433 = load i32, ptr %6, align 4 %434 = load i32, ptr %4, align 4 %435 = mul nsw i32 %433, %434 %436 = load i32, ptr %5, align 4 %437 = add nsw i32 %435, %436 %438 = sext i32 %437 to i64 %439 = getelementptr inbounds i8, ptr %21, i64 %438 %440 = load i8, ptr %439, align 1 %441 = zext i8 %440 to i32 %442 = and i32 %441, 128 %443 = icmp ne i32 %442, 0 br i1 %443, label %444, label %445 444: ; preds = %432 store i32 1, ptr %12, align 4 br label %445 445: ; preds = %444, %432 br label %446 446: ; preds = %445, %431, %417, %403, %389, %375, %361, %347, %332 %447 = load i32, ptr %12, align 4 %448 = icmp eq i32 %447, 1 br i1 %448, label %449, label %481 449: ; preds = %446 %450 = load ptr, ptr %3, align 8 %451 = load i32, ptr %6, align 4 %452 = load i32, ptr %4, align 4 %453 = mul nsw i32 %451, %452 %454 = load i32, ptr %5, align 4 %455 = add nsw i32 %453, %454 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds i8, ptr %450, i64 %456 %458 = load i8, ptr %457, align 1 %459 = zext i8 %458 to i32 %460 = and i32 %459, 1 %461 = icmp ne i32 %460, 0 br i1 %461, label %462, label %471 462: ; preds = %449 %463 = load ptr, ptr %3, align 8 %464 = load i32, ptr %6, align 4 %465 = load i32, ptr %4, align 4 %466 = mul nsw i32 %464, %465 %467 = load i32, ptr %5, align 4 %468 = add nsw i32 %466, %467 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds i8, ptr %463, i64 %469 store i8 0, ptr %470, align 1 br label %480 471: ; preds = %449 %472 = load ptr, ptr %3, align 8 %473 = load i32, ptr %6, align 4 %474 = load i32, ptr %4, align 4 %475 = mul nsw i32 %473, %474 %476 = load i32, ptr %5, align 4 %477 = add nsw i32 %475, %476 %478 = sext i32 %477 to i64 %479 = getelementptr inbounds i8, ptr %472, i64 %478 store i8 1, ptr %479, align 1 br label %480 480: ; preds = %471, %462 br label %481 481: ; preds = %480, %446 br label %482 482: ; preds = %481 %483 = load i32, ptr %6, align 4 %484 = add nsw i32 %483, 1 store i32 %484, ptr %6, align 4 %485 = load i32, ptr %6, align 4 %486 = load i32, ptr %4, align 4 %487 = icmp slt i32 %485, %486 br i1 %487, label %332, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %482 br label %488 488: ; preds = %._crit_edge18, %328 br label %489 489: ; preds = %488 %490 = load i32, ptr %5, align 4 %491 = add nsw i32 %490, 1 store i32 %491, ptr %5, align 4 %492 = load i32, ptr %5, align 4 %493 = load i32, ptr %4, align 4 %494 = icmp slt i32 %492, %493 br i1 %494, label %328, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %489 br label %495 495: ; preds = %._crit_edge21, %324 %496 = load i32, ptr %11, align 4 %497 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %497) ret i32 %496 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @evaluate(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '/tmp/tmpug0t1hk3.c' source_filename = "/tmp/tmpug0t1hk3.c" target datalayout = "e-m:e-p270: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/tmpug0t1hk3.c" target datalayout = "e-m:e-p270: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/tmpry92l5x9.c' source_filename = "/tmp/tmpry92l5x9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Act_PExit() #0 { %1 = call i32 (...) @Me() %2 = call i32 (...) @ArgNum() %3 = call i32 @ExitName(i32 noundef %2) %4 = call i32 @SendItem(i32 noundef %1, ptr noundef @.str, i32 noundef %3) ret void } declare i32 @SendItem(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @Me(...) #1 declare i32 @ExitName(i32 noundef) #1 declare i32 @ArgNum(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpry92l5x9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Act_PExit() #0 { %1 = call i32 (...) @Me() %2 = call i32 (...) @ArgNum() %3 = call i32 @ExitName(i32 noundef %2) %4 = call i32 @SendItem(i32 noundef %1, ptr noundef @.str, i32 noundef %3) ret void } declare i32 @SendItem(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @Me(...) #1 declare i32 @ExitName(i32 noundef) #1 declare i32 @ArgNum(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp67ptl7s5.c' source_filename = "/tmp/tmp67ptl7s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = mul i64 %12, %13 %15 = call i64 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14) ret i64 %15 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp67ptl7s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = mul i64 %12, %13 %15 = call i64 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14) ret i64 %15 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4nfkyih_.c' source_filename = "/tmp/tmp4nfkyih_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_base_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %1 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %50 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %47 22: ; preds = %16 %23 = load ptr, ptr %4, align 8 store i8 0, ptr %23, align 1 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %4, align 8 br label %26 26: ; preds = %37, %22 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 47 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %5, align 8 %34 = icmp uge ptr %32, %33 br label %35 35: ; preds = %31, %26 %36 = phi i1 [ false, %26 ], [ %34, %31 ] br i1 %36, label %37, label %41 37: ; preds = %35 %38 = load ptr, ptr %4, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %4, align 8 br label %26, !llvm.loop !6 41: ; preds = %35 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %5, align 8 %44 = icmp ult ptr %42, %43 br i1 %44, label %45, label %46 45: ; preds = %41 store ptr null, ptr %2, align 8 br label %50 46: ; preds = %41 br label %47 47: ; preds = %46, %16 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 store ptr %49, ptr %2, align 8 br label %50 50: ; preds = %47, %45, %12 %51 = load ptr, ptr %2, align 8 ret ptr %51 } declare ptr @strdup(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #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/tmp4nfkyih_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_base_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %1 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %50 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %47 22: ; preds = %16 %23 = load ptr, ptr %4, align 8 store i8 0, ptr %23, align 1 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %4, align 8 br label %26 26: ; preds = %37, %22 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 47 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %5, align 8 %34 = icmp uge ptr %32, %33 br label %35 35: ; preds = %31, %26 %36 = phi i1 [ false, %26 ], [ %34, %31 ] br i1 %36, label %37, label %41 37: ; preds = %35 %38 = load ptr, ptr %4, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %4, align 8 br label %26, !llvm.loop !6 41: ; preds = %35 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %5, align 8 %44 = icmp ult ptr %42, %43 br i1 %44, label %45, label %46 45: ; preds = %41 store ptr null, ptr %2, align 8 br label %50 46: ; preds = %41 br label %47 47: ; preds = %46, %16 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 store ptr %49, ptr %2, align 8 br label %50 50: ; preds = %47, %45, %12 %51 = load ptr, ptr %2, align 8 ret ptr %51 } declare ptr @strdup(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #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/tmplf92xph1.c' source_filename = "/tmp/tmplf92xph1.c" target datalayout = "e-m:e-p270: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/tmplf92xph1.c" target datalayout = "e-m:e-p270: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/tmphy97x119.c' source_filename = "/tmp/tmphy97x119.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ins_drp() #0 { %1 = call i32 (...) @bef_pop() ret i32 1 } declare i32 @bef_pop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphy97x119.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ins_drp() #0 { %1 = call i32 (...) @bef_pop() ret i32 1 } declare i32 @bef_pop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphs5yv32x.c' source_filename = "/tmp/tmphs5yv32x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR2 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"all get off the bus\00", align 1 @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seller(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %17 [ i32 130, label %4 i32 129, label %7 i32 128, label %11 ] 4: ; preds = %1 %5 = call i32 (...) @getppid() %6 = call i32 @kill(i32 noundef %5, i32 noundef 128) br label %18 7: ; preds = %1 %8 = call i32 (...) @getppid() %9 = load i32, ptr @SIGUSR2, align 4 %10 = call i32 @kill(i32 noundef %8, i32 noundef %9) br label %18 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 (...) @getppid() %14 = load i32, ptr @SIGKILL, align 4 %15 = call i32 @kill(i32 noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %1 br label %18 18: ; preds = %17, %7, %4 ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphs5yv32x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR2 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"all get off the bus\00", align 1 @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seller(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %17 [ i32 130, label %4 i32 129, label %7 i32 128, label %11 ] 4: ; preds = %1 %5 = call i32 (...) @getppid() %6 = call i32 @kill(i32 noundef %5, i32 noundef 128) br label %18 7: ; preds = %1 %8 = call i32 (...) @getppid() %9 = load i32, ptr @SIGUSR2, align 4 %10 = call i32 @kill(i32 noundef %8, i32 noundef %9) br label %18 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 (...) @getppid() %14 = load i32, ptr @SIGKILL, align 4 %15 = call i32 @kill(i32 noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %1 br label %18 18: ; preds = %17, %7, %4 ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp4hmi0mo.c' source_filename = "/tmp/tmpp4hmi0mo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_list_pop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @char_list_get_curr(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @char_list_rm_curr(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @char_list_get_curr(ptr noundef) #1 declare i32 @char_list_rm_curr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp4hmi0mo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_list_pop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @char_list_get_curr(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @char_list_rm_curr(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @char_list_get_curr(ptr noundef) #1 declare i32 @char_list_rm_curr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6cf6_86_.c' source_filename = "/tmp/tmp6cf6_86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i64, i64, ptr } @FALSE = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XdmcpWriteCARD8(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = icmp sge i64 %8, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr @FALSE, align 4 store i32 %14, ptr %3, align 4 br label %27 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = zext i32 %16 to i64 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i32 0, i32 2 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %22, align 8 %25 = getelementptr inbounds i64, ptr %20, i64 %23 store i64 %17, ptr %25, align 8 %26 = load i32, ptr @TRUE, align 4 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %15, %13 %28 = load i32, ptr %3, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6cf6_86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i64, i64, ptr } @FALSE = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @XdmcpWriteCARD8(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = icmp sge i64 %8, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr @FALSE, align 4 store i32 %14, ptr %3, align 4 br label %27 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = zext i32 %16 to i64 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i32 0, i32 2 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %22, align 8 %25 = getelementptr inbounds i64, ptr %20, i64 %23 store i64 %17, ptr %25, align 8 %26 = load i32, ptr @TRUE, align 4 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %15, %13 %28 = load i32, ptr %3, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp49zapfb8.c' source_filename = "/tmp/tmp49zapfb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i64 @malloc(i32 noundef 20) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 %19 = load ptr, ptr %2, align 8 call void @check(ptr noundef %19) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare void @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp49zapfb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i64 @malloc(i32 noundef 20) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %9, i64 %11 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12) br label %14 14: ; preds = %8 %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, 5 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = load ptr, ptr %2, align 8 call void @check(ptr noundef %20) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare void @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjf2n7zzy.c' source_filename = "/tmp/tmpjf2n7zzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_reuseaddr(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 %5 = zext i1 %1 to i8 store i8 %5, ptr %4, align 1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @SOL_SOCKET, align 4 %8 = load i32, ptr @SO_REUSEADDR, align 4 %9 = load i8, ptr %4, align 1 %10 = trunc i8 %9 to i1 %11 = call i32 @so_setboolopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, i1 noundef zeroext %10) ret i32 %11 } declare i32 @so_setboolopt(i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjf2n7zzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_reuseaddr(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 %5 = zext i1 %1 to i8 store i8 %5, ptr %4, align 1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @SOL_SOCKET, align 4 %8 = load i32, ptr @SO_REUSEADDR, align 4 %9 = load i8, ptr %4, align 1 %10 = trunc i8 %9 to i1 %11 = call i32 @so_setboolopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, i1 noundef zeroext %10) ret i32 %11 } declare i32 @so_setboolopt(i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa57333xy.c' source_filename = "/tmp/tmpa57333xy.c" target datalayout = "e-m:e-p270: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/tmpa57333xy.c" target datalayout = "e-m:e-p270: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/tmpyi787lz5.c' source_filename = "/tmp/tmpyi787lz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ksft_print_header() %7 = call i32 (...) @test_membarrier_query() %8 = call i32 (...) @test_membarrier() %9 = call i32 (...) @ksft_exit_pass() ret i32 %9 } declare i32 @ksft_print_header(...) #1 declare i32 @test_membarrier_query(...) #1 declare i32 @test_membarrier(...) #1 declare i32 @ksft_exit_pass(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyi787lz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ksft_print_header() %7 = call i32 (...) @test_membarrier_query() %8 = call i32 (...) @test_membarrier() %9 = call i32 (...) @ksft_exit_pass() ret i32 %9 } declare i32 @ksft_print_header(...) #1 declare i32 @test_membarrier_query(...) #1 declare i32 @test_membarrier(...) #1 declare i32 @ksft_exit_pass(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkhvl5ik.c' source_filename = "/tmp/tmppkhvl5ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Usage: copy <to> <from>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %20 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @CopyLinux(ptr noundef %15, ptr noundef %18) store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %12, %10 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @printf(ptr noundef) #1 declare i32 @CopyLinux(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/tmppkhvl5ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Usage: copy <to> <from>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %20 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @CopyLinux(ptr noundef %15, ptr noundef %18) store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %12, %10 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @printf(ptr noundef) #1 declare i32 @CopyLinux(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/tmpzhmok8cc.c' source_filename = "/tmp/tmpzhmok8cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @log10(double noundef %3) %5 = mul nsw i32 20, %4 %6 = sitofp i32 %5 to double ret double %6 } declare i32 @log10(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/tmpzhmok8cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @log10(double noundef %3) %5 = mul nsw i32 20, %4 %6 = sitofp i32 %5 to double ret double %6 } declare i32 @log10(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/tmpfirjquup.c' source_filename = "/tmp/tmpfirjquup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x01() #0 { %1 = call i64 @islower(i32 noundef 1) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 10, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfirjquup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x01() #0 { %1 = call i64 @islower(i32 noundef 1) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 10, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpea7dzbwz.c' source_filename = "/tmp/tmpea7dzbwz.c" target datalayout = "e-m:e-p270: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/tmpea7dzbwz.c" target datalayout = "e-m:e-p270: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/tmprs8bf1w2.c' source_filename = "/tmp/tmprs8bf1w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"lol: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"lel: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"hah: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @module1_section3_topic4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6, %0 br label %10 10: ; preds = %9, %6 %11 = phi i1 [ true, %6 ], [ true, %9 ] %12 = zext i1 %11 to i32 %13 = xor i32 %12, 0 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %1, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprs8bf1w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"lol: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"lel: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"hah: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @module1_section3_topic4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6, %0 br label %10 10: ; preds = %9, %6 %11 = phi i1 [ true, %6 ], [ true, %9 ] %12 = zext i1 %11 to i32 %13 = xor i32 %12, 0 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %1, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe5md7ks_.c' source_filename = "/tmp/tmpe5md7ks_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionQuartIn(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @ANTweenTimingFunctionQuartIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6) ret float %7 } declare float @ANTweenTimingFunctionQuartIn(float noundef, i32 noundef, i32 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/tmpe5md7ks_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ANTweenProgressTimingFunctionQuartIn(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @ANTweenTimingFunctionQuartIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6) ret float %7 } declare float @ANTweenTimingFunctionQuartIn(float noundef, i32 noundef, i32 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/tmpcoj41aim.c' source_filename = "/tmp/tmpcoj41aim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x11\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x11() #0 { %1 = call i64 @isalnum(i32 noundef 17) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpcoj41aim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x11\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x11() #0 { %1 = call i64 @isalnum(i32 noundef 17) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpo9fbzt90.c' source_filename = "/tmp/tmpo9fbzt90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HardwareSetup() #0 { %1 = call i32 (...) @R_Systeminit() ret void } declare i32 @R_Systeminit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo9fbzt90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HardwareSetup() #0 { %1 = call i32 (...) @R_Systeminit() ret void } declare i32 @R_Systeminit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp52d0lpes.c' source_filename = "/tmp/tmp52d0lpes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"add_ushortushort.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [17 x i8] c"add_ushortushort\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr @CL_SUCCESS, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %2 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %2 %41 = load i32, ptr %7, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = load i32, ptr @CL_PLATFORM_NAME, align 4 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @clGetPlatformInfo(i32 noundef %45, i32 noundef %46, i32 noundef 100, ptr noundef %47, ptr noundef null) store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr @CL_SUCCESS, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %40 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %40 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %56) %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %60 = call i32 @clGetDeviceIDs(i32 noundef %58, i32 noundef %59, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr @CL_SUCCESS, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %55 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %55 %68 = load i32, ptr %11, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68) %70 = load i32, ptr %10, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70) %72 = load i32, ptr %10, align 4 %73 = load i32, ptr @CL_DEVICE_NAME, align 4 %74 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %75 = call i32 @clGetDeviceInfo(i32 noundef %72, i32 noundef %73, i32 noundef 100, ptr noundef %74, ptr noundef null) store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %67 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %81 = call i32 @exit(i32 noundef 1) #3 unreachable 82: ; preds = %67 %83 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %86 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %86, ptr %13, align 4 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr @CL_SUCCESS, align 4 %89 = icmp ne i32 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %92 = call i32 @exit(i32 noundef 1) #3 unreachable 93: ; preds = %82 %94 = load i32, ptr %13, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %94) %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %10, align 4 %98 = call i32 @clCreateCommandQueue(i32 noundef %96, i32 noundef %97, i32 noundef 0, ptr noundef %8) store i32 %98, ptr %14, align 4 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr @CL_SUCCESS, align 4 %101 = icmp ne i32 %99, %100 br i1 %101, label %102, label %105 102: ; preds = %93 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %104 = call i32 @exit(i32 noundef 1) #3 unreachable 105: ; preds = %93 %106 = load i32, ptr %14, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %109 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %109, ptr %15, align 8 %110 = load i32, ptr %13, align 4 %111 = call i32 @clCreateProgramWithSource(i32 noundef %110, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %111, ptr %17, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr @CL_SUCCESS, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %118 115: ; preds = %105 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %105 %119 = load i32, ptr %17, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %119) %121 = load i32, ptr %17, align 4 %122 = call i32 @clBuildProgram(i32 noundef %121, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr @CL_SUCCESS, align 4 %125 = icmp ne i32 %123, %124 br i1 %125, label %126, label %144 126: ; preds = %118 %127 = load i32, ptr %17, align 4 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %130 = call i32 @clGetProgramBuildInfo(i32 noundef %127, i32 noundef %128, i32 noundef %129, i64 noundef 0, ptr noundef null, ptr noundef %18) %131 = load i64, ptr %18, align 8 %132 = call ptr @malloc(i64 noundef %131) store ptr %132, ptr %19, align 8 %133 = load i32, ptr %17, align 4 %134 = load i32, ptr %10, align 4 %135 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %136 = load i64, ptr %18, align 8 %137 = load ptr, ptr %19, align 8 %138 = call i32 @clGetProgramBuildInfo(i32 noundef %133, i32 noundef %134, i32 noundef %135, i64 noundef %136, ptr noundef %137, ptr noundef null) %139 = load ptr, ptr %19, align 8 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %139) %141 = load ptr, ptr %19, align 8 %142 = call i32 @free(ptr noundef %141) %143 = call i32 @exit(i32 noundef 1) #3 unreachable 144: ; preds = %118 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %147 = load i32, ptr %17, align 4 %148 = call i32 @clCreateKernel(i32 noundef %147, ptr noundef @.str.20, ptr noundef %8) store i32 %148, ptr %20, align 4 %149 = load i32, ptr %8, align 4 %150 = load i32, ptr @CL_SUCCESS, align 4 %151 = icmp ne i32 %149, %150 br i1 %151, label %152, label %155 152: ; preds = %144 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %154 = call i32 @exit(i32 noundef 1) #3 unreachable 155: ; preds = %144 store i64 10, ptr %21, align 8 %156 = load i64, ptr %21, align 8 %157 = mul i64 %156, 1 %158 = call ptr @malloc(i64 noundef %157) store ptr %158, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %159 159: ; preds = %169, %155 %160 = load i32, ptr %23, align 4 %161 = sext i32 %160 to i64 %162 = load i64, ptr %21, align 8 %163 = icmp ult i64 %161, %162 br i1 %163, label %164, label %172 164: ; preds = %159 %165 = load ptr, ptr %22, align 8 %166 = load i32, ptr %23, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i8, ptr %165, i64 %167 store i8 2, ptr %168, align 1 br label %169 169: ; preds = %164 %170 = load i32, ptr %23, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %23, align 4 br label %159, !llvm.loop !6 172: ; preds = %159 %173 = load i32, ptr %13, align 4 %174 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %175 = load i64, ptr %21, align 8 %176 = mul i64 %175, 1 %177 = call i32 @clCreateBuffer(i32 noundef %173, i32 noundef %174, i64 noundef %176, ptr noundef null, ptr noundef %8) store i32 %177, ptr %24, align 4 %178 = load i32, ptr %8, align 4 %179 = load i32, ptr @CL_SUCCESS, align 4 %180 = icmp ne i32 %178, %179 br i1 %180, label %181, label %184 181: ; preds = %172 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %183 = call i32 @exit(i32 noundef 1) #3 unreachable 184: ; preds = %172 %185 = load i32, ptr %14, align 4 %186 = load i32, ptr %24, align 4 %187 = load i32, ptr @CL_TRUE, align 4 %188 = load i64, ptr %21, align 8 %189 = mul i64 %188, 1 %190 = load ptr, ptr %22, align 8 %191 = call i32 @clEnqueueWriteBuffer(i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef 0, i64 noundef %189, ptr noundef %190, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %191, ptr %8, align 4 %192 = load i32, ptr %8, align 4 %193 = load i32, ptr @CL_SUCCESS, align 4 %194 = icmp ne i32 %192, %193 br i1 %194, label %195, label %198 195: ; preds = %184 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %197 = call i32 @exit(i32 noundef 1) #3 unreachable 198: ; preds = %184 %199 = load i64, ptr %21, align 8 %200 = mul i64 %199, 1 %201 = call ptr @malloc(i64 noundef %200) store ptr %201, ptr %25, align 8 store i32 0, ptr %26, align 4 br label %202 202: ; preds = %212, %198 %203 = load i32, ptr %26, align 4 %204 = sext i32 %203 to i64 %205 = load i64, ptr %21, align 8 %206 = icmp ult i64 %204, %205 br i1 %206, label %207, label %215 207: ; preds = %202 %208 = load ptr, ptr %25, align 8 %209 = load i32, ptr %26, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %208, i64 %210 store i8 2, ptr %211, align 1 br label %212 212: ; preds = %207 %213 = load i32, ptr %26, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %26, align 4 br label %202, !llvm.loop !8 215: ; preds = %202 %216 = load i32, ptr %13, align 4 %217 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %218 = load i64, ptr %21, align 8 %219 = mul i64 %218, 1 %220 = call i32 @clCreateBuffer(i32 noundef %216, i32 noundef %217, i64 noundef %219, ptr noundef null, ptr noundef %8) store i32 %220, ptr %27, align 4 %221 = load i32, ptr %8, align 4 %222 = load i32, ptr @CL_SUCCESS, align 4 %223 = icmp ne i32 %221, %222 br i1 %223, label %224, label %227 224: ; preds = %215 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %226 = call i32 @exit(i32 noundef 1) #3 unreachable 227: ; preds = %215 %228 = load i32, ptr %14, align 4 %229 = load i32, ptr %27, align 4 %230 = load i32, ptr @CL_TRUE, align 4 %231 = load i64, ptr %21, align 8 %232 = mul i64 %231, 1 %233 = load ptr, ptr %25, align 8 %234 = call i32 @clEnqueueWriteBuffer(i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef 0, i64 noundef %232, ptr noundef %233, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %234, ptr %8, align 4 %235 = load i32, ptr %8, align 4 %236 = load i32, ptr @CL_SUCCESS, align 4 %237 = icmp ne i32 %235, %236 br i1 %237, label %238, label %241 238: ; preds = %227 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %240 = call i32 @exit(i32 noundef 1) #3 unreachable 241: ; preds = %227 %242 = load i64, ptr %21, align 8 %243 = mul i64 %242, 1 %244 = call ptr @malloc(i64 noundef %243) store ptr %244, ptr %28, align 8 %245 = load ptr, ptr %28, align 8 %246 = load i64, ptr %21, align 8 %247 = mul i64 %246, 1 %248 = call i32 @memset(ptr noundef %245, i32 noundef 1, i64 noundef %247) %249 = load i32, ptr %13, align 4 %250 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %251 = load i64, ptr %21, align 8 %252 = mul i64 %251, 1 %253 = call i32 @clCreateBuffer(i32 noundef %249, i32 noundef %250, i64 noundef %252, ptr noundef null, ptr noundef %8) store i32 %253, ptr %29, align 4 %254 = load i32, ptr %8, align 4 %255 = load i32, ptr @CL_SUCCESS, align 4 %256 = icmp ne i32 %254, %255 br i1 %256, label %257, label %260 257: ; preds = %241 %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %259 = call i32 @exit(i32 noundef 1) #3 unreachable 260: ; preds = %241 %261 = load i32, ptr @CL_SUCCESS, align 4 store i32 %261, ptr %8, align 4 %262 = load i32, ptr %20, align 4 %263 = call i32 @clSetKernelArg(i32 noundef %262, i32 noundef 0, i32 noundef 4, ptr noundef %24) %264 = load i32, ptr %8, align 4 %265 = or i32 %264, %263 store i32 %265, ptr %8, align 4 %266 = load i32, ptr %20, align 4 %267 = call i32 @clSetKernelArg(i32 noundef %266, i32 noundef 1, i32 noundef 4, ptr noundef %27) %268 = load i32, ptr %8, align 4 %269 = or i32 %268, %267 store i32 %269, ptr %8, align 4 %270 = load i32, ptr %20, align 4 %271 = call i32 @clSetKernelArg(i32 noundef %270, i32 noundef 2, i32 noundef 4, ptr noundef %29) %272 = load i32, ptr %8, align 4 %273 = or i32 %272, %271 store i32 %273, ptr %8, align 4 %274 = load i32, ptr %8, align 4 %275 = load i32, ptr @CL_SUCCESS, align 4 %276 = icmp ne i32 %274, %275 br i1 %276, label %277, label %280 277: ; preds = %260 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %279 = call i32 @exit(i32 noundef 1) #3 unreachable 280: ; preds = %260 %281 = load i64, ptr %21, align 8 store i64 %281, ptr %30, align 8 %282 = load i64, ptr %21, align 8 store i64 %282, ptr %31, align 8 %283 = load i32, ptr %14, align 4 %284 = load i32, ptr %20, align 4 %285 = call i32 @clEnqueueNDRangeKernel(i32 noundef %283, i32 noundef %284, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %285, ptr %8, align 4 %286 = load i32, ptr %8, align 4 %287 = load i32, ptr @CL_SUCCESS, align 4 %288 = icmp ne i32 %286, %287 br i1 %288, label %289, label %292 289: ; preds = %280 %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %291 = call i32 @exit(i32 noundef 1) #3 unreachable 292: ; preds = %280 %293 = load i32, ptr %14, align 4 %294 = call i32 @clFinish(i32 noundef %293) %295 = load i32, ptr %14, align 4 %296 = load i32, ptr %29, align 4 %297 = load i32, ptr @CL_TRUE, align 4 %298 = load i64, ptr %21, align 8 %299 = mul i64 %298, 1 %300 = load ptr, ptr %28, align 8 %301 = call i32 @clEnqueueReadBuffer(i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef 0, i64 noundef %299, ptr noundef %300, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %301, ptr %8, align 4 %302 = load i32, ptr %8, align 4 %303 = load i32, ptr @CL_SUCCESS, align 4 %304 = icmp ne i32 %302, %303 br i1 %304, label %305, label %308 305: ; preds = %292 %306 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %307 = call i32 @exit(i32 noundef 1) #3 unreachable 308: ; preds = %292 %309 = load ptr, ptr %5, align 8 %310 = getelementptr inbounds ptr, ptr %309, i64 0 %311 = load ptr, ptr %310, align 8 %312 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %311) %313 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %314 = load ptr, ptr %28, align 8 %315 = load i64, ptr %21, align 8 %316 = mul i64 %315, 1 %317 = call i32 @write_buffer(ptr noundef %313, ptr noundef %314, i64 noundef %316) %318 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %318) %320 = load ptr, ptr %28, align 8 %321 = call i32 @free(ptr noundef %320) %322 = load i32, ptr %29, align 4 %323 = call i32 @clReleaseMemObject(i32 noundef %322) store i32 %323, ptr %8, align 4 %324 = load i32, ptr %8, align 4 %325 = load i32, ptr @CL_SUCCESS, align 4 %326 = icmp ne i32 %324, %325 br i1 %326, label %327, label %330 327: ; preds = %308 %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %329 = call i32 @exit(i32 noundef 1) #3 unreachable 330: ; preds = %308 %331 = load ptr, ptr %22, align 8 %332 = call i32 @free(ptr noundef %331) %333 = load i32, ptr %24, align 4 %334 = call i32 @clReleaseMemObject(i32 noundef %333) store i32 %334, ptr %8, align 4 %335 = load i32, ptr %8, align 4 %336 = load i32, ptr @CL_SUCCESS, align 4 %337 = icmp ne i32 %335, %336 br i1 %337, label %338, label %341 338: ; preds = %330 %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %340 = call i32 @exit(i32 noundef 1) #3 unreachable 341: ; preds = %330 %342 = load ptr, ptr %25, align 8 %343 = call i32 @free(ptr noundef %342) %344 = load i32, ptr %27, align 4 %345 = call i32 @clReleaseMemObject(i32 noundef %344) store i32 %345, ptr %8, align 4 %346 = load i32, ptr %8, align 4 %347 = load i32, ptr @CL_SUCCESS, align 4 %348 = icmp ne i32 %346, %347 br i1 %348, label %349, label %352 349: ; preds = %341 %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %351 = call i32 @exit(i32 noundef 1) #3 unreachable 352: ; preds = %341 %353 = load i32, ptr %20, align 4 %354 = call i32 @clReleaseKernel(i32 noundef %353) store i32 %354, ptr %8, align 4 %355 = load i32, ptr %8, align 4 %356 = load i32, ptr @CL_SUCCESS, align 4 %357 = icmp ne i32 %355, %356 br i1 %357, label %358, label %361 358: ; preds = %352 %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %360 = call i32 @exit(i32 noundef 1) #3 unreachable 361: ; preds = %352 %362 = load i32, ptr %17, align 4 %363 = call i32 @clReleaseProgram(i32 noundef %362) store i32 %363, ptr %8, align 4 %364 = load i32, ptr %8, align 4 %365 = load i32, ptr @CL_SUCCESS, align 4 %366 = icmp ne i32 %364, %365 br i1 %366, label %367, label %370 367: ; preds = %361 %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %369 = call i32 @exit(i32 noundef 1) #3 unreachable 370: ; preds = %361 %371 = load i32, ptr %14, align 4 %372 = call i32 @clReleaseCommandQueue(i32 noundef %371) store i32 %372, ptr %8, align 4 %373 = load i32, ptr %8, align 4 %374 = load i32, ptr @CL_SUCCESS, align 4 %375 = icmp ne i32 %373, %374 br i1 %375, label %376, label %379 376: ; preds = %370 %377 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %378 = call i32 @exit(i32 noundef 1) #3 unreachable 379: ; preds = %370 %380 = load i32, ptr %13, align 4 %381 = call i32 @clReleaseContext(i32 noundef %380) store i32 %381, ptr %8, align 4 %382 = load i32, ptr %8, align 4 %383 = load i32, ptr @CL_SUCCESS, align 4 %384 = icmp ne i32 %382, %383 br i1 %384, label %385, label %388 385: ; preds = %379 %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %387 = call i32 @exit(i32 noundef 1) #3 unreachable 388: ; preds = %379 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp52d0lpes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"add_ushortushort.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [17 x i8] c"add_ushortushort\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr @CL_SUCCESS, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %2 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %2 %41 = load i32, ptr %7, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = load i32, ptr @CL_PLATFORM_NAME, align 4 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @clGetPlatformInfo(i32 noundef %45, i32 noundef %46, i32 noundef 100, ptr noundef %47, ptr noundef null) store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr @CL_SUCCESS, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %40 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %40 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %56) %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %60 = call i32 @clGetDeviceIDs(i32 noundef %58, i32 noundef %59, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr @CL_SUCCESS, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %55 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %55 %68 = load i32, ptr %11, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68) %70 = load i32, ptr %10, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70) %72 = load i32, ptr %10, align 4 %73 = load i32, ptr @CL_DEVICE_NAME, align 4 %74 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %75 = call i32 @clGetDeviceInfo(i32 noundef %72, i32 noundef %73, i32 noundef 100, ptr noundef %74, ptr noundef null) store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %67 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %81 = call i32 @exit(i32 noundef 1) #3 unreachable 82: ; preds = %67 %83 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %86 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %86, ptr %13, align 4 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr @CL_SUCCESS, align 4 %89 = icmp ne i32 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %92 = call i32 @exit(i32 noundef 1) #3 unreachable 93: ; preds = %82 %94 = load i32, ptr %13, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %94) %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %10, align 4 %98 = call i32 @clCreateCommandQueue(i32 noundef %96, i32 noundef %97, i32 noundef 0, ptr noundef %8) store i32 %98, ptr %14, align 4 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr @CL_SUCCESS, align 4 %101 = icmp ne i32 %99, %100 br i1 %101, label %102, label %105 102: ; preds = %93 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %104 = call i32 @exit(i32 noundef 1) #3 unreachable 105: ; preds = %93 %106 = load i32, ptr %14, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %109 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %109, ptr %15, align 8 %110 = load i32, ptr %13, align 4 %111 = call i32 @clCreateProgramWithSource(i32 noundef %110, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %111, ptr %17, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr @CL_SUCCESS, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %118 115: ; preds = %105 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %105 %119 = load i32, ptr %17, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %119) %121 = load i32, ptr %17, align 4 %122 = call i32 @clBuildProgram(i32 noundef %121, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr @CL_SUCCESS, align 4 %125 = icmp ne i32 %123, %124 br i1 %125, label %126, label %144 126: ; preds = %118 %127 = load i32, ptr %17, align 4 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %130 = call i32 @clGetProgramBuildInfo(i32 noundef %127, i32 noundef %128, i32 noundef %129, i64 noundef 0, ptr noundef null, ptr noundef %18) %131 = load i64, ptr %18, align 8 %132 = call ptr @malloc(i64 noundef %131) store ptr %132, ptr %19, align 8 %133 = load i32, ptr %17, align 4 %134 = load i32, ptr %10, align 4 %135 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %136 = load i64, ptr %18, align 8 %137 = load ptr, ptr %19, align 8 %138 = call i32 @clGetProgramBuildInfo(i32 noundef %133, i32 noundef %134, i32 noundef %135, i64 noundef %136, ptr noundef %137, ptr noundef null) %139 = load ptr, ptr %19, align 8 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %139) %141 = load ptr, ptr %19, align 8 %142 = call i32 @free(ptr noundef %141) %143 = call i32 @exit(i32 noundef 1) #3 unreachable 144: ; preds = %118 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %147 = load i32, ptr %17, align 4 %148 = call i32 @clCreateKernel(i32 noundef %147, ptr noundef @.str.20, ptr noundef %8) store i32 %148, ptr %20, align 4 %149 = load i32, ptr %8, align 4 %150 = load i32, ptr @CL_SUCCESS, align 4 %151 = icmp ne i32 %149, %150 br i1 %151, label %152, label %155 152: ; preds = %144 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %154 = call i32 @exit(i32 noundef 1) #3 unreachable 155: ; preds = %144 store i64 10, ptr %21, align 8 %156 = load i64, ptr %21, align 8 %157 = mul i64 %156, 1 %158 = call ptr @malloc(i64 noundef %157) store ptr %158, ptr %22, align 8 store i32 0, ptr %23, align 4 %159 = load i32, ptr %23, align 4 %160 = sext i32 %159 to i64 %161 = load i64, ptr %21, align 8 %162 = icmp ult i64 %160, %161 br i1 %162, label %.lr.ph, label %175 .lr.ph: ; preds = %155 br label %163 163: ; preds = %.lr.ph, %168 %164 = load ptr, ptr %22, align 8 %165 = load i32, ptr %23, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %164, i64 %166 store i8 2, ptr %167, align 1 br label %168 168: ; preds = %163 %169 = load i32, ptr %23, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %23, align 4 %171 = load i32, ptr %23, align 4 %172 = sext i32 %171 to i64 %173 = load i64, ptr %21, align 8 %174 = icmp ult i64 %172, %173 br i1 %174, label %163, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %168 br label %175 175: ; preds = %._crit_edge, %155 %176 = load i32, ptr %13, align 4 %177 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %178 = load i64, ptr %21, align 8 %179 = mul i64 %178, 1 %180 = call i32 @clCreateBuffer(i32 noundef %176, i32 noundef %177, i64 noundef %179, ptr noundef null, ptr noundef %8) store i32 %180, ptr %24, align 4 %181 = load i32, ptr %8, align 4 %182 = load i32, ptr @CL_SUCCESS, align 4 %183 = icmp ne i32 %181, %182 br i1 %183, label %184, label %187 184: ; preds = %175 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %186 = call i32 @exit(i32 noundef 1) #3 unreachable 187: ; preds = %175 %188 = load i32, ptr %14, align 4 %189 = load i32, ptr %24, align 4 %190 = load i32, ptr @CL_TRUE, align 4 %191 = load i64, ptr %21, align 8 %192 = mul i64 %191, 1 %193 = load ptr, ptr %22, align 8 %194 = call i32 @clEnqueueWriteBuffer(i32 noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef 0, i64 noundef %192, ptr noundef %193, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %194, ptr %8, align 4 %195 = load i32, ptr %8, align 4 %196 = load i32, ptr @CL_SUCCESS, align 4 %197 = icmp ne i32 %195, %196 br i1 %197, label %198, label %201 198: ; preds = %187 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %200 = call i32 @exit(i32 noundef 1) #3 unreachable 201: ; preds = %187 %202 = load i64, ptr %21, align 8 %203 = mul i64 %202, 1 %204 = call ptr @malloc(i64 noundef %203) store ptr %204, ptr %25, align 8 store i32 0, ptr %26, align 4 %205 = load i32, ptr %26, align 4 %206 = sext i32 %205 to i64 %207 = load i64, ptr %21, align 8 %208 = icmp ult i64 %206, %207 br i1 %208, label %.lr.ph2, label %221 .lr.ph2: ; preds = %201 br label %209 209: ; preds = %.lr.ph2, %214 %210 = load ptr, ptr %25, align 8 %211 = load i32, ptr %26, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %210, i64 %212 store i8 2, ptr %213, align 1 br label %214 214: ; preds = %209 %215 = load i32, ptr %26, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %26, align 4 %217 = load i32, ptr %26, align 4 %218 = sext i32 %217 to i64 %219 = load i64, ptr %21, align 8 %220 = icmp ult i64 %218, %219 br i1 %220, label %209, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %214 br label %221 221: ; preds = %._crit_edge3, %201 %222 = load i32, ptr %13, align 4 %223 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %224 = load i64, ptr %21, align 8 %225 = mul i64 %224, 1 %226 = call i32 @clCreateBuffer(i32 noundef %222, i32 noundef %223, i64 noundef %225, ptr noundef null, ptr noundef %8) store i32 %226, ptr %27, align 4 %227 = load i32, ptr %8, align 4 %228 = load i32, ptr @CL_SUCCESS, align 4 %229 = icmp ne i32 %227, %228 br i1 %229, label %230, label %233 230: ; preds = %221 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %232 = call i32 @exit(i32 noundef 1) #3 unreachable 233: ; preds = %221 %234 = load i32, ptr %14, align 4 %235 = load i32, ptr %27, align 4 %236 = load i32, ptr @CL_TRUE, align 4 %237 = load i64, ptr %21, align 8 %238 = mul i64 %237, 1 %239 = load ptr, ptr %25, align 8 %240 = call i32 @clEnqueueWriteBuffer(i32 noundef %234, i32 noundef %235, i32 noundef %236, i32 noundef 0, i64 noundef %238, ptr noundef %239, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %240, ptr %8, align 4 %241 = load i32, ptr %8, align 4 %242 = load i32, ptr @CL_SUCCESS, align 4 %243 = icmp ne i32 %241, %242 br i1 %243, label %244, label %247 244: ; preds = %233 %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %246 = call i32 @exit(i32 noundef 1) #3 unreachable 247: ; preds = %233 %248 = load i64, ptr %21, align 8 %249 = mul i64 %248, 1 %250 = call ptr @malloc(i64 noundef %249) store ptr %250, ptr %28, align 8 %251 = load ptr, ptr %28, align 8 %252 = load i64, ptr %21, align 8 %253 = mul i64 %252, 1 %254 = call i32 @memset(ptr noundef %251, i32 noundef 1, i64 noundef %253) %255 = load i32, ptr %13, align 4 %256 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %257 = load i64, ptr %21, align 8 %258 = mul i64 %257, 1 %259 = call i32 @clCreateBuffer(i32 noundef %255, i32 noundef %256, i64 noundef %258, ptr noundef null, ptr noundef %8) store i32 %259, ptr %29, align 4 %260 = load i32, ptr %8, align 4 %261 = load i32, ptr @CL_SUCCESS, align 4 %262 = icmp ne i32 %260, %261 br i1 %262, label %263, label %266 263: ; preds = %247 %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %265 = call i32 @exit(i32 noundef 1) #3 unreachable 266: ; preds = %247 %267 = load i32, ptr @CL_SUCCESS, align 4 store i32 %267, ptr %8, align 4 %268 = load i32, ptr %20, align 4 %269 = call i32 @clSetKernelArg(i32 noundef %268, i32 noundef 0, i32 noundef 4, ptr noundef %24) %270 = load i32, ptr %8, align 4 %271 = or i32 %270, %269 store i32 %271, ptr %8, align 4 %272 = load i32, ptr %20, align 4 %273 = call i32 @clSetKernelArg(i32 noundef %272, i32 noundef 1, i32 noundef 4, ptr noundef %27) %274 = load i32, ptr %8, align 4 %275 = or i32 %274, %273 store i32 %275, ptr %8, align 4 %276 = load i32, ptr %20, align 4 %277 = call i32 @clSetKernelArg(i32 noundef %276, i32 noundef 2, i32 noundef 4, ptr noundef %29) %278 = load i32, ptr %8, align 4 %279 = or i32 %278, %277 store i32 %279, ptr %8, align 4 %280 = load i32, ptr %8, align 4 %281 = load i32, ptr @CL_SUCCESS, align 4 %282 = icmp ne i32 %280, %281 br i1 %282, label %283, label %286 283: ; preds = %266 %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %285 = call i32 @exit(i32 noundef 1) #3 unreachable 286: ; preds = %266 %287 = load i64, ptr %21, align 8 store i64 %287, ptr %30, align 8 %288 = load i64, ptr %21, align 8 store i64 %288, ptr %31, align 8 %289 = load i32, ptr %14, align 4 %290 = load i32, ptr %20, align 4 %291 = call i32 @clEnqueueNDRangeKernel(i32 noundef %289, i32 noundef %290, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %291, ptr %8, align 4 %292 = load i32, ptr %8, align 4 %293 = load i32, ptr @CL_SUCCESS, align 4 %294 = icmp ne i32 %292, %293 br i1 %294, label %295, label %298 295: ; preds = %286 %296 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %297 = call i32 @exit(i32 noundef 1) #3 unreachable 298: ; preds = %286 %299 = load i32, ptr %14, align 4 %300 = call i32 @clFinish(i32 noundef %299) %301 = load i32, ptr %14, align 4 %302 = load i32, ptr %29, align 4 %303 = load i32, ptr @CL_TRUE, align 4 %304 = load i64, ptr %21, align 8 %305 = mul i64 %304, 1 %306 = load ptr, ptr %28, align 8 %307 = call i32 @clEnqueueReadBuffer(i32 noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef 0, i64 noundef %305, ptr noundef %306, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %307, ptr %8, align 4 %308 = load i32, ptr %8, align 4 %309 = load i32, ptr @CL_SUCCESS, align 4 %310 = icmp ne i32 %308, %309 br i1 %310, label %311, label %314 311: ; preds = %298 %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %313 = call i32 @exit(i32 noundef 1) #3 unreachable 314: ; preds = %298 %315 = load ptr, ptr %5, align 8 %316 = getelementptr inbounds ptr, ptr %315, i64 0 %317 = load ptr, ptr %316, align 8 %318 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %317) %319 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %320 = load ptr, ptr %28, align 8 %321 = load i64, ptr %21, align 8 %322 = mul i64 %321, 1 %323 = call i32 @write_buffer(ptr noundef %319, ptr noundef %320, i64 noundef %322) %324 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %324) %326 = load ptr, ptr %28, align 8 %327 = call i32 @free(ptr noundef %326) %328 = load i32, ptr %29, align 4 %329 = call i32 @clReleaseMemObject(i32 noundef %328) store i32 %329, ptr %8, align 4 %330 = load i32, ptr %8, align 4 %331 = load i32, ptr @CL_SUCCESS, align 4 %332 = icmp ne i32 %330, %331 br i1 %332, label %333, label %336 333: ; preds = %314 %334 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %335 = call i32 @exit(i32 noundef 1) #3 unreachable 336: ; preds = %314 %337 = load ptr, ptr %22, align 8 %338 = call i32 @free(ptr noundef %337) %339 = load i32, ptr %24, align 4 %340 = call i32 @clReleaseMemObject(i32 noundef %339) store i32 %340, ptr %8, align 4 %341 = load i32, ptr %8, align 4 %342 = load i32, ptr @CL_SUCCESS, align 4 %343 = icmp ne i32 %341, %342 br i1 %343, label %344, label %347 344: ; preds = %336 %345 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %346 = call i32 @exit(i32 noundef 1) #3 unreachable 347: ; preds = %336 %348 = load ptr, ptr %25, align 8 %349 = call i32 @free(ptr noundef %348) %350 = load i32, ptr %27, align 4 %351 = call i32 @clReleaseMemObject(i32 noundef %350) store i32 %351, ptr %8, align 4 %352 = load i32, ptr %8, align 4 %353 = load i32, ptr @CL_SUCCESS, align 4 %354 = icmp ne i32 %352, %353 br i1 %354, label %355, label %358 355: ; preds = %347 %356 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %357 = call i32 @exit(i32 noundef 1) #3 unreachable 358: ; preds = %347 %359 = load i32, ptr %20, align 4 %360 = call i32 @clReleaseKernel(i32 noundef %359) store i32 %360, ptr %8, align 4 %361 = load i32, ptr %8, align 4 %362 = load i32, ptr @CL_SUCCESS, align 4 %363 = icmp ne i32 %361, %362 br i1 %363, label %364, label %367 364: ; preds = %358 %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %366 = call i32 @exit(i32 noundef 1) #3 unreachable 367: ; preds = %358 %368 = load i32, ptr %17, align 4 %369 = call i32 @clReleaseProgram(i32 noundef %368) store i32 %369, ptr %8, align 4 %370 = load i32, ptr %8, align 4 %371 = load i32, ptr @CL_SUCCESS, align 4 %372 = icmp ne i32 %370, %371 br i1 %372, label %373, label %376 373: ; preds = %367 %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %375 = call i32 @exit(i32 noundef 1) #3 unreachable 376: ; preds = %367 %377 = load i32, ptr %14, align 4 %378 = call i32 @clReleaseCommandQueue(i32 noundef %377) store i32 %378, ptr %8, align 4 %379 = load i32, ptr %8, align 4 %380 = load i32, ptr @CL_SUCCESS, align 4 %381 = icmp ne i32 %379, %380 br i1 %381, label %382, label %385 382: ; preds = %376 %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %384 = call i32 @exit(i32 noundef 1) #3 unreachable 385: ; preds = %376 %386 = load i32, ptr %13, align 4 %387 = call i32 @clReleaseContext(i32 noundef %386) store i32 %387, ptr %8, align 4 %388 = load i32, ptr %8, align 4 %389 = load i32, ptr @CL_SUCCESS, align 4 %390 = icmp ne i32 %388, %389 br i1 %390, label %391, label %394 391: ; preds = %385 %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %393 = call i32 @exit(i32 noundef 1) #3 unreachable 394: ; preds = %385 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprvqi7ja5.c' source_filename = "/tmp/tmprvqi7ja5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"signal SIGHUP = %d\0A\00", align 1 @SIGHUP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"signal SIGINT = %d\0A\00", align 1 @SIGINT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"signal SIGQUIT= %d\0A\00", align 1 @SIGQUIT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"signal SIGILL = %d\0A\00", align 1 @SIGILL = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"signal SIGABRT= %d\0A\00", align 1 @SIGABRT = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"signal SIGFPE = %d\0A\00", align 1 @SIGFPE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [20 x i8] c"signal SIGKILL= %d\0A\00", align 1 @SIGKILL = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"signal SIGSEGV= %d\0A\00", align 1 @SIGSEGV = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [20 x i8] c"signal SIGPIPE= %d\0A\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [20 x i8] c"signal SIGALRM= %d\0A\00", align 1 @SIGALRM = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [20 x i8] c"signal SIGTERM= %d\0A\00", align 1 @SIGTERM = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [20 x i8] c"signal SIGUSR1= %d\0A\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [20 x i8] c"signal SIGUSR2= %d\0A\00", align 1 @SIGUSR2 = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [20 x i8] c"signal SIGCHLD= %d\0A\00", align 1 @SIGCHLD = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [20 x i8] c"signal SIGCONT= %d\0A\00", align 1 @SIGCONT = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [20 x i8] c"signal SIGSTOP= %d\0A\00", align 1 @SIGSTOP = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [20 x i8] c"signal SIGTSTP= %d\0A\00", align 1 @SIGTSTP = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [20 x i8] c"signal SIGTTIN= %d\0A\00", align 1 @SIGTTIN = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [20 x i8] c"signal SIGTTOU= %d\0A\00", align 1 @SIGTTOU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_print() #0 { %1 = load i32, ptr @SIGHUP, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) %3 = load i32, ptr @SIGINT, align 4 %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3) %5 = load i32, ptr @SIGQUIT, align 4 %6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5) %7 = load i32, ptr @SIGILL, align 4 %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7) %9 = load i32, ptr @SIGABRT, align 4 %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9) %11 = load i32, ptr @SIGFPE, align 4 %12 = call i32 @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load i32, ptr @SIGKILL, align 4 %14 = call i32 @printf(ptr noundef @.str.6, i32 noundef %13) %15 = load i32, ptr @SIGSEGV, align 4 %16 = call i32 @printf(ptr noundef @.str.7, i32 noundef %15) %17 = load i32, ptr @SIGPIPE, align 4 %18 = call i32 @printf(ptr noundef @.str.8, i32 noundef %17) %19 = load i32, ptr @SIGALRM, align 4 %20 = call i32 @printf(ptr noundef @.str.9, i32 noundef %19) %21 = load i32, ptr @SIGTERM, align 4 %22 = call i32 @printf(ptr noundef @.str.10, i32 noundef %21) %23 = load i32, ptr @SIGUSR1, align 4 %24 = call i32 @printf(ptr noundef @.str.11, i32 noundef %23) %25 = load i32, ptr @SIGUSR2, align 4 %26 = call i32 @printf(ptr noundef @.str.12, i32 noundef %25) %27 = load i32, ptr @SIGCHLD, align 4 %28 = call i32 @printf(ptr noundef @.str.13, i32 noundef %27) %29 = load i32, ptr @SIGCONT, align 4 %30 = call i32 @printf(ptr noundef @.str.14, i32 noundef %29) %31 = load i32, ptr @SIGSTOP, align 4 %32 = call i32 @printf(ptr noundef @.str.15, i32 noundef %31) %33 = load i32, ptr @SIGTSTP, align 4 %34 = call i32 @printf(ptr noundef @.str.16, i32 noundef %33) %35 = load i32, ptr @SIGTTIN, align 4 %36 = call i32 @printf(ptr noundef @.str.17, i32 noundef %35) %37 = load i32, ptr @SIGTTOU, align 4 %38 = call i32 @printf(ptr noundef @.str.18, i32 noundef %37) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvqi7ja5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"signal SIGHUP = %d\0A\00", align 1 @SIGHUP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"signal SIGINT = %d\0A\00", align 1 @SIGINT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"signal SIGQUIT= %d\0A\00", align 1 @SIGQUIT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"signal SIGILL = %d\0A\00", align 1 @SIGILL = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"signal SIGABRT= %d\0A\00", align 1 @SIGABRT = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"signal SIGFPE = %d\0A\00", align 1 @SIGFPE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [20 x i8] c"signal SIGKILL= %d\0A\00", align 1 @SIGKILL = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"signal SIGSEGV= %d\0A\00", align 1 @SIGSEGV = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [20 x i8] c"signal SIGPIPE= %d\0A\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [20 x i8] c"signal SIGALRM= %d\0A\00", align 1 @SIGALRM = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [20 x i8] c"signal SIGTERM= %d\0A\00", align 1 @SIGTERM = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [20 x i8] c"signal SIGUSR1= %d\0A\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [20 x i8] c"signal SIGUSR2= %d\0A\00", align 1 @SIGUSR2 = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [20 x i8] c"signal SIGCHLD= %d\0A\00", align 1 @SIGCHLD = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [20 x i8] c"signal SIGCONT= %d\0A\00", align 1 @SIGCONT = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [20 x i8] c"signal SIGSTOP= %d\0A\00", align 1 @SIGSTOP = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [20 x i8] c"signal SIGTSTP= %d\0A\00", align 1 @SIGTSTP = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [20 x i8] c"signal SIGTTIN= %d\0A\00", align 1 @SIGTTIN = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [20 x i8] c"signal SIGTTOU= %d\0A\00", align 1 @SIGTTOU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_print() #0 { %1 = load i32, ptr @SIGHUP, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) %3 = load i32, ptr @SIGINT, align 4 %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3) %5 = load i32, ptr @SIGQUIT, align 4 %6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5) %7 = load i32, ptr @SIGILL, align 4 %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7) %9 = load i32, ptr @SIGABRT, align 4 %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9) %11 = load i32, ptr @SIGFPE, align 4 %12 = call i32 @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load i32, ptr @SIGKILL, align 4 %14 = call i32 @printf(ptr noundef @.str.6, i32 noundef %13) %15 = load i32, ptr @SIGSEGV, align 4 %16 = call i32 @printf(ptr noundef @.str.7, i32 noundef %15) %17 = load i32, ptr @SIGPIPE, align 4 %18 = call i32 @printf(ptr noundef @.str.8, i32 noundef %17) %19 = load i32, ptr @SIGALRM, align 4 %20 = call i32 @printf(ptr noundef @.str.9, i32 noundef %19) %21 = load i32, ptr @SIGTERM, align 4 %22 = call i32 @printf(ptr noundef @.str.10, i32 noundef %21) %23 = load i32, ptr @SIGUSR1, align 4 %24 = call i32 @printf(ptr noundef @.str.11, i32 noundef %23) %25 = load i32, ptr @SIGUSR2, align 4 %26 = call i32 @printf(ptr noundef @.str.12, i32 noundef %25) %27 = load i32, ptr @SIGCHLD, align 4 %28 = call i32 @printf(ptr noundef @.str.13, i32 noundef %27) %29 = load i32, ptr @SIGCONT, align 4 %30 = call i32 @printf(ptr noundef @.str.14, i32 noundef %29) %31 = load i32, ptr @SIGSTOP, align 4 %32 = call i32 @printf(ptr noundef @.str.15, i32 noundef %31) %33 = load i32, ptr @SIGTSTP, align 4 %34 = call i32 @printf(ptr noundef @.str.16, i32 noundef %33) %35 = load i32, ptr @SIGTTIN, align 4 %36 = call i32 @printf(ptr noundef @.str.17, i32 noundef %35) %37 = load i32, ptr @SIGTTOU, align 4 %38 = call i32 @printf(ptr noundef @.str.18, i32 noundef %37) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnslknreo.c' source_filename = "/tmp/tmpnslknreo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %33, %1 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %36 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 9 br i1 %28, label %29, label %32 29: ; preds = %24, %19 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 br label %33 32: ; preds = %24 br label %36 33: ; preds = %29 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %4, align 4 br label %9, !llvm.loop !6 36: ; preds = %32, %17 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = add nsw i32 %38, 1 %40 = call ptr @malloc(i32 noundef %39) store ptr %40, ptr %5, align 8 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strlen(ptr noundef %43) %45 = add nsw i32 %44, 1 %46 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %45) %47 = load ptr, ptr %2, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load ptr, ptr %5, align 8 ret ptr %49 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnslknreo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %33, %1 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %.loopexit 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 9 br i1 %28, label %29, label %32 29: ; preds = %24, %19 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 br label %33 32: ; preds = %24 br label %36 33: ; preds = %29 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %4, align 4 br label %9, !llvm.loop !6 .loopexit: ; preds = %17 br label %36 36: ; preds = %.loopexit, %32 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = add nsw i32 %38, 1 %40 = call ptr @malloc(i32 noundef %39) store ptr %40, ptr %5, align 8 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strlen(ptr noundef %43) %45 = add nsw i32 %44, 1 %46 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %45) %47 = load ptr, ptr %2, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load ptr, ptr %5, align 8 ret ptr %49 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptwowjpqp.c' source_filename = "/tmp/tmptwowjpqp.c" target datalayout = "e-m:e-p270: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/tmptwowjpqp.c" target datalayout = "e-m:e-p270: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/tmp57mp09wp.c' source_filename = "/tmp/tmp57mp09wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @small1_ping(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 store i32 %6, ptr %3, align 4 store i32 31, ptr %4, align 4 %7 = call i32 @spi_transfer_w32(ptr noundef %3, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @error(ptr noundef @.str) br label %12 12: ; preds = %10, %1 %13 = load i32, ptr %4, align 4 ret i32 %13 } declare i32 @spi_transfer_w32(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57mp09wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @small1_ping(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 store i32 %6, ptr %3, align 4 store i32 31, ptr %4, align 4 %7 = call i32 @spi_transfer_w32(ptr noundef %3, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @error(ptr noundef @.str) br label %12 12: ; preds = %10, %1 %13 = load i32, ptr %4, align 4 ret i32 %13 } declare i32 @spi_transfer_w32(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp935fnxnx.c' source_filename = "/tmp/tmp935fnxnx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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< \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c">\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cowsay_print_singleline(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = call i32 @putchar(i8 noundef signext 32) store i32 0, ptr %7, align 4 br label %9 9: ; preds = %16, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, 2 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %19 14: ; preds = %9 %15 = call i32 @putchar(i8 noundef signext 95) br label %16 16: ; preds = %14 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 br label %21 21: ; preds = %33, %19 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %36 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) %32 = call i32 @putchar(i8 noundef signext 32) br label %33 33: ; preds = %25 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %21, !llvm.loop !8 36: ; preds = %21 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 br label %38 38: ; preds = %45, %36 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 2 %42 = icmp slt i32 %39, %41 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = call i32 @putchar(i8 noundef signext 45) br label %45 45: ; preds = %43 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %38, !llvm.loop !9 48: ; preds = %38 %49 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp935fnxnx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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< \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c">\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cowsay_print_singleline(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = call i32 @putchar(i8 noundef signext 32) store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 2 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %15 %14 = call i32 @putchar(i8 noundef signext 95) br label %15 15: ; preds = %13 %16 = load i32, ptr %7, 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 %6, align 4 %20 = add nsw i32 %19, 2 %21 = icmp slt i32 %18, %20 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %22 22: ; preds = %._crit_edge, %3 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %41 .lr.ph2: ; preds = %22 br label %27 27: ; preds = %.lr.ph2, %35 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32) %34 = call i32 @putchar(i8 noundef signext 32) br label %35 35: ; preds = %27 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %22 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 2 %46 = icmp slt i32 %43, %45 br i1 %46, label %.lr.ph5, label %56 .lr.ph5: ; preds = %41 br label %47 47: ; preds = %.lr.ph5, %49 %48 = call i32 @putchar(i8 noundef signext 45) br label %49 49: ; preds = %47 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 2 %55 = icmp slt i32 %52, %54 br i1 %55, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %49 br label %56 56: ; preds = %._crit_edge6, %41 %57 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnb02zb6l.c' source_filename = "/tmp/tmpnb02zb6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Exit hook: %s at %s:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__exit_hook(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @check_report(i32 noundef 0, ptr noundef %11, i32 noundef %12) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @check_report(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnb02zb6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Exit hook: %s at %s:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__exit_hook(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @check_report(i32 noundef 0, ptr noundef %11, i32 noundef %12) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @check_report(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnn2jhzfr.c' source_filename = "/tmp/tmpnn2jhzfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netRecieveLongString(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @netGetLongString(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @noWarnAbort() br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @netGetLongString(i32 noundef) #1 declare i32 @noWarnAbort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnn2jhzfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netRecieveLongString(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @netGetLongString(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @noWarnAbort() br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @netGetLongString(i32 noundef) #1 declare i32 @noWarnAbort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzf6_4ata.c' source_filename = "/tmp/tmpzf6_4ata.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @errno, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzf6_4ata.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @errno, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpla7_t5_2.c' source_filename = "/tmp/tmpla7_t5_2.c" target datalayout = "e-m:e-p270: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/tmpla7_t5_2.c" target datalayout = "e-m:e-p270: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/tmp4x9wo3xl.c' source_filename = "/tmp/tmp4x9wo3xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOPNOTSUPP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_nopush(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 %5 = zext i1 %1 to i8 store i8 %5, ptr %4, align 1 %6 = load i32, ptr @EOPNOTSUPP, align 4 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4x9wo3xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOPNOTSUPP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_nopush(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 %5 = zext i1 %1 to i8 store i8 %5, ptr %4, align 1 %6 = load i32, ptr @EOPNOTSUPP, align 4 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq5ifh_dp.c' source_filename = "/tmp/tmpq5ifh_dp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"e[%d]=%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 store float 1.000000e+00, ptr %7, align 4 store float 1.000000e+00, ptr %8, align 4 store i32 1, ptr %5, align 4 br label %13 13: ; preds = %26, %2 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %29 17: ; preds = %13 %18 = load float, ptr %8, align 4 %19 = load i32, ptr %5, align 4 %20 = sitofp i32 %19 to float %21 = fmul float %18, %20 store float %21, ptr %8, align 4 %22 = load float, ptr %7, align 4 %23 = load float, ptr %8, align 4 %24 = fdiv float 1.000000e+00, %23 %25 = fadd float %22, %24 store float %25, ptr %7, align 4 br label %26 26: ; preds = %17 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %13, !llvm.loop !6 29: ; preds = %13 %30 = load i32, ptr %6, align 4 %31 = load float, ptr %7, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %30, float noundef %31) ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq5ifh_dp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"e[%d]=%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 store float 1.000000e+00, ptr %7, align 4 store float 1.000000e+00, ptr %8, align 4 store i32 1, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %25 %17 = load float, ptr %8, align 4 %18 = load i32, ptr %5, align 4 %19 = sitofp i32 %18 to float %20 = fmul float %17, %19 store float %20, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = load float, ptr %8, align 4 %23 = fdiv float 1.000000e+00, %22 %24 = fadd float %21, %23 store float %24, ptr %7, align 4 br label %25 25: ; preds = %16 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %6, align 4 %33 = load float, ptr %7, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %32, float noundef %33) ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8g17c_t4.c' source_filename = "/tmp/tmp8g17c_t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @PrintChar(i32 noundef %5) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @PrintChar(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/tmp8g17c_t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @PrintChar(i32 noundef %5) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @PrintChar(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/tmpw_q58aj0.c' source_filename = "/tmp/tmpw_q58aj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x98\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x98() #0 { %1 = call i64 @isprint(i32 noundef 152) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 765, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw_q58aj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x98\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x98() #0 { %1 = call i64 @isprint(i32 noundef 152) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 765, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr 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"}
; ModuleID = '/tmp/tmpfbpaqd2n.c' source_filename = "/tmp/tmpfbpaqd2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"j 3\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"j 4\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 %5 = load i32, ptr %2, align 4 switch i32 %5, label %16 [ i32 -1, label %6 i32 0, label %9 i32 2, label %13 ] 6: ; preds = %0 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %3, align 4 br label %16 9: ; preds = %0 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %3, align 4 store i32 2, ptr %2, align 4 br label %13 13: ; preds = %0, %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %0, %6 %17 = call i32 @print(ptr noundef @.str) %18 = load i32, ptr %3, align 4 %19 = call i32 @printid(i32 noundef %18) %20 = load i32, ptr %2, align 4 switch i32 %20, label %27 [ i32 1, label %21 i32 2, label %24 ] 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %3, align 4 br label %30 24: ; preds = %16 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %16 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %24, %21 %31 = call i32 @print(ptr noundef @.str.1) %32 = load i32, ptr %3, align 4 %33 = call i32 @printid(i32 noundef %32) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpfbpaqd2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"j 3\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"j 4\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 %5 = load i32, ptr %2, align 4 switch i32 %5, label %16 [ i32 -1, label %6 i32 0, label %9 i32 2, label %13 ] 6: ; preds = %0 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %3, align 4 br label %16 9: ; preds = %0 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %3, align 4 store i32 2, ptr %2, align 4 br label %13 13: ; preds = %9, %0 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %6, %0 %17 = call i32 @print(ptr noundef @.str) %18 = load i32, ptr %3, align 4 %19 = call i32 @printid(i32 noundef %18) %20 = load i32, ptr %2, align 4 switch i32 %20, label %27 [ i32 1, label %21 i32 2, label %24 ] 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %3, align 4 br label %30 24: ; preds = %16 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %16 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %24, %21 %31 = call i32 @print(ptr noundef @.str.1) %32 = load i32, ptr %3, align 4 %33 = call i32 @printid(i32 noundef %32) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpmw3d2na3.c' source_filename = "/tmp/tmpmw3d2na3.c" target datalayout = "e-m:e-p270: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/tmpmw3d2na3.c" target datalayout = "e-m:e-p270: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/tmpvd1hwbvl.c' source_filename = "/tmp/tmpvd1hwbvl.c" target datalayout = "e-m:e-p270: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/tmpvd1hwbvl.c" target datalayout = "e-m:e-p270: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/tmpsws5cryg.c' source_filename = "/tmp/tmpsws5cryg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median_filter(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = 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 1, ptr %9, align 4 store i32 1, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 %13, %14 %16 = load i32, ptr %9, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %11, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = mul nsw i32 %18, %19 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %11, align 4 store i32 %22, ptr %9, align 4 br label %23 23: ; preds = %67, %3 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %27, label %70 27: ; preds = %23 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %7, align 4 br label %31 31: ; preds = %56, %27 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %33, %34 %36 = icmp sle i32 %32, %35 br i1 %36, label %37, label %60 37: ; preds = %31 %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %40 40: ; preds = %52, %37 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 %44 = icmp sle i32 %41, %43 br i1 %44, label %45, label %55 45: ; preds = %40 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = call i32 @insert_array(i8 noundef zeroext %50) br label %52 52: ; preds = %45 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 br label %40, !llvm.loop !6 55: ; preds = %40 br label %56 56: ; preds = %55 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %7, align 4 br label %31, !llvm.loop !8 60: ; preds = %31 %61 = call i32 (...) @sort() %62 = call zeroext i8 (...) @median() %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 %62, ptr %66, align 1 br label %67 67: ; preds = %60 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %23, !llvm.loop !9 70: ; preds = %23 ret void } declare i32 @insert_array(i8 noundef zeroext) #1 declare i32 @sort(...) #1 declare zeroext i8 @median(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsws5cryg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median_filter(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = 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 1, ptr %9, align 4 store i32 1, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 %13, %14 %16 = load i32, ptr %9, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %11, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = mul nsw i32 %18, %19 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %11, align 4 store i32 %22, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %12, align 4 %25 = icmp ult i32 %23, %24 br i1 %25, label %.lr.ph5, label %79 .lr.ph5: ; preds = %3 br label %26 26: ; preds = %.lr.ph5, %73 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %31, %32 %34 = icmp sle i32 %30, %33 br i1 %34, label %.lr.ph2, label %66 .lr.ph2: ; preds = %26 br label %35 35: ; preds = %.lr.ph2, %57 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 %41 = icmp sle i32 %38, %40 br i1 %41, label %.lr.ph, label %56 .lr.ph: ; preds = %35 br label %42 42: ; preds = %.lr.ph, %49 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @insert_array(i8 noundef zeroext %47) br label %49 49: ; preds = %42 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 %55 = icmp sle i32 %52, %54 br i1 %55, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %56 56: ; preds = %._crit_edge, %35 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %62, %63 %65 = icmp sle i32 %61, %64 br i1 %65, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %66 66: ; preds = %._crit_edge3, %26 %67 = call i32 (...) @sort() %68 = call zeroext i8 (...) @median() %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 %68, ptr %72, align 1 br label %73 73: ; preds = %66 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %12, align 4 %78 = icmp ult i32 %76, %77 br i1 %78, label %26, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %79 79: ; preds = %._crit_edge6, %3 ret void } declare i32 @insert_array(i8 noundef zeroext) #1 declare i32 @sort(...) #1 declare zeroext i8 @median(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmv9f2gfi.c' source_filename = "/tmp/tmpmv9f2gfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__mpn_add_n(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = sub i64 0, %13 store i64 %14, ptr %12, align 8 %15 = load i64, ptr %12, align 8 %16 = load ptr, ptr %6, align 8 %17 = sub i64 0, %15 %18 = getelementptr inbounds i64, ptr %16, i64 %17 store ptr %18, ptr %6, align 8 %19 = load i64, ptr %12, align 8 %20 = load ptr, ptr %7, align 8 %21 = sub i64 0, %19 %22 = getelementptr inbounds i64, ptr %20, i64 %21 store ptr %22, ptr %7, align 8 %23 = load i64, ptr %12, align 8 %24 = load ptr, ptr %5, align 8 %25 = sub i64 0, %23 %26 = getelementptr inbounds i64, ptr %24, i64 %25 store ptr %26, ptr %5, align 8 store i64 0, ptr %11, align 8 br label %27 27: ; preds = %58, %4 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %12, align 8 %30 = getelementptr inbounds i64, ptr %28, i64 %29 %31 = load i64, ptr %30, align 8 store i64 %31, ptr %10, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %12, align 8 %34 = getelementptr inbounds i64, ptr %32, i64 %33 %35 = load i64, ptr %34, align 8 store i64 %35, ptr %9, align 8 %36 = load i64, ptr %11, align 8 %37 = load i64, ptr %10, align 8 %38 = add nsw i64 %37, %36 store i64 %38, ptr %10, align 8 %39 = load i64, ptr %10, align 8 %40 = load i64, ptr %11, align 8 %41 = icmp slt i64 %39, %40 %42 = zext i1 %41 to i32 %43 = sext i32 %42 to i64 store i64 %43, ptr %11, align 8 %44 = load i64, ptr %9, align 8 %45 = load i64, ptr %10, align 8 %46 = add nsw i64 %44, %45 store i64 %46, ptr %10, align 8 %47 = load i64, ptr %10, align 8 %48 = load i64, ptr %9, align 8 %49 = icmp slt i64 %47, %48 %50 = zext i1 %49 to i32 %51 = sext i32 %50 to i64 %52 = load i64, ptr %11, align 8 %53 = add nsw i64 %51, %52 store i64 %53, ptr %11, align 8 %54 = load i64, ptr %10, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i64, ptr %12, align 8 %57 = getelementptr inbounds i64, ptr %55, i64 %56 store i64 %54, ptr %57, align 8 br label %58 58: ; preds = %27 %59 = load i64, ptr %12, align 8 %60 = add i64 %59, 1 store i64 %60, ptr %12, align 8 %61 = icmp ne i64 %60, 0 br i1 %61, label %27, label %62, !llvm.loop !6 62: ; preds = %58 %63 = load i64, ptr %11, align 8 ret i64 %63 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmv9f2gfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__mpn_add_n(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = sub i64 0, %13 store i64 %14, ptr %12, align 8 %15 = load i64, ptr %12, align 8 %16 = load ptr, ptr %6, align 8 %17 = sub i64 0, %15 %18 = getelementptr inbounds i64, ptr %16, i64 %17 store ptr %18, ptr %6, align 8 %19 = load i64, ptr %12, align 8 %20 = load ptr, ptr %7, align 8 %21 = sub i64 0, %19 %22 = getelementptr inbounds i64, ptr %20, i64 %21 store ptr %22, ptr %7, align 8 %23 = load i64, ptr %12, align 8 %24 = load ptr, ptr %5, align 8 %25 = sub i64 0, %23 %26 = getelementptr inbounds i64, ptr %24, i64 %25 store ptr %26, ptr %5, align 8 store i64 0, ptr %11, align 8 br label %27 27: ; preds = %58, %4 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %12, align 8 %30 = getelementptr inbounds i64, ptr %28, i64 %29 %31 = load i64, ptr %30, align 8 store i64 %31, ptr %10, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %12, align 8 %34 = getelementptr inbounds i64, ptr %32, i64 %33 %35 = load i64, ptr %34, align 8 store i64 %35, ptr %9, align 8 %36 = load i64, ptr %11, align 8 %37 = load i64, ptr %10, align 8 %38 = add nsw i64 %37, %36 store i64 %38, ptr %10, align 8 %39 = load i64, ptr %10, align 8 %40 = load i64, ptr %11, align 8 %41 = icmp slt i64 %39, %40 %42 = zext i1 %41 to i32 %43 = sext i32 %42 to i64 store i64 %43, ptr %11, align 8 %44 = load i64, ptr %9, align 8 %45 = load i64, ptr %10, align 8 %46 = add nsw i64 %44, %45 store i64 %46, ptr %10, align 8 %47 = load i64, ptr %10, align 8 %48 = load i64, ptr %9, align 8 %49 = icmp slt i64 %47, %48 %50 = zext i1 %49 to i32 %51 = sext i32 %50 to i64 %52 = load i64, ptr %11, align 8 %53 = add nsw i64 %51, %52 store i64 %53, ptr %11, align 8 %54 = load i64, ptr %10, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i64, ptr %12, align 8 %57 = getelementptr inbounds i64, ptr %55, i64 %56 store i64 %54, ptr %57, align 8 br label %58 58: ; preds = %27 %59 = load i64, ptr %12, align 8 %60 = add i64 %59, 1 store i64 %60, ptr %12, align 8 %61 = icmp ne i64 %60, 0 br i1 %61, label %27, label %62, !llvm.loop !6 62: ; preds = %58 %63 = load i64, ptr %11, align 8 ret i64 %63 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw5e3b33a.c' source_filename = "/tmp/tmpw5e3b33a.c" target datalayout = "e-m:e-p270: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/tmpw5e3b33a.c" target datalayout = "e-m:e-p270: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/tmpzjeabl_o.c' source_filename = "/tmp/tmpzjeabl_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/tmpzjeabl_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/tmp7ijebk9q.c' source_filename = "/tmp/tmp7ijebk9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @feed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %33, %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %34 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 1) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %15, %11 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str.1, i32 noundef 1) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %22, %18 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %33 33: ; preds = %30, %25 br label %7, !llvm.loop !6 34: ; preds = %7 %35 = load i32, ptr %5, align 4 %36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35) %37 = load ptr, ptr %2, align 8 ret ptr %37 } declare i64 @strncmp(ptr noundef, ptr 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/tmp7ijebk9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @feed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %32 %11 = load ptr, ptr %3, align 8 %12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str, i32 noundef 1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %14, %10 %18 = load ptr, ptr %3, align 8 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.1, i32 noundef 1) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %21, %17 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %24 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %36 36: ; preds = %._crit_edge, %1 %37 = load i32, ptr %5, align 4 %38 = call i32 @printf(ptr noundef @.str.2, i32 noundef %37) %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i64 @strncmp(ptr noundef, ptr 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/tmpvho_2d2o.c' source_filename = "/tmp/tmpvho_2d2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @electrostaticCenterUVW(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = call i32 @electrostaticLambdaApprox(double noundef %19, double noundef %20, double noundef %21, ptr noundef %13) store i32 %22, ptr %18, align 4 %23 = load double, ptr %13, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr %7, align 8 %26 = load double, ptr %8, align 8 %27 = fadd double %25, %26 %28 = load double, ptr %9, align 8 %29 = fadd double %27, %28 %30 = fdiv double %24, %29 store double %30, ptr %14, align 8 %31 = load double, ptr %14, align 8 %32 = load double, ptr %7, align 8 %33 = fmul double %31, %32 %34 = call i32 @exp(double noundef %33) %35 = sub nsw i32 %34, 1 %36 = sitofp i32 %35 to double store double %36, ptr %15, align 8 %37 = load double, ptr %14, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %37, %38 %40 = call i32 @exp(double noundef %39) %41 = sub nsw i32 %40, 1 %42 = sitofp i32 %41 to double store double %42, ptr %16, align 8 %43 = load double, ptr %14, align 8 %44 = load double, ptr %9, align 8 %45 = fmul double %43, %44 %46 = call i32 @exp(double noundef %45) %47 = sub nsw i32 %46, 1 %48 = sitofp i32 %47 to double store double %48, ptr %17, align 8 %49 = load double, ptr %7, align 8 %50 = load double, ptr %15, align 8 %51 = fdiv double 2.000000e+00, %50 %52 = fadd double 1.000000e+00, %51 %53 = fmul double %49, %52 %54 = load ptr, ptr %10, align 8 store double %53, ptr %54, align 8 %55 = load double, ptr %8, align 8 %56 = load double, ptr %16, align 8 %57 = fdiv double 2.000000e+00, %56 %58 = fadd double 1.000000e+00, %57 %59 = fmul double %55, %58 %60 = load ptr, ptr %11, align 8 store double %59, ptr %60, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %17, align 8 %63 = fdiv double 2.000000e+00, %62 %64 = fadd double 1.000000e+00, %63 %65 = fmul double %61, %64 %66 = load ptr, ptr %12, align 8 store double %65, ptr %66, align 8 ret i32 0 } declare i32 @electrostaticLambdaApprox(double noundef, double noundef, double noundef, ptr noundef) #1 declare i32 @exp(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/tmpvho_2d2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @electrostaticCenterUVW(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = call i32 @electrostaticLambdaApprox(double noundef %19, double noundef %20, double noundef %21, ptr noundef %13) store i32 %22, ptr %18, align 4 %23 = load double, ptr %13, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr %7, align 8 %26 = load double, ptr %8, align 8 %27 = fadd double %25, %26 %28 = load double, ptr %9, align 8 %29 = fadd double %27, %28 %30 = fdiv double %24, %29 store double %30, ptr %14, align 8 %31 = load double, ptr %14, align 8 %32 = load double, ptr %7, align 8 %33 = fmul double %31, %32 %34 = call i32 @exp(double noundef %33) %35 = sub nsw i32 %34, 1 %36 = sitofp i32 %35 to double store double %36, ptr %15, align 8 %37 = load double, ptr %14, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %37, %38 %40 = call i32 @exp(double noundef %39) %41 = sub nsw i32 %40, 1 %42 = sitofp i32 %41 to double store double %42, ptr %16, align 8 %43 = load double, ptr %14, align 8 %44 = load double, ptr %9, align 8 %45 = fmul double %43, %44 %46 = call i32 @exp(double noundef %45) %47 = sub nsw i32 %46, 1 %48 = sitofp i32 %47 to double store double %48, ptr %17, align 8 %49 = load double, ptr %7, align 8 %50 = load double, ptr %15, align 8 %51 = fdiv double 2.000000e+00, %50 %52 = fadd double 1.000000e+00, %51 %53 = fmul double %49, %52 %54 = load ptr, ptr %10, align 8 store double %53, ptr %54, align 8 %55 = load double, ptr %8, align 8 %56 = load double, ptr %16, align 8 %57 = fdiv double 2.000000e+00, %56 %58 = fadd double 1.000000e+00, %57 %59 = fmul double %55, %58 %60 = load ptr, ptr %11, align 8 store double %59, ptr %60, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %17, align 8 %63 = fdiv double 2.000000e+00, %62 %64 = fadd double 1.000000e+00, %63 %65 = fmul double %61, %64 %66 = load ptr, ptr %12, align 8 store double %65, ptr %66, align 8 ret i32 0 } declare i32 @electrostaticLambdaApprox(double noundef, double noundef, double noundef, ptr noundef) #1 declare i32 @exp(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/tmpad9r8ucn.c' source_filename = "/tmp/tmpad9r8ucn.c" target datalayout = "e-m:e-p270: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_rfc3526_prime_6144.RFC3526_PRIME_6144 = internal constant [768 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF\C9\0F\DA\A2!h\C24\C4\C6b\8B\80\DC\1C\D1)\02N\08\8Ag\CCt\02\0B\BE\A6;\13\9B\22QJ\08y\8E4\04\DD\EF\95\19\B3\CD:C\1B0+\0Am\F2_\147O\E15mmQ\C2E\E4\85\B5vb^~\C6\F4LB\E9\A67\EDk\0B\FF\\\B6\F4\06\B7\ED\EE8k\FBZ\89\9F\A5\AE\9F$\11|K\1F\E6I(fQ\EC\E4[=\C2\00|\B8\A1c\BF\05\98\DAH6\1CU\D3\9Ai\16?\A8\FD$\CF_\83e]#\DC\A3\AD\96\1Cb\F3V \85R\BB\9E\D5)\07p\96\96mg\0C5NJ\BC\98\04\F1tl\08\CA\18!|2\90^F.6\CE;\E3\9Ew,\18\0E\86\03\9B'\83\A2\EC\07\A2\8F\B5\C5]\F0oLR\C9\DE+\CB\F6\95X\17\189\95I|\EA\95j\E5\15\D2&\18\98\FA\05\10\15r\8EZ\8A\AA\C4-\AD3\17\0D\04Pz3\A8U!\AB\DF\1C\BAd\EC\FB\85\04X\DB\EF\0A\8A\EAqW]\06\0C}\B3\97\0F\85\A6\E1\E4\C7\AB\F5\AE\8C\DB\093\D7\1E\8C\94\E0J%a\9D\CE\E3\D2&\1A\D2\EEk\F1/\FA\06\D9\8A\08d\D8v\02s>\C8jdR\1F+\18\17{ \0C\BB\E1\17Wza]lw\09\88\C0\BA\D9F\E2\08\E2O\A0t\E5\AB1C\DB[\FC\E0\FD\10\8EK\82\D1 \A9!\08\01\1Ar<\12\A7\87\E6\D7\88q\9A\10\BD\BA[&\99\C3'\18j\F4\E2<\1A\94h4\B6\15\0B\DA%\83\E9\CA*\D4L\E8\DB\BB\C2\DB\04\DE\8E\F9.\8E\FC\14\1F\BE\CA\A6(|YGNk\C0]\99\B2\96O\A0\90\C3\A2#;\A1\86Q[\E7\ED\1Fa)p\CE\E2\D7\AF\B8\1B\DDv!pH\1C\D0\06\91'\D5\B0Z\A9\93\B4\EA\98\8D\8F\DD\C1\86\FF\B7\DC\90\A6\C0\8FM\F45\C94\02\84\926\C3\FA\B4\D2|p&\C1\D4\DC\B2`&F\DE\C9u\1Ev=\BA7\BD\F8\FF\94\06\AD\9ES\0E\E5\DB8/A0\01\AE\B0jS\ED\90'\D81\17\97'\B0\86Z\89\18\DA>\DB\EB\CF\9B\14\EDD\CEl\BA\CE\D4\BB\1B\DB\7F\14G\E6\CC%K3 QQ+\D7\AFBo\B8\F4\017\8C\D2\BFY\83\CA\01\C6K\92\EC\F02\EA\15\D1r\1D\03\F4\82\D7\CEnt\FE\F6\D5^p/F\98\0C\82\B5\A8@1\90\0B\1C\9EY\E7\C9\7F\BE\C7\E8\F3#\A9z~6\CC\88\BE\0F\1DE\B7\FFXZ\C5K\D4\07\B2+AT\AA\CC\8Fm~\BFH\E1\D8\14\CC^\D2\0F\807\E0\A7\97\15\EE\F2\9B\E3(\06\A1\D5\8B\B7\C5\DAv\F5P\AA=\8A\1F\BF\F0\EB\19\CC\B1\A3\13\D5\\\DAV\C9\EC.\F2\9628\7F\E8\D7n<\04h\04>\8Ff?H`\EE\12\BF-[\0Btt\D6\E6\94\F9\1Em\CC@$\FF\FF\FF\FF\FF\FF\FF\FF", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_rfc3526_prime_6144(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 @BN_bin2bn(ptr noundef @get_rfc3526_prime_6144.RFC3526_PRIME_6144, i32 noundef 768, ptr noundef %3) ret ptr %4 } declare ptr @BN_bin2bn(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/tmpad9r8ucn.c" target datalayout = "e-m:e-p270: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_rfc3526_prime_6144.RFC3526_PRIME_6144 = internal constant [768 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF\C9\0F\DA\A2!h\C24\C4\C6b\8B\80\DC\1C\D1)\02N\08\8Ag\CCt\02\0B\BE\A6;\13\9B\22QJ\08y\8E4\04\DD\EF\95\19\B3\CD:C\1B0+\0Am\F2_\147O\E15mmQ\C2E\E4\85\B5vb^~\C6\F4LB\E9\A67\EDk\0B\FF\\\B6\F4\06\B7\ED\EE8k\FBZ\89\9F\A5\AE\9F$\11|K\1F\E6I(fQ\EC\E4[=\C2\00|\B8\A1c\BF\05\98\DAH6\1CU\D3\9Ai\16?\A8\FD$\CF_\83e]#\DC\A3\AD\96\1Cb\F3V \85R\BB\9E\D5)\07p\96\96mg\0C5NJ\BC\98\04\F1tl\08\CA\18!|2\90^F.6\CE;\E3\9Ew,\18\0E\86\03\9B'\83\A2\EC\07\A2\8F\B5\C5]\F0oLR\C9\DE+\CB\F6\95X\17\189\95I|\EA\95j\E5\15\D2&\18\98\FA\05\10\15r\8EZ\8A\AA\C4-\AD3\17\0D\04Pz3\A8U!\AB\DF\1C\BAd\EC\FB\85\04X\DB\EF\0A\8A\EAqW]\06\0C}\B3\97\0F\85\A6\E1\E4\C7\AB\F5\AE\8C\DB\093\D7\1E\8C\94\E0J%a\9D\CE\E3\D2&\1A\D2\EEk\F1/\FA\06\D9\8A\08d\D8v\02s>\C8jdR\1F+\18\17{ \0C\BB\E1\17Wza]lw\09\88\C0\BA\D9F\E2\08\E2O\A0t\E5\AB1C\DB[\FC\E0\FD\10\8EK\82\D1 \A9!\08\01\1Ar<\12\A7\87\E6\D7\88q\9A\10\BD\BA[&\99\C3'\18j\F4\E2<\1A\94h4\B6\15\0B\DA%\83\E9\CA*\D4L\E8\DB\BB\C2\DB\04\DE\8E\F9.\8E\FC\14\1F\BE\CA\A6(|YGNk\C0]\99\B2\96O\A0\90\C3\A2#;\A1\86Q[\E7\ED\1Fa)p\CE\E2\D7\AF\B8\1B\DDv!pH\1C\D0\06\91'\D5\B0Z\A9\93\B4\EA\98\8D\8F\DD\C1\86\FF\B7\DC\90\A6\C0\8FM\F45\C94\02\84\926\C3\FA\B4\D2|p&\C1\D4\DC\B2`&F\DE\C9u\1Ev=\BA7\BD\F8\FF\94\06\AD\9ES\0E\E5\DB8/A0\01\AE\B0jS\ED\90'\D81\17\97'\B0\86Z\89\18\DA>\DB\EB\CF\9B\14\EDD\CEl\BA\CE\D4\BB\1B\DB\7F\14G\E6\CC%K3 QQ+\D7\AFBo\B8\F4\017\8C\D2\BFY\83\CA\01\C6K\92\EC\F02\EA\15\D1r\1D\03\F4\82\D7\CEnt\FE\F6\D5^p/F\98\0C\82\B5\A8@1\90\0B\1C\9EY\E7\C9\7F\BE\C7\E8\F3#\A9z~6\CC\88\BE\0F\1DE\B7\FFXZ\C5K\D4\07\B2+AT\AA\CC\8Fm~\BFH\E1\D8\14\CC^\D2\0F\807\E0\A7\97\15\EE\F2\9B\E3(\06\A1\D5\8B\B7\C5\DAv\F5P\AA=\8A\1F\BF\F0\EB\19\CC\B1\A3\13\D5\\\DAV\C9\EC.\F2\9628\7F\E8\D7n<\04h\04>\8Ff?H`\EE\12\BF-[\0Btt\D6\E6\94\F9\1Em\CC@$\FF\FF\FF\FF\FF\FF\FF\FF", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_rfc3526_prime_6144(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 @BN_bin2bn(ptr noundef @get_rfc3526_prime_6144.RFC3526_PRIME_6144, i32 noundef 768, ptr noundef %3) ret ptr %4 } declare ptr @BN_bin2bn(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/tmp96y1927e.c' source_filename = "/tmp/tmp96y1927e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitpidTimeoutInit() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGCHLD, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_BLOCK, align 4 %6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) ret i32 %6 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(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/tmp96y1927e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitpidTimeoutInit() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGCHLD, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_BLOCK, align 4 %6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) ret i32 %6 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(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/tmp4slnn8ax.c' source_filename = "/tmp/tmp4slnn8ax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @M8_read_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = call ptr @malloc(i32 noundef 1024) store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) br label %14 14: ; preds = %19, %1 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fgetc(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = trunc i32 %20 to i8 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = sext i32 %23 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 store i8 %21, ptr %26, align 1 br label %14, !llvm.loop !6 27: ; preds = %14 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %4, align 8 %33 = call i32 @fclose(ptr noundef %32) %34 = load ptr, ptr %5, align 8 ret ptr %34 } declare ptr @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4slnn8ax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @M8_read_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = call ptr @malloc(i32 noundef 1024) store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @fgetc(ptr noundef %14) store i32 %15, ptr %3, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %18 18: ; preds = %.lr.ph, %18 %19 = load i32, ptr %3, align 4 %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 store i8 %20, ptr %25, align 1 %26 = load ptr, ptr %4, align 8 %27 = call i32 @fgetc(ptr noundef %26) store i32 %27, ptr %3, align 4 %28 = load i32, ptr @EOF, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %30 30: ; preds = %._crit_edge, %1 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %4, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load ptr, ptr %5, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeu5mnr28.c' source_filename = "/tmp/tmpeu5mnr28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_procpattern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strlen(ptr noundef %14) store i64 %15, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %16 16: ; preds = %148, %2 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 store i8 %21, ptr %13, align 1 %22 = load i32, ptr %11, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %35 24: ; preds = %16 %25 = load i8, ptr %13, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 95 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %28, %24 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 br label %139 35: ; preds = %16 %36 = load i32, ptr %11, align 4 %37 = icmp eq i32 %36, 2 br i1 %37, label %38, label %49 38: ; preds = %35 %39 = load i8, ptr %13, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 80 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %11, align 4 br label %46 45: ; preds = %38 store i32 1, ptr %11, align 4 br label %46 46: ; preds = %45, %42 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %138 49: ; preds = %35 %50 = load i32, ptr %11, align 4 %51 = icmp eq i32 %50, 3 br i1 %51, label %52, label %63 52: ; preds = %49 %53 = load i8, ptr %13, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 82 br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr %11, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %11, align 4 br label %60 59: ; preds = %52 store i32 1, ptr %11, align 4 br label %60 60: ; preds = %59, %56 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %10, align 4 br label %137 63: ; preds = %49 %64 = load i32, ptr %11, align 4 %65 = icmp eq i32 %64, 4 br i1 %65, label %66, label %77 66: ; preds = %63 %67 = load i8, ptr %13, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 79 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = load i32, ptr %11, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %11, align 4 br label %74 73: ; preds = %66 store i32 1, ptr %11, align 4 br label %74 74: ; preds = %73, %70 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 br label %136 77: ; preds = %63 %78 = load i32, ptr %11, align 4 %79 = icmp eq i32 %78, 5 br i1 %79, label %80, label %91 80: ; preds = %77 %81 = load i8, ptr %13, align 1 %82 = sext i8 %81 to i32 %83 = icmp eq i32 %82, 67 br i1 %83, label %84, label %87 84: ; preds = %80 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %88 87: ; preds = %80 store i32 1, ptr %11, align 4 br label %88 88: ; preds = %87, %84 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %135 91: ; preds = %77 %92 = load i32, ptr %11, align 4 %93 = icmp eq i32 %92, 6 br i1 %93, label %94, label %105 94: ; preds = %91 %95 = load i8, ptr %13, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 45 br i1 %97, label %98, label %101 98: ; preds = %94 %99 = load i32, ptr %11, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %11, align 4 br label %102 101: ; preds = %94 store i32 1, ptr %11, align 4 br label %102 102: ; preds = %101, %98 %103 = load i32, ptr %10, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %10, align 4 br label %134 105: ; preds = %91 %106 = load i32, ptr %11, align 4 %107 = icmp eq i32 %106, 7 br i1 %107, label %108, label %119 108: ; preds = %105 %109 = load i8, ptr %13, align 1 %110 = sext i8 %109 to i32 %111 = icmp ne i32 %110, 95 br i1 %111, label %112, label %115 112: ; preds = %108 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 br label %116 115: ; preds = %108 store i32 1, ptr %11, align 4 br label %116 116: ; preds = %115, %112 %117 = load i32, ptr %10, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %10, align 4 br label %133 119: ; preds = %105 %120 = load i32, ptr %11, align 4 %121 = icmp eq i32 %120, 8 br i1 %121, label %122, label %132 122: ; preds = %119 %123 = load i8, ptr %13, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 95 br i1 %125, label %126, label %127 126: ; preds = %122 br label %129 127: ; preds = %122 store i32 1, ptr %12, align 4 %128 = load i32, ptr %10, align 4 store i32 %128, ptr %9, align 4 br label %129 129: ; preds = %127, %126 %130 = load i32, ptr %10, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %10, align 4 br label %132 132: ; preds = %129, %119 br label %133 133: ; preds = %132, %116 br label %134 134: ; preds = %133, %102 br label %135 135: ; preds = %134, %88 br label %136 136: ; preds = %135, %74 br label %137 137: ; preds = %136, %60 br label %138 138: ; preds = %137, %46 br label %139 139: ; preds = %138, %32 br label %140 140: ; preds = %139 %141 = load i32, ptr %10, align 4 %142 = sext i32 %141 to i64 %143 = load i64, ptr %6, align 8 %144 = icmp ult i64 %142, %143 br i1 %144, label %145, label %148 145: ; preds = %140 %146 = load i32, ptr %12, align 4 %147 = icmp eq i32 %146, 0 br label %148 148: ; preds = %145, %140 %149 = phi i1 [ false, %140 ], [ %147, %145 ] br i1 %149, label %16, label %150, !llvm.loop !6 150: ; preds = %148 %151 = load i32, ptr %12, align 4 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %154 153: ; preds = %150 store i32 0, ptr %3, align 4 br label %182 154: ; preds = %150 %155 = load i32, ptr %8, align 4 store i32 %155, ptr %7, align 4 br label %156 156: ; preds = %172, %154 %157 = load i32, ptr %7, align 4 %158 = load i32, ptr %9, align 4 %159 = icmp sle i32 %157, %158 br i1 %159, label %160, label %175 160: ; preds = %156 %161 = load ptr, ptr %4, align 8 %162 = load i32, ptr %7, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 %165 = load i8, ptr %164, align 1 %166 = load ptr, ptr %5, align 8 %167 = load i32, ptr %7, align 4 %168 = load i32, ptr %8, align 4 %169 = sub nsw i32 %167, %168 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %166, i64 %170 store i8 %165, ptr %171, align 1 br label %172 172: ; preds = %160 %173 = load i32, ptr %7, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %7, align 4 br label %156, !llvm.loop !8 175: ; preds = %156 %176 = load ptr, ptr %5, align 8 %177 = load i32, ptr %7, align 4 %178 = load i32, ptr %8, align 4 %179 = sub nsw i32 %177, %178 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %176, i64 %180 store i8 0, ptr %181, align 1 store i32 1, ptr %3, align 4 br label %182 182: ; preds = %175, %153 %183 = load i32, ptr %3, align 4 ret i32 %183 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeu5mnr28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_procpattern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strlen(ptr noundef %14) store i64 %15, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %16 16: ; preds = %148, %2 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 store i8 %21, ptr %13, align 1 %22 = load i32, ptr %11, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %35 24: ; preds = %16 %25 = load i8, ptr %13, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 95 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %28, %24 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 br label %139 35: ; preds = %16 %36 = load i32, ptr %11, align 4 %37 = icmp eq i32 %36, 2 br i1 %37, label %38, label %49 38: ; preds = %35 %39 = load i8, ptr %13, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 80 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %11, align 4 br label %46 45: ; preds = %38 store i32 1, ptr %11, align 4 br label %46 46: ; preds = %45, %42 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %138 49: ; preds = %35 %50 = load i32, ptr %11, align 4 %51 = icmp eq i32 %50, 3 br i1 %51, label %52, label %63 52: ; preds = %49 %53 = load i8, ptr %13, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 82 br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr %11, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %11, align 4 br label %60 59: ; preds = %52 store i32 1, ptr %11, align 4 br label %60 60: ; preds = %59, %56 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %10, align 4 br label %137 63: ; preds = %49 %64 = load i32, ptr %11, align 4 %65 = icmp eq i32 %64, 4 br i1 %65, label %66, label %77 66: ; preds = %63 %67 = load i8, ptr %13, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 79 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = load i32, ptr %11, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %11, align 4 br label %74 73: ; preds = %66 store i32 1, ptr %11, align 4 br label %74 74: ; preds = %73, %70 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 br label %136 77: ; preds = %63 %78 = load i32, ptr %11, align 4 %79 = icmp eq i32 %78, 5 br i1 %79, label %80, label %91 80: ; preds = %77 %81 = load i8, ptr %13, align 1 %82 = sext i8 %81 to i32 %83 = icmp eq i32 %82, 67 br i1 %83, label %84, label %87 84: ; preds = %80 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %88 87: ; preds = %80 store i32 1, ptr %11, align 4 br label %88 88: ; preds = %87, %84 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %135 91: ; preds = %77 %92 = load i32, ptr %11, align 4 %93 = icmp eq i32 %92, 6 br i1 %93, label %94, label %105 94: ; preds = %91 %95 = load i8, ptr %13, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 45 br i1 %97, label %98, label %101 98: ; preds = %94 %99 = load i32, ptr %11, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %11, align 4 br label %102 101: ; preds = %94 store i32 1, ptr %11, align 4 br label %102 102: ; preds = %101, %98 %103 = load i32, ptr %10, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %10, align 4 br label %134 105: ; preds = %91 %106 = load i32, ptr %11, align 4 %107 = icmp eq i32 %106, 7 br i1 %107, label %108, label %119 108: ; preds = %105 %109 = load i8, ptr %13, align 1 %110 = sext i8 %109 to i32 %111 = icmp ne i32 %110, 95 br i1 %111, label %112, label %115 112: ; preds = %108 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 br label %116 115: ; preds = %108 store i32 1, ptr %11, align 4 br label %116 116: ; preds = %115, %112 %117 = load i32, ptr %10, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %10, align 4 br label %133 119: ; preds = %105 %120 = load i32, ptr %11, align 4 %121 = icmp eq i32 %120, 8 br i1 %121, label %122, label %132 122: ; preds = %119 %123 = load i8, ptr %13, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 95 br i1 %125, label %126, label %127 126: ; preds = %122 br label %129 127: ; preds = %122 store i32 1, ptr %12, align 4 %128 = load i32, ptr %10, align 4 store i32 %128, ptr %9, align 4 br label %129 129: ; preds = %127, %126 %130 = load i32, ptr %10, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %10, align 4 br label %132 132: ; preds = %129, %119 br label %133 133: ; preds = %132, %116 br label %134 134: ; preds = %133, %102 br label %135 135: ; preds = %134, %88 br label %136 136: ; preds = %135, %74 br label %137 137: ; preds = %136, %60 br label %138 138: ; preds = %137, %46 br label %139 139: ; preds = %138, %32 br label %140 140: ; preds = %139 %141 = load i32, ptr %10, align 4 %142 = sext i32 %141 to i64 %143 = load i64, ptr %6, align 8 %144 = icmp ult i64 %142, %143 br i1 %144, label %145, label %148 145: ; preds = %140 %146 = load i32, ptr %12, align 4 %147 = icmp eq i32 %146, 0 br label %148 148: ; preds = %145, %140 %149 = phi i1 [ false, %140 ], [ %147, %145 ] br i1 %149, label %16, label %150, !llvm.loop !6 150: ; preds = %148 %151 = load i32, ptr %12, align 4 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %154 153: ; preds = %150 store i32 0, ptr %3, align 4 br label %184 154: ; preds = %150 %155 = load i32, ptr %8, align 4 store i32 %155, ptr %7, align 4 %156 = load i32, ptr %7, align 4 %157 = load i32, ptr %9, align 4 %158 = icmp sle i32 %156, %157 br i1 %158, label %.lr.ph, label %177 .lr.ph: ; preds = %154 br label %159 159: ; preds = %.lr.ph, %171 %160 = load ptr, ptr %4, align 8 %161 = load i32, ptr %7, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %160, i64 %162 %164 = load i8, ptr %163, align 1 %165 = load ptr, ptr %5, align 8 %166 = load i32, ptr %7, align 4 %167 = load i32, ptr %8, align 4 %168 = sub nsw i32 %166, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i8, ptr %165, i64 %169 store i8 %164, ptr %170, align 1 br label %171 171: ; preds = %159 %172 = load i32, ptr %7, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %7, align 4 %174 = load i32, ptr %7, align 4 %175 = load i32, ptr %9, align 4 %176 = icmp sle i32 %174, %175 br i1 %176, label %159, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %171 br label %177 177: ; preds = %._crit_edge, %154 %178 = load ptr, ptr %5, align 8 %179 = load i32, ptr %7, align 4 %180 = load i32, ptr %8, align 4 %181 = sub nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %178, i64 %182 store i8 0, ptr %183, align 1 store i32 1, ptr %3, align 4 br label %184 184: ; preds = %177, %153 %185 = load i32, ptr %3, align 4 ret i32 %185 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmposjo3hrv.c' source_filename = "/tmp/tmposjo3hrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @foo(i32 noundef 1, i8 noundef signext 97) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @print_int(i32 noundef %4) ret i32 0 } declare i32 @foo(i32 noundef, i8 noundef signext) #1 declare i32 @print_int(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/tmposjo3hrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @foo(i32 noundef 1, i8 noundef signext 97) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @print_int(i32 noundef %4) ret i32 0 } declare i32 @foo(i32 noundef, i8 noundef signext) #1 declare i32 @print_int(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/tmp9by76vha.c' source_filename = "/tmp/tmp9by76vha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timespec, align 8 store i64 %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %5 = load i64, ptr %2, align 8 %6 = sdiv i64 %5, 1000 store i64 %6, ptr %4, align 8 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %8 = load i64, ptr %2, align 8 %9 = srem i64 %8, 1000 %10 = mul nsw i64 1000000, %9 %11 = trunc i64 %10 to i32 store i32 %11, ptr %7, align 8 %12 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmp9by76vha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timespec, align 8 store i64 %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %5 = load i64, ptr %2, align 8 %6 = sdiv i64 %5, 1000 store i64 %6, ptr %4, align 8 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %8 = load i64, ptr %2, align 8 %9 = srem i64 %8, 1000 %10 = mul nsw i64 1000000, %9 %11 = trunc i64 %10 to i32 store i32 %11, ptr %7, align 8 %12 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmpd2scdpvg.c' source_filename = "/tmp/tmpd2scdpvg.c" target datalayout = "e-m:e-p270: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/tmpd2scdpvg.c" target datalayout = "e-m:e-p270: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/tmpmm83d10x.c' source_filename = "/tmp/tmpmm83d10x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\09Emotion Detection\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"=====================================\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"\0AEnter \0A\091 to train.\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\0A\092 to test.\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"\0A\093 to clean.\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"\0A\090 to quit.\0A:]\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"rm %s*.gmm\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"data/features/\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"rm %s*.csv\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"rm %s*.txt\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"\0A\0DBye bye.\0A\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"\0A\0Dwrong options\00", align 1 @stdin = 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 [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 999, ptr %6, align 4 br label %8 8: ; preds = %43, %2 %9 = load i32, ptr %6, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %46 11: ; preds = %8 %12 = call i32 @system(ptr noundef @.str) %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @cprintf(ptr noundef @.str.2, i32 noundef 32) %15 = call i32 @printf(ptr noundef @.str.3) %16 = call i32 @printf(ptr noundef @.str.4) %17 = call i32 @printf(ptr noundef @.str.5) %18 = call i32 @printf(ptr noundef @.str.6) %19 = call i32 @printf(ptr noundef @.str.7) %20 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %6) %21 = load i32, ptr %6, align 4 switch i32 %21, label %41 [ i32 1, label %22 i32 2, label %24 i32 3, label %26 i32 0, label %39 ] 22: ; preds = %11 %23 = call i32 (...) @train() br label %43 24: ; preds = %11 %25 = call i32 (...) @classify() br label %43 26: ; preds = %11 %27 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.9, ptr noundef @.str.10) %29 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @system(ptr noundef %29) %31 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %32 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.11, ptr noundef @.str.10) %33 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %34 = call i32 @system(ptr noundef %33) %35 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.12, ptr noundef @.str.10) %37 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %38 = call i32 @system(ptr noundef %37) br label %43 39: ; preds = %11 %40 = call i32 @printf(ptr noundef @.str.13) br label %43 41: ; preds = %11 %42 = call i32 @printf(ptr noundef @.str.14) br label %43 43: ; preds = %41, %39, %26, %24, %22 %44 = load i32, ptr @stdin, align 4 %45 = call i32 @getc(i32 noundef %44) br label %8, !llvm.loop !6 46: ; preds = %8 ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @cprintf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @train(...) #1 declare i32 @classify(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @getc(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/tmpmm83d10x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\09Emotion Detection\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"=====================================\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"\0AEnter \0A\091 to train.\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\0A\092 to test.\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"\0A\093 to clean.\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"\0A\090 to quit.\0A:]\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"rm %s*.gmm\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"data/features/\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"rm %s*.csv\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"rm %s*.txt\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"\0A\0DBye bye.\0A\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"\0A\0Dwrong options\00", align 1 @stdin = 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 [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 999, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %47 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %42 %11 = call i32 @system(ptr noundef @.str) %12 = call i32 @printf(ptr noundef @.str.1) %13 = call i32 @cprintf(ptr noundef @.str.2, i32 noundef 32) %14 = call i32 @printf(ptr noundef @.str.3) %15 = call i32 @printf(ptr noundef @.str.4) %16 = call i32 @printf(ptr noundef @.str.5) %17 = call i32 @printf(ptr noundef @.str.6) %18 = call i32 @printf(ptr noundef @.str.7) %19 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %6) %20 = load i32, ptr %6, align 4 switch i32 %20, label %40 [ i32 1, label %21 i32 2, label %23 i32 3, label %25 i32 0, label %38 ] 21: ; preds = %10 %22 = call i32 (...) @train() br label %42 23: ; preds = %10 %24 = call i32 (...) @classify() br label %42 25: ; preds = %10 %26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %27 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.9, ptr noundef @.str.10) %28 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %29 = call i32 @system(ptr noundef %28) %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str.11, ptr noundef @.str.10) %32 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @system(ptr noundef %32) %34 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.12, ptr noundef @.str.10) %36 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @system(ptr noundef %36) br label %42 38: ; preds = %10 %39 = call i32 @printf(ptr noundef @.str.13) br label %42 40: ; preds = %10 %41 = call i32 @printf(ptr noundef @.str.14) br label %42 42: ; preds = %40, %38, %25, %23, %21 %43 = load i32, ptr @stdin, align 4 %44 = call i32 @getc(i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @cprintf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @train(...) #1 declare i32 @classify(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @getc(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/tmp1sm2qff3.c' source_filename = "/tmp/tmp1sm2qff3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Main menu:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"[0] Exit\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"[1] Push\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"[2] Pop\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"[3] Clear\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"[4] Seek\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"[5] Find\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"[6] Find Last\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"Enter your choice: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMenu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) 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/tmp1sm2qff3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Main menu:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"[0] Exit\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"[1] Push\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"[2] Pop\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"[3] Clear\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"[4] Seek\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"[5] Find\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"[6] Find Last\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"Enter your choice: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMenu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) 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/tmpaolb8jvs.c' source_filename = "/tmp/tmpaolb8jvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getIntPtr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaolb8jvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getIntPtr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplznb6agt.c' source_filename = "/tmp/tmplznb6agt.c" target datalayout = "e-m:e-p270: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/tmplznb6agt.c" target datalayout = "e-m:e-p270: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/tmpyan9d7sj.c' source_filename = "/tmp/tmpyan9d7sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcpncpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %9 9: ; preds = %30, %3 %10 = load i64, ptr %7, align 8 %11 = add i64 %10, -1 store i64 %11, ptr %7, align 8 %12 = icmp ne i64 %10, 0 br i1 %12, label %13, label %35 13: ; preds = %9 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %5, align 8 store i32 %15, ptr %16, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %29, label %18 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 store ptr %19, ptr %8, align 8 br label %20 20: ; preds = %24, %18 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %7, align 8 %23 = icmp ne i64 %21, 0 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i32, ptr %25, i32 1 store ptr %26, ptr %5, align 8 store i32 0, ptr %26, align 4 br label %20, !llvm.loop !6 27: ; preds = %20 %28 = load ptr, ptr %8, align 8 store ptr %28, ptr %4, align 8 br label %37 29: ; preds = %13 br label %30 30: ; preds = %29 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i32, ptr %31, i32 1 store ptr %32, ptr %5, align 8 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds i32, ptr %33, i32 1 store ptr %34, ptr %6, align 8 br label %9, !llvm.loop !8 35: ; preds = %9 %36 = load ptr, ptr %5, align 8 store ptr %36, ptr %4, align 8 br label %37 37: ; preds = %35, %27 %38 = load ptr, ptr %4, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyan9d7sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcpncpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i64, ptr %7, align 8 %10 = add i64 %9, -1 store i64 %10, ptr %7, align 8 %11 = icmp ne i64 %9, 0 br i1 %11, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %31 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %5, align 8 store i32 %14, ptr %15, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %30, label %17 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %8, align 8 %19 = load i64, ptr %7, align 8 %20 = add i64 %19, -1 store i64 %20, ptr %7, align 8 %21 = icmp ne i64 %19, 0 br i1 %21, label %.lr.ph2, label %28 .lr.ph2: ; preds = %17 br label %22 22: ; preds = %.lr.ph2, %22 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %5, align 8 store i32 0, ptr %24, align 4 %25 = load i64, ptr %7, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %7, align 8 %27 = icmp ne i64 %25, 0 br i1 %27, label %22, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %22 br label %28 28: ; preds = %._crit_edge3, %17 %29 = load ptr, ptr %8, align 8 store ptr %29, ptr %4, align 8 br label %41 30: ; preds = %12 br label %31 31: ; preds = %30 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i32, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i32, ptr %34, i32 1 store ptr %35, ptr %6, align 8 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, -1 store i64 %37, ptr %7, align 8 %38 = icmp ne i64 %36, 0 br i1 %38, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %31 br label %39 39: ; preds = %._crit_edge, %3 %40 = load ptr, ptr %5, align 8 store ptr %40, ptr %4, align 8 br label %41 41: ; preds = %39, %28 %42 = load ptr, ptr %4, align 8 ret ptr %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz660rxqo.c' source_filename = "/tmp/tmpz660rxqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"Hvilken person er der tale om?\0AIndtast input => \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Hvilken prioritet?\0AIndtast input => \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readInputUser(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = call i32 @printf(ptr noundef @.str.2) %14 = load ptr, ptr %6, align 8 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %14) br label %16 16: ; preds = %12, %3 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz660rxqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"Hvilken person er der tale om?\0AIndtast input => \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Hvilken prioritet?\0AIndtast input => \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readInputUser(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = call i32 @printf(ptr noundef @.str.2) %14 = load ptr, ptr %6, align 8 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %14) br label %16 16: ; preds = %12, %3 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdm2wiu91.c' source_filename = "/tmp/tmpdm2wiu91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_inclusion(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %16, align 4 %31 = sub nsw i32 %29, %30 store i32 %31, ptr %18, align 4 %32 = load i32, ptr %18, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %8 br label %37 35: ; preds = %8 %36 = load i32, ptr %18, align 4 br label %37 37: ; preds = %35, %34 %38 = phi i32 [ 0, %34 ], [ %36, %35 ] store i32 %38, ptr %18, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %16, align 4 %41 = sub nsw i32 %39, %40 store i32 %41, ptr %20, align 4 %42 = load i32, ptr %20, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 br label %47 45: ; preds = %37 %46 = load i32, ptr %20, align 4 br label %47 47: ; preds = %45, %44 %48 = phi i32 [ 0, %44 ], [ %46, %45 ] store i32 %48, ptr %20, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %16, align 4 %51 = sub nsw i32 %49, %50 store i32 %51, ptr %22, align 4 %52 = load i32, ptr %22, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %47 br label %57 55: ; preds = %47 %56 = load i32, ptr %22, align 4 br label %57 57: ; preds = %55, %54 %58 = phi i32 [ 0, %54 ], [ %56, %55 ] store i32 %58, ptr %22, align 4 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %16, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %19, align 4 %62 = load i32, ptr %19, align 4 %63 = load i32, ptr %12, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp sgt i32 %62, %64 br i1 %65, label %66, label %69 66: ; preds = %57 %67 = load i32, ptr %12, align 4 %68 = sub nsw i32 %67, 1 br label %71 69: ; preds = %57 %70 = load i32, ptr %19, align 4 br label %71 71: ; preds = %69, %66 %72 = phi i32 [ %68, %66 ], [ %70, %69 ] store i32 %72, ptr %19, align 4 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %73, %74 store i32 %75, ptr %21, align 4 %76 = load i32, ptr %21, align 4 %77 = load i32, ptr %13, align 4 %78 = sub nsw i32 %77, 1 %79 = icmp sgt i32 %76, %78 br i1 %79, label %80, label %83 80: ; preds = %71 %81 = load i32, ptr %13, align 4 %82 = sub nsw i32 %81, 1 br label %85 83: ; preds = %71 %84 = load i32, ptr %21, align 4 br label %85 85: ; preds = %83, %80 %86 = phi i32 [ %82, %80 ], [ %84, %83 ] store i32 %86, ptr %21, align 4 %87 = load i32, ptr %11, align 4 %88 = load i32, ptr %16, align 4 %89 = add nsw i32 %87, %88 store i32 %89, ptr %23, align 4 %90 = load i32, ptr %23, align 4 %91 = load i32, ptr %14, align 4 %92 = sub nsw i32 %91, 1 %93 = icmp sgt i32 %90, %92 br i1 %93, label %94, label %97 94: ; preds = %85 %95 = load i32, ptr %14, align 4 %96 = sub nsw i32 %95, 1 br label %99 97: ; preds = %85 %98 = load i32, ptr %23, align 4 br label %99 99: ; preds = %97, %94 %100 = phi i32 [ %96, %94 ], [ %98, %97 ] store i32 %100, ptr %23, align 4 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %24, align 4 %101 = load i32, ptr %18, align 4 store i32 %101, ptr %26, align 4 br label %102 102: ; preds = %143, %99 %103 = load i32, ptr %26, align 4 %104 = load i32, ptr %19, align 4 %105 = icmp sle i32 %103, %104 br i1 %105, label %106, label %146 106: ; preds = %102 %107 = load i32, ptr %20, align 4 store i32 %107, ptr %27, align 4 br label %108 108: ; preds = %139, %106 %109 = load i32, ptr %27, align 4 %110 = load i32, ptr %21, align 4 %111 = icmp sle i32 %109, %110 br i1 %111, label %112, label %142 112: ; preds = %108 %113 = load i32, ptr %22, align 4 store i32 %113, ptr %28, align 4 br label %114 114: ; preds = %135, %112 %115 = load i32, ptr %28, align 4 %116 = load i32, ptr %23, align 4 %117 = icmp sle i32 %115, %116 br i1 %117, label %118, label %138 118: ; preds = %114 %119 = load i32, ptr %26, align 4 %120 = load i32, ptr %27, align 4 %121 = load i32, ptr %28, align 4 %122 = load i32, ptr %12, align 4 %123 = load i32, ptr %13, align 4 %124 = load i32, ptr %14, align 4 %125 = call i32 @map_index(i32 noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124) store i32 %125, ptr %25, align 4 %126 = load ptr, ptr %15, align 8 %127 = load i32, ptr %25, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 %130 = load double, ptr %129, align 8 %131 = load double, ptr %17, align 8 %132 = fadd double %131, %130 store double %132, ptr %17, align 8 %133 = load i32, ptr %24, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %24, align 4 br label %135 135: ; preds = %118 %136 = load i32, ptr %28, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %28, align 4 br label %114, !llvm.loop !6 138: ; preds = %114 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 %108, !llvm.loop !8 142: ; preds = %108 br label %143 143: ; preds = %142 %144 = load i32, ptr %26, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %26, align 4 br label %102, !llvm.loop !9 146: ; preds = %102 %147 = load i32, ptr %9, align 4 %148 = load i32, ptr %10, align 4 %149 = load i32, ptr %11, align 4 %150 = load i32, ptr %12, align 4 %151 = load i32, ptr %13, align 4 %152 = load i32, ptr %14, align 4 %153 = call i32 @map_index(i32 noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152) store i32 %153, ptr %25, align 4 %154 = load ptr, ptr %15, align 8 %155 = load i32, ptr %25, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %154, i64 %156 %158 = load double, ptr %157, align 8 %159 = load double, ptr %17, align 8 %160 = load i32, ptr %24, align 4 %161 = sitofp i32 %160 to double %162 = fdiv double %159, %161 %163 = fcmp oge double %158, %162 %164 = zext i1 %163 to i32 ret i32 %164 } declare i32 @map_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdm2wiu91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_inclusion(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %16, align 4 %31 = sub nsw i32 %29, %30 store i32 %31, ptr %18, align 4 %32 = load i32, ptr %18, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %8 br label %37 35: ; preds = %8 %36 = load i32, ptr %18, align 4 br label %37 37: ; preds = %35, %34 %38 = phi i32 [ 0, %34 ], [ %36, %35 ] store i32 %38, ptr %18, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %16, align 4 %41 = sub nsw i32 %39, %40 store i32 %41, ptr %20, align 4 %42 = load i32, ptr %20, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 br label %47 45: ; preds = %37 %46 = load i32, ptr %20, align 4 br label %47 47: ; preds = %45, %44 %48 = phi i32 [ 0, %44 ], [ %46, %45 ] store i32 %48, ptr %20, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %16, align 4 %51 = sub nsw i32 %49, %50 store i32 %51, ptr %22, align 4 %52 = load i32, ptr %22, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %47 br label %57 55: ; preds = %47 %56 = load i32, ptr %22, align 4 br label %57 57: ; preds = %55, %54 %58 = phi i32 [ 0, %54 ], [ %56, %55 ] store i32 %58, ptr %22, align 4 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %16, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %19, align 4 %62 = load i32, ptr %19, align 4 %63 = load i32, ptr %12, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp sgt i32 %62, %64 br i1 %65, label %66, label %69 66: ; preds = %57 %67 = load i32, ptr %12, align 4 %68 = sub nsw i32 %67, 1 br label %71 69: ; preds = %57 %70 = load i32, ptr %19, align 4 br label %71 71: ; preds = %69, %66 %72 = phi i32 [ %68, %66 ], [ %70, %69 ] store i32 %72, ptr %19, align 4 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %73, %74 store i32 %75, ptr %21, align 4 %76 = load i32, ptr %21, align 4 %77 = load i32, ptr %13, align 4 %78 = sub nsw i32 %77, 1 %79 = icmp sgt i32 %76, %78 br i1 %79, label %80, label %83 80: ; preds = %71 %81 = load i32, ptr %13, align 4 %82 = sub nsw i32 %81, 1 br label %85 83: ; preds = %71 %84 = load i32, ptr %21, align 4 br label %85 85: ; preds = %83, %80 %86 = phi i32 [ %82, %80 ], [ %84, %83 ] store i32 %86, ptr %21, align 4 %87 = load i32, ptr %11, align 4 %88 = load i32, ptr %16, align 4 %89 = add nsw i32 %87, %88 store i32 %89, ptr %23, align 4 %90 = load i32, ptr %23, align 4 %91 = load i32, ptr %14, align 4 %92 = sub nsw i32 %91, 1 %93 = icmp sgt i32 %90, %92 br i1 %93, label %94, label %97 94: ; preds = %85 %95 = load i32, ptr %14, align 4 %96 = sub nsw i32 %95, 1 br label %99 97: ; preds = %85 %98 = load i32, ptr %23, align 4 br label %99 99: ; preds = %97, %94 %100 = phi i32 [ %96, %94 ], [ %98, %97 ] store i32 %100, ptr %23, align 4 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %24, align 4 %101 = load i32, ptr %18, align 4 store i32 %101, ptr %26, align 4 %102 = load i32, ptr %26, align 4 %103 = load i32, ptr %19, align 4 %104 = icmp sle i32 %102, %103 br i1 %104, label %.lr.ph5, label %152 .lr.ph5: ; preds = %99 br label %105 105: ; preds = %.lr.ph5, %146 %106 = load i32, ptr %20, align 4 store i32 %106, ptr %27, align 4 %107 = load i32, ptr %27, align 4 %108 = load i32, ptr %21, align 4 %109 = icmp sle i32 %107, %108 br i1 %109, label %.lr.ph2, label %145 .lr.ph2: ; preds = %105 br label %110 110: ; preds = %.lr.ph2, %139 %111 = load i32, ptr %22, align 4 store i32 %111, ptr %28, align 4 %112 = load i32, ptr %28, align 4 %113 = load i32, ptr %23, align 4 %114 = icmp sle i32 %112, %113 br i1 %114, label %.lr.ph, label %138 .lr.ph: ; preds = %110 br label %115 115: ; preds = %.lr.ph, %132 %116 = load i32, ptr %26, align 4 %117 = load i32, ptr %27, align 4 %118 = load i32, ptr %28, align 4 %119 = load i32, ptr %12, align 4 %120 = load i32, ptr %13, align 4 %121 = load i32, ptr %14, align 4 %122 = call i32 @map_index(i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121) store i32 %122, ptr %25, align 4 %123 = load ptr, ptr %15, align 8 %124 = load i32, ptr %25, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 %127 = load double, ptr %126, align 8 %128 = load double, ptr %17, align 8 %129 = fadd double %128, %127 store double %129, ptr %17, align 8 %130 = load i32, ptr %24, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %24, align 4 br label %132 132: ; preds = %115 %133 = load i32, ptr %28, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %28, align 4 %135 = load i32, ptr %28, align 4 %136 = load i32, ptr %23, align 4 %137 = icmp sle i32 %135, %136 br i1 %137, label %115, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %132 br label %138 138: ; preds = %._crit_edge, %110 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 %142 = load i32, ptr %27, align 4 %143 = load i32, ptr %21, align 4 %144 = icmp sle i32 %142, %143 br i1 %144, label %110, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %139 br label %145 145: ; preds = %._crit_edge3, %105 br label %146 146: ; preds = %145 %147 = load i32, ptr %26, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %26, align 4 %149 = load i32, ptr %26, align 4 %150 = load i32, ptr %19, align 4 %151 = icmp sle i32 %149, %150 br i1 %151, label %105, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %146 br label %152 152: ; preds = %._crit_edge6, %99 %153 = load i32, ptr %9, align 4 %154 = load i32, ptr %10, align 4 %155 = load i32, ptr %11, align 4 %156 = load i32, ptr %12, align 4 %157 = load i32, ptr %13, align 4 %158 = load i32, ptr %14, align 4 %159 = call i32 @map_index(i32 noundef %153, i32 noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158) store i32 %159, ptr %25, align 4 %160 = load ptr, ptr %15, align 8 %161 = load i32, ptr %25, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 %164 = load double, ptr %163, align 8 %165 = load double, ptr %17, align 8 %166 = load i32, ptr %24, align 4 %167 = sitofp i32 %166 to double %168 = fdiv double %165, %167 %169 = fcmp oge double %164, %168 %170 = zext i1 %169 to i32 ret i32 %170 } declare i32 @map_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpud_mf872.c' source_filename = "/tmp/tmpud_mf872.c" target datalayout = "e-m:e-p270: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/tmpud_mf872.c" target datalayout = "e-m:e-p270: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/tmpc6zi9g1t.c' source_filename = "/tmp/tmpc6zi9g1t.c" target datalayout = "e-m:e-p270: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/tmpc6zi9g1t.c" target datalayout = "e-m:e-p270: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/tmpkc3ki2k7.c' source_filename = "/tmp/tmpkc3ki2k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = 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/tmpkc3ki2k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = 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/tmpb4orqy6j.c' source_filename = "/tmp/tmpb4orqy6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb4orqy6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaze89ziy.c' source_filename = "/tmp/tmpaze89ziy.c" target datalayout = "e-m:e-p270: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/tmpaze89ziy.c" target datalayout = "e-m:e-p270: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/tmpz18xjvu5.c' source_filename = "/tmp/tmpz18xjvu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3.1f%c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%-13s \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @df_human(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 %6 = call ptr @malloc(i32 noundef 100) store ptr %6, ptr %3, align 8 store i32 1, ptr %4, align 4 store i8 107, ptr %5, align 1 %7 = load i64, ptr %2, align 8 %8 = icmp ugt i64 %7, 1024 br i1 %8, label %9, label %12 9: ; preds = %1 store i8 77, ptr %5, align 1 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 1024 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %9, %1 %13 = load i64, ptr %2, align 8 %14 = icmp ugt i64 %13, 1048576 br i1 %14, label %15, label %18 15: ; preds = %12 store i8 71, ptr %5, align 1 %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %16, 1024 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %15, %12 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %2, align 8 %21 = uitofp i64 %20 to float %22 = load i32, ptr %4, align 4 %23 = sitofp i32 %22 to float %24 = fdiv float %21, %23 %25 = load i8, ptr %5, align 1 %26 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, float noundef %24, i8 noundef signext %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.1, ptr noundef %27) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz18xjvu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3.1f%c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%-13s \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @df_human(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 %6 = call ptr @malloc(i32 noundef 100) store ptr %6, ptr %3, align 8 store i32 1, ptr %4, align 4 store i8 107, ptr %5, align 1 %7 = load i64, ptr %2, align 8 %8 = icmp ugt i64 %7, 1024 br i1 %8, label %9, label %12 9: ; preds = %1 store i8 77, ptr %5, align 1 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 1024 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %9, %1 %13 = load i64, ptr %2, align 8 %14 = icmp ugt i64 %13, 1048576 br i1 %14, label %15, label %18 15: ; preds = %12 store i8 71, ptr %5, align 1 %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %16, 1024 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %15, %12 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %2, align 8 %21 = uitofp i64 %20 to float %22 = load i32, ptr %4, align 4 %23 = sitofp i32 %22 to float %24 = fdiv float %21, %23 %25 = load i8, ptr %5, align 1 %26 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, float noundef %24, i8 noundef signext %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.1, ptr noundef %27) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9s_ih1kp.c' source_filename = "/tmp/tmp9s_ih1kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"Usage: \0A %s chartable [hashsize] [hashstep] [maxhashlevel]\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EX_USAGE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9s_ih1kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"Usage: \0A %s chartable [hashsize] [hashstep] [maxhashlevel]\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EX_USAGE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3poud3a2.c' source_filename = "/tmp/tmp3poud3a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 br label %4 4: ; preds = %16, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 3 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %16 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %13, %10 br label %4, !llvm.loop !6 17: ; preds = %4 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3poud3a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 3 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %15 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %12, %9 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa17zjo_2.c' source_filename = "/tmp/tmpa17zjo_2.c" target datalayout = "e-m:e-p270: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 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip_comments(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [100 x i8], align 16 store ptr %0, ptr %2, align 8 br label %5 5: ; preds = %16, %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fgetc(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %5 %11 = load i32, ptr %3, align 4 %12 = call i64 @isspace(i32 noundef %11) %13 = icmp ne i64 %12, 0 br label %14 14: ; preds = %10, %5 %15 = phi i1 [ false, %5 ], [ %13, %10 ] br i1 %15, label %16, label %17 16: ; preds = %14 br label %5, !llvm.loop !6 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 35 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %22 = load ptr, ptr %2, align 8 %23 = call i32 @fgets(ptr noundef %21, i32 noundef 100, ptr noundef %22) %24 = load ptr, ptr %2, align 8 call void @skip_comments(ptr noundef %24) br label %29 25: ; preds = %17 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr @SEEK_CUR, align 4 %28 = call i32 @fseek(ptr noundef %26, i32 noundef -1, i32 noundef %27) br label %29 29: ; preds = %25, %20 ret void } declare i32 @fgetc(ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa17zjo_2.c" target datalayout = "e-m:e-p270: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 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip_comments(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [100 x i8], align 16 store ptr %0, ptr %2, align 8 br label %5 5: ; preds = %14, %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fgetc(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %5 %11 = load i32, ptr %3, align 4 %12 = call i64 @isspace(i32 noundef %11) %13 = icmp ne i64 %12, 0 br label %14 14: ; preds = %10, %5 %15 = phi i1 [ false, %5 ], [ %13, %10 ] br i1 %15, label %5, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 35 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 100, ptr noundef %21) %23 = load ptr, ptr %2, align 8 call void @skip_comments(ptr noundef %23) br label %28 24: ; preds = %16 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr @SEEK_CUR, align 4 %27 = call i32 @fseek(ptr noundef %25, i32 noundef -1, i32 noundef %26) br label %28 28: ; preds = %24, %19 ret void } declare i32 @fgetc(ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj8a6suiw.c' source_filename = "/tmp/tmpj8a6suiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fp_join(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 2 store i32 %12, ptr %5, align 4 store ptr null, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = call ptr @mem_zalloc(i32 noundef %13) store ptr %14, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %2 br label %23 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @snprintf(ptr noundef %18, i32 noundef %19, ptr noundef @.str, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %17, %16 %24 = load ptr, ptr %6, align 8 ret ptr %24 } declare i32 @strlen(ptr noundef) #1 declare ptr @mem_zalloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 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/tmpj8a6suiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fp_join(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 2 store i32 %12, ptr %5, align 4 store ptr null, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = call ptr @mem_zalloc(i32 noundef %13) store ptr %14, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %2 br label %23 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @snprintf(ptr noundef %18, i32 noundef %19, ptr noundef @.str, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %17, %16 %24 = load ptr, ptr %6, align 8 ret ptr %24 } declare i32 @strlen(ptr noundef) #1 declare ptr @mem_zalloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 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/tmppzbplmjd.c' source_filename = "/tmp/tmppzbplmjd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"sysio startup\00", align 1 @optind = dso_local global i32 0, align 4 @main.buf = internal global [4096 x i8] zeroinitializer, align 16 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %14 14: ; preds = %23, %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str) store i32 %17, ptr %6, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load i32, ptr %6, align 4 switch i32 %20, label %21 [ ] 21: ; preds = %19 %22 = call i32 (...) @usage() br label %23 23: ; preds = %21 br label %14, !llvm.loop !6 24: ; preds = %14 %25 = call i32 @_test_sysio_startup() store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %24 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 0, %29 store i32 %30, ptr @errno, align 4 %31 = call i32 @perror(ptr noundef @.str.1) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %24 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr @optind, align 4 %36 = sub nsw i32 %34, %35 store i32 %36, ptr %8, align 4 br label %37 37: ; preds = %41, %33 %38 = load i32, ptr @optind, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %50 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr @optind, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr @optind, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 %47 = load ptr, ptr %46, align 8 store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = call i32 @statit(ptr noundef %48) br label %37, !llvm.loop !8 50: ; preds = %37 %51 = load i32, ptr %8, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %77, label %53 53: ; preds = %50 store i32 0, ptr %10, align 4 br label %54 54: ; preds = %70, %53 %55 = load i32, ptr @stdin, align 4 %56 = call ptr @fgets(ptr noundef @main.buf, i32 noundef 4096, i32 noundef %55) %57 = icmp ne ptr %56, null br i1 %57, label %58, label %76 58: ; preds = %54 %59 = call i64 @strlen(ptr noundef @main.buf) store i64 %59, ptr %11, align 8 %60 = load i64, ptr %11, align 8 %61 = getelementptr inbounds i8, ptr @main.buf, i64 %60 %62 = getelementptr inbounds i8, ptr %61, i64 -1 store ptr %62, ptr %12, align 8 %63 = load ptr, ptr %12, align 8 %64 = load i8, ptr %63, align 1 store i8 %64, ptr %13, align 1 %65 = load ptr, ptr %12, align 8 store i8 0, ptr %65, align 1 %66 = load i32, ptr %10, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %70, label %68 68: ; preds = %58 %69 = call i32 @statit(ptr noundef @main.buf) br label %70 70: ; preds = %68, %58 %71 = load i8, ptr %13, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 10 %74 = zext i1 %73 to i64 %75 = select i1 %73, i32 0, i32 1 store i32 %75, ptr %10, align 4 br label %54, !llvm.loop !9 76: ; preds = %54 br label %77 77: ; preds = %76, %50 %78 = call i32 (...) @_test_sysio_shutdown() ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @_test_sysio_startup() #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @statit(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @_test_sysio_shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppzbplmjd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"sysio startup\00", align 1 @optind = dso_local global i32 0, align 4 @main.buf = internal global [4096 x i8] zeroinitializer, align 16 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %6, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %22 %19 = load i32, ptr %6, align 4 switch i32 %19, label %20 [ ] 20: ; preds = %18 %21 = call i32 (...) @usage() br label %22 22: ; preds = %20 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @getopt(i32 noundef %23, ptr noundef %24, ptr noundef @.str) store i32 %25, ptr %6, align 4 %26 = icmp ne i32 %25, -1 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = call i32 @_test_sysio_startup() store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 0, %32 store i32 %33, ptr @errno, align 4 %34 = call i32 @perror(ptr noundef @.str.1) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %27 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr @optind, align 4 %39 = sub nsw i32 %37, %38 store i32 %39, ptr %8, align 4 %40 = load i32, ptr @optind, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %55 .lr.ph2: ; preds = %36 br label %43 43: ; preds = %.lr.ph2, %43 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr @optind, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr @optind, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds ptr, ptr %44, i64 %47 %49 = load ptr, ptr %48, align 8 store ptr %49, ptr %9, align 8 %50 = load ptr, ptr %9, align 8 %51 = call i32 @statit(ptr noundef %50) %52 = load i32, ptr @optind, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %55 55: ; preds = %._crit_edge3, %36 %56 = load i32, ptr %8, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %84, label %58 58: ; preds = %55 store i32 0, ptr %10, align 4 %59 = load i32, ptr @stdin, align 4 %60 = call ptr @fgets(ptr noundef @main.buf, i32 noundef 4096, i32 noundef %59) %61 = icmp ne ptr %60, null br i1 %61, label %.lr.ph5, label %83 .lr.ph5: ; preds = %58 br label %62 62: ; preds = %.lr.ph5, %74 %63 = call i64 @strlen(ptr noundef @main.buf) store i64 %63, ptr %11, align 8 %64 = load i64, ptr %11, align 8 %65 = getelementptr inbounds i8, ptr @main.buf, i64 %64 %66 = getelementptr inbounds i8, ptr %65, i64 -1 store ptr %66, ptr %12, align 8 %67 = load ptr, ptr %12, align 8 %68 = load i8, ptr %67, align 1 store i8 %68, ptr %13, align 1 %69 = load ptr, ptr %12, align 8 store i8 0, ptr %69, align 1 %70 = load i32, ptr %10, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %74, label %72 72: ; preds = %62 %73 = call i32 @statit(ptr noundef @main.buf) br label %74 74: ; preds = %72, %62 %75 = load i8, ptr %13, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 10 %78 = zext i1 %77 to i64 %79 = select i1 %77, i32 0, i32 1 store i32 %79, ptr %10, align 4 %80 = load i32, ptr @stdin, align 4 %81 = call ptr @fgets(ptr noundef @main.buf, i32 noundef 4096, i32 noundef %80) %82 = icmp ne ptr %81, null br i1 %82, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %74 br label %83 83: ; preds = %._crit_edge6, %58 br label %84 84: ; preds = %83, %55 %85 = call i32 (...) @_test_sysio_shutdown() ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @_test_sysio_startup() #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @statit(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @_test_sysio_shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpy9tztq2y.c' source_filename = "/tmp/tmpy9tztq2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT16_MAX = dso_local global i64 0, align 8 @INT16_MIN = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9tztq2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT16_MAX = dso_local global i64 0, align 8 @INT16_MIN = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl4bcwyyf.c' source_filename = "/tmp/tmpl4bcwyyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-b\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"cannot open /dev/mem\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [20 x i8] c"cannot mmap region\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"%08x: %08x\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"%08x: %04x\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"%08x: %02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @r_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 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 4, ptr %6, align 4 store i32 0, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (...) @usage() store i32 %18, ptr %3, align 4 br label %148 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 i32 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %19 store i32 1, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i32 1 store ptr %29, ptr %5, align 8 br label %42 30: ; preds = %19 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.1) %35 = icmp ne i32 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %30 store i32 2, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i32 1 store ptr %40, ptr %5, align 8 br label %41 41: ; preds = %36, %30 br label %42 42: ; preds = %41, %25 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %43, 2 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = call i32 (...) @usage() store i32 %46, ptr %3, align 4 br label %148 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 @strtoul(ptr noundef %50, i32 noundef 0, i32 noundef 16) store i32 %51, ptr %9, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp sgt i32 %52, 2 br i1 %53, label %54, label %59 54: ; preds = %47 store i32 1, ptr %7, align 4 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i32 @strtoul(ptr noundef %57, i32 noundef 0, i32 noundef 16) store i32 %58, ptr %10, align 4 br label %59 59: ; preds = %54, %47 %60 = load i32, ptr @O_RDWR, align 4 %61 = load i32, ptr @O_SYNC, align 4 %62 = or i32 %60, %61 %63 = call i32 @open(ptr noundef @.str.2, i32 noundef %62) store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp slt i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %59 %67 = load i32, ptr @stderr, align 4 %68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %148 69: ; preds = %59 %70 = load i32, ptr @PROT_READ, align 4 %71 = load i32, ptr @PROT_WRITE, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @MAP_SHARED, align 4 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = and i32 %75, -4096 %77 = call ptr @mmap(i32 noundef 0, i32 noundef 8192, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %76) store ptr %77, ptr %11, align 8 %78 = load ptr, ptr %11, align 8 %79 = load ptr, ptr @MAP_FAILED, align 8 %80 = icmp eq ptr %78, %79 br i1 %80, label %81, label %84 81: ; preds = %69 %82 = load i32, ptr @stderr, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %148 84: ; preds = %69 %85 = load i32, ptr %6, align 4 switch i32 %85, label %147 [ i32 4, label %86 i32 2, label %105 i32 1, label %126 ] 86: ; preds = %84 %87 = load ptr, ptr %11, align 8 %88 = ptrtoint ptr %87 to i32 %89 = load i32, ptr %9, align 4 %90 = and i32 %89, 4095 %91 = add i32 %88, %90 %92 = zext i32 %91 to i64 %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %12, align 8 %94 = load i32, ptr %7, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %99 96: ; preds = %86 %97 = load i32, ptr %10, align 4 %98 = load ptr, ptr %12, align 8 store i32 %97, ptr %98, align 4 br label %99 99: ; preds = %96, %86 %100 = load i32, ptr @stderr, align 4 %101 = load i32, ptr %9, align 4 %102 = load ptr, ptr %12, align 8 %103 = load i32, ptr %102, align 4 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.5, i32 noundef %101, i32 noundef %103) br label %147 105: ; preds = %84 %106 = load ptr, ptr %11, align 8 %107 = ptrtoint ptr %106 to i32 %108 = load i32, ptr %9, align 4 %109 = and i32 %108, 4095 %110 = add i32 %107, %109 %111 = zext i32 %110 to i64 %112 = inttoptr i64 %111 to ptr store ptr %112, ptr %13, align 8 %113 = load i32, ptr %7, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %119 115: ; preds = %105 %116 = load i32, ptr %10, align 4 %117 = trunc i32 %116 to i16 %118 = load ptr, ptr %13, align 8 store i16 %117, ptr %118, align 2 br label %119 119: ; preds = %115, %105 %120 = load i32, ptr @stderr, align 4 %121 = load i32, ptr %9, align 4 %122 = load ptr, ptr %13, align 8 %123 = load i16, ptr %122, align 2 %124 = zext i16 %123 to i32 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.6, i32 noundef %121, i32 noundef %124) br label %147 126: ; preds = %84 %127 = load ptr, ptr %11, align 8 %128 = ptrtoint ptr %127 to i32 %129 = load i32, ptr %9, align 4 %130 = and i32 %129, 4095 %131 = add i32 %128, %130 %132 = zext i32 %131 to i64 %133 = inttoptr i64 %132 to ptr store ptr %133, ptr %14, align 8 %134 = load i32, ptr %7, align 4 %135 = icmp ne i32 %134, 0 br i1 %135, label %136, label %140 136: ; preds = %126 %137 = load i32, ptr %10, align 4 %138 = trunc i32 %137 to i8 %139 = load ptr, ptr %14, align 8 store i8 %138, ptr %139, align 1 br label %140 140: ; preds = %136, %126 %141 = load i32, ptr @stderr, align 4 %142 = load i32, ptr %9, align 4 %143 = load ptr, ptr %14, align 8 %144 = load i8, ptr %143, align 1 %145 = zext i8 %144 to i32 %146 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.7, i32 noundef %142, i32 noundef %145) br label %147 147: ; preds = %84, %140, %119, %99 store i32 0, ptr %3, align 4 br label %148 148: ; preds = %147, %81, %66, %45, %17 %149 = load i32, ptr %3, align 4 ret i32 %149 } declare i32 @usage(...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl4bcwyyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-b\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"cannot open /dev/mem\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [20 x i8] c"cannot mmap region\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"%08x: %08x\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"%08x: %04x\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"%08x: %02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @r_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 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 4, ptr %6, align 4 store i32 0, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (...) @usage() store i32 %18, ptr %3, align 4 br label %148 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 i32 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %19 store i32 1, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i32 1 store ptr %29, ptr %5, align 8 br label %42 30: ; preds = %19 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.1) %35 = icmp ne i32 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %30 store i32 2, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i32 1 store ptr %40, ptr %5, align 8 br label %41 41: ; preds = %36, %30 br label %42 42: ; preds = %41, %25 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %43, 2 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = call i32 (...) @usage() store i32 %46, ptr %3, align 4 br label %148 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 @strtoul(ptr noundef %50, i32 noundef 0, i32 noundef 16) store i32 %51, ptr %9, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp sgt i32 %52, 2 br i1 %53, label %54, label %59 54: ; preds = %47 store i32 1, ptr %7, align 4 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i32 @strtoul(ptr noundef %57, i32 noundef 0, i32 noundef 16) store i32 %58, ptr %10, align 4 br label %59 59: ; preds = %54, %47 %60 = load i32, ptr @O_RDWR, align 4 %61 = load i32, ptr @O_SYNC, align 4 %62 = or i32 %60, %61 %63 = call i32 @open(ptr noundef @.str.2, i32 noundef %62) store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp slt i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %59 %67 = load i32, ptr @stderr, align 4 %68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %148 69: ; preds = %59 %70 = load i32, ptr @PROT_READ, align 4 %71 = load i32, ptr @PROT_WRITE, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @MAP_SHARED, align 4 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = and i32 %75, -4096 %77 = call ptr @mmap(i32 noundef 0, i32 noundef 8192, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %76) store ptr %77, ptr %11, align 8 %78 = load ptr, ptr %11, align 8 %79 = load ptr, ptr @MAP_FAILED, align 8 %80 = icmp eq ptr %78, %79 br i1 %80, label %81, label %84 81: ; preds = %69 %82 = load i32, ptr @stderr, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %148 84: ; preds = %69 %85 = load i32, ptr %6, align 4 switch i32 %85, label %147 [ i32 4, label %86 i32 2, label %105 i32 1, label %126 ] 86: ; preds = %84 %87 = load ptr, ptr %11, align 8 %88 = ptrtoint ptr %87 to i32 %89 = load i32, ptr %9, align 4 %90 = and i32 %89, 4095 %91 = add i32 %88, %90 %92 = zext i32 %91 to i64 %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %12, align 8 %94 = load i32, ptr %7, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %99 96: ; preds = %86 %97 = load i32, ptr %10, align 4 %98 = load ptr, ptr %12, align 8 store i32 %97, ptr %98, align 4 br label %99 99: ; preds = %96, %86 %100 = load i32, ptr @stderr, align 4 %101 = load i32, ptr %9, align 4 %102 = load ptr, ptr %12, align 8 %103 = load i32, ptr %102, align 4 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.5, i32 noundef %101, i32 noundef %103) br label %147 105: ; preds = %84 %106 = load ptr, ptr %11, align 8 %107 = ptrtoint ptr %106 to i32 %108 = load i32, ptr %9, align 4 %109 = and i32 %108, 4095 %110 = add i32 %107, %109 %111 = zext i32 %110 to i64 %112 = inttoptr i64 %111 to ptr store ptr %112, ptr %13, align 8 %113 = load i32, ptr %7, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %119 115: ; preds = %105 %116 = load i32, ptr %10, align 4 %117 = trunc i32 %116 to i16 %118 = load ptr, ptr %13, align 8 store i16 %117, ptr %118, align 2 br label %119 119: ; preds = %115, %105 %120 = load i32, ptr @stderr, align 4 %121 = load i32, ptr %9, align 4 %122 = load ptr, ptr %13, align 8 %123 = load i16, ptr %122, align 2 %124 = zext i16 %123 to i32 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.6, i32 noundef %121, i32 noundef %124) br label %147 126: ; preds = %84 %127 = load ptr, ptr %11, align 8 %128 = ptrtoint ptr %127 to i32 %129 = load i32, ptr %9, align 4 %130 = and i32 %129, 4095 %131 = add i32 %128, %130 %132 = zext i32 %131 to i64 %133 = inttoptr i64 %132 to ptr store ptr %133, ptr %14, align 8 %134 = load i32, ptr %7, align 4 %135 = icmp ne i32 %134, 0 br i1 %135, label %136, label %140 136: ; preds = %126 %137 = load i32, ptr %10, align 4 %138 = trunc i32 %137 to i8 %139 = load ptr, ptr %14, align 8 store i8 %138, ptr %139, align 1 br label %140 140: ; preds = %136, %126 %141 = load i32, ptr @stderr, align 4 %142 = load i32, ptr %9, align 4 %143 = load ptr, ptr %14, align 8 %144 = load i8, ptr %143, align 1 %145 = zext i8 %144 to i32 %146 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.7, i32 noundef %142, i32 noundef %145) br label %147 147: ; preds = %140, %119, %99, %84 store i32 0, ptr %3, align 4 br label %148 148: ; preds = %147, %81, %66, %45, %17 %149 = load i32, ptr %3, align 4 ret i32 %149 } declare i32 @usage(...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptdxinark.c' source_filename = "/tmp/tmptdxinark.c" target datalayout = "e-m:e-p270: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.spi_ioc_transfer = type { i64, i32, i32, i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SPI_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.spi_ioc_transfer, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @SPI_getBitsPerWord(i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = load i32, ptr %8, align 4 store i32 %16, ptr %4, align 4 br label %56 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %7, align 4 %20 = mul nsw i32 %18, %19 %21 = sitofp i32 %20 to float %22 = fpext float %21 to double %23 = fdiv double %22, 8.000000e+00 %24 = fadd double %23, 5.000000e-01 %25 = fptosi double %24 to i32 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %17 store i32 0, ptr %4, align 4 br label %56 29: ; preds = %17 %30 = load i32, ptr %9, align 4 %31 = icmp sgt i32 %30, 4096 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 4096, ptr %9, align 4 br label %33 33: ; preds = %32, %29 %34 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 48) %35 = load ptr, ptr %6, align 8 %36 = ptrtoint ptr %35 to i64 %37 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 0 store i64 %36, ptr %37, align 8 %38 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 6 store i64 0, ptr %38, align 8 %39 = load i32, ptr %9, align 4 %40 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 1 store i32 %39, ptr %40, align 8 %41 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 5 store i64 0, ptr %41, align 8 %42 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 4 store i64 0, ptr %42, align 8 %43 = load i32, ptr %8, align 4 %44 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 2 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 3 store i64 0, ptr %45, align 8 %46 = load i32, ptr %5, align 4 %47 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1) %48 = call i64 @ioctl(i32 noundef %46, i32 noundef %47, ptr noundef %10) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %33 store i32 -1, ptr %4, align 4 br label %56 51: ; preds = %33 %52 = load i32, ptr %9, align 4 %53 = shl i32 %52, 3 %54 = load i32, ptr %8, align 4 %55 = sdiv i32 %53, %54 store i32 %55, ptr %4, align 4 br label %56 56: ; preds = %51, %50, %28, %15 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @SPI_getBitsPerWord(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @SPI_IOC_MESSAGE(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/tmptdxinark.c" target datalayout = "e-m:e-p270: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.spi_ioc_transfer = type { i64, i32, i32, i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SPI_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.spi_ioc_transfer, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @SPI_getBitsPerWord(i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = load i32, ptr %8, align 4 store i32 %16, ptr %4, align 4 br label %56 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %7, align 4 %20 = mul nsw i32 %18, %19 %21 = sitofp i32 %20 to float %22 = fpext float %21 to double %23 = fdiv double %22, 8.000000e+00 %24 = fadd double %23, 5.000000e-01 %25 = fptosi double %24 to i32 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %17 store i32 0, ptr %4, align 4 br label %56 29: ; preds = %17 %30 = load i32, ptr %9, align 4 %31 = icmp sgt i32 %30, 4096 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 4096, ptr %9, align 4 br label %33 33: ; preds = %32, %29 %34 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 48) %35 = load ptr, ptr %6, align 8 %36 = ptrtoint ptr %35 to i64 %37 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 0 store i64 %36, ptr %37, align 8 %38 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 6 store i64 0, ptr %38, align 8 %39 = load i32, ptr %9, align 4 %40 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 1 store i32 %39, ptr %40, align 8 %41 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 5 store i64 0, ptr %41, align 8 %42 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 4 store i64 0, ptr %42, align 8 %43 = load i32, ptr %8, align 4 %44 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 2 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %10, i32 0, i32 3 store i64 0, ptr %45, align 8 %46 = load i32, ptr %5, align 4 %47 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1) %48 = call i64 @ioctl(i32 noundef %46, i32 noundef %47, ptr noundef %10) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %33 store i32 -1, ptr %4, align 4 br label %56 51: ; preds = %33 %52 = load i32, ptr %9, align 4 %53 = shl i32 %52, 3 %54 = load i32, ptr %8, align 4 %55 = sdiv i32 %53, %54 store i32 %55, ptr %4, align 4 br label %56 56: ; preds = %51, %50, %28, %15 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @SPI_getBitsPerWord(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @SPI_IOC_MESSAGE(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/tmpx28yahwt.c' source_filename = "/tmp/tmpx28yahwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_close(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 = ptrtoint ptr %4 to i64 %6 = trunc i64 %5 to i32 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @close(i32 noundef %7) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx28yahwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_close(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 = ptrtoint ptr %4 to i64 %6 = trunc i64 %5 to i32 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @close(i32 noundef %7) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpalhq369q.c' source_filename = "/tmp/tmpalhq369q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%i,\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"16386,\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lolfac_compile(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i16, align 2 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = call ptr @malloc(i32 noundef 200) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 0, ptr %15, align 1 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %67, label %18 18: ; preds = %2 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %57, %18 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 9 br i1 %21, label %22, label %60 22: ; preds = %19 store i16 0, ptr %8, align 2 store i32 0, ptr %9, align 4 br label %23 23: ; preds = %44, %22 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 14 br i1 %25, label %26, label %47 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = and i32 %36, 1 %38 = load i32, ptr %9, align 4 %39 = shl i32 %37, %38 %40 = load i16, ptr %8, align 2 %41 = sext i16 %40 to i32 %42 = or i32 %41, %39 %43 = trunc i32 %42 to i16 store i16 %43, ptr %8, align 2 br label %44 44: ; preds = %26 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %23, !llvm.loop !6 47: ; preds = %23 %48 = load ptr, ptr %6, align 8 %49 = load i16, ptr %8, align 2 %50 = sext i16 %49 to i32 %51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %5, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store ptr %56, ptr %6, align 8 br label %57 57: ; preds = %47 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %19, !llvm.loop !8 60: ; preds = %19 %61 = load ptr, ptr %5, align 8 %62 = load ptr, ptr %5, align 8 %63 = call i32 @strlen(ptr noundef %62) %64 = sub nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %61, i64 %65 store i8 0, ptr %66, align 1 br label %109 67: ; preds = %2 %68 = load ptr, ptr %6, align 8 %69 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %68, ptr noundef @.str.1) %70 = load ptr, ptr %5, align 8 %71 = load ptr, ptr %5, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 store ptr %74, ptr %6, align 8 store i32 0, ptr %10, align 4 br label %75 75: ; preds = %105, %67 %76 = load i32, ptr %10, align 4 %77 = icmp slt i32 %76, 9 br i1 %77, label %78, label %108 78: ; preds = %75 store i32 0, ptr %11, align 4 br label %79 79: ; preds = %101, %78 %80 = load i32, ptr %11, align 4 %81 = icmp slt i32 %80, 14 br i1 %81, label %82, label %104 82: ; preds = %79 %83 = load ptr, ptr %6, align 8 %84 = load ptr, ptr %3, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = load i32, ptr %11, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = add nsw i32 %93, 48 %95 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %83, ptr noundef @.str.2, i32 noundef %94) %96 = load ptr, ptr %5, align 8 %97 = load ptr, ptr %5, align 8 %98 = call i32 @strlen(ptr noundef %97) %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %96, i64 %99 store ptr %100, ptr %6, align 8 br label %101 101: ; preds = %82 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %11, align 4 br label %79, !llvm.loop !9 104: ; preds = %79 br label %105 105: ; preds = %104 %106 = load i32, ptr %10, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %10, align 4 br label %75, !llvm.loop !10 108: ; preds = %75 br label %109 109: ; preds = %108, %60 %110 = load ptr, ptr %5, align 8 ret ptr %110 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalhq369q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%i,\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"16386,\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lolfac_compile(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i16, align 2 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = call ptr @malloc(i32 noundef 200) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 0, ptr %15, align 1 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %69, label %18 18: ; preds = %2 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 9 br i1 %20, label %.lr.ph2, label %62 .lr.ph2: ; preds = %18 br label %21 21: ; preds = %.lr.ph2, %57 store i16 0, ptr %8, align 2 store i32 0, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 14 br i1 %23, label %.lr.ph, label %47 .lr.ph: ; preds = %21 br label %24 24: ; preds = %.lr.ph, %42 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %9, 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 = and i32 %34, 1 %36 = load i32, ptr %9, align 4 %37 = shl i32 %35, %36 %38 = load i16, ptr %8, align 2 %39 = sext i16 %38 to i32 %40 = or i32 %39, %37 %41 = trunc i32 %40 to i16 store i16 %41, ptr %8, align 2 br label %42 42: ; preds = %24 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp slt i32 %45, 14 br i1 %46, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %21 %48 = load ptr, ptr %6, align 8 %49 = load i16, ptr %8, align 2 %50 = sext i16 %49 to i32 %51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %5, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store ptr %56, ptr %6, align 8 br label %57 57: ; preds = %47 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %60, 9 br i1 %61, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %62 62: ; preds = %._crit_edge3, %18 %63 = load ptr, ptr %5, align 8 %64 = load ptr, ptr %5, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %63, i64 %67 store i8 0, ptr %68, align 1 br label %113 69: ; preds = %2 %70 = load ptr, ptr %6, align 8 %71 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.1) %72 = load ptr, ptr %5, align 8 %73 = load ptr, ptr %5, align 8 %74 = call i32 @strlen(ptr noundef %73) %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %72, i64 %75 store ptr %76, ptr %6, align 8 store i32 0, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %77, 9 br i1 %78, label %.lr.ph8, label %112 .lr.ph8: ; preds = %69 br label %79 79: ; preds = %.lr.ph8, %107 store i32 0, ptr %11, align 4 %80 = load i32, ptr %11, align 4 %81 = icmp slt i32 %80, 14 br i1 %81, label %.lr.ph5, label %106 .lr.ph5: ; preds = %79 br label %82 82: ; preds = %.lr.ph5, %101 %83 = load ptr, ptr %6, align 8 %84 = load ptr, ptr %3, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = load i32, ptr %11, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = add nsw i32 %93, 48 %95 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %83, ptr noundef @.str.2, i32 noundef %94) %96 = load ptr, ptr %5, align 8 %97 = load ptr, ptr %5, align 8 %98 = call i32 @strlen(ptr noundef %97) %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %96, i64 %99 store ptr %100, ptr %6, align 8 br label %101 101: ; preds = %82 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %11, align 4 %104 = load i32, ptr %11, align 4 %105 = icmp slt i32 %104, 14 br i1 %105, label %82, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %101 br label %106 106: ; preds = %._crit_edge6, %79 br label %107 107: ; preds = %106 %108 = load i32, ptr %10, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %10, align 4 %110 = load i32, ptr %10, align 4 %111 = icmp slt i32 %110, 9 br i1 %111, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %107 br label %112 112: ; preds = %._crit_edge9, %69 br label %113 113: ; preds = %112, %62 %114 = load ptr, ptr %5, align 8 ret ptr %114 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpwx5r_ssv.c' source_filename = "/tmp/tmpwx5r_ssv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Failed to read the private key\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_private_key(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %2 %12 = load ptr, ptr %7, align 8 %13 = call ptr @PEM_read_PrivateKey(ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %13, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %11, %2 %16 = call i32 @printf(ptr noundef @.str.1) %17 = load ptr, ptr %7, align 8 %18 = call i32 @fclose(ptr noundef %17) store i32 0, ptr %3, align 4 br label %24 19: ; preds = %11 %20 = load ptr, ptr %7, align 8 %21 = call i32 @fclose(ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 store ptr %22, ptr %23, align 8 store i32 1, ptr %3, align 4 br label %24 24: ; preds = %19, %15 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @PEM_read_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwx5r_ssv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Failed to read the private key\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_private_key(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %2 %12 = load ptr, ptr %7, align 8 %13 = call ptr @PEM_read_PrivateKey(ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %13, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %11, %2 %16 = call i32 @printf(ptr noundef @.str.1) %17 = load ptr, ptr %7, align 8 %18 = call i32 @fclose(ptr noundef %17) store i32 0, ptr %3, align 4 br label %24 19: ; preds = %11 %20 = load ptr, ptr %7, align 8 %21 = call i32 @fclose(ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 store ptr %22, ptr %23, align 8 store i32 1, ptr %3, align 4 br label %24 24: ; preds = %19, %15 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @PEM_read_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps7a67fgb.c' source_filename = "/tmp/tmps7a67fgb.c" target datalayout = "e-m:e-p270: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/tmps7a67fgb.c" target datalayout = "e-m:e-p270: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/tmp7gaqibqm.c' source_filename = "/tmp/tmp7gaqibqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_calloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @calloc(i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gaqibqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_calloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @calloc(i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp39j71ug0.c' source_filename = "/tmp/tmp39j71ug0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 store i32 2, ptr %3, align 4 br label %5 5: ; preds = %17, %1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 2 %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %20 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = srem i32 %11, %12 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %10 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %15, %10 br label %17 17: ; preds = %16 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %5, !llvm.loop !6 20: ; preds = %5 %21 = load i32, ptr %4, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp39j71ug0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = sdiv i32 %6, 2 %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %10, %11 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %14, %9 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = sdiv i32 %20, 2 %22 = icmp slt i32 %19, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %4, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_nmps37k.c' source_filename = "/tmp/tmp_nmps37k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_nmps37k.c" target datalayout = "e-m:e-p270: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/tmpp0liub9_.c' source_filename = "/tmp/tmpp0liub9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printhex(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %8, label %27 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 15 %11 = load i32, ptr %2, align 4 %12 = and i32 %11, 15 %13 = icmp slt i32 %12, 10 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 48, i32 87 %16 = add nsw i32 %10, %15 %17 = trunc i32 %16 to i8 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 15, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %20 store i8 %17, ptr %21, align 1 %22 = load i32, ptr %2, align 4 %23 = ashr i32 %22, 4 store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %8 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %5, !llvm.loop !6 27: ; preds = %5 %28 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 16 store i8 0, ptr %28, align 16 %29 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @printstr(ptr noundef %29) ret void } declare i32 @printstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpp0liub9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printhex(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %23 %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 15 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 15 %12 = icmp slt i32 %11, 10 %13 = zext i1 %12 to i64 %14 = select i1 %12, i32 48, i32 87 %15 = add nsw i32 %9, %14 %16 = trunc i32 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 15, %17 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %19 store i8 %16, ptr %20, align 1 %21 = load i32, ptr %2, align 4 %22 = ashr i32 %21, 4 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %7 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %26, 16 br i1 %27, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %1 %29 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 16 store i8 0, ptr %29, align 16 %30 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %31 = call i32 @printstr(ptr noundef %30) ret void } declare i32 @printstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp22nw5i66.c' source_filename = "/tmp/tmp22nw5i66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myStrcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br label %11 11: ; preds = %8, %2 %12 = phi i1 [ false, %2 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %5, align 8 br label %16 16: ; preds = %21, %11 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load i8, ptr %22, align 1 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 store i8 %24, ptr %25, align 1 br label %16, !llvm.loop !6 27: ; preds = %16 %28 = load ptr, ptr %3, align 8 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %5, align 8 ret ptr %29 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp22nw5i66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myStrcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br label %11 11: ; preds = %8, %2 %12 = phi i1 [ false, %2 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %.lr.ph, label %30 .lr.ph: ; preds = %11 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 store i8 %23, ptr %24, align 1 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %30 30: ; preds = %._crit_edge, %11 %31 = load ptr, ptr %3, align 8 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %5, align 8 ret ptr %32 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_38d9mvw.c' source_filename = "/tmp/tmp_38d9mvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_hashes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @memcmp(ptr noundef %6, ptr noundef %7, i32 noundef 20) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i64 @memcmp(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/tmp_38d9mvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_hashes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @memcmp(ptr noundef %6, ptr noundef %7, i32 noundef 20) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_c6wtyeh.c' source_filename = "/tmp/tmp_c6wtyeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_glp_lib_print_hook(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @_glp_lib_term_hook(ptr noundef %7, ptr noundef %8) ret void } declare i32 @_glp_lib_term_hook(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_c6wtyeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_glp_lib_print_hook(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @_glp_lib_term_hook(ptr noundef %7, ptr noundef %8) ret void } declare i32 @_glp_lib_term_hook(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/tmp5yi9b321.c' source_filename = "/tmp/tmp5yi9b321.c" target datalayout = "e-m:e-p270: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/tmp5yi9b321.c" target datalayout = "e-m:e-p270: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/tmpz_o49b6q.c' source_filename = "/tmp/tmpz_o49b6q.c" target datalayout = "e-m:e-p270: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/tmpz_o49b6q.c" target datalayout = "e-m:e-p270: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/tmpztyi7vrw.c' source_filename = "/tmp/tmpztyi7vrw.c" target datalayout = "e-m:e-p270: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/tmpztyi7vrw.c" target datalayout = "e-m:e-p270: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/tmp51ll4494.c' source_filename = "/tmp/tmp51ll4494.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'Your bag is empty!'\0AThe black priestess disappears!\0A\00", align 1 @.str.1 = private unnamed_addr constant [89 x i8] c"'I'm sorry, but I have to take your Bracelet of Armok.'\0AThe black priestess disappears!\0A\00", align 1 @.str.2 = private unnamed_addr constant [89 x i8] c"'I'm sorry, but I have to take your Scepter of Leynos.'\0AThe black priestess disappears!\0A\00", align 1 @.str.3 = private unnamed_addr constant [84 x i8] c"'I'm sorry, but I have to take your Ruby of Gaza.'\0AThe black priestess disappears!\0A\00", align 1 @.str.4 = private unnamed_addr constant [84 x i8] c"'I'm sorry, but I have to take your Bag of Meres.'\0AThe black priestess disappears!\0A\00", align 1 @.str.5 = private unnamed_addr constant [74 x i8] c"'I'm sorry, but I have to take your %s.'\0AThe black priestess disappears!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @removeleast(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 i32, align 4 %10 = alloca [20 x i8], align 16 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 %11 = load ptr, ptr %8, align 8 %12 = call i32 @checkpositiveinv(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %65, label %14 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = call i32 @checkpositiveace(ptr noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %81 20: ; preds = %14 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 %23 = load i32, ptr %22, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 3 store i32 0, ptr %27, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %81 29: ; preds = %20 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 2 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %38 34: ; preds = %29 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 2 store i32 0, ptr %36, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %81 38: ; preds = %29 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load ptr, ptr %7, align 8 store i32 0, ptr %43, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %45, align 4 %47 = sub nsw i32 %46, 5 %48 = load ptr, ptr %5, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %51, align 4 %53 = call i32 @min(i32 noundef %50, i32 noundef %52) %54 = load ptr, ptr %6, align 8 store i32 %53, ptr %54, align 4 br label %81 55: ; preds = %38 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 1 %58 = load i32, ptr %57, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 1 store i32 0, ptr %62, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %81 64: ; preds = %55 br label %65 65: ; preds = %64, %4 %66 = load ptr, ptr %8, align 8 %67 = call i32 @leastvalueinv(ptr noundef %66) store i32 %67, ptr %9, align 4 %68 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = call i32 @nameitem(ptr noundef %68, i32 noundef %73) %75 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %75) %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 store i32 0, ptr %80, align 4 br label %81 81: ; preds = %65, %60, %42, %34, %25, %18 ret void } declare i32 @checkpositiveinv(ptr noundef) #1 declare i32 @checkpositiveace(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @leastvalueinv(ptr noundef) #1 declare i32 @nameitem(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/tmp51ll4494.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'Your bag is empty!'\0AThe black priestess disappears!\0A\00", align 1 @.str.1 = private unnamed_addr constant [89 x i8] c"'I'm sorry, but I have to take your Bracelet of Armok.'\0AThe black priestess disappears!\0A\00", align 1 @.str.2 = private unnamed_addr constant [89 x i8] c"'I'm sorry, but I have to take your Scepter of Leynos.'\0AThe black priestess disappears!\0A\00", align 1 @.str.3 = private unnamed_addr constant [84 x i8] c"'I'm sorry, but I have to take your Ruby of Gaza.'\0AThe black priestess disappears!\0A\00", align 1 @.str.4 = private unnamed_addr constant [84 x i8] c"'I'm sorry, but I have to take your Bag of Meres.'\0AThe black priestess disappears!\0A\00", align 1 @.str.5 = private unnamed_addr constant [74 x i8] c"'I'm sorry, but I have to take your %s.'\0AThe black priestess disappears!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @removeleast(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 i32, align 4 %10 = alloca [20 x i8], align 16 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 %11 = load ptr, ptr %8, align 8 %12 = call i32 @checkpositiveinv(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %65, label %14 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = call i32 @checkpositiveace(ptr noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %81 20: ; preds = %14 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 %23 = load i32, ptr %22, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 3 store i32 0, ptr %27, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %81 29: ; preds = %20 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 2 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %38 34: ; preds = %29 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 2 store i32 0, ptr %36, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %81 38: ; preds = %29 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load ptr, ptr %7, align 8 store i32 0, ptr %43, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %45, align 4 %47 = sub nsw i32 %46, 5 %48 = load ptr, ptr %5, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %51, align 4 %53 = call i32 @min(i32 noundef %50, i32 noundef %52) %54 = load ptr, ptr %6, align 8 store i32 %53, ptr %54, align 4 br label %81 55: ; preds = %38 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 1 %58 = load i32, ptr %57, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 1 store i32 0, ptr %62, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %81 64: ; preds = %55 br label %65 65: ; preds = %64, %4 %66 = load ptr, ptr %8, align 8 %67 = call i32 @leastvalueinv(ptr noundef %66) store i32 %67, ptr %9, align 4 %68 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = call i32 @nameitem(ptr noundef %68, i32 noundef %73) %75 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %75) %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 store i32 0, ptr %80, align 4 br label %81 81: ; preds = %65, %60, %42, %34, %25, %18 ret void } declare i32 @checkpositiveinv(ptr noundef) #1 declare i32 @checkpositiveace(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @leastvalueinv(ptr noundef) #1 declare i32 @nameitem(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/tmpbtjau9o7.c' source_filename = "/tmp/tmpbtjau9o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgn_get() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 -1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @cgn_memory(i32 noundef %3, ptr noundef %1) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @cgn_memory(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/tmpbtjau9o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgn_get() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 -1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @cgn_memory(i32 noundef %3, ptr noundef %1) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @cgn_memory(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/tmpohzwnm2g.c' source_filename = "/tmp/tmpohzwnm2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Bad username. It is much too long! Username follows:\0A%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"Bad username. It is not alphanumeric. Username follows:\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_valid_username(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp ult i32 64, %6 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10) store i32 0, ptr %2, align 4 br label %35 12: ; preds = %1 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %31, %12 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp ult i32 %14, %16 br i1 %17, label %18, label %34 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = call i32 @isalnum(i8 noundef signext %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %18 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %3, align 8 %29 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, ptr noundef %28) store i32 0, ptr %2, align 4 br label %35 30: ; preds = %18 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %4, align 4 br label %13, !llvm.loop !6 34: ; preds = %13 store i32 1, ptr %2, align 4 br label %35 35: ; preds = %34, %26, %8 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpohzwnm2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Bad username. It is much too long! Username follows:\0A%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"Bad username. It is not alphanumeric. Username follows:\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_valid_username(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp ult i32 64, %6 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10) store i32 0, ptr %2, align 4 br label %38 12: ; preds = %1 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = icmp ult i32 %13, %15 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %30 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i32 @isalnum(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %17 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %3, align 8 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27) store i32 0, ptr %2, align 4 br label %38 29: ; preds = %17 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = icmp ult i32 %33, %35 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %12 store i32 1, ptr %2, align 4 br label %38 38: ; preds = %37, %25, %8 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqlcygfn5.c' source_filename = "/tmp/tmpqlcygfn5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @lace_builtin_cmp_main(i32 noundef %6, ptr noundef %7, ptr noundef null, ptr noundef null) ret i32 %8 } declare i32 @lace_builtin_cmp_main(i32 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/tmpqlcygfn5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @lace_builtin_cmp_main(i32 noundef %6, ptr noundef %7, ptr noundef null, ptr noundef null) ret i32 %8 } declare i32 @lace_builtin_cmp_main(i32 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/tmptqox8c49.c' source_filename = "/tmp/tmptqox8c49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = call ptr @get_chararray(i32 noundef %15) store ptr %16, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %31, %2 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %8, align 4 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 store i8 %23, ptr %28, align 1 %29 = sext i8 %23 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %17 br label %17, !llvm.loop !6 32: ; preds = %17 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %35 35: ; preds = %49, %32 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 %41, ptr %46, align 1 %47 = sext i8 %41 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %35 br label %35, !llvm.loop !8 50: ; preds = %35 %51 = load ptr, ptr %6, align 8 ret ptr %51 } declare i32 @strlen(ptr noundef) #1 declare ptr @get_chararray(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/tmptqox8c49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = call ptr @get_chararray(i32 noundef %15) store ptr %16, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %17, %2 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %8, align 4 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 store i8 %23, ptr %28, align 1 %29 = sext i8 %23 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %17, label %31, !llvm.loop !6 31: ; preds = %17 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %34 34: ; preds = %34, %31 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 %40, ptr %45, align 1 %46 = sext i8 %40 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %34, label %48, !llvm.loop !8 48: ; preds = %34 %49 = load ptr, ptr %6, align 8 ret ptr %49 } declare i32 @strlen(ptr noundef) #1 declare ptr @get_chararray(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/tmp9yiblnq7.c' source_filename = "/tmp/tmp9yiblnq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @save_first_info_screen() %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 %5 } declare i32 @save_first_info_screen(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9yiblnq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @save_first_info_screen() %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 %5 } declare i32 @save_first_info_screen(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxdupx2k8.c' source_filename = "/tmp/tmpxdupx2k8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_zero_arr_inplace_plus_post_float_fn(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call ptr @_zero_arr_plus_float_fn(ptr noundef %12, i32 noundef 1, i32 noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %9, align 8 ret ptr %18 } declare ptr @_zero_arr_plus_float_fn(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdupx2k8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_zero_arr_inplace_plus_post_float_fn(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call ptr @_zero_arr_plus_float_fn(ptr noundef %12, i32 noundef 1, i32 noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %9, align 8 ret ptr %18 } declare ptr @_zero_arr_plus_float_fn(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7yskm17o.c' source_filename = "/tmp/tmp7yskm17o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"alaw\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ulaw\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"g723\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"g726-16\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"g726-24\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"g726-40\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"g726\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"g729\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"gsm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @libamg_sip_get_codec_code(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strlen(ptr noundef @.str) %6 = call i32 @strncmp(ptr noundef %4, ptr noundef @.str, i32 noundef %5) %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 256, ptr %2, align 4 br label %58 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef @.str.1) %12 = call i32 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %9 store i32 128, ptr %2, align 4 br label %58 15: ; preds = %9 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef @.str.2) %18 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.2, i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15 store i32 64, ptr %2, align 4 br label %58 21: ; preds = %15 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strlen(ptr noundef @.str.3) %24 = call i32 @strncmp(ptr noundef %22, ptr noundef @.str.3, i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 32, ptr %2, align 4 br label %58 27: ; preds = %21 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef @.str.4) %30 = call i32 @strncmp(ptr noundef %28, ptr noundef @.str.4, i32 noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %27 store i32 16, ptr %2, align 4 br label %58 33: ; preds = %27 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef @.str.5) %36 = call i32 @strncmp(ptr noundef %34, ptr noundef @.str.5, i32 noundef %35) %37 = icmp ne i32 %36, 0 br i1 %37, label %39, label %38 38: ; preds = %33 store i32 4, ptr %2, align 4 br label %58 39: ; preds = %33 %40 = load ptr, ptr %3, align 8 %41 = call i32 @strlen(ptr noundef @.str.6) %42 = call i32 @strncmp(ptr noundef %40, ptr noundef @.str.6, i32 noundef %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %45, label %44 44: ; preds = %39 store i32 8, ptr %2, align 4 br label %58 45: ; preds = %39 %46 = load ptr, ptr %3, align 8 %47 = call i32 @strlen(ptr noundef @.str.7) %48 = call i32 @strncmp(ptr noundef %46, ptr noundef @.str.7, i32 noundef %47) %49 = icmp ne i32 %48, 0 br i1 %49, label %51, label %50 50: ; preds = %45 store i32 2, ptr %2, align 4 br label %58 51: ; preds = %45 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strlen(ptr noundef @.str.8) %54 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.8, i32 noundef %53) %55 = icmp ne i32 %54, 0 br i1 %55, label %57, label %56 56: ; preds = %51 store i32 1, ptr %2, align 4 br label %58 57: ; preds = %51 store i32 -1, ptr %2, align 4 br label %58 58: ; preds = %57, %56, %50, %44, %38, %32, %26, %20, %14, %8 %59 = load i32, ptr %2, align 4 ret i32 %59 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7yskm17o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"alaw\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ulaw\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"g723\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"g726-16\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"g726-24\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"g726-40\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"g726\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"g729\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"gsm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @libamg_sip_get_codec_code(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strlen(ptr noundef @.str) %6 = call i32 @strncmp(ptr noundef %4, ptr noundef @.str, i32 noundef %5) %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 256, ptr %2, align 4 br label %58 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef @.str.1) %12 = call i32 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %9 store i32 128, ptr %2, align 4 br label %58 15: ; preds = %9 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef @.str.2) %18 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.2, i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15 store i32 64, ptr %2, align 4 br label %58 21: ; preds = %15 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strlen(ptr noundef @.str.3) %24 = call i32 @strncmp(ptr noundef %22, ptr noundef @.str.3, i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 32, ptr %2, align 4 br label %58 27: ; preds = %21 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef @.str.4) %30 = call i32 @strncmp(ptr noundef %28, ptr noundef @.str.4, i32 noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %27 store i32 16, ptr %2, align 4 br label %58 33: ; preds = %27 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef @.str.5) %36 = call i32 @strncmp(ptr noundef %34, ptr noundef @.str.5, i32 noundef %35) %37 = icmp ne i32 %36, 0 br i1 %37, label %39, label %38 38: ; preds = %33 store i32 4, ptr %2, align 4 br label %58 39: ; preds = %33 %40 = load ptr, ptr %3, align 8 %41 = call i32 @strlen(ptr noundef @.str.6) %42 = call i32 @strncmp(ptr noundef %40, ptr noundef @.str.6, i32 noundef %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %45, label %44 44: ; preds = %39 store i32 8, ptr %2, align 4 br label %58 45: ; preds = %39 %46 = load ptr, ptr %3, align 8 %47 = call i32 @strlen(ptr noundef @.str.7) %48 = call i32 @strncmp(ptr noundef %46, ptr noundef @.str.7, i32 noundef %47) %49 = icmp ne i32 %48, 0 br i1 %49, label %51, label %50 50: ; preds = %45 store i32 2, ptr %2, align 4 br label %58 51: ; preds = %45 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strlen(ptr noundef @.str.8) %54 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.8, i32 noundef %53) %55 = icmp ne i32 %54, 0 br i1 %55, label %57, label %56 56: ; preds = %51 store i32 1, ptr %2, align 4 br label %58 57: ; preds = %51 store i32 -1, ptr %2, align 4 br label %58 58: ; preds = %57, %56, %50, %44, %38, %32, %26, %20, %14, %8 %59 = load i32, ptr %2, align 4 ret i32 %59 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpel6bprf4.c' source_filename = "/tmp/tmpel6bprf4.c" target datalayout = "e-m:e-p270: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/tmpel6bprf4.c" target datalayout = "e-m:e-p270: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/tmp0mvoc7pu.c' source_filename = "/tmp/tmp0mvoc7pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imglsadft(double noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store double %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %31, %6 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %11, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %34 18: ; preds = %14 %19 = load double, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = load double, ptr %10, align 8 %23 = load ptr, ptr %12, align 8 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 %27 = mul nsw i32 %24, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %23, i64 %28 %30 = call double @imglsadfft(double noundef %19, ptr noundef %20, i32 noundef %21, double noundef %22, ptr noundef %29) store double %30, ptr %7, align 8 br label %31 31: ; preds = %18 %32 = load i32, ptr %13, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %13, align 4 br label %14, !llvm.loop !6 34: ; preds = %14 %35 = load double, ptr %7, align 8 ret double %35 } declare double @imglsadfft(double noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0mvoc7pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imglsadft(double noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store double %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %11, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %36 .lr.ph: ; preds = %6 br label %17 17: ; preds = %.lr.ph, %30 %18 = load double, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = load double, ptr %10, align 8 %22 = load ptr, ptr %12, align 8 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = mul nsw i32 %23, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %22, i64 %27 %29 = call double @imglsadfft(double noundef %18, ptr noundef %19, i32 noundef %20, double noundef %21, ptr noundef %28) store double %29, ptr %7, align 8 br label %30 30: ; preds = %17 %31 = load i32, ptr %13, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %13, align 4 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %6 %37 = load double, ptr %7, align 8 ret double %37 } declare double @imglsadfft(double noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6cos3tq7.c' source_filename = "/tmp/tmp6cos3tq7.c" target datalayout = "e-m:e-p270: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.__sk_buff = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @process], section "llvm.metadata" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process(ptr noundef %0) #0 section "skb_ctx" { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %29, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %32 8: ; preds = %5 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.__sk_buff, ptr %9, i32 0, i32 0 %11 = load ptr, ptr %10, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 %18 = icmp ne i32 %15, %17 br i1 %18, label %19, label %20 19: ; preds = %8 store i32 1, ptr %2, align 4 br label %37 20: ; preds = %8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds %struct.__sk_buff, ptr %21, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %26, align 4 br label %29 29: ; preds = %20 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %5, !llvm.loop !6 32: ; preds = %5 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds %struct.__sk_buff, ptr %33, i32 0, i32 1 %35 = load i32, ptr %34, align 8 %36 = add nsw i32 %35, 1 store i32 %36, ptr %34, align 8 store i32 0, ptr %2, align 4 br label %37 37: ; preds = %32, %19 %38 = load i32, ptr %2, align 4 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7, !8} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!"llvm.loop.unroll.full"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6cos3tq7.c" target datalayout = "e-m:e-p270: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.__sk_buff = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @process], section "llvm.metadata" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process(ptr noundef %0) #0 section "skb_ctx" { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %28 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds %struct.__sk_buff, ptr %8, i32 0, i32 0 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 %17 = icmp ne i32 %14, %16 br i1 %17, label %18, label %19 18: ; preds = %7 store i32 1, ptr %2, align 4 br label %38 19: ; preds = %7 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.__sk_buff, ptr %20, i32 0, i32 0 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %25, align 4 br label %28 28: ; preds = %19 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %31, 5 br i1 %32, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %1 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds %struct.__sk_buff, ptr %34, i32 0, i32 1 %36 = load i32, ptr %35, align 8 %37 = add nsw i32 %36, 1 store i32 %37, ptr %35, align 8 store i32 0, ptr %2, align 4 br label %38 38: ; preds = %33, %18 %39 = load i32, ptr %2, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7, !8} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!"llvm.loop.unroll.full"}