llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpupdk4dxh.c' source_filename = "/tmp/tmpupdk4dxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"P4\0A%d\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = 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 store i32 0, ptr %10, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %23, 1 br i1 %24, label %25, label %35 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 108 br i1 %32, label %33, label %34 33: ; preds = %25 store i32 1, ptr %10, align 4 br label %34 34: ; preds = %33, %25 br label %35 35: ; preds = %34, %2 %36 = call i64 @malloc(i32 noundef 2621440) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %20, align 8 %38 = call i64 @malloc(i32 noundef 2621440) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %21, align 8 %40 = load ptr, ptr %21, align 8 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 2621440) %42 = load ptr, ptr %20, align 8 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 2621440) %44 = load ptr, ptr %20, align 8 store ptr %44, ptr %22, align 8 br label %45 45: ; preds = %50, %35 %46 = load ptr, ptr %22, align 8 %47 = load i32, ptr @stdin, align 4 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 262144, i32 noundef %47) %49 = icmp eq i32 %48, 262144 br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load ptr, ptr %22, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 262144 store ptr %52, ptr %22, align 8 br label %45, !llvm.loop !6 53: ; preds = %45 %54 = load ptr, ptr %20, align 8 %55 = call ptr @strtok(ptr noundef %54, ptr noundef @.str) store ptr %55, ptr %22, align 8 %56 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %56, ptr %22, align 8 br label %57 57: ; preds = %63, %53 %58 = load ptr, ptr %22, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 0 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 35 br i1 %62, label %63, label %65 63: ; preds = %57 %64 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %64, ptr %22, align 8 br label %57, !llvm.loop !8 65: ; preds = %57 %66 = load ptr, ptr %22, align 8 %67 = call i32 @sscanf(ptr noundef %66, ptr noundef @.str.1, ptr noundef %14, ptr noundef %17) %68 = load ptr, ptr %22, align 8 %69 = call i64 @strlen(ptr noundef %68) %70 = add nsw i64 %69, 1 %71 = load ptr, ptr %22, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 %70 store ptr %72, ptr %22, align 8 %73 = load i32, ptr %14, align 4 %74 = sdiv i32 %73, 8 %75 = load i32, ptr %14, align 4 %76 = srem i32 %75, 8 %77 = icmp ne i32 %76, 0 %78 = zext i1 %77 to i64 %79 = select i1 %77, i32 1, i32 0 %80 = add nsw i32 %74, %79 store i32 %80, ptr %16, align 4 %81 = load i32, ptr %16, align 4 %82 = mul nsw i32 %81, 8 store i32 %82, ptr %15, align 4 %83 = load i32, ptr %17, align 4 %84 = sdiv i32 %83, 8 %85 = load i32, ptr %17, align 4 %86 = srem i32 %85, 8 %87 = icmp ne i32 %86, 0 %88 = zext i1 %87 to i64 %89 = select i1 %87, i32 1, i32 0 %90 = add nsw i32 %84, %89 store i32 %90, ptr %19, align 4 %91 = load i32, ptr %19, align 4 %92 = mul nsw i32 %91, 8 store i32 %92, ptr %18, align 4 store i32 0, ptr %13, align 4 br label %93 93: ; preds = %192, %65 %94 = load i32, ptr %13, align 4 %95 = icmp slt i32 %94, 8 br i1 %95, label %96, label %195 96: ; preds = %93 %97 = load i32, ptr %13, align 4 %98 = sub nsw i32 7, %97 store i32 %98, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = shl i32 1, %99 store i32 %100, ptr %7, align 4 store i32 0, ptr %12, align 4 br label %101 101: ; preds = %188, %96 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %18, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %105, label %191 105: ; preds = %101 %106 = load i32, ptr %10, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %112 108: ; preds = %105 %109 = load i32, ptr %12, align 4 %110 = srem i32 %109, 8 %111 = sub nsw i32 7, %110 br label %115 112: ; preds = %105 %113 = load i32, ptr %12, align 4 %114 = srem i32 %113, 8 br label %115 115: ; preds = %112, %108 %116 = phi i32 [ %111, %108 ], [ %114, %112 ] store i32 %116, ptr %8, align 4 store i32 0, ptr %11, align 4 br label %117 117: ; preds = %184, %115 %118 = load i32, ptr %11, align 4 %119 = load i32, ptr %16, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %187 121: ; preds = %117 %122 = load ptr, ptr %22, align 8 %123 = load i32, ptr %11, align 4 %124 = load i32, ptr %12, align 4 %125 = load i32, ptr %16, align 4 %126 = mul nsw i32 %124, %125 %127 = add nsw i32 %123, %126 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %122, i64 %128 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = load i32, ptr %7, align 4 %133 = and i32 %131, %132 %134 = load i32, ptr %9, align 4 %135 = lshr i32 %133, %134 store i32 %135, ptr %6, align 4 %136 = load i32, ptr %10, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %161 138: ; preds = %121 %139 = load i32, ptr %6, align 4 %140 = load i32, ptr %8, align 4 %141 = shl i32 %139, %140 %142 = load ptr, ptr %21, align 8 %143 = load i32, ptr %15, align 4 %144 = load i32, ptr %11, align 4 %145 = mul nsw i32 %144, 8 %146 = sub nsw i32 %143, %145 %147 = load i32, ptr %13, align 4 %148 = sub nsw i32 %146, %147 %149 = sub nsw i32 %148, 1 %150 = load i32, ptr %19, align 4 %151 = mul nsw i32 %149, %150 %152 = load i32, ptr %12, align 4 %153 = sdiv i32 %152, 8 %154 = add nsw i32 %151, %153 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i8, ptr %142, i64 %155 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = or i32 %158, %141 %160 = trunc i32 %159 to i8 store i8 %160, ptr %156, align 1 br label %183 161: ; preds = %121 %162 = load i32, ptr %6, align 4 %163 = load i32, ptr %8, align 4 %164 = shl i32 %162, %163 %165 = load ptr, ptr %21, align 8 %166 = load i32, ptr %11, align 4 %167 = mul nsw i32 %166, 8 %168 = add nsw i32 1, %167 %169 = load i32, ptr %13, align 4 %170 = add nsw i32 %168, %169 %171 = load i32, ptr %19, align 4 %172 = mul nsw i32 %170, %171 %173 = load i32, ptr %12, align 4 %174 = sdiv i32 %173, 8 %175 = sub nsw i32 %172, %174 %176 = sub nsw i32 %175, 1 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i8, ptr %165, i64 %177 %179 = load i8, ptr %178, align 1 %180 = sext i8 %179 to i32 %181 = or i32 %180, %164 %182 = trunc i32 %181 to i8 store i8 %182, ptr %178, align 1 br label %183 183: ; preds = %161, %138 br label %184 184: ; preds = %183 %185 = load i32, ptr %11, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %11, align 4 br label %117, !llvm.loop !9 187: ; preds = %117 br label %188 188: ; preds = %187 %189 = load i32, ptr %12, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %12, align 4 br label %101, !llvm.loop !10 191: ; preds = %101 br label %192 192: ; preds = %191 %193 = load i32, ptr %13, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %13, align 4 br label %93, !llvm.loop !11 195: ; preds = %93 %196 = load i32, ptr @stdout, align 4 %197 = load i32, ptr %18, align 4 %198 = load i32, ptr %15, align 4 %199 = call i32 @fprintf(i32 noundef %196, ptr noundef @.str.2, i32 noundef %197, i32 noundef %198) %200 = load ptr, ptr %21, align 8 %201 = load i32, ptr %15, align 4 %202 = load i32, ptr %18, align 4 %203 = mul nsw i32 %201, %202 %204 = sdiv i32 %203, 8 %205 = load i32, ptr @stdout, align 4 %206 = call i32 @fwrite(ptr noundef %200, i32 noundef 1, i32 noundef %204, i32 noundef %205) %207 = load i32, ptr @stdout, align 4 %208 = call i32 @fflush(i32 noundef %207) %209 = load ptr, ptr %20, align 8 %210 = call i32 @free(ptr noundef %209) %211 = load ptr, ptr %21, align 8 %212 = call i32 @free(ptr noundef %211) %213 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @free(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpupdk4dxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"P4\0A%d\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = 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 store i32 0, ptr %10, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %23, 1 br i1 %24, label %25, label %35 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 108 br i1 %32, label %33, label %34 33: ; preds = %25 store i32 1, ptr %10, align 4 br label %34 34: ; preds = %33, %25 br label %35 35: ; preds = %34, %2 %36 = call i64 @malloc(i32 noundef 2621440) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %20, align 8 %38 = call i64 @malloc(i32 noundef 2621440) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %21, align 8 %40 = load ptr, ptr %21, align 8 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 2621440) %42 = load ptr, ptr %20, align 8 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 2621440) %44 = load ptr, ptr %20, align 8 store ptr %44, ptr %22, align 8 %45 = load ptr, ptr %22, align 8 %46 = load i32, ptr @stdin, align 4 %47 = call i32 @fread(ptr noundef %45, i32 noundef 1, i32 noundef 262144, i32 noundef %46) %48 = icmp eq i32 %47, 262144 br i1 %48, label %.lr.ph, label %56 .lr.ph: ; preds = %35 br label %49 49: ; preds = %.lr.ph, %49 %50 = load ptr, ptr %22, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 262144 store ptr %51, ptr %22, align 8 %52 = load ptr, ptr %22, align 8 %53 = load i32, ptr @stdin, align 4 %54 = call i32 @fread(ptr noundef %52, i32 noundef 1, i32 noundef 262144, i32 noundef %53) %55 = icmp eq i32 %54, 262144 br i1 %55, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %56 56: ; preds = %._crit_edge, %35 %57 = load ptr, ptr %20, align 8 %58 = call ptr @strtok(ptr noundef %57, ptr noundef @.str) store ptr %58, ptr %22, align 8 %59 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %59, ptr %22, align 8 %60 = load ptr, ptr %22, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 35 br i1 %63, label %.lr.ph2, label %71 .lr.ph2: ; preds = %56 br label %64 64: ; preds = %.lr.ph2, %64 %65 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %65, ptr %22, align 8 %66 = load ptr, ptr %22, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 35 br i1 %70, label %64, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %71 71: ; preds = %._crit_edge3, %56 %72 = load ptr, ptr %22, align 8 %73 = call i32 @sscanf(ptr noundef %72, ptr noundef @.str.1, ptr noundef %14, ptr noundef %17) %74 = load ptr, ptr %22, align 8 %75 = call i64 @strlen(ptr noundef %74) %76 = add nsw i64 %75, 1 %77 = load ptr, ptr %22, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 %76 store ptr %78, ptr %22, align 8 %79 = load i32, ptr %14, align 4 %80 = sdiv i32 %79, 8 %81 = load i32, ptr %14, align 4 %82 = srem i32 %81, 8 %83 = icmp ne i32 %82, 0 %84 = zext i1 %83 to i64 %85 = select i1 %83, i32 1, i32 0 %86 = add nsw i32 %80, %85 store i32 %86, ptr %16, align 4 %87 = load i32, ptr %16, align 4 %88 = mul nsw i32 %87, 8 store i32 %88, ptr %15, align 4 %89 = load i32, ptr %17, align 4 %90 = sdiv i32 %89, 8 %91 = load i32, ptr %17, align 4 %92 = srem i32 %91, 8 %93 = icmp ne i32 %92, 0 %94 = zext i1 %93 to i64 %95 = select i1 %93, i32 1, i32 0 %96 = add nsw i32 %90, %95 store i32 %96, ptr %19, align 4 %97 = load i32, ptr %19, align 4 %98 = mul nsw i32 %97, 8 store i32 %98, ptr %18, align 4 store i32 0, ptr %13, align 4 %99 = load i32, ptr %13, align 4 %100 = icmp slt i32 %99, 8 br i1 %100, label %.lr.ph11, label %206 .lr.ph11: ; preds = %71 br label %101 101: ; preds = %.lr.ph11, %201 %102 = load i32, ptr %13, align 4 %103 = sub nsw i32 7, %102 store i32 %103, ptr %9, align 4 %104 = load i32, ptr %9, align 4 %105 = shl i32 1, %104 store i32 %105, ptr %7, align 4 store i32 0, ptr %12, align 4 %106 = load i32, ptr %12, align 4 %107 = load i32, ptr %18, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %.lr.ph8, label %200 .lr.ph8: ; preds = %101 br label %109 109: ; preds = %.lr.ph8, %194 %110 = load i32, ptr %10, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %116 112: ; preds = %109 %113 = load i32, ptr %12, align 4 %114 = srem i32 %113, 8 %115 = sub nsw i32 7, %114 br label %119 116: ; preds = %109 %117 = load i32, ptr %12, align 4 %118 = srem i32 %117, 8 br label %119 119: ; preds = %116, %112 %120 = phi i32 [ %115, %112 ], [ %118, %116 ] store i32 %120, ptr %8, align 4 store i32 0, ptr %11, align 4 %121 = load i32, ptr %11, align 4 %122 = load i32, ptr %16, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %.lr.ph5, label %193 .lr.ph5: ; preds = %119 br label %124 124: ; preds = %.lr.ph5, %187 %125 = load ptr, ptr %22, align 8 %126 = load i32, ptr %11, align 4 %127 = load i32, ptr %12, align 4 %128 = load i32, ptr %16, align 4 %129 = mul nsw i32 %127, %128 %130 = add nsw i32 %126, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %125, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = load i32, ptr %7, align 4 %136 = and i32 %134, %135 %137 = load i32, ptr %9, align 4 %138 = lshr i32 %136, %137 store i32 %138, ptr %6, align 4 %139 = load i32, ptr %10, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %164 141: ; preds = %124 %142 = load i32, ptr %6, align 4 %143 = load i32, ptr %8, align 4 %144 = shl i32 %142, %143 %145 = load ptr, ptr %21, align 8 %146 = load i32, ptr %15, align 4 %147 = load i32, ptr %11, align 4 %148 = mul nsw i32 %147, 8 %149 = sub nsw i32 %146, %148 %150 = load i32, ptr %13, align 4 %151 = sub nsw i32 %149, %150 %152 = sub nsw i32 %151, 1 %153 = load i32, ptr %19, align 4 %154 = mul nsw i32 %152, %153 %155 = load i32, ptr %12, align 4 %156 = sdiv i32 %155, 8 %157 = add nsw i32 %154, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %145, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = or i32 %161, %144 %163 = trunc i32 %162 to i8 store i8 %163, ptr %159, align 1 br label %186 164: ; preds = %124 %165 = load i32, ptr %6, align 4 %166 = load i32, ptr %8, align 4 %167 = shl i32 %165, %166 %168 = load ptr, ptr %21, align 8 %169 = load i32, ptr %11, align 4 %170 = mul nsw i32 %169, 8 %171 = add nsw i32 1, %170 %172 = load i32, ptr %13, align 4 %173 = add nsw i32 %171, %172 %174 = load i32, ptr %19, align 4 %175 = mul nsw i32 %173, %174 %176 = load i32, ptr %12, align 4 %177 = sdiv i32 %176, 8 %178 = sub nsw i32 %175, %177 %179 = sub nsw i32 %178, 1 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %168, i64 %180 %182 = load i8, ptr %181, align 1 %183 = sext i8 %182 to i32 %184 = or i32 %183, %167 %185 = trunc i32 %184 to i8 store i8 %185, ptr %181, align 1 br label %186 186: ; preds = %164, %141 br label %187 187: ; preds = %186 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %11, align 4 %190 = load i32, ptr %11, align 4 %191 = load i32, ptr %16, align 4 %192 = icmp slt i32 %190, %191 br i1 %192, label %124, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %187 br label %193 193: ; preds = %._crit_edge6, %119 br label %194 194: ; preds = %193 %195 = load i32, ptr %12, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %12, align 4 %197 = load i32, ptr %12, align 4 %198 = load i32, ptr %18, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %109, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %194 br label %200 200: ; preds = %._crit_edge9, %101 br label %201 201: ; preds = %200 %202 = load i32, ptr %13, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %13, align 4 %204 = load i32, ptr %13, align 4 %205 = icmp slt i32 %204, 8 br i1 %205, label %101, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %201 br label %206 206: ; preds = %._crit_edge12, %71 %207 = load i32, ptr @stdout, align 4 %208 = load i32, ptr %18, align 4 %209 = load i32, ptr %15, align 4 %210 = call i32 @fprintf(i32 noundef %207, ptr noundef @.str.2, i32 noundef %208, i32 noundef %209) %211 = load ptr, ptr %21, align 8 %212 = load i32, ptr %15, align 4 %213 = load i32, ptr %18, align 4 %214 = mul nsw i32 %212, %213 %215 = sdiv i32 %214, 8 %216 = load i32, ptr @stdout, align 4 %217 = call i32 @fwrite(ptr noundef %211, i32 noundef 1, i32 noundef %215, i32 noundef %216) %218 = load i32, ptr @stdout, align 4 %219 = call i32 @fflush(i32 noundef %218) %220 = load ptr, ptr %20, align 8 %221 = call i32 @free(ptr noundef %220) %222 = load ptr, ptr %21, align 8 %223 = call i32 @free(ptr noundef %222) %224 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @free(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpl4es11ds.c' source_filename = "/tmp/tmpl4es11ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = sdiv i64 %7, 10000000000 %9 = icmp slt i64 %8, 1 br i1 %9, label %10, label %24 10: ; preds = %0 br label %11 11: ; preds = %14, %10 %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = srem i32 %15, 10 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = sitofp i32 %19 to double %21 = fdiv double %20, 1.000000e+01 %22 = fptosi double %21 to i32 store i32 %22, ptr %2, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 br label %24 24: ; preds = %23, %0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl4es11ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = sdiv i64 %7, 10000000000 %9 = icmp slt i64 %8, 1 br i1 %9, label %10, label %25 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %2, align 4 %15 = srem i32 %14, 10 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = sitofp i32 %18 to double %20 = fdiv double %19, 1.000000e+01 %21 = fptosi double %20 to i32 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %24 24: ; preds = %._crit_edge, %10 br label %25 25: ; preds = %24, %0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp82442g4w.c' source_filename = "/tmp/tmp82442g4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %7, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %6, label %10 6: ; preds = %3 br label %7 7: ; preds = %6 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 br label %3, !llvm.loop !6 10: ; preds = %3 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 (...) @abort() #2 unreachable 15: ; preds = %10 %16 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp82442g4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 10 br i1 %4, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %6 br label %6 6: ; preds = %5 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #2 unreachable 16: ; preds = %11 %17 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp17rvvx94.c' source_filename = "/tmp/tmp17rvvx94.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printErrorAndExit(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 @EXIT_FAILURE, align 4 ret i32 %6 } declare i32 @fprintf(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/tmp17rvvx94.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printErrorAndExit(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 @EXIT_FAILURE, align 4 ret i32 %6 } declare i32 @fprintf(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/tmpx32qovhh.c' source_filename = "/tmp/tmpx32qovhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"S \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"O \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %27, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %30 7: ; preds = %4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %22, %7 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = icmp ne i32 %15, 2 br i1 %16, label %17, label %19 17: ; preds = %14, %11 %18 = call i32 @printf(ptr noundef @.str) br label %21 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str.1) br label %21 21: ; preds = %19, %17 br label %22 22: ; preds = %21 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = call i32 @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 br label %4, !llvm.loop !8 30: ; preds = %4 ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx32qovhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"S \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"O \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph2, label %32 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %27 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %6 br label %9 9: ; preds = %.lr.ph, %20 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %17 15: ; preds = %12, %9 %16 = call i32 @printf(ptr noundef @.str) br label %19 17: ; preds = %12 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %15 br label %20 20: ; preds = %19 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %6 %26 = call i32 @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpavbla2ed.c' source_filename = "/tmp/tmpavbla2ed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @memchr(ptr noundef %6, i32 noundef 0, i64 noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = ptrtoint ptr %12 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 br label %19 17: ; preds = %2 %18 = load i64, ptr %4, align 8 br label %19 19: ; preds = %17, %11 %20 = phi i64 [ %16, %11 ], [ %18, %17 ] ret i64 %20 } declare ptr @memchr(ptr noundef, i32 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/tmpavbla2ed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @memchr(ptr noundef %6, i32 noundef 0, i64 noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = ptrtoint ptr %12 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 br label %19 17: ; preds = %2 %18 = load i64, ptr %4, align 8 br label %19 19: ; preds = %17, %11 %20 = phi i64 [ %16, %11 ], [ %18, %17 ] ret i64 %20 } declare ptr @memchr(ptr noundef, i32 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/tmpinwamltd.c' source_filename = "/tmp/tmpinwamltd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpinwamltd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg5ppjj7k.c' source_filename = "/tmp/tmpg5ppjj7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"012345\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usr_alloc1_int_strcpy(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 = icmp slt i32 7, %4 br i1 %5, label %6, label %7 6: ; preds = %1 br label %9 7: ; preds = %1 %8 = load i32, ptr %2, align 4 br label %9 9: ; preds = %7, %6 %10 = phi i32 [ 7, %6 ], [ %8, %7 ] %11 = call ptr @usr_alloc1(i32 noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %3, align 8 %15 = call i32 @sink(ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.1) %18 = load ptr, ptr %3, align 8 %19 = call i32 @sink(ptr noundef %18) ret void } declare ptr @usr_alloc1(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg5ppjj7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"012345\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usr_alloc1_int_strcpy(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 = icmp slt i32 7, %4 br i1 %5, label %6, label %7 6: ; preds = %1 br label %9 7: ; preds = %1 %8 = load i32, ptr %2, align 4 br label %9 9: ; preds = %7, %6 %10 = phi i32 [ 7, %6 ], [ %8, %7 ] %11 = call ptr @usr_alloc1(i32 noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %3, align 8 %15 = call i32 @sink(ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.1) %18 = load ptr, ptr %3, align 8 %19 = call i32 @sink(ptr noundef %18) ret void } declare ptr @usr_alloc1(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw7tvcsc9.c' source_filename = "/tmp/tmpw7tvcsc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_rchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %14, %2 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %6, align 8 %10 = add i64 %9, 1 store i64 %10, ptr %6, align 8 %11 = getelementptr inbounds i8, ptr %8, i64 %9 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %7 br label %7, !llvm.loop !6 15: ; preds = %7 br label %16 16: ; preds = %32, %15 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i32, ptr %5, align 4 %24 = trunc i32 %23 to i8 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %22, %25 br i1 %26, label %27, label %31 27: ; preds = %16 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store ptr %30, ptr %3, align 8 br label %36 31: ; preds = %16 br label %32 32: ; preds = %31 %33 = load i64, ptr %6, align 8 %34 = icmp ne i64 %33, 0 br i1 %34, label %16, label %35, !llvm.loop !8 35: ; preds = %32 store ptr null, ptr %3, align 8 br label %36 36: ; preds = %35, %27 %37 = load ptr, ptr %3, align 8 ret ptr %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw7tvcsc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_rchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %7, %2 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %6, align 8 %10 = add i64 %9, 1 store i64 %10, ptr %6, align 8 %11 = getelementptr inbounds i8, ptr %8, i64 %9 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %7, label %14, !llvm.loop !6 14: ; preds = %7 br label %15 15: ; preds = %31, %14 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %6, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %21, %24 br i1 %25, label %26, label %30 26: ; preds = %15 %27 = load ptr, ptr %4, align 8 %28 = load i64, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %3, align 8 br label %35 30: ; preds = %15 br label %31 31: ; preds = %30 %32 = load i64, ptr %6, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %15, label %34, !llvm.loop !8 34: ; preds = %31 store ptr null, ptr %3, align 8 br label %35 35: ; preds = %34, %26 %36 = load ptr, ptr %3, align 8 ret ptr %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2azfbrq2.c' source_filename = "/tmp/tmp2azfbrq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hybridInPlaceRadixSort256(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca [32 x i8], align 16 %16 = alloca [256 x i64], align 16 %17 = alloca [256 x i64], align 16 %18 = alloca [256 x i64], align 16 %19 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = ptrtoint ptr %20 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = sdiv exact i64 %24, 8 %26 = icmp sle i64 %25, 32 br i1 %26, label %27, label %33 27: ; preds = %5 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = call i32 @insertionSort(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %31) br label %240 33: ; preds = %5 %34 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 0 %35 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef 2048) %36 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 0 %37 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef 2048) %38 = load ptr, ptr %6, align 8 store ptr %38, ptr %11, align 8 br label %39 39: ; preds = %54, %33 %40 = load ptr, ptr %11, align 8 %41 = load ptr, ptr %7, align 8 %42 = icmp ne ptr %40, %41 br i1 %42, label %43, label %57 43: ; preds = %39 %44 = load ptr, ptr %11, align 8 %45 = load i64, ptr %44, align 8 %46 = load i32, ptr %10, align 4 %47 = zext i32 %46 to i64 %48 = lshr i64 %45, %47 %49 = and i64 %48, 255 store i64 %49, ptr %14, align 8 %50 = load i64, ptr %14, align 8 %51 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %50 %52 = load i64, ptr %51, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %51, align 8 br label %54 54: ; preds = %43 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds i64, ptr %55, i32 1 store ptr %56, ptr %11, align 8 br label %39, !llvm.loop !6 57: ; preds = %39 %58 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 0 store i64 0, ptr %58, align 16 store i64 1, ptr %19, align 8 br label %59 59: ; preds = %74, %57 %60 = load i64, ptr %19, align 8 %61 = icmp ult i64 %60, 256 br i1 %61, label %62, label %77 62: ; preds = %59 %63 = load i64, ptr %19, align 8 %64 = sub i64 %63, 1 %65 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %64 %66 = load i64, ptr %65, align 8 %67 = load i64, ptr %19, align 8 %68 = sub i64 %67, 1 %69 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %68 %70 = load i64, ptr %69, align 8 %71 = add i64 %66, %70 %72 = load i64, ptr %19, align 8 %73 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %72 store i64 %71, ptr %73, align 8 br label %74 74: ; preds = %62 %75 = load i64, ptr %19, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %19, align 8 br label %59, !llvm.loop !8 77: ; preds = %59 store i64 0, ptr %19, align 8 br label %78 78: ; preds = %174, %124, %104, %77 %79 = load i64, ptr %19, align 8 %80 = load ptr, ptr %7, align 8 %81 = load ptr, ptr %6, align 8 %82 = ptrtoint ptr %80 to i64 %83 = ptrtoint ptr %81 to i64 %84 = sub i64 %82, %83 %85 = sdiv exact i64 %84, 8 %86 = icmp ult i64 %79, %85 br i1 %86, label %87, label %175 87: ; preds = %78 %88 = load ptr, ptr %6, align 8 %89 = load i64, ptr %19, align 8 %90 = getelementptr inbounds i64, ptr %88, i64 %89 store ptr %90, ptr %11, align 8 %91 = load ptr, ptr %11, align 8 %92 = load i64, ptr %91, align 8 %93 = load i32, ptr %10, align 4 %94 = zext i32 %93 to i64 %95 = lshr i64 %92, %94 %96 = and i64 %95, 255 store i64 %96, ptr %14, align 8 %97 = load i64, ptr %14, align 8 %98 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %97 %99 = load i64, ptr %98, align 8 %100 = load i64, ptr %14, align 8 %101 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %100 %102 = load i64, ptr %101, align 8 %103 = icmp ule i64 %99, %102 br i1 %103, label %104, label %107 104: ; preds = %87 %105 = load i64, ptr %19, align 8 %106 = add i64 %105, 1 store i64 %106, ptr %19, align 8 br label %78, !llvm.loop !9 107: ; preds = %87 %108 = load i64, ptr %14, align 8 %109 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %108 %110 = load i64, ptr %109, align 8 %111 = load i64, ptr %14, align 8 %112 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %111 %113 = load i64, ptr %112, align 8 %114 = add i64 %110, %113 store i64 %114, ptr %13, align 8 %115 = load i64, ptr %14, align 8 %116 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %115 %117 = load i64, ptr %116, align 8 %118 = add i64 %117, 1 store i64 %118, ptr %116, align 8 %119 = load ptr, ptr %11, align 8 %120 = load ptr, ptr %6, align 8 %121 = load i64, ptr %13, align 8 %122 = getelementptr inbounds i64, ptr %120, i64 %121 %123 = icmp eq ptr %119, %122 br i1 %123, label %124, label %127 124: ; preds = %107 %125 = load i64, ptr %19, align 8 %126 = add i64 %125, 1 store i64 %126, ptr %19, align 8 br label %78, !llvm.loop !9 127: ; preds = %107 %128 = load ptr, ptr %11, align 8 %129 = load i64, ptr %128, align 8 store i64 %129, ptr %12, align 8 %130 = load ptr, ptr %6, align 8 %131 = load i64, ptr %13, align 8 %132 = getelementptr inbounds i64, ptr %130, i64 %131 %133 = load i64, ptr %132, align 8 %134 = load ptr, ptr %11, align 8 store i64 %133, ptr %134, align 8 %135 = load i64, ptr %12, align 8 %136 = load ptr, ptr %6, align 8 %137 = load i64, ptr %13, align 8 %138 = getelementptr inbounds i64, ptr %136, i64 %137 store i64 %135, ptr %138, align 8 %139 = load ptr, ptr %8, align 8 %140 = icmp ne ptr %139, null br i1 %140, label %141, label %174 141: ; preds = %127 %142 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0 %143 = load ptr, ptr %8, align 8 %144 = load i64, ptr %19, align 8 %145 = load i32, ptr %9, align 4 %146 = zext i32 %145 to i64 %147 = mul i64 %144, %146 %148 = getelementptr inbounds i8, ptr %143, i64 %147 %149 = load i32, ptr %9, align 4 %150 = call i32 @memcpy(ptr noundef %142, ptr noundef %148, i32 noundef %149) %151 = load ptr, ptr %8, align 8 %152 = load i64, ptr %19, align 8 %153 = load i32, ptr %9, align 4 %154 = zext i32 %153 to i64 %155 = mul i64 %152, %154 %156 = getelementptr inbounds i8, ptr %151, i64 %155 %157 = load ptr, ptr %8, align 8 %158 = load i64, ptr %13, align 8 %159 = load i32, ptr %9, align 4 %160 = zext i32 %159 to i64 %161 = mul i64 %158, %160 %162 = getelementptr inbounds i8, ptr %157, i64 %161 %163 = load i32, ptr %9, align 4 %164 = call i32 @memcpy(ptr noundef %156, ptr noundef %162, i32 noundef %163) %165 = load ptr, ptr %8, align 8 %166 = load i64, ptr %13, align 8 %167 = load i32, ptr %9, align 4 %168 = zext i32 %167 to i64 %169 = mul i64 %166, %168 %170 = getelementptr inbounds i8, ptr %165, i64 %169 %171 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0 %172 = load i32, ptr %9, align 4 %173 = call i32 @memcpy(ptr noundef %170, ptr noundef %171, i32 noundef %172) br label %174 174: ; preds = %141, %127 br label %78, !llvm.loop !9 175: ; preds = %78 %176 = load i32, ptr %10, align 4 %177 = icmp ugt i32 %176, 0 br i1 %177, label %178, label %239 178: ; preds = %175 store i64 0, ptr %19, align 8 br label %179 179: ; preds = %235, %178 %180 = load i64, ptr %19, align 8 %181 = icmp ult i64 %180, 256 br i1 %181, label %182, label %238 182: ; preds = %179 %183 = load i64, ptr %19, align 8 %184 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %183 %185 = load i64, ptr %184, align 8 %186 = icmp ugt i64 %185, 1 br i1 %186, label %187, label %234 187: ; preds = %182 %188 = load ptr, ptr %8, align 8 %189 = icmp ne ptr %188, null br i1 %189, label %190, label %216 190: ; preds = %187 %191 = load ptr, ptr %6, align 8 %192 = load i64, ptr %19, align 8 %193 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %192 %194 = load i64, ptr %193, align 8 %195 = getelementptr inbounds i64, ptr %191, i64 %194 %196 = load ptr, ptr %6, align 8 %197 = load i64, ptr %19, align 8 %198 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %197 %199 = load i64, ptr %198, align 8 %200 = getelementptr inbounds i64, ptr %196, i64 %199 %201 = load i64, ptr %19, align 8 %202 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %201 %203 = load i64, ptr %202, align 8 %204 = getelementptr inbounds i64, ptr %200, i64 %203 %205 = load ptr, ptr %8, align 8 %206 = load i64, ptr %19, align 8 %207 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %206 %208 = load i64, ptr %207, align 8 %209 = load i32, ptr %9, align 4 %210 = zext i32 %209 to i64 %211 = mul i64 %208, %210 %212 = getelementptr inbounds i8, ptr %205, i64 %211 %213 = load i32, ptr %9, align 4 %214 = load i32, ptr %10, align 4 %215 = sub i32 %214, 8 call void @hybridInPlaceRadixSort256(ptr noundef %195, ptr noundef %204, ptr noundef %212, i32 noundef %213, i32 noundef %215) br label %233 216: ; preds = %187 %217 = load ptr, ptr %6, align 8 %218 = load i64, ptr %19, align 8 %219 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %218 %220 = load i64, ptr %219, align 8 %221 = getelementptr inbounds i64, ptr %217, i64 %220 %222 = load ptr, ptr %6, align 8 %223 = load i64, ptr %19, align 8 %224 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %223 %225 = load i64, ptr %224, align 8 %226 = getelementptr inbounds i64, ptr %222, i64 %225 %227 = load i64, ptr %19, align 8 %228 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %227 %229 = load i64, ptr %228, align 8 %230 = getelementptr inbounds i64, ptr %226, i64 %229 %231 = load i32, ptr %10, align 4 %232 = sub i32 %231, 8 call void @hybridInPlaceRadixSort256(ptr noundef %221, ptr noundef %230, ptr noundef null, i32 noundef 0, i32 noundef %232) br label %233 233: ; preds = %216, %190 br label %234 234: ; preds = %233, %182 br label %235 235: ; preds = %234 %236 = load i64, ptr %19, align 8 %237 = add i64 %236, 1 store i64 %237, ptr %19, align 8 br label %179, !llvm.loop !10 238: ; preds = %179 br label %239 239: ; preds = %238, %175 br label %240 240: ; preds = %239, %27 ret void } declare i32 @insertionSort(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2azfbrq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hybridInPlaceRadixSort256(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca [32 x i8], align 16 %16 = alloca [256 x i64], align 16 %17 = alloca [256 x i64], align 16 %18 = alloca [256 x i64], align 16 %19 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = ptrtoint ptr %20 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = sdiv exact i64 %24, 8 %26 = icmp sle i64 %25, 32 br i1 %26, label %27, label %33 27: ; preds = %5 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = call i32 @insertionSort(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %31) br label %251 33: ; preds = %5 %34 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 0 %35 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef 2048) %36 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 0 %37 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef 2048) %38 = load ptr, ptr %6, align 8 store ptr %38, ptr %11, align 8 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %7, align 8 %41 = icmp ne ptr %39, %40 br i1 %41, label %.lr.ph, label %59 .lr.ph: ; preds = %33 br label %42 42: ; preds = %.lr.ph, %53 %43 = load ptr, ptr %11, align 8 %44 = load i64, ptr %43, align 8 %45 = load i32, ptr %10, align 4 %46 = zext i32 %45 to i64 %47 = lshr i64 %44, %46 %48 = and i64 %47, 255 store i64 %48, ptr %14, align 8 %49 = load i64, ptr %14, align 8 %50 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %49 %51 = load i64, ptr %50, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %50, align 8 br label %53 53: ; preds = %42 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i64, ptr %54, i32 1 store ptr %55, ptr %11, align 8 %56 = load ptr, ptr %11, align 8 %57 = load ptr, ptr %7, align 8 %58 = icmp ne ptr %56, %57 br i1 %58, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %33 %60 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 0 store i64 0, ptr %60, align 16 store i64 1, ptr %19, align 8 %61 = load i64, ptr %19, align 8 %62 = icmp ult i64 %61, 256 br i1 %62, label %.lr.ph2, label %80 .lr.ph2: ; preds = %59 br label %63 63: ; preds = %.lr.ph2, %75 %64 = load i64, ptr %19, align 8 %65 = sub i64 %64, 1 %66 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %65 %67 = load i64, ptr %66, align 8 %68 = load i64, ptr %19, align 8 %69 = sub i64 %68, 1 %70 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %69 %71 = load i64, ptr %70, align 8 %72 = add i64 %67, %71 %73 = load i64, ptr %19, align 8 %74 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %73 store i64 %72, ptr %74, align 8 br label %75 75: ; preds = %63 %76 = load i64, ptr %19, align 8 %77 = add i64 %76, 1 store i64 %77, ptr %19, align 8 %78 = load i64, ptr %19, align 8 %79 = icmp ult i64 %78, 256 br i1 %79, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %80 80: ; preds = %._crit_edge3, %59 store i64 0, ptr %19, align 8 %81 = load i64, ptr %19, align 8 %82 = load ptr, ptr %7, align 8 %83 = load ptr, ptr %6, align 8 %84 = ptrtoint ptr %82 to i64 %85 = ptrtoint ptr %83 to i64 %86 = sub i64 %84, %85 %87 = sdiv exact i64 %86, 8 %88 = icmp ult i64 %81, %87 br i1 %88, label %.lr.ph5, label %185 .lr.ph5: ; preds = %80 br label %89 89: ; preds = %.lr.ph5, %.backedge %90 = load ptr, ptr %6, align 8 %91 = load i64, ptr %19, align 8 %92 = getelementptr inbounds i64, ptr %90, i64 %91 store ptr %92, ptr %11, align 8 %93 = load ptr, ptr %11, align 8 %94 = load i64, ptr %93, align 8 %95 = load i32, ptr %10, align 4 %96 = zext i32 %95 to i64 %97 = lshr i64 %94, %96 %98 = and i64 %97, 255 store i64 %98, ptr %14, align 8 %99 = load i64, ptr %14, align 8 %100 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %99 %101 = load i64, ptr %100, align 8 %102 = load i64, ptr %14, align 8 %103 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %102 %104 = load i64, ptr %103, align 8 %105 = icmp ule i64 %101, %104 br i1 %105, label %106, label %117 106: ; preds = %89 %107 = load i64, ptr %19, align 8 %108 = add i64 %107, 1 store i64 %108, ptr %19, align 8 br label %.backedge .backedge: ; preds = %106, %134, %184 %109 = load i64, ptr %19, align 8 %110 = load ptr, ptr %7, align 8 %111 = load ptr, ptr %6, align 8 %112 = ptrtoint ptr %110 to i64 %113 = ptrtoint ptr %111 to i64 %114 = sub i64 %112, %113 %115 = sdiv exact i64 %114, 8 %116 = icmp ult i64 %109, %115 br i1 %116, label %89, label %._crit_edge6, !llvm.loop !9 117: ; preds = %89 %118 = load i64, ptr %14, align 8 %119 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %118 %120 = load i64, ptr %119, align 8 %121 = load i64, ptr %14, align 8 %122 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %121 %123 = load i64, ptr %122, align 8 %124 = add i64 %120, %123 store i64 %124, ptr %13, align 8 %125 = load i64, ptr %14, align 8 %126 = getelementptr inbounds [256 x i64], ptr %18, i64 0, i64 %125 %127 = load i64, ptr %126, align 8 %128 = add i64 %127, 1 store i64 %128, ptr %126, align 8 %129 = load ptr, ptr %11, align 8 %130 = load ptr, ptr %6, align 8 %131 = load i64, ptr %13, align 8 %132 = getelementptr inbounds i64, ptr %130, i64 %131 %133 = icmp eq ptr %129, %132 br i1 %133, label %134, label %137 134: ; preds = %117 %135 = load i64, ptr %19, align 8 %136 = add i64 %135, 1 store i64 %136, ptr %19, align 8 br label %.backedge 137: ; preds = %117 %138 = load ptr, ptr %11, align 8 %139 = load i64, ptr %138, align 8 store i64 %139, ptr %12, align 8 %140 = load ptr, ptr %6, align 8 %141 = load i64, ptr %13, align 8 %142 = getelementptr inbounds i64, ptr %140, i64 %141 %143 = load i64, ptr %142, align 8 %144 = load ptr, ptr %11, align 8 store i64 %143, ptr %144, align 8 %145 = load i64, ptr %12, align 8 %146 = load ptr, ptr %6, align 8 %147 = load i64, ptr %13, align 8 %148 = getelementptr inbounds i64, ptr %146, i64 %147 store i64 %145, ptr %148, align 8 %149 = load ptr, ptr %8, align 8 %150 = icmp ne ptr %149, null br i1 %150, label %151, label %184 151: ; preds = %137 %152 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0 %153 = load ptr, ptr %8, align 8 %154 = load i64, ptr %19, align 8 %155 = load i32, ptr %9, align 4 %156 = zext i32 %155 to i64 %157 = mul i64 %154, %156 %158 = getelementptr inbounds i8, ptr %153, i64 %157 %159 = load i32, ptr %9, align 4 %160 = call i32 @memcpy(ptr noundef %152, ptr noundef %158, i32 noundef %159) %161 = load ptr, ptr %8, align 8 %162 = load i64, ptr %19, align 8 %163 = load i32, ptr %9, align 4 %164 = zext i32 %163 to i64 %165 = mul i64 %162, %164 %166 = getelementptr inbounds i8, ptr %161, i64 %165 %167 = load ptr, ptr %8, align 8 %168 = load i64, ptr %13, align 8 %169 = load i32, ptr %9, align 4 %170 = zext i32 %169 to i64 %171 = mul i64 %168, %170 %172 = getelementptr inbounds i8, ptr %167, i64 %171 %173 = load i32, ptr %9, align 4 %174 = call i32 @memcpy(ptr noundef %166, ptr noundef %172, i32 noundef %173) %175 = load ptr, ptr %8, align 8 %176 = load i64, ptr %13, align 8 %177 = load i32, ptr %9, align 4 %178 = zext i32 %177 to i64 %179 = mul i64 %176, %178 %180 = getelementptr inbounds i8, ptr %175, i64 %179 %181 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0 %182 = load i32, ptr %9, align 4 %183 = call i32 @memcpy(ptr noundef %180, ptr noundef %181, i32 noundef %182) br label %184 184: ; preds = %151, %137 br label %.backedge ._crit_edge6: ; preds = %.backedge br label %185 185: ; preds = %._crit_edge6, %80 %186 = load i32, ptr %10, align 4 %187 = icmp ugt i32 %186, 0 br i1 %187, label %188, label %250 188: ; preds = %185 store i64 0, ptr %19, align 8 %189 = load i64, ptr %19, align 8 %190 = icmp ult i64 %189, 256 br i1 %190, label %.lr.ph8, label %249 .lr.ph8: ; preds = %188 br label %191 191: ; preds = %.lr.ph8, %244 %192 = load i64, ptr %19, align 8 %193 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %192 %194 = load i64, ptr %193, align 8 %195 = icmp ugt i64 %194, 1 br i1 %195, label %196, label %243 196: ; preds = %191 %197 = load ptr, ptr %8, align 8 %198 = icmp ne ptr %197, null br i1 %198, label %199, label %225 199: ; preds = %196 %200 = load ptr, ptr %6, align 8 %201 = load i64, ptr %19, align 8 %202 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %201 %203 = load i64, ptr %202, align 8 %204 = getelementptr inbounds i64, ptr %200, i64 %203 %205 = load ptr, ptr %6, align 8 %206 = load i64, ptr %19, align 8 %207 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %206 %208 = load i64, ptr %207, align 8 %209 = getelementptr inbounds i64, ptr %205, i64 %208 %210 = load i64, ptr %19, align 8 %211 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %210 %212 = load i64, ptr %211, align 8 %213 = getelementptr inbounds i64, ptr %209, i64 %212 %214 = load ptr, ptr %8, align 8 %215 = load i64, ptr %19, align 8 %216 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %215 %217 = load i64, ptr %216, align 8 %218 = load i32, ptr %9, align 4 %219 = zext i32 %218 to i64 %220 = mul i64 %217, %219 %221 = getelementptr inbounds i8, ptr %214, i64 %220 %222 = load i32, ptr %9, align 4 %223 = load i32, ptr %10, align 4 %224 = sub i32 %223, 8 call void @hybridInPlaceRadixSort256(ptr noundef %204, ptr noundef %213, ptr noundef %221, i32 noundef %222, i32 noundef %224) br label %242 225: ; preds = %196 %226 = load ptr, ptr %6, align 8 %227 = load i64, ptr %19, align 8 %228 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %227 %229 = load i64, ptr %228, align 8 %230 = getelementptr inbounds i64, ptr %226, i64 %229 %231 = load ptr, ptr %6, align 8 %232 = load i64, ptr %19, align 8 %233 = getelementptr inbounds [256 x i64], ptr %17, i64 0, i64 %232 %234 = load i64, ptr %233, align 8 %235 = getelementptr inbounds i64, ptr %231, i64 %234 %236 = load i64, ptr %19, align 8 %237 = getelementptr inbounds [256 x i64], ptr %16, i64 0, i64 %236 %238 = load i64, ptr %237, align 8 %239 = getelementptr inbounds i64, ptr %235, i64 %238 %240 = load i32, ptr %10, align 4 %241 = sub i32 %240, 8 call void @hybridInPlaceRadixSort256(ptr noundef %230, ptr noundef %239, ptr noundef null, i32 noundef 0, i32 noundef %241) br label %242 242: ; preds = %225, %199 br label %243 243: ; preds = %242, %191 br label %244 244: ; preds = %243 %245 = load i64, ptr %19, align 8 %246 = add i64 %245, 1 store i64 %246, ptr %19, align 8 %247 = load i64, ptr %19, align 8 %248 = icmp ult i64 %247, 256 br i1 %248, label %191, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %244 br label %249 249: ; preds = %._crit_edge9, %188 br label %250 250: ; preds = %249, %185 br label %251 251: ; preds = %250, %27 ret void } declare i32 @insertionSort(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmphz1rn5yk.c' source_filename = "/tmp/tmphz1rn5yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @test(i32 noundef 5, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5) ret i32 0 } declare i32 @test(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/tmphz1rn5yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @test(i32 noundef 5, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5) ret i32 0 } declare i32 @test(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/tmp45daej0z.c' source_filename = "/tmp/tmp45daej0z.c" target datalayout = "e-m:e-p270: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/tmp45daej0z.c" target datalayout = "e-m:e-p270: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/tmp8aeragrc.c' source_filename = "/tmp/tmp8aeragrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Error: directory does not exist\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Error: file is not a directory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [512 x i8], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fexpand(ptr noundef %5, ptr noundef %6) %8 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @fget(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %1 %13 = call i32 @iwrites(ptr noundef @.str) br label %23 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = call i32 @fgettype(i32 noundef %15) %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @iwrites(ptr noundef @.str.1) br label %23 20: ; preds = %14 %21 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @fsetwd(ptr noundef %21) br label %23 23: ; preds = %20, %18, %12 ret void } declare i32 @fexpand(ptr noundef, ptr noundef) #1 declare i32 @fget(ptr noundef) #1 declare i32 @iwrites(ptr noundef) #1 declare i32 @fgettype(i32 noundef) #1 declare i32 @fsetwd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8aeragrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Error: directory does not exist\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Error: file is not a directory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [512 x i8], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fexpand(ptr noundef %5, ptr noundef %6) %8 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @fget(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %1 %13 = call i32 @iwrites(ptr noundef @.str) br label %23 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = call i32 @fgettype(i32 noundef %15) %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @iwrites(ptr noundef @.str.1) br label %23 20: ; preds = %14 %21 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @fsetwd(ptr noundef %21) br label %23 23: ; preds = %20, %18, %12 ret void } declare i32 @fexpand(ptr noundef, ptr noundef) #1 declare i32 @fget(ptr noundef) #1 declare i32 @iwrites(ptr noundef) #1 declare i32 @fgettype(i32 noundef) #1 declare i32 @fsetwd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufnpf93h.c' source_filename = "/tmp/tmpufnpf93h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"so_init3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @so_init3() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufnpf93h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"so_init3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @so_init3() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp330_qyty.c' source_filename = "/tmp/tmp330_qyty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = 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/tmp330_qyty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = 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/tmpdnk33kb3.c' source_filename = "/tmp/tmpdnk33kb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipHeaderChecksum(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %14, %2 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i32 1 store ptr %16, ptr %7, align 8 %17 = load i32, ptr %15, align 4 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = sub i64 %21, 4 %23 = trunc i64 %22 to i32 store i32 %23, ptr %5, align 4 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = load i32, ptr %5, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %33 27: ; preds = %24 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %27, %24 %34 = load i32, ptr %6, align 4 %35 = ashr i32 %34, 16 %36 = load i32, ptr %6, align 4 %37 = and i32 %36, 65535 %38 = add nsw i32 %35, %37 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = ashr i32 %39, 16 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = xor i32 %43, -1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %8, align 4 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdnk33kb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipHeaderChecksum(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %7, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i32, ptr %14, i32 1 store ptr %15, ptr %7, align 8 %16 = load i32, ptr %14, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = sub i64 %20, 4 %22 = trunc i64 %21 to i32 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp sgt i32 %23, 1 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %25 25: ; preds = %._crit_edge, %2 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %28, %25 %35 = load i32, ptr %6, align 4 %36 = ashr i32 %35, 16 %37 = load i32, ptr %6, align 4 %38 = and i32 %37, 65535 %39 = add nsw i32 %36, %38 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = ashr i32 %40, 16 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = xor i32 %44, -1 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 ret i32 %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2k5ht7y6.c' source_filename = "/tmp/tmp2k5ht7y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_branchless(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 store volatile double 0.000000e+00, ptr %5, align 8 %9 = call double (...) @get_time() store double %9, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %21, %2 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = load i32, ptr %7, align 4 %16 = load double, ptr %4, align 8 %17 = call i64 @branchless(i32 noundef %15, double noundef %16) %18 = sitofp i64 %17 to double %19 = load volatile double, ptr %5, align 8 %20 = fadd double %19, %18 store volatile double %20, ptr %5, align 8 br label %21 21: ; preds = %14 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %10, !llvm.loop !6 24: ; preds = %10 %25 = call double (...) @get_time() store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = load double, ptr %6, align 8 %28 = fsub double %26, %27 %29 = fdiv double %28, 1.000000e+06 ret double %29 } declare double @get_time(...) #1 declare i64 @branchless(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2k5ht7y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_branchless(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 store volatile double 0.000000e+00, ptr %5, align 8 %9 = call double (...) @get_time() store double %9, ptr %6, align 8 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %20 %14 = load i32, ptr %7, align 4 %15 = load double, ptr %4, align 8 %16 = call i64 @branchless(i32 noundef %14, double noundef %15) %17 = sitofp i64 %16 to double %18 = load volatile double, ptr %5, align 8 %19 = fadd double %18, %17 store volatile double %19, ptr %5, align 8 br label %20 20: ; preds = %13 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 %27 = call double (...) @get_time() store double %27, ptr %8, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %6, align 8 %30 = fsub double %28, %29 %31 = fdiv double %30, 1.000000e+06 ret double %31 } declare double @get_time(...) #1 declare i64 @branchless(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf42vyf0p.c' source_filename = "/tmp/tmpf42vyf0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shader_load(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @shader_read(ptr noundef %6, ptr noundef %5, ptr noundef %7) ret ptr %8 } declare ptr @shader_read(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/tmpf42vyf0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shader_load(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @shader_read(ptr noundef %6, ptr noundef %5, ptr noundef %7) ret ptr %8 } declare ptr @shader_read(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/tmpk5gmuvv_.c' source_filename = "/tmp/tmpk5gmuvv_.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1 @.str.2 = private unnamed_addr constant [79 x i8] c"ERROR: \09- %s send|recv <terminal_filename> <input_file|output_file> [options]\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Configuration:\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" -t \09 Set timeout value\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c" -r \09 Set number of retries\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" -m \09 Set maximum information frame size\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c" -b \09 Set baudrate value\0A\00", align 1 @.str.8 = private unnamed_addr constant [59 x i8] c" -bcc1e \09 Set bcc1 error simulation probability (0 - 100)\0A\00", align 1 @.str.9 = private unnamed_addr constant [59 x i8] c" -bcc2e \09 Set bcc2 error simulation probability (0 - 100)\0A\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c" -bccseed \09 Set bcc error simulation seed\0A\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c" -v \09 Set verbose output\0A\00", align 1 @.str.12 = private unnamed_addr constant [56 x i8] c" -csi \09 Print CSI (connection statistical information)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.2, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.3) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.4) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.5) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.6) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.7) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.8) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.9) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.10) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.11) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.12) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5gmuvv_.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1 @.str.2 = private unnamed_addr constant [79 x i8] c"ERROR: \09- %s send|recv <terminal_filename> <input_file|output_file> [options]\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Configuration:\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" -t \09 Set timeout value\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c" -r \09 Set number of retries\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" -m \09 Set maximum information frame size\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c" -b \09 Set baudrate value\0A\00", align 1 @.str.8 = private unnamed_addr constant [59 x i8] c" -bcc1e \09 Set bcc1 error simulation probability (0 - 100)\0A\00", align 1 @.str.9 = private unnamed_addr constant [59 x i8] c" -bcc2e \09 Set bcc2 error simulation probability (0 - 100)\0A\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c" -bccseed \09 Set bcc error simulation seed\0A\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c" -v \09 Set verbose output\0A\00", align 1 @.str.12 = private unnamed_addr constant [56 x i8] c" -csi \09 Print CSI (connection statistical information)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.2, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.3) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.4) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.5) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.6) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.7) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.8) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.9) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.10) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.11) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.12) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeodfg6s3.c' source_filename = "/tmp/tmpeodfg6s3.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i64, i64, i32, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"termios: %li %ld %ld %ld %ld\0A\00", align 1 @B9600 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr @O_RDWR, align 4 %9 = load i32, ptr @O_NOCTTY, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef %7, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %1 store i32 -1, ptr %2, align 4 br label %51 15: ; preds = %1 %16 = call i32 @bzero(ptr noundef %6, i32 noundef 32) %17 = load i32, ptr %4, align 4 %18 = call i32 @tcgetattr(i32 noundef %17, ptr noundef %6) %19 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %20 = load i32, ptr %19, align 8 %21 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %22 = load i64, ptr %21, align 8 %23 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %28 = load i32, ptr %27, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %20, i64 noundef %22, i32 noundef %24, i64 noundef %26, i32 noundef %28) %30 = load i32, ptr @B9600, align 4 %31 = load i32, ptr @CRTSCTS, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @CS8, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @CLOCAL, align 4 %36 = or i32 %34, %35 %37 = load i32, ptr @CREAD, align 4 %38 = or i32 %36, %37 %39 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 store i32 %38, ptr %39, align 8 %40 = load i32, ptr @IGNPAR, align 4 %41 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 store i32 %40, ptr %41, align 8 %42 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 store i64 0, ptr %42, align 8 %43 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 store i64 0, ptr %43, align 8 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr @TCIFLUSH, align 4 %46 = call i32 @tcflush(i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %4, align 4 %48 = load i32, ptr @TCSANOW, align 4 %49 = call i32 @tcsetattr(i32 noundef %47, i32 noundef %48, ptr noundef %6) %50 = load i32, ptr %4, align 4 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %15, %14 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeodfg6s3.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i64, i64, i32, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"termios: %li %ld %ld %ld %ld\0A\00", align 1 @B9600 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr @O_RDWR, align 4 %9 = load i32, ptr @O_NOCTTY, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef %7, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %1 store i32 -1, ptr %2, align 4 br label %51 15: ; preds = %1 %16 = call i32 @bzero(ptr noundef %6, i32 noundef 32) %17 = load i32, ptr %4, align 4 %18 = call i32 @tcgetattr(i32 noundef %17, ptr noundef %6) %19 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %20 = load i32, ptr %19, align 8 %21 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %22 = load i64, ptr %21, align 8 %23 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %28 = load i32, ptr %27, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %20, i64 noundef %22, i32 noundef %24, i64 noundef %26, i32 noundef %28) %30 = load i32, ptr @B9600, align 4 %31 = load i32, ptr @CRTSCTS, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @CS8, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @CLOCAL, align 4 %36 = or i32 %34, %35 %37 = load i32, ptr @CREAD, align 4 %38 = or i32 %36, %37 %39 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 store i32 %38, ptr %39, align 8 %40 = load i32, ptr @IGNPAR, align 4 %41 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 store i32 %40, ptr %41, align 8 %42 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 store i64 0, ptr %42, align 8 %43 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 store i64 0, ptr %43, align 8 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr @TCIFLUSH, align 4 %46 = call i32 @tcflush(i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %4, align 4 %48 = load i32, ptr @TCSANOW, align 4 %49 = call i32 @tcsetattr(i32 noundef %47, i32 noundef %48, ptr noundef %6) %50 = load i32, ptr %4, align 4 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %15, %14 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvxnuuw15.c' source_filename = "/tmp/tmpvxnuuw15.c" target datalayout = "e-m:e-p270: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/tmpvxnuuw15.c" target datalayout = "e-m:e-p270: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/tmpt0a5by2x.c' source_filename = "/tmp/tmpt0a5by2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_triple(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = icmp slt i64 %7, 136 br i1 %8, label %9, label %27 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = sdiv i64 %11, 28 %13 = load i64, ptr %6, align 8 %14 = sdiv i64 %13, 34 %15 = mul nsw i64 6, %14 %16 = add nsw i64 %12, %15 %17 = call i32 @fast_encode(ptr noundef %10, i64 noundef %16, i32 noundef 1) %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i64, ptr %5, align 8 %21 = srem i64 %20, 28 %22 = mul nsw i64 %21, 34 %23 = load i64, ptr %6, align 8 %24 = srem i64 %23, 34 %25 = add nsw i64 %22, %24 %26 = call i32 @fast_encode(ptr noundef %19, i64 noundef %25, i32 noundef 2) br label %42 27: ; preds = %3 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %5, align 8 %30 = sdiv i64 %29, 24 %31 = add nsw i64 %30, 24 %32 = call i32 @fast_encode(ptr noundef %28, i64 noundef %31, i32 noundef 1) %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i64, ptr %5, align 8 %36 = srem i64 %35, 24 %37 = mul nsw i64 %36, 40 %38 = load i64, ptr %6, align 8 %39 = sub nsw i64 %38, 136 %40 = add nsw i64 %37, %39 %41 = call i32 @fast_encode(ptr noundef %34, i64 noundef %40, i32 noundef 2) br label %42 42: ; preds = %27, %9 ret void } declare i32 @fast_encode(ptr noundef, i64 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/tmpt0a5by2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_triple(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = icmp slt i64 %7, 136 br i1 %8, label %9, label %27 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = sdiv i64 %11, 28 %13 = load i64, ptr %6, align 8 %14 = sdiv i64 %13, 34 %15 = mul nsw i64 6, %14 %16 = add nsw i64 %12, %15 %17 = call i32 @fast_encode(ptr noundef %10, i64 noundef %16, i32 noundef 1) %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i64, ptr %5, align 8 %21 = srem i64 %20, 28 %22 = mul nsw i64 %21, 34 %23 = load i64, ptr %6, align 8 %24 = srem i64 %23, 34 %25 = add nsw i64 %22, %24 %26 = call i32 @fast_encode(ptr noundef %19, i64 noundef %25, i32 noundef 2) br label %42 27: ; preds = %3 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %5, align 8 %30 = sdiv i64 %29, 24 %31 = add nsw i64 %30, 24 %32 = call i32 @fast_encode(ptr noundef %28, i64 noundef %31, i32 noundef 1) %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i64, ptr %5, align 8 %36 = srem i64 %35, 24 %37 = mul nsw i64 %36, 40 %38 = load i64, ptr %6, align 8 %39 = sub nsw i64 %38, 136 %40 = add nsw i64 %37, %39 %41 = call i32 @fast_encode(ptr noundef %34, i64 noundef %40, i32 noundef 2) br label %42 42: ; preds = %27, %9 ret void } declare i32 @fast_encode(ptr noundef, i64 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/tmpe0k6cru0.c' source_filename = "/tmp/tmpe0k6cru0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @itoa(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 15) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %2, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpe0k6cru0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @itoa(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 15) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %2, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i32 noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpxzo1gcx1.c' source_filename = "/tmp/tmpxzo1gcx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_two_safety_conditions2_Bad() #0 { %1 = call i32 @two_safety_conditions2_Bad(i32 noundef 15) ret void } declare i32 @two_safety_conditions2_Bad(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/tmpxzo1gcx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_two_safety_conditions2_Bad() #0 { %1 = call i32 @two_safety_conditions2_Bad(i32 noundef 15) ret void } declare i32 @two_safety_conditions2_Bad(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/tmpwhok5j22.c' source_filename = "/tmp/tmpwhok5j22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sinc(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oeq float 0.000000e+00, %3 br i1 %4, label %5, label %6 5: ; preds = %1 br label %17 6: ; preds = %1 %7 = load i64, ptr @M_PI, align 8 %8 = sitofp i64 %7 to float %9 = load float, ptr %2, align 4 %10 = fmul float %8, %9 %11 = call float @sinf(float noundef %10) #2 %12 = load i64, ptr @M_PI, align 8 %13 = sitofp i64 %12 to float %14 = load float, ptr %2, align 4 %15 = fmul float %13, %14 %16 = fdiv float %11, %15 br label %17 17: ; preds = %6, %5 %18 = phi float [ 1.000000e+00, %5 ], [ %16, %6 ] ret float %18 } ; Function Attrs: nounwind declare float @sinf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhok5j22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sinc(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oeq float 0.000000e+00, %3 br i1 %4, label %5, label %6 5: ; preds = %1 br label %17 6: ; preds = %1 %7 = load i64, ptr @M_PI, align 8 %8 = sitofp i64 %7 to float %9 = load float, ptr %2, align 4 %10 = fmul float %8, %9 %11 = call float @sinf(float noundef %10) #2 %12 = load i64, ptr @M_PI, align 8 %13 = sitofp i64 %12 to float %14 = load float, ptr %2, align 4 %15 = fmul float %13, %14 %16 = fdiv float %11, %15 br label %17 17: ; preds = %6, %5 %18 = phi float [ 1.000000e+00, %5 ], [ %16, %6 ] ret float %18 } ; Function Attrs: nounwind declare float @sinf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1g0tfhql.c' source_filename = "/tmp/tmp1g0tfhql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @listen_hup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @listen_close(ptr noundef %5) ret void } declare i32 @listen_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1g0tfhql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @listen_hup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @listen_close(ptr noundef %5) ret void } declare i32 @listen_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwvvn7keo.c' source_filename = "/tmp/tmpwvvn7keo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.timezone = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"The time is %lu sec %lu microsec\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The timezone is %d min DST: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timeval, align 4 %3 = alloca %struct.timezone, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @gettimeofday(ptr noundef %2, ptr noundef %3) %5 = load i32, ptr @stderr, align 4 %6 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, i32 noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, i32 noundef %13, i32 noundef %15) %17 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = sub nsw i32 %18, 3600 store i32 %19, ptr %17, align 4 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, i32 noundef %22, i32 noundef %24) %26 = load i32, ptr @stderr, align 4 %27 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %30 = load i32, ptr %29, align 4 %31 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, i32 noundef %28, i32 noundef %30) %32 = call i32 @settimeofday(ptr noundef %2, ptr noundef %3) %33 = call i32 @gettimeofday(ptr noundef %2, ptr noundef %3) %34 = load i32, ptr @stderr, align 4 %35 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %38 = load i32, ptr %37, align 4 %39 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str, i32 noundef %36, i32 noundef %38) %40 = load i32, ptr @stderr, align 4 %41 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1, i32 noundef %42, i32 noundef %44) ret i32 0 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @settimeofday(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/tmpwvvn7keo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.timezone = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"The time is %lu sec %lu microsec\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The timezone is %d min DST: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timeval, align 4 %3 = alloca %struct.timezone, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @gettimeofday(ptr noundef %2, ptr noundef %3) %5 = load i32, ptr @stderr, align 4 %6 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, i32 noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, i32 noundef %13, i32 noundef %15) %17 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = sub nsw i32 %18, 3600 store i32 %19, ptr %17, align 4 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, i32 noundef %22, i32 noundef %24) %26 = load i32, ptr @stderr, align 4 %27 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %30 = load i32, ptr %29, align 4 %31 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, i32 noundef %28, i32 noundef %30) %32 = call i32 @settimeofday(ptr noundef %2, ptr noundef %3) %33 = call i32 @gettimeofday(ptr noundef %2, ptr noundef %3) %34 = load i32, ptr @stderr, align 4 %35 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %38 = load i32, ptr %37, align 4 %39 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str, i32 noundef %36, i32 noundef %38) %40 = load i32, ptr @stderr, align 4 %41 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds %struct.timezone, ptr %3, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1, i32 noundef %42, i32 noundef %44) ret i32 0 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @settimeofday(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/tmpj0mf6gv_.c' source_filename = "/tmp/tmpj0mf6gv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 32767 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = call i32 @is_hex_palidrom(i32 noundef %10) %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %9 br label %18 14: ; preds = %9 br label %15 15: ; preds = %14 %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 = %13, %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @is_hex_palidrom(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/tmpj0mf6gv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %6, 32767 br i1 %7, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %3, align 4 %10 = call i32 @is_hex_palidrom(i32 noundef %9) %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %8 br label %19 13: ; preds = %8 br label %14 14: ; preds = %13 %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 sle i32 %17, 32767 br i1 %18, label %8, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %14 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %19 19: ; preds = %.loopexit, %12 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @is_hex_palidrom(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/tmpgie4dncy.c' source_filename = "/tmp/tmpgie4dncy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [6 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60], align 16 @.str = private unnamed_addr constant [48 x i8] c"Number of elements between two pointer are: %d.\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Number of bytes between two pointers are: %d\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 [6 x i32], align 16 %7 = alloca ptr, align 8 %8 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.arr, i64 24, i1 false) %9 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 store ptr %9, ptr %7, align 8 %10 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 %11 = getelementptr inbounds i32, ptr %10, i64 5 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = ptrtoint ptr %12 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 %17 = sdiv exact i64 %16, 4 %18 = trunc i64 %17 to i32 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %7, align 8 %22 = ptrtoint ptr %20 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgie4dncy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [6 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60], align 16 @.str = private unnamed_addr constant [48 x i8] c"Number of elements between two pointer are: %d.\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Number of bytes between two pointers are: %d\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 [6 x i32], align 16 %7 = alloca ptr, align 8 %8 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.arr, i64 24, i1 false) %9 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 store ptr %9, ptr %7, align 8 %10 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 %11 = getelementptr inbounds i32, ptr %10, i64 5 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = ptrtoint ptr %12 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 %17 = sdiv exact i64 %16, 4 %18 = trunc i64 %17 to i32 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %7, align 8 %22 = ptrtoint ptr %20 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy50j255f.c' source_filename = "/tmp/tmpy50j255f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = call i64 (...) @Fork() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %5, %0 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @Fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy50j255f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = call i64 (...) @Fork() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %5, %0 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @Fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp349k38o7.c' source_filename = "/tmp/tmp349k38o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%d%s\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"P2 (pid=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c")\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"P5 (pid=\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"P4 (pid=\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"P7 (pid=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pLeft() #0 { %1 = alloca i64, align 8 %2 = load i32, ptr @stdout, align 4 %3 = call ptr (...) @getpid() %4 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3, ptr noundef @.str.2) %5 = call i64 (...) @fork() store i64 %5, ptr %1, align 8 %6 = load i64, ptr %1, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %0 %9 = call i32 @sleep(i32 noundef 1) %10 = load i32, ptr @stdout, align 4 %11 = call ptr (...) @getpid() %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef @.str.3, ptr noundef %11, ptr noundef @.str.2) %13 = call i32 @exit(i32 noundef 0) #3 unreachable 14: ; preds = %0 %15 = call i32 @sleep(i32 noundef 1) %16 = load i32, ptr @stdout, align 4 %17 = call ptr (...) @getpid() %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.4, ptr noundef %17, ptr noundef @.str.2) br label %19 19: ; preds = %23, %14 %20 = call i64 @wait(ptr noundef null) %21 = load i64, ptr %1, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %19 br label %19, !llvm.loop !6 24: ; preds = %19 %25 = call i32 @sleep(i32 noundef 1) %26 = load i32, ptr @stdout, align 4 %27 = call ptr (...) @getpid() %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef @.str.5, ptr noundef %27, ptr noundef @.str.2) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getpid(...) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp349k38o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%d%s\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"P2 (pid=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c")\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"P5 (pid=\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"P4 (pid=\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"P7 (pid=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pLeft() #0 { %1 = alloca i64, align 8 %2 = load i32, ptr @stdout, align 4 %3 = call ptr (...) @getpid() %4 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3, ptr noundef @.str.2) %5 = call i64 (...) @fork() store i64 %5, ptr %1, align 8 %6 = load i64, ptr %1, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %0 %9 = call i32 @sleep(i32 noundef 1) %10 = load i32, ptr @stdout, align 4 %11 = call ptr (...) @getpid() %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef @.str.3, ptr noundef %11, ptr noundef @.str.2) %13 = call i32 @exit(i32 noundef 0) #3 unreachable 14: ; preds = %0 %15 = call i32 @sleep(i32 noundef 1) %16 = load i32, ptr @stdout, align 4 %17 = call ptr (...) @getpid() %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.4, ptr noundef %17, ptr noundef @.str.2) br label %19 19: ; preds = %19, %14 %20 = call i64 @wait(ptr noundef null) %21 = load i64, ptr %1, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %19, label %23, !llvm.loop !6 23: ; preds = %19 %24 = call i32 @sleep(i32 noundef 1) %25 = load i32, ptr @stdout, align 4 %26 = call ptr (...) @getpid() %27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, ptr noundef @.str.5, ptr noundef %26, ptr noundef @.str.2) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getpid(...) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd3w80ux_.c' source_filename = "/tmp/tmpd3w80ux_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c" Gate options\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c" Name: gate\0A t=threshold (dBFS)\0A h=holdtime (sec)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c" Example: -p gate,t=-80,h=30\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_gate() #0 { %1 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str) %2 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str.1) %3 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str.2) ret void } declare i32 @debugprint(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/tmpd3w80ux_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c" Gate options\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c" Name: gate\0A t=threshold (dBFS)\0A h=holdtime (sec)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c" Example: -p gate,t=-80,h=30\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_gate() #0 { %1 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str) %2 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str.1) %3 = call i32 @debugprint(i32 noundef 0, ptr noundef @.str.2) ret void } declare i32 @debugprint(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/tmp_2gu5zrd.c' source_filename = "/tmp/tmp_2gu5zrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"__--Oneness Property--__\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Enter a starting point (a number between 1-1,000): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"I'm sorry. The first number should be between 1 and 1000. Try again: \00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c"Enter an ending point (a number between previous number-10,000): \00", align 1 @.str.5 = private unnamed_addr constant [108 x i8] c"Sorry, but the second number must be higher than the first number and less than 10,000. Please, try again: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) br label %11 11: ; preds = %19, %2 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 1 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = icmp sge i32 %15, 1000 br label %17 17: ; preds = %14, %11 %18 = phi i1 [ true, %11 ], [ %16, %14 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = call i32 (...) @clrKeyboardBuffer() %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) br label %11, !llvm.loop !6 23: ; preds = %17 %24 = call i32 @printf(ptr noundef @.str.4) %25 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) br label %26 26: ; preds = %35, %23 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp sge i32 %31, 10000 br label %33 33: ; preds = %30, %26 %34 = phi i1 [ true, %26 ], [ %32, %30 ] br i1 %34, label %35, label %39 35: ; preds = %33 %36 = call i32 (...) @clrKeyboardBuffer() %37 = call i32 @printf(ptr noundef @.str.5) %38 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) br label %26, !llvm.loop !8 39: ; preds = %33 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 @oneness(i32 noundef %40, i32 noundef %41) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @clrKeyboardBuffer(...) #1 declare i32 @oneness(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2gu5zrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"__--Oneness Property--__\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Enter a starting point (a number between 1-1,000): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"I'm sorry. The first number should be between 1 and 1000. Try again: \00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c"Enter an ending point (a number between previous number-10,000): \00", align 1 @.str.5 = private unnamed_addr constant [108 x i8] c"Sorry, but the second number must be higher than the first number and less than 10,000. Please, try again: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) br label %11 11: ; preds = %19, %2 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 1 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = icmp sge i32 %15, 1000 br label %17 17: ; preds = %14, %11 %18 = phi i1 [ true, %11 ], [ %16, %14 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = call i32 (...) @clrKeyboardBuffer() %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) br label %11, !llvm.loop !6 23: ; preds = %17 %24 = call i32 @printf(ptr noundef @.str.4) %25 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) br label %26 26: ; preds = %35, %23 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp sge i32 %31, 10000 br label %33 33: ; preds = %30, %26 %34 = phi i1 [ true, %26 ], [ %32, %30 ] br i1 %34, label %35, label %39 35: ; preds = %33 %36 = call i32 (...) @clrKeyboardBuffer() %37 = call i32 @printf(ptr noundef @.str.5) %38 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) br label %26, !llvm.loop !8 39: ; preds = %33 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 @oneness(i32 noundef %40, i32 noundef %41) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @clrKeyboardBuffer(...) #1 declare i32 @oneness(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}
; ModuleID = '/tmp/tmp45xfwyys.c' source_filename = "/tmp/tmp45xfwyys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endian_write_float(ptr noundef %0, float noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store ptr %5, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 1, %11 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @memcpy(ptr noundef %14, ptr noundef %5, i32 noundef 4) br label %33 16: ; preds = %3 store i32 0, ptr %8, align 4 br label %17 17: ; preds = %29, %16 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %18, 4 br i1 %19, label %20, label %32 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = load i32, ptr %8, align 4 %23 = sub nsw i32 3, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %9, align 8 store i8 %26, ptr %27, align 1 br label %29 29: ; preds = %20 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %17, !llvm.loop !6 32: ; preds = %17 br label %33 33: ; preds = %32, %13 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45xfwyys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endian_write_float(ptr noundef %0, float noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store ptr %5, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 1, %11 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @memcpy(ptr noundef %14, ptr noundef %5, i32 noundef 4) br label %34 16: ; preds = %3 store i32 0, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 4 br i1 %18, label %.lr.ph, label %33 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %28 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = sub nsw i32 3, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %9, align 8 store i8 %25, ptr %26, align 1 br label %28 28: ; preds = %19 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %31, 4 br i1 %32, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %16 br label %34 34: ; preds = %33, %13 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpghksg93z.c' source_filename = "/tmp/tmpghksg93z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Hi from two()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @two() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpghksg93z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Hi from two()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @two() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcybkhn1w.c' source_filename = "/tmp/tmpcybkhn1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define weak dso_local void @abort() #0 { %1 = call i32 (...) @taskExit() br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @taskExit(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcybkhn1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define weak dso_local void @abort() #0 { %1 = call i32 (...) @taskExit() br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @taskExit(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4uj09bmx.c' source_filename = "/tmp/tmp4uj09bmx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_BIO_LIB = dso_local global i32 0, align 4 @ECPKParameters_print.gen_compressed = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [24 x i8] c"Generator (compressed):\00", align 1 @ECPKParameters_print.gen_uncompressed = internal global ptr @.str.1, align 8 @.str.1 = private unnamed_addr constant [26 x i8] c"Generator (uncompressed):\00", align 1 @ECPKParameters_print.gen_hybrid = internal global ptr @.str.2, align 8 @.str.2 = private unnamed_addr constant [20 x i8] c"Generator (hybrid):\00", align 1 @ERR_R_PASSED_NULL_PARAMETER = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"ASN1 OID: %s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @NID_X9_62_characteristic_two_field = dso_local global i32 0, align 4 @ERR_R_EC_LIB = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"Field Type: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Basis Type: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"Polynomial:\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Prime:\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"A: \00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"B: \00", align 1 @POINT_CONVERSION_COMPRESSED = dso_local global i64 0, align 8 @POINT_CONVERSION_UNCOMPRESSED = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [8 x i8] c"Order: \00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"Cofactor: \00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Seed:\00", align 1 @EC_F_ECPKPARAMETERS_PRINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ECPKParameters_print(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i64, align 8 %25 = alloca i32, align 4 %26 = 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 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %10, align 4 %27 = load i32, ptr @ERR_R_BIO_LIB, align 4 store i32 %27, ptr %11, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store ptr null, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %19, align 8 store i64 0, ptr %21, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %3 %31 = load i32, ptr @ERR_R_PASSED_NULL_PARAMETER, align 4 store i32 %31, ptr %11, align 4 br label %362 32: ; preds = %3 %33 = call ptr (...) @BN_CTX_new() store ptr %33, ptr %12, align 8 %34 = load ptr, ptr %12, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %37, ptr %11, align 4 br label %362 38: ; preds = %32 %39 = load ptr, ptr %5, align 8 %40 = call i64 @EC_GROUP_get_asn1_flag(ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %67 42: ; preds = %38 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %6, align 4 %45 = call i32 @BIO_indent(ptr noundef %43, i32 noundef %44, i32 noundef 128) %46 = icmp ne i32 %45, 0 br i1 %46, label %48, label %47 47: ; preds = %42 br label %362 48: ; preds = %42 %49 = load ptr, ptr %5, align 8 %50 = call i32 @EC_GROUP_get_curve_name(ptr noundef %49) store i32 %50, ptr %22, align 4 %51 = load i32, ptr %22, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %48 br label %362 54: ; preds = %48 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %22, align 4 %57 = call i32 @OBJ_nid2sn(i32 noundef %56) %58 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %55, ptr noundef @.str.3, i32 noundef %57) %59 = icmp sle i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %54 br label %362 61: ; preds = %54 %62 = load ptr, ptr %4, align 8 %63 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %62, ptr noundef @.str.4) %64 = icmp sle i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 br label %362 66: ; preds = %61 br label %361 67: ; preds = %38 store i32 0, ptr %23, align 4 %68 = load ptr, ptr %5, align 8 %69 = call i32 @EC_GROUP_method_of(ptr noundef %68) %70 = call i32 @EC_METHOD_get_field_type(i32 noundef %69) store i32 %70, ptr %25, align 4 %71 = load i32, ptr %25, align 4 %72 = load i32, ptr @NID_X9_62_characteristic_two_field, align 4 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %75 74: ; preds = %67 store i32 1, ptr %23, align 4 br label %75 75: ; preds = %74, %67 %76 = call ptr (...) @BN_new() store ptr %76, ptr %14, align 8 %77 = icmp eq ptr %76, null br i1 %77, label %90, label %78 78: ; preds = %75 %79 = call ptr (...) @BN_new() store ptr %79, ptr %15, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %90, label %81 81: ; preds = %78 %82 = call ptr (...) @BN_new() store ptr %82, ptr %16, align 8 %83 = icmp eq ptr %82, null br i1 %83, label %90, label %84 84: ; preds = %81 %85 = call ptr (...) @BN_new() store ptr %85, ptr %18, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %90, label %87 87: ; preds = %84 %88 = call ptr (...) @BN_new() store ptr %88, ptr %19, align 8 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %92 90: ; preds = %87, %84, %81, %78, %75 %91 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %91, ptr %11, align 4 br label %362 92: ; preds = %87 %93 = load i32, ptr %23, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %106 95: ; preds = %92 %96 = load ptr, ptr %5, align 8 %97 = load ptr, ptr %14, align 8 %98 = load ptr, ptr %15, align 8 %99 = load ptr, ptr %16, align 8 %100 = load ptr, ptr %12, align 8 %101 = call i32 @EC_GROUP_get_curve_GF2m(ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100) %102 = icmp ne i32 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %95 %104 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %104, ptr %11, align 4 br label %362 105: ; preds = %95 br label %117 106: ; preds = %92 %107 = load ptr, ptr %5, align 8 %108 = load ptr, ptr %14, align 8 %109 = load ptr, ptr %15, align 8 %110 = load ptr, ptr %16, align 8 %111 = load ptr, ptr %12, align 8 %112 = call i32 @EC_GROUP_get_curve_GFp(ptr noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %116, label %114 114: ; preds = %106 %115 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %115, ptr %11, align 4 br label %362 116: ; preds = %106 br label %117 117: ; preds = %116, %105 %118 = load ptr, ptr %5, align 8 %119 = call ptr @EC_GROUP_get0_generator(ptr noundef %118) store ptr %119, ptr %13, align 8 %120 = icmp eq ptr %119, null br i1 %120, label %121, label %123 121: ; preds = %117 %122 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %122, ptr %11, align 4 br label %362 123: ; preds = %117 %124 = load ptr, ptr %5, align 8 %125 = load ptr, ptr %18, align 8 %126 = call i32 @EC_GROUP_get_order(ptr noundef %124, ptr noundef %125, ptr noundef null) %127 = icmp ne i32 %126, 0 br i1 %127, label %128, label %133 128: ; preds = %123 %129 = load ptr, ptr %5, align 8 %130 = load ptr, ptr %19, align 8 %131 = call i32 @EC_GROUP_get_cofactor(ptr noundef %129, ptr noundef %130, ptr noundef null) %132 = icmp ne i32 %131, 0 br i1 %132, label %135, label %133 133: ; preds = %128, %123 %134 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %134, ptr %11, align 4 br label %362 135: ; preds = %128 %136 = load ptr, ptr %5, align 8 %137 = call i64 @EC_GROUP_get_point_conversion_form(ptr noundef %136) store i64 %137, ptr %24, align 8 %138 = load ptr, ptr %5, align 8 %139 = load ptr, ptr %13, align 8 %140 = load i64, ptr %24, align 8 %141 = load ptr, ptr %12, align 8 %142 = call ptr @EC_POINT_point2bn(ptr noundef %138, ptr noundef %139, i64 noundef %140, ptr noundef null, ptr noundef %141) store ptr %142, ptr %17, align 8 %143 = icmp eq ptr %142, null br i1 %143, label %144, label %146 144: ; preds = %135 %145 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %145, ptr %11, align 4 br label %362 146: ; preds = %135 %147 = load ptr, ptr %14, align 8 %148 = call i64 @BN_num_bytes(ptr noundef %147) store i64 %148, ptr %8, align 8 %149 = load i64, ptr %8, align 8 %150 = load ptr, ptr %15, align 8 %151 = call i64 @BN_num_bytes(ptr noundef %150) store i64 %151, ptr %9, align 8 %152 = icmp ult i64 %149, %151 br i1 %152, label %153, label %155 153: ; preds = %146 %154 = load i64, ptr %9, align 8 store i64 %154, ptr %8, align 8 br label %155 155: ; preds = %153, %146 %156 = load i64, ptr %8, align 8 %157 = load ptr, ptr %16, align 8 %158 = call i64 @BN_num_bytes(ptr noundef %157) store i64 %158, ptr %9, align 8 %159 = icmp ult i64 %156, %158 br i1 %159, label %160, label %162 160: ; preds = %155 %161 = load i64, ptr %9, align 8 store i64 %161, ptr %8, align 8 br label %162 162: ; preds = %160, %155 %163 = load i64, ptr %8, align 8 %164 = load ptr, ptr %17, align 8 %165 = call i64 @BN_num_bytes(ptr noundef %164) store i64 %165, ptr %9, align 8 %166 = icmp ult i64 %163, %165 br i1 %166, label %167, label %169 167: ; preds = %162 %168 = load i64, ptr %9, align 8 store i64 %168, ptr %8, align 8 br label %169 169: ; preds = %167, %162 %170 = load i64, ptr %8, align 8 %171 = load ptr, ptr %18, align 8 %172 = call i64 @BN_num_bytes(ptr noundef %171) store i64 %172, ptr %9, align 8 %173 = icmp ult i64 %170, %172 br i1 %173, label %174, label %176 174: ; preds = %169 %175 = load i64, ptr %9, align 8 store i64 %175, ptr %8, align 8 br label %176 176: ; preds = %174, %169 %177 = load i64, ptr %8, align 8 %178 = load ptr, ptr %19, align 8 %179 = call i64 @BN_num_bytes(ptr noundef %178) store i64 %179, ptr %9, align 8 %180 = icmp ult i64 %177, %179 br i1 %180, label %181, label %183 181: ; preds = %176 %182 = load i64, ptr %9, align 8 store i64 %182, ptr %8, align 8 br label %183 183: ; preds = %181, %176 %184 = load ptr, ptr %5, align 8 %185 = call ptr @EC_GROUP_get0_seed(ptr noundef %184) store ptr %185, ptr %20, align 8 %186 = icmp ne ptr %185, null br i1 %186, label %187, label %190 187: ; preds = %183 %188 = load ptr, ptr %5, align 8 %189 = call i64 @EC_GROUP_get_seed_len(ptr noundef %188) store i64 %189, ptr %21, align 8 br label %190 190: ; preds = %187, %183 %191 = load i64, ptr %8, align 8 %192 = add i64 %191, 10 store i64 %192, ptr %8, align 8 %193 = load i64, ptr %8, align 8 %194 = call ptr @malloc(i64 noundef %193) store ptr %194, ptr %7, align 8 %195 = icmp eq ptr %194, null br i1 %195, label %196, label %198 196: ; preds = %190 %197 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %197, ptr %11, align 4 br label %362 198: ; preds = %190 %199 = load ptr, ptr %4, align 8 %200 = load i32, ptr %6, align 4 %201 = call i32 @BIO_indent(ptr noundef %199, i32 noundef %200, i32 noundef 128) %202 = icmp ne i32 %201, 0 br i1 %202, label %204, label %203 203: ; preds = %198 br label %362 204: ; preds = %198 %205 = load ptr, ptr %4, align 8 %206 = load i32, ptr %25, align 4 %207 = call i32 @OBJ_nid2sn(i32 noundef %206) %208 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %205, ptr noundef @.str.5, i32 noundef %207) %209 = icmp sle i64 %208, 0 br i1 %209, label %210, label %211 210: ; preds = %204 br label %362 211: ; preds = %204 %212 = load i32, ptr %23, align 4 %213 = icmp ne i32 %212, 0 br i1 %213, label %214, label %245 214: ; preds = %211 %215 = load ptr, ptr %5, align 8 %216 = call i32 @EC_GROUP_get_basis_type(ptr noundef %215) store i32 %216, ptr %26, align 4 %217 = load i32, ptr %26, align 4 %218 = icmp eq i32 %217, 0 br i1 %218, label %219, label %220 219: ; preds = %214 br label %362 220: ; preds = %214 %221 = load ptr, ptr %4, align 8 %222 = load i32, ptr %6, align 4 %223 = call i32 @BIO_indent(ptr noundef %221, i32 noundef %222, i32 noundef 128) %224 = icmp ne i32 %223, 0 br i1 %224, label %226, label %225 225: ; preds = %220 br label %362 226: ; preds = %220 %227 = load ptr, ptr %4, align 8 %228 = load i32, ptr %26, align 4 %229 = call i32 @OBJ_nid2sn(i32 noundef %228) %230 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %227, ptr noundef @.str.6, i32 noundef %229) %231 = icmp sle i64 %230, 0 br i1 %231, label %232, label %233 232: ; preds = %226 br label %362 233: ; preds = %226 %234 = load ptr, ptr %14, align 8 %235 = icmp ne ptr %234, null br i1 %235, label %236, label %244 236: ; preds = %233 %237 = load ptr, ptr %4, align 8 %238 = load ptr, ptr %14, align 8 %239 = load ptr, ptr %7, align 8 %240 = load i32, ptr %6, align 4 %241 = call i32 @ASN1_bn_print(ptr noundef %237, ptr noundef @.str.7, ptr noundef %238, ptr noundef %239, i32 noundef %240) %242 = icmp ne i32 %241, 0 br i1 %242, label %244, label %243 243: ; preds = %236 br label %362 244: ; preds = %236, %233 br label %257 245: ; preds = %211 %246 = load ptr, ptr %14, align 8 %247 = icmp ne ptr %246, null br i1 %247, label %248, label %256 248: ; preds = %245 %249 = load ptr, ptr %4, align 8 %250 = load ptr, ptr %14, align 8 %251 = load ptr, ptr %7, align 8 %252 = load i32, ptr %6, align 4 %253 = call i32 @ASN1_bn_print(ptr noundef %249, ptr noundef @.str.8, ptr noundef %250, ptr noundef %251, i32 noundef %252) %254 = icmp ne i32 %253, 0 br i1 %254, label %256, label %255 255: ; preds = %248 br label %362 256: ; preds = %248, %245 br label %257 257: ; preds = %256, %244 %258 = load ptr, ptr %15, align 8 %259 = icmp ne ptr %258, null br i1 %259, label %260, label %268 260: ; preds = %257 %261 = load ptr, ptr %4, align 8 %262 = load ptr, ptr %15, align 8 %263 = load ptr, ptr %7, align 8 %264 = load i32, ptr %6, align 4 %265 = call i32 @ASN1_bn_print(ptr noundef %261, ptr noundef @.str.9, ptr noundef %262, ptr noundef %263, i32 noundef %264) %266 = icmp ne i32 %265, 0 br i1 %266, label %268, label %267 267: ; preds = %260 br label %362 268: ; preds = %260, %257 %269 = load ptr, ptr %16, align 8 %270 = icmp ne ptr %269, null br i1 %270, label %271, label %279 271: ; preds = %268 %272 = load ptr, ptr %4, align 8 %273 = load ptr, ptr %16, align 8 %274 = load ptr, ptr %7, align 8 %275 = load i32, ptr %6, align 4 %276 = call i32 @ASN1_bn_print(ptr noundef %272, ptr noundef @.str.10, ptr noundef %273, ptr noundef %274, i32 noundef %275) %277 = icmp ne i32 %276, 0 br i1 %277, label %279, label %278 278: ; preds = %271 br label %362 279: ; preds = %271, %268 %280 = load i64, ptr %24, align 8 %281 = load i64, ptr @POINT_CONVERSION_COMPRESSED, align 8 %282 = icmp eq i64 %280, %281 br i1 %282, label %283, label %296 283: ; preds = %279 %284 = load ptr, ptr %17, align 8 %285 = icmp ne ptr %284, null br i1 %285, label %286, label %295 286: ; preds = %283 %287 = load ptr, ptr %4, align 8 %288 = load ptr, ptr @ECPKParameters_print.gen_compressed, align 8 %289 = load ptr, ptr %17, align 8 %290 = load ptr, ptr %7, align 8 %291 = load i32, ptr %6, align 4 %292 = call i32 @ASN1_bn_print(ptr noundef %287, ptr noundef %288, ptr noundef %289, ptr noundef %290, i32 noundef %291) %293 = icmp ne i32 %292, 0 br i1 %293, label %295, label %294 294: ; preds = %286 br label %362 295: ; preds = %286, %283 br label %327 296: ; preds = %279 %297 = load i64, ptr %24, align 8 %298 = load i64, ptr @POINT_CONVERSION_UNCOMPRESSED, align 8 %299 = icmp eq i64 %297, %298 br i1 %299, label %300, label %313 300: ; preds = %296 %301 = load ptr, ptr %17, align 8 %302 = icmp ne ptr %301, null br i1 %302, label %303, label %312 303: ; preds = %300 %304 = load ptr, ptr %4, align 8 %305 = load ptr, ptr @ECPKParameters_print.gen_uncompressed, align 8 %306 = load ptr, ptr %17, align 8 %307 = load ptr, ptr %7, align 8 %308 = load i32, ptr %6, align 4 %309 = call i32 @ASN1_bn_print(ptr noundef %304, ptr noundef %305, ptr noundef %306, ptr noundef %307, i32 noundef %308) %310 = icmp ne i32 %309, 0 br i1 %310, label %312, label %311 311: ; preds = %303 br label %362 312: ; preds = %303, %300 br label %326 313: ; preds = %296 %314 = load ptr, ptr %17, align 8 %315 = icmp ne ptr %314, null br i1 %315, label %316, label %325 316: ; preds = %313 %317 = load ptr, ptr %4, align 8 %318 = load ptr, ptr @ECPKParameters_print.gen_hybrid, align 8 %319 = load ptr, ptr %17, align 8 %320 = load ptr, ptr %7, align 8 %321 = load i32, ptr %6, align 4 %322 = call i32 @ASN1_bn_print(ptr noundef %317, ptr noundef %318, ptr noundef %319, ptr noundef %320, i32 noundef %321) %323 = icmp ne i32 %322, 0 br i1 %323, label %325, label %324 324: ; preds = %316 br label %362 325: ; preds = %316, %313 br label %326 326: ; preds = %325, %312 br label %327 327: ; preds = %326, %295 %328 = load ptr, ptr %18, align 8 %329 = icmp ne ptr %328, null br i1 %329, label %330, label %338 330: ; preds = %327 %331 = load ptr, ptr %4, align 8 %332 = load ptr, ptr %18, align 8 %333 = load ptr, ptr %7, align 8 %334 = load i32, ptr %6, align 4 %335 = call i32 @ASN1_bn_print(ptr noundef %331, ptr noundef @.str.11, ptr noundef %332, ptr noundef %333, i32 noundef %334) %336 = icmp ne i32 %335, 0 br i1 %336, label %338, label %337 337: ; preds = %330 br label %362 338: ; preds = %330, %327 %339 = load ptr, ptr %19, align 8 %340 = icmp ne ptr %339, null br i1 %340, label %341, label %349 341: ; preds = %338 %342 = load ptr, ptr %4, align 8 %343 = load ptr, ptr %19, align 8 %344 = load ptr, ptr %7, align 8 %345 = load i32, ptr %6, align 4 %346 = call i32 @ASN1_bn_print(ptr noundef %342, ptr noundef @.str.12, ptr noundef %343, ptr noundef %344, i32 noundef %345) %347 = icmp ne i32 %346, 0 br i1 %347, label %349, label %348 348: ; preds = %341 br label %362 349: ; preds = %341, %338 %350 = load ptr, ptr %20, align 8 %351 = icmp ne ptr %350, null br i1 %351, label %352, label %360 352: ; preds = %349 %353 = load ptr, ptr %4, align 8 %354 = load ptr, ptr %20, align 8 %355 = load i64, ptr %21, align 8 %356 = load i32, ptr %6, align 4 %357 = call i32 @print_bin(ptr noundef %353, ptr noundef @.str.13, ptr noundef %354, i64 noundef %355, i32 noundef %356) %358 = icmp ne i32 %357, 0 br i1 %358, label %360, label %359 359: ; preds = %352 br label %362 360: ; preds = %352, %349 br label %361 361: ; preds = %360, %66 store i32 1, ptr %10, align 4 br label %362 362: ; preds = %361, %359, %348, %337, %324, %311, %294, %278, %267, %255, %243, %232, %225, %219, %210, %203, %196, %144, %133, %121, %114, %103, %90, %65, %60, %53, %47, %36, %30 %363 = load i32, ptr %10, align 4 %364 = icmp ne i32 %363, 0 br i1 %364, label %369, label %365 365: ; preds = %362 %366 = load i32, ptr @EC_F_ECPKPARAMETERS_PRINT, align 4 %367 = load i32, ptr %11, align 4 %368 = call i32 @ECerr(i32 noundef %366, i32 noundef %367) br label %369 369: ; preds = %365, %362 %370 = load ptr, ptr %14, align 8 %371 = call i32 @BN_free(ptr noundef %370) %372 = load ptr, ptr %15, align 8 %373 = call i32 @BN_free(ptr noundef %372) %374 = load ptr, ptr %16, align 8 %375 = call i32 @BN_free(ptr noundef %374) %376 = load ptr, ptr %17, align 8 %377 = call i32 @BN_free(ptr noundef %376) %378 = load ptr, ptr %18, align 8 %379 = call i32 @BN_free(ptr noundef %378) %380 = load ptr, ptr %19, align 8 %381 = call i32 @BN_free(ptr noundef %380) %382 = load ptr, ptr %12, align 8 %383 = call i32 @BN_CTX_free(ptr noundef %382) %384 = load ptr, ptr %7, align 8 %385 = call i32 @free(ptr noundef %384) %386 = load i32, ptr %10, align 4 ret i32 %386 } declare ptr @BN_CTX_new(...) #1 declare i64 @EC_GROUP_get_asn1_flag(ptr noundef) #1 declare i32 @BIO_indent(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @EC_GROUP_get_curve_name(ptr noundef) #1 declare i64 @BIO_printf(ptr noundef, ptr noundef, ...) #1 declare i32 @OBJ_nid2sn(i32 noundef) #1 declare i32 @EC_METHOD_get_field_type(i32 noundef) #1 declare i32 @EC_GROUP_method_of(ptr noundef) #1 declare ptr @BN_new(...) #1 declare i32 @EC_GROUP_get_curve_GF2m(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EC_GROUP_get_curve_GFp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @EC_GROUP_get0_generator(ptr noundef) #1 declare i32 @EC_GROUP_get_order(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EC_GROUP_get_cofactor(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @EC_GROUP_get_point_conversion_form(ptr noundef) #1 declare ptr @EC_POINT_point2bn(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @BN_num_bytes(ptr noundef) #1 declare ptr @EC_GROUP_get0_seed(ptr noundef) #1 declare i64 @EC_GROUP_get_seed_len(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @EC_GROUP_get_basis_type(ptr noundef) #1 declare i32 @ASN1_bn_print(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_bin(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ECerr(i32 noundef, i32 noundef) #1 declare i32 @BN_free(ptr noundef) #1 declare i32 @BN_CTX_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4uj09bmx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_BIO_LIB = dso_local global i32 0, align 4 @ECPKParameters_print.gen_compressed = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [24 x i8] c"Generator (compressed):\00", align 1 @ECPKParameters_print.gen_uncompressed = internal global ptr @.str.1, align 8 @.str.1 = private unnamed_addr constant [26 x i8] c"Generator (uncompressed):\00", align 1 @ECPKParameters_print.gen_hybrid = internal global ptr @.str.2, align 8 @.str.2 = private unnamed_addr constant [20 x i8] c"Generator (hybrid):\00", align 1 @ERR_R_PASSED_NULL_PARAMETER = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"ASN1 OID: %s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @NID_X9_62_characteristic_two_field = dso_local global i32 0, align 4 @ERR_R_EC_LIB = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"Field Type: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Basis Type: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"Polynomial:\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Prime:\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"A: \00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"B: \00", align 1 @POINT_CONVERSION_COMPRESSED = dso_local global i64 0, align 8 @POINT_CONVERSION_UNCOMPRESSED = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [8 x i8] c"Order: \00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"Cofactor: \00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Seed:\00", align 1 @EC_F_ECPKPARAMETERS_PRINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ECPKParameters_print(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i64, align 8 %25 = alloca i32, align 4 %26 = 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 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %10, align 4 %27 = load i32, ptr @ERR_R_BIO_LIB, align 4 store i32 %27, ptr %11, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store ptr null, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %19, align 8 store i64 0, ptr %21, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %3 %31 = load i32, ptr @ERR_R_PASSED_NULL_PARAMETER, align 4 store i32 %31, ptr %11, align 4 br label %362 32: ; preds = %3 %33 = call ptr (...) @BN_CTX_new() store ptr %33, ptr %12, align 8 %34 = load ptr, ptr %12, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %37, ptr %11, align 4 br label %362 38: ; preds = %32 %39 = load ptr, ptr %5, align 8 %40 = call i64 @EC_GROUP_get_asn1_flag(ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %67 42: ; preds = %38 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %6, align 4 %45 = call i32 @BIO_indent(ptr noundef %43, i32 noundef %44, i32 noundef 128) %46 = icmp ne i32 %45, 0 br i1 %46, label %48, label %47 47: ; preds = %42 br label %362 48: ; preds = %42 %49 = load ptr, ptr %5, align 8 %50 = call i32 @EC_GROUP_get_curve_name(ptr noundef %49) store i32 %50, ptr %22, align 4 %51 = load i32, ptr %22, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %48 br label %362 54: ; preds = %48 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %22, align 4 %57 = call i32 @OBJ_nid2sn(i32 noundef %56) %58 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %55, ptr noundef @.str.3, i32 noundef %57) %59 = icmp sle i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %54 br label %362 61: ; preds = %54 %62 = load ptr, ptr %4, align 8 %63 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %62, ptr noundef @.str.4) %64 = icmp sle i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 br label %362 66: ; preds = %61 br label %361 67: ; preds = %38 store i32 0, ptr %23, align 4 %68 = load ptr, ptr %5, align 8 %69 = call i32 @EC_GROUP_method_of(ptr noundef %68) %70 = call i32 @EC_METHOD_get_field_type(i32 noundef %69) store i32 %70, ptr %25, align 4 %71 = load i32, ptr %25, align 4 %72 = load i32, ptr @NID_X9_62_characteristic_two_field, align 4 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %75 74: ; preds = %67 store i32 1, ptr %23, align 4 br label %75 75: ; preds = %74, %67 %76 = call ptr (...) @BN_new() store ptr %76, ptr %14, align 8 %77 = icmp eq ptr %76, null br i1 %77, label %90, label %78 78: ; preds = %75 %79 = call ptr (...) @BN_new() store ptr %79, ptr %15, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %90, label %81 81: ; preds = %78 %82 = call ptr (...) @BN_new() store ptr %82, ptr %16, align 8 %83 = icmp eq ptr %82, null br i1 %83, label %90, label %84 84: ; preds = %81 %85 = call ptr (...) @BN_new() store ptr %85, ptr %18, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %90, label %87 87: ; preds = %84 %88 = call ptr (...) @BN_new() store ptr %88, ptr %19, align 8 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %92 90: ; preds = %87, %84, %81, %78, %75 %91 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %91, ptr %11, align 4 br label %362 92: ; preds = %87 %93 = load i32, ptr %23, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %106 95: ; preds = %92 %96 = load ptr, ptr %5, align 8 %97 = load ptr, ptr %14, align 8 %98 = load ptr, ptr %15, align 8 %99 = load ptr, ptr %16, align 8 %100 = load ptr, ptr %12, align 8 %101 = call i32 @EC_GROUP_get_curve_GF2m(ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100) %102 = icmp ne i32 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %95 %104 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %104, ptr %11, align 4 br label %362 105: ; preds = %95 br label %117 106: ; preds = %92 %107 = load ptr, ptr %5, align 8 %108 = load ptr, ptr %14, align 8 %109 = load ptr, ptr %15, align 8 %110 = load ptr, ptr %16, align 8 %111 = load ptr, ptr %12, align 8 %112 = call i32 @EC_GROUP_get_curve_GFp(ptr noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %116, label %114 114: ; preds = %106 %115 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %115, ptr %11, align 4 br label %362 116: ; preds = %106 br label %117 117: ; preds = %116, %105 %118 = load ptr, ptr %5, align 8 %119 = call ptr @EC_GROUP_get0_generator(ptr noundef %118) store ptr %119, ptr %13, align 8 %120 = icmp eq ptr %119, null br i1 %120, label %121, label %123 121: ; preds = %117 %122 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %122, ptr %11, align 4 br label %362 123: ; preds = %117 %124 = load ptr, ptr %5, align 8 %125 = load ptr, ptr %18, align 8 %126 = call i32 @EC_GROUP_get_order(ptr noundef %124, ptr noundef %125, ptr noundef null) %127 = icmp ne i32 %126, 0 br i1 %127, label %128, label %133 128: ; preds = %123 %129 = load ptr, ptr %5, align 8 %130 = load ptr, ptr %19, align 8 %131 = call i32 @EC_GROUP_get_cofactor(ptr noundef %129, ptr noundef %130, ptr noundef null) %132 = icmp ne i32 %131, 0 br i1 %132, label %135, label %133 133: ; preds = %128, %123 %134 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %134, ptr %11, align 4 br label %362 135: ; preds = %128 %136 = load ptr, ptr %5, align 8 %137 = call i64 @EC_GROUP_get_point_conversion_form(ptr noundef %136) store i64 %137, ptr %24, align 8 %138 = load ptr, ptr %5, align 8 %139 = load ptr, ptr %13, align 8 %140 = load i64, ptr %24, align 8 %141 = load ptr, ptr %12, align 8 %142 = call ptr @EC_POINT_point2bn(ptr noundef %138, ptr noundef %139, i64 noundef %140, ptr noundef null, ptr noundef %141) store ptr %142, ptr %17, align 8 %143 = icmp eq ptr %142, null br i1 %143, label %144, label %146 144: ; preds = %135 %145 = load i32, ptr @ERR_R_EC_LIB, align 4 store i32 %145, ptr %11, align 4 br label %362 146: ; preds = %135 %147 = load ptr, ptr %14, align 8 %148 = call i64 @BN_num_bytes(ptr noundef %147) store i64 %148, ptr %8, align 8 %149 = load i64, ptr %8, align 8 %150 = load ptr, ptr %15, align 8 %151 = call i64 @BN_num_bytes(ptr noundef %150) store i64 %151, ptr %9, align 8 %152 = icmp ult i64 %149, %151 br i1 %152, label %153, label %155 153: ; preds = %146 %154 = load i64, ptr %9, align 8 store i64 %154, ptr %8, align 8 br label %155 155: ; preds = %153, %146 %156 = load i64, ptr %8, align 8 %157 = load ptr, ptr %16, align 8 %158 = call i64 @BN_num_bytes(ptr noundef %157) store i64 %158, ptr %9, align 8 %159 = icmp ult i64 %156, %158 br i1 %159, label %160, label %162 160: ; preds = %155 %161 = load i64, ptr %9, align 8 store i64 %161, ptr %8, align 8 br label %162 162: ; preds = %160, %155 %163 = load i64, ptr %8, align 8 %164 = load ptr, ptr %17, align 8 %165 = call i64 @BN_num_bytes(ptr noundef %164) store i64 %165, ptr %9, align 8 %166 = icmp ult i64 %163, %165 br i1 %166, label %167, label %169 167: ; preds = %162 %168 = load i64, ptr %9, align 8 store i64 %168, ptr %8, align 8 br label %169 169: ; preds = %167, %162 %170 = load i64, ptr %8, align 8 %171 = load ptr, ptr %18, align 8 %172 = call i64 @BN_num_bytes(ptr noundef %171) store i64 %172, ptr %9, align 8 %173 = icmp ult i64 %170, %172 br i1 %173, label %174, label %176 174: ; preds = %169 %175 = load i64, ptr %9, align 8 store i64 %175, ptr %8, align 8 br label %176 176: ; preds = %174, %169 %177 = load i64, ptr %8, align 8 %178 = load ptr, ptr %19, align 8 %179 = call i64 @BN_num_bytes(ptr noundef %178) store i64 %179, ptr %9, align 8 %180 = icmp ult i64 %177, %179 br i1 %180, label %181, label %183 181: ; preds = %176 %182 = load i64, ptr %9, align 8 store i64 %182, ptr %8, align 8 br label %183 183: ; preds = %181, %176 %184 = load ptr, ptr %5, align 8 %185 = call ptr @EC_GROUP_get0_seed(ptr noundef %184) store ptr %185, ptr %20, align 8 %186 = icmp ne ptr %185, null br i1 %186, label %187, label %190 187: ; preds = %183 %188 = load ptr, ptr %5, align 8 %189 = call i64 @EC_GROUP_get_seed_len(ptr noundef %188) store i64 %189, ptr %21, align 8 br label %190 190: ; preds = %187, %183 %191 = load i64, ptr %8, align 8 %192 = add i64 %191, 10 store i64 %192, ptr %8, align 8 %193 = load i64, ptr %8, align 8 %194 = call ptr @malloc(i64 noundef %193) store ptr %194, ptr %7, align 8 %195 = icmp eq ptr %194, null br i1 %195, label %196, label %198 196: ; preds = %190 %197 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 store i32 %197, ptr %11, align 4 br label %362 198: ; preds = %190 %199 = load ptr, ptr %4, align 8 %200 = load i32, ptr %6, align 4 %201 = call i32 @BIO_indent(ptr noundef %199, i32 noundef %200, i32 noundef 128) %202 = icmp ne i32 %201, 0 br i1 %202, label %204, label %203 203: ; preds = %198 br label %362 204: ; preds = %198 %205 = load ptr, ptr %4, align 8 %206 = load i32, ptr %25, align 4 %207 = call i32 @OBJ_nid2sn(i32 noundef %206) %208 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %205, ptr noundef @.str.5, i32 noundef %207) %209 = icmp sle i64 %208, 0 br i1 %209, label %210, label %211 210: ; preds = %204 br label %362 211: ; preds = %204 %212 = load i32, ptr %23, align 4 %213 = icmp ne i32 %212, 0 br i1 %213, label %214, label %245 214: ; preds = %211 %215 = load ptr, ptr %5, align 8 %216 = call i32 @EC_GROUP_get_basis_type(ptr noundef %215) store i32 %216, ptr %26, align 4 %217 = load i32, ptr %26, align 4 %218 = icmp eq i32 %217, 0 br i1 %218, label %219, label %220 219: ; preds = %214 br label %362 220: ; preds = %214 %221 = load ptr, ptr %4, align 8 %222 = load i32, ptr %6, align 4 %223 = call i32 @BIO_indent(ptr noundef %221, i32 noundef %222, i32 noundef 128) %224 = icmp ne i32 %223, 0 br i1 %224, label %226, label %225 225: ; preds = %220 br label %362 226: ; preds = %220 %227 = load ptr, ptr %4, align 8 %228 = load i32, ptr %26, align 4 %229 = call i32 @OBJ_nid2sn(i32 noundef %228) %230 = call i64 (ptr, ptr, ...) @BIO_printf(ptr noundef %227, ptr noundef @.str.6, i32 noundef %229) %231 = icmp sle i64 %230, 0 br i1 %231, label %232, label %233 232: ; preds = %226 br label %362 233: ; preds = %226 %234 = load ptr, ptr %14, align 8 %235 = icmp ne ptr %234, null br i1 %235, label %236, label %244 236: ; preds = %233 %237 = load ptr, ptr %4, align 8 %238 = load ptr, ptr %14, align 8 %239 = load ptr, ptr %7, align 8 %240 = load i32, ptr %6, align 4 %241 = call i32 @ASN1_bn_print(ptr noundef %237, ptr noundef @.str.7, ptr noundef %238, ptr noundef %239, i32 noundef %240) %242 = icmp ne i32 %241, 0 br i1 %242, label %244, label %243 243: ; preds = %236 br label %362 244: ; preds = %236, %233 br label %257 245: ; preds = %211 %246 = load ptr, ptr %14, align 8 %247 = icmp ne ptr %246, null br i1 %247, label %248, label %256 248: ; preds = %245 %249 = load ptr, ptr %4, align 8 %250 = load ptr, ptr %14, align 8 %251 = load ptr, ptr %7, align 8 %252 = load i32, ptr %6, align 4 %253 = call i32 @ASN1_bn_print(ptr noundef %249, ptr noundef @.str.8, ptr noundef %250, ptr noundef %251, i32 noundef %252) %254 = icmp ne i32 %253, 0 br i1 %254, label %256, label %255 255: ; preds = %248 br label %362 256: ; preds = %248, %245 br label %257 257: ; preds = %256, %244 %258 = load ptr, ptr %15, align 8 %259 = icmp ne ptr %258, null br i1 %259, label %260, label %268 260: ; preds = %257 %261 = load ptr, ptr %4, align 8 %262 = load ptr, ptr %15, align 8 %263 = load ptr, ptr %7, align 8 %264 = load i32, ptr %6, align 4 %265 = call i32 @ASN1_bn_print(ptr noundef %261, ptr noundef @.str.9, ptr noundef %262, ptr noundef %263, i32 noundef %264) %266 = icmp ne i32 %265, 0 br i1 %266, label %268, label %267 267: ; preds = %260 br label %362 268: ; preds = %260, %257 %269 = load ptr, ptr %16, align 8 %270 = icmp ne ptr %269, null br i1 %270, label %271, label %279 271: ; preds = %268 %272 = load ptr, ptr %4, align 8 %273 = load ptr, ptr %16, align 8 %274 = load ptr, ptr %7, align 8 %275 = load i32, ptr %6, align 4 %276 = call i32 @ASN1_bn_print(ptr noundef %272, ptr noundef @.str.10, ptr noundef %273, ptr noundef %274, i32 noundef %275) %277 = icmp ne i32 %276, 0 br i1 %277, label %279, label %278 278: ; preds = %271 br label %362 279: ; preds = %271, %268 %280 = load i64, ptr %24, align 8 %281 = load i64, ptr @POINT_CONVERSION_COMPRESSED, align 8 %282 = icmp eq i64 %280, %281 br i1 %282, label %283, label %296 283: ; preds = %279 %284 = load ptr, ptr %17, align 8 %285 = icmp ne ptr %284, null br i1 %285, label %286, label %295 286: ; preds = %283 %287 = load ptr, ptr %4, align 8 %288 = load ptr, ptr @ECPKParameters_print.gen_compressed, align 8 %289 = load ptr, ptr %17, align 8 %290 = load ptr, ptr %7, align 8 %291 = load i32, ptr %6, align 4 %292 = call i32 @ASN1_bn_print(ptr noundef %287, ptr noundef %288, ptr noundef %289, ptr noundef %290, i32 noundef %291) %293 = icmp ne i32 %292, 0 br i1 %293, label %295, label %294 294: ; preds = %286 br label %362 295: ; preds = %286, %283 br label %327 296: ; preds = %279 %297 = load i64, ptr %24, align 8 %298 = load i64, ptr @POINT_CONVERSION_UNCOMPRESSED, align 8 %299 = icmp eq i64 %297, %298 br i1 %299, label %300, label %313 300: ; preds = %296 %301 = load ptr, ptr %17, align 8 %302 = icmp ne ptr %301, null br i1 %302, label %303, label %312 303: ; preds = %300 %304 = load ptr, ptr %4, align 8 %305 = load ptr, ptr @ECPKParameters_print.gen_uncompressed, align 8 %306 = load ptr, ptr %17, align 8 %307 = load ptr, ptr %7, align 8 %308 = load i32, ptr %6, align 4 %309 = call i32 @ASN1_bn_print(ptr noundef %304, ptr noundef %305, ptr noundef %306, ptr noundef %307, i32 noundef %308) %310 = icmp ne i32 %309, 0 br i1 %310, label %312, label %311 311: ; preds = %303 br label %362 312: ; preds = %303, %300 br label %326 313: ; preds = %296 %314 = load ptr, ptr %17, align 8 %315 = icmp ne ptr %314, null br i1 %315, label %316, label %325 316: ; preds = %313 %317 = load ptr, ptr %4, align 8 %318 = load ptr, ptr @ECPKParameters_print.gen_hybrid, align 8 %319 = load ptr, ptr %17, align 8 %320 = load ptr, ptr %7, align 8 %321 = load i32, ptr %6, align 4 %322 = call i32 @ASN1_bn_print(ptr noundef %317, ptr noundef %318, ptr noundef %319, ptr noundef %320, i32 noundef %321) %323 = icmp ne i32 %322, 0 br i1 %323, label %325, label %324 324: ; preds = %316 br label %362 325: ; preds = %316, %313 br label %326 326: ; preds = %325, %312 br label %327 327: ; preds = %326, %295 %328 = load ptr, ptr %18, align 8 %329 = icmp ne ptr %328, null br i1 %329, label %330, label %338 330: ; preds = %327 %331 = load ptr, ptr %4, align 8 %332 = load ptr, ptr %18, align 8 %333 = load ptr, ptr %7, align 8 %334 = load i32, ptr %6, align 4 %335 = call i32 @ASN1_bn_print(ptr noundef %331, ptr noundef @.str.11, ptr noundef %332, ptr noundef %333, i32 noundef %334) %336 = icmp ne i32 %335, 0 br i1 %336, label %338, label %337 337: ; preds = %330 br label %362 338: ; preds = %330, %327 %339 = load ptr, ptr %19, align 8 %340 = icmp ne ptr %339, null br i1 %340, label %341, label %349 341: ; preds = %338 %342 = load ptr, ptr %4, align 8 %343 = load ptr, ptr %19, align 8 %344 = load ptr, ptr %7, align 8 %345 = load i32, ptr %6, align 4 %346 = call i32 @ASN1_bn_print(ptr noundef %342, ptr noundef @.str.12, ptr noundef %343, ptr noundef %344, i32 noundef %345) %347 = icmp ne i32 %346, 0 br i1 %347, label %349, label %348 348: ; preds = %341 br label %362 349: ; preds = %341, %338 %350 = load ptr, ptr %20, align 8 %351 = icmp ne ptr %350, null br i1 %351, label %352, label %360 352: ; preds = %349 %353 = load ptr, ptr %4, align 8 %354 = load ptr, ptr %20, align 8 %355 = load i64, ptr %21, align 8 %356 = load i32, ptr %6, align 4 %357 = call i32 @print_bin(ptr noundef %353, ptr noundef @.str.13, ptr noundef %354, i64 noundef %355, i32 noundef %356) %358 = icmp ne i32 %357, 0 br i1 %358, label %360, label %359 359: ; preds = %352 br label %362 360: ; preds = %352, %349 br label %361 361: ; preds = %360, %66 store i32 1, ptr %10, align 4 br label %362 362: ; preds = %361, %359, %348, %337, %324, %311, %294, %278, %267, %255, %243, %232, %225, %219, %210, %203, %196, %144, %133, %121, %114, %103, %90, %65, %60, %53, %47, %36, %30 %363 = load i32, ptr %10, align 4 %364 = icmp ne i32 %363, 0 br i1 %364, label %369, label %365 365: ; preds = %362 %366 = load i32, ptr @EC_F_ECPKPARAMETERS_PRINT, align 4 %367 = load i32, ptr %11, align 4 %368 = call i32 @ECerr(i32 noundef %366, i32 noundef %367) br label %369 369: ; preds = %365, %362 %370 = load ptr, ptr %14, align 8 %371 = call i32 @BN_free(ptr noundef %370) %372 = load ptr, ptr %15, align 8 %373 = call i32 @BN_free(ptr noundef %372) %374 = load ptr, ptr %16, align 8 %375 = call i32 @BN_free(ptr noundef %374) %376 = load ptr, ptr %17, align 8 %377 = call i32 @BN_free(ptr noundef %376) %378 = load ptr, ptr %18, align 8 %379 = call i32 @BN_free(ptr noundef %378) %380 = load ptr, ptr %19, align 8 %381 = call i32 @BN_free(ptr noundef %380) %382 = load ptr, ptr %12, align 8 %383 = call i32 @BN_CTX_free(ptr noundef %382) %384 = load ptr, ptr %7, align 8 %385 = call i32 @free(ptr noundef %384) %386 = load i32, ptr %10, align 4 ret i32 %386 } declare ptr @BN_CTX_new(...) #1 declare i64 @EC_GROUP_get_asn1_flag(ptr noundef) #1 declare i32 @BIO_indent(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @EC_GROUP_get_curve_name(ptr noundef) #1 declare i64 @BIO_printf(ptr noundef, ptr noundef, ...) #1 declare i32 @OBJ_nid2sn(i32 noundef) #1 declare i32 @EC_METHOD_get_field_type(i32 noundef) #1 declare i32 @EC_GROUP_method_of(ptr noundef) #1 declare ptr @BN_new(...) #1 declare i32 @EC_GROUP_get_curve_GF2m(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EC_GROUP_get_curve_GFp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @EC_GROUP_get0_generator(ptr noundef) #1 declare i32 @EC_GROUP_get_order(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EC_GROUP_get_cofactor(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @EC_GROUP_get_point_conversion_form(ptr noundef) #1 declare ptr @EC_POINT_point2bn(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @BN_num_bytes(ptr noundef) #1 declare ptr @EC_GROUP_get0_seed(ptr noundef) #1 declare i64 @EC_GROUP_get_seed_len(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @EC_GROUP_get_basis_type(ptr noundef) #1 declare i32 @ASN1_bn_print(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_bin(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ECerr(i32 noundef, i32 noundef) #1 declare i32 @BN_free(ptr noundef) #1 declare i32 @BN_CTX_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc4r9_rmg.c' source_filename = "/tmp/tmpc4r9_rmg.c" target datalayout = "e-m:e-p270: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/tmpc4r9_rmg.c" target datalayout = "e-m:e-p270: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/tmpgmw92de0.c' source_filename = "/tmp/tmpgmw92de0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"index.html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rewrite_url(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 @strtok(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %20 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 br label %20 20: ; preds = %17, %16 %21 = phi ptr [ @.str.2, %16 ], [ %19, %17 ] store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %20, %11 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgmw92de0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"index.html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rewrite_url(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 @strtok(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %20 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 br label %20 20: ; preds = %17, %16 %21 = phi ptr [ @.str.2, %16 ], [ %19, %17 ] store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %20, %11 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu2gtxbf0.c' source_filename = "/tmp/tmpu2gtxbf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2gtxbf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzus8k1mg.c' source_filename = "/tmp/tmpzus8k1mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @fstat(i32 noundef %25, ptr noundef %7) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %18 %30 = call i32 @exit(i32 noundef -1) #3 unreachable 31: ; preds = %18 %32 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %33 = load i64, ptr %32, align 8 store i64 %33, ptr %10, align 8 %34 = load i64, ptr %10, align 8 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %11, align 8 %37 = load i32, ptr %8, align 4 %38 = load ptr, ptr %11, align 8 %39 = load i64, ptr %10, align 8 %40 = call i32 @read(i32 noundef %37, ptr noundef %38, i64 noundef %39) store i32 %40, ptr %12, align 4 %41 = load i32, ptr %12, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %45 43: ; preds = %31 %44 = call i32 @exit(i32 noundef -1) #3 unreachable 45: ; preds = %31 store i32 0, ptr %13, align 4 br label %46 46: ; preds = %58, %45 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = load i64, ptr %10, align 8 %50 = icmp ult i64 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %46 %52 = load ptr, ptr %11, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = call i32 @printf(ptr noundef @.str, i8 noundef signext %56) br label %58 58: ; preds = %51 %59 = load i32, ptr %13, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %13, align 4 br label %46, !llvm.loop !6 61: ; preds = %46 %62 = load ptr, ptr %11, align 8 %63 = call i32 @free(ptr noundef %62) %64 = load i32, ptr %8, align 4 %65 = call i32 @close(i32 noundef %64) ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fstat(i32 noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @free(ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzus8k1mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @fstat(i32 noundef %25, ptr noundef %7) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %18 %30 = call i32 @exit(i32 noundef -1) #3 unreachable 31: ; preds = %18 %32 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %33 = load i64, ptr %32, align 8 store i64 %33, ptr %10, align 8 %34 = load i64, ptr %10, align 8 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %11, align 8 %37 = load i32, ptr %8, align 4 %38 = load ptr, ptr %11, align 8 %39 = load i64, ptr %10, align 8 %40 = call i32 @read(i32 noundef %37, ptr noundef %38, i64 noundef %39) store i32 %40, ptr %12, align 4 %41 = load i32, ptr %12, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %45 43: ; preds = %31 %44 = call i32 @exit(i32 noundef -1) #3 unreachable 45: ; preds = %31 store i32 0, ptr %13, align 4 %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = load i64, ptr %10, align 8 %49 = icmp ult i64 %47, %48 br i1 %49, label %.lr.ph, label %64 .lr.ph: ; preds = %45 br label %50 50: ; preds = %.lr.ph, %57 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr %13, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call i32 @printf(ptr noundef @.str, i8 noundef signext %55) br label %57 57: ; preds = %50 %58 = load i32, ptr %13, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %13, align 4 %60 = load i32, ptr %13, align 4 %61 = sext i32 %60 to i64 %62 = load i64, ptr %10, align 8 %63 = icmp ult i64 %61, %62 br i1 %63, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %45 %65 = load ptr, ptr %11, align 8 %66 = call i32 @free(ptr noundef %65) %67 = load i32, ptr %8, align 4 %68 = call i32 @close(i32 noundef %67) ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fstat(i32 noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @free(ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfrw1h7vr.c' source_filename = "/tmp/tmpfrw1h7vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @opendir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfrw1h7vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @opendir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzhazdd5.c' source_filename = "/tmp/tmplzhazdd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %9, %10 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzhazdd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %9, %10 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm6rua851.c' source_filename = "/tmp/tmpm6rua851.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g08(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %18 = call double @atan(double noundef 1.000000e+00) #4 %19 = fmul double 4.000000e+00, %18 store double %19, ptr %17, align 8 %20 = load double, ptr %17, align 8 %21 = fmul double 2.000000e+00, %20 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = fmul double %21, %24 %26 = fptosi double %25 to i32 %27 = call double @sin(i32 noundef %26) %28 = call double @pow(double noundef %27, i32 noundef 3) %29 = load double, ptr %17, align 8 %30 = fmul double 2.000000e+00, %29 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 %33 = load double, ptr %32, align 8 %34 = fmul double %30, %33 %35 = fptosi double %34 to i32 %36 = call double @sin(i32 noundef %35) %37 = fmul double %28, %36 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 %40 = load double, ptr %39, align 8 %41 = call double @pow(double noundef %40, i32 noundef 3) %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds double, ptr %42, i64 0 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds double, ptr %45, i64 1 %47 = load double, ptr %46, align 8 %48 = fadd double %44, %47 %49 = fmul double %41, %48 %50 = fdiv double %37, %49 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 store double %50, ptr %52, align 8 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = fneg double %55 %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 store double %56, ptr %58, align 8 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds double, ptr %59, i64 0 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds double, ptr %62, i64 0 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds double, ptr %65, i64 1 %67 = load double, ptr %66, align 8 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %61, double %64, double %68) %70 = fadd double %69, 1.000000e+00 %71 = load ptr, ptr %11, align 8 %72 = getelementptr inbounds double, ptr %71, i64 0 store double %70, ptr %72, align 8 %73 = load ptr, ptr %9, align 8 %74 = getelementptr inbounds double, ptr %73, i64 0 %75 = load double, ptr %74, align 8 %76 = fsub double 1.000000e+00, %75 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds double, ptr %77, i64 1 %79 = load double, ptr %78, align 8 %80 = fsub double %79, 4.000000e+00 %81 = load ptr, ptr %9, align 8 %82 = getelementptr inbounds double, ptr %81, i64 1 %83 = load double, ptr %82, align 8 %84 = fsub double %83, 4.000000e+00 %85 = call double @llvm.fmuladd.f64(double %80, double %84, double %76) %86 = load ptr, ptr %11, align 8 %87 = getelementptr inbounds double, ptr %86, i64 1 store double %85, ptr %87, align 8 ret void } ; Function Attrs: nounwind declare double @atan(double noundef) #1 declare double @pow(double noundef, i32 noundef) #2 declare double @sin(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6rua851.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g08(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %18 = call double @atan(double noundef 1.000000e+00) #4 %19 = fmul double 4.000000e+00, %18 store double %19, ptr %17, align 8 %20 = load double, ptr %17, align 8 %21 = fmul double 2.000000e+00, %20 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = fmul double %21, %24 %26 = fptosi double %25 to i32 %27 = call double @sin(i32 noundef %26) %28 = call double @pow(double noundef %27, i32 noundef 3) %29 = load double, ptr %17, align 8 %30 = fmul double 2.000000e+00, %29 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 %33 = load double, ptr %32, align 8 %34 = fmul double %30, %33 %35 = fptosi double %34 to i32 %36 = call double @sin(i32 noundef %35) %37 = fmul double %28, %36 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 %40 = load double, ptr %39, align 8 %41 = call double @pow(double noundef %40, i32 noundef 3) %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds double, ptr %42, i64 0 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds double, ptr %45, i64 1 %47 = load double, ptr %46, align 8 %48 = fadd double %44, %47 %49 = fmul double %41, %48 %50 = fdiv double %37, %49 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 store double %50, ptr %52, align 8 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = fneg double %55 %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 store double %56, ptr %58, align 8 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds double, ptr %59, i64 0 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds double, ptr %62, i64 0 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds double, ptr %65, i64 1 %67 = load double, ptr %66, align 8 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %61, double %64, double %68) %70 = fadd double %69, 1.000000e+00 %71 = load ptr, ptr %11, align 8 %72 = getelementptr inbounds double, ptr %71, i64 0 store double %70, ptr %72, align 8 %73 = load ptr, ptr %9, align 8 %74 = getelementptr inbounds double, ptr %73, i64 0 %75 = load double, ptr %74, align 8 %76 = fsub double 1.000000e+00, %75 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds double, ptr %77, i64 1 %79 = load double, ptr %78, align 8 %80 = fsub double %79, 4.000000e+00 %81 = load ptr, ptr %9, align 8 %82 = getelementptr inbounds double, ptr %81, i64 1 %83 = load double, ptr %82, align 8 %84 = fsub double %83, 4.000000e+00 %85 = call double @llvm.fmuladd.f64(double %80, double %84, double %76) %86 = load ptr, ptr %11, align 8 %87 = getelementptr inbounds double, ptr %86, i64 1 store double %85, ptr %87, align 8 ret void } ; Function Attrs: nounwind declare double @atan(double noundef) #1 declare double @pow(double noundef, i32 noundef) #2 declare double @sin(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp48cz9b4q.c' source_filename = "/tmp/tmp48cz9b4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"mq_send failed\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msg_snd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) store i64 0, ptr @errno, align 8 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %12 = call i64 @strlen(ptr noundef %11) %13 = add nsw i64 %12, 1 %14 = call i32 @mq_send(i32 noundef %9, ptr noundef %10, i64 noundef %13, i32 noundef 0) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str.1) %18 = load i32, ptr @stdout, align 4 %19 = call i32 @fflush(i32 noundef %18) %20 = call i32 @sleep(i32 noundef 1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %2 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mq_send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @sleep(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/tmp48cz9b4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"mq_send failed\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msg_snd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) store i64 0, ptr @errno, align 8 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %12 = call i64 @strlen(ptr noundef %11) %13 = add nsw i64 %12, 1 %14 = call i32 @mq_send(i32 noundef %9, ptr noundef %10, i64 noundef %13, i32 noundef 0) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str.1) %18 = load i32, ptr @stdout, align 4 %19 = call i32 @fflush(i32 noundef %18) %20 = call i32 @sleep(i32 noundef 1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %2 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mq_send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @sleep(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/tmphq5bv1td.c' source_filename = "/tmp/tmphq5bv1td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xStrdup(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 @strdup(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @assert(i32 noundef 0) br label %13 13: ; preds = %11, %8, %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @strdup(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphq5bv1td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xStrdup(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 @strdup(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @assert(i32 noundef 0) br label %13 13: ; preds = %11, %8, %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @strdup(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvff7n37m.c' source_filename = "/tmp/tmpvff7n37m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ten_base(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @ft_strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 -1, ptr %7, align 4 br label %11 11: ; preds = %36, %2 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %48 19: ; preds = %11 store i32 -1, ptr %8, align 4 br label %20 20: ; preds = %35, %19 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %26, %33 br i1 %34, label %35, label %36 35: ; preds = %20 br label %20, !llvm.loop !6 36: ; preds = %20 %37 = load i32, ptr %8, align 4 %38 = load ptr, ptr %4, align 8 %39 = call i32 @ft_strlen(ptr noundef %38) %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %40, %41 %43 = sub nsw i32 %42, 1 %44 = call i32 @ft_power(i32 noundef %39, i32 noundef %43) %45 = mul nsw i32 %37, %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, %45 store i32 %47, ptr %5, align 4 br label %11, !llvm.loop !8 48: ; preds = %11 %49 = load i32, ptr %5, align 4 ret i32 %49 } declare i32 @ft_strlen(ptr noundef) #1 declare i32 @ft_power(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvff7n37m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ten_base(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @ft_strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 -1, ptr %7, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %53 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %34 store i32 -1, ptr %8, align 4 br label %19 19: ; preds = %19, %18 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %25, %32 br i1 %33, label %19, label %34, !llvm.loop !6 34: ; preds = %19 %35 = load i32, ptr %8, align 4 %36 = load ptr, ptr %4, align 8 %37 = call i32 @ft_strlen(ptr noundef %36) %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %38, %39 %41 = sub nsw i32 %40, 1 %42 = call i32 @ft_power(i32 noundef %37, i32 noundef %41) %43 = mul nsw i32 %35, %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, %43 store i32 %45, ptr %5, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i8, ptr %50, align 1 %52 = icmp ne i8 %51, 0 br i1 %52, label %18, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %34 br label %53 53: ; preds = %._crit_edge, %2 %54 = load i32, ptr %5, align 4 ret i32 %54 } declare i32 @ft_strlen(ptr noundef) #1 declare i32 @ft_power(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}
; ModuleID = '/tmp/tmpr185brqh.c' source_filename = "/tmp/tmpr185brqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @al_size(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 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %7, %6 %12 = load i32, ptr %2, align 4 ret i32 %12 } 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/tmpr185brqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @al_size(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 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %7, %6 %12 = load i32, ptr %2, align 4 ret i32 %12 } 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/tmpom5whlst.c' source_filename = "/tmp/tmpom5whlst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quantile(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 %12 = sitofp i32 %11 to double %13 = load double, ptr %6, align 8 %14 = call double @llvm.fmuladd.f64(double %12, double %13, double -1.000000e+00) store double %14, ptr %8, align 8 %15 = load double, ptr %8, align 8 %16 = call i32 @floor(double noundef %15) %17 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %16, ptr %17, align 4 %18 = load double, ptr %8, align 8 %19 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %20 = load i32, ptr %19, align 4 %21 = sitofp i32 %20 to double %22 = fsub double %18, %21 store double %22, ptr %9, align 8 %23 = load double, ptr %8, align 8 %24 = call i32 @ceil(double noundef %23) %25 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %24, ptr %25, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %28 = load i32, ptr %27, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %26, i64 %29 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %32, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %40 = load i32, ptr %39, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %38, i64 %41 %43 = load double, ptr %42, align 8 %44 = fsub double %37, %43 %45 = load double, ptr %9, align 8 %46 = call double @llvm.fmuladd.f64(double %44, double %45, double %31) store double %46, ptr %8, align 8 %47 = load double, ptr %8, align 8 ret double %47 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @floor(double noundef) #2 declare i32 @ceil(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpom5whlst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quantile(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 %12 = sitofp i32 %11 to double %13 = load double, ptr %6, align 8 %14 = call double @llvm.fmuladd.f64(double %12, double %13, double -1.000000e+00) store double %14, ptr %8, align 8 %15 = load double, ptr %8, align 8 %16 = call i32 @floor(double noundef %15) %17 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %16, ptr %17, align 4 %18 = load double, ptr %8, align 8 %19 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %20 = load i32, ptr %19, align 4 %21 = sitofp i32 %20 to double %22 = fsub double %18, %21 store double %22, ptr %9, align 8 %23 = load double, ptr %8, align 8 %24 = call i32 @ceil(double noundef %23) %25 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %24, ptr %25, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %28 = load i32, ptr %27, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %26, i64 %29 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %32, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %40 = load i32, ptr %39, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %38, i64 %41 %43 = load double, ptr %42, align 8 %44 = fsub double %37, %43 %45 = load double, ptr %9, align 8 %46 = call double @llvm.fmuladd.f64(double %44, double %45, double %31) store double %46, ptr %8, align 8 %47 = load double, ptr %8, align 8 ret double %47 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @floor(double noundef) #2 declare i32 @ceil(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7mdkzzcq.c' source_filename = "/tmp/tmp7mdkzzcq.c" target datalayout = "e-m:e-p270: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/tmp7mdkzzcq.c" target datalayout = "e-m:e-p270: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/tmprt2krwal.c' source_filename = "/tmp/tmprt2krwal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mytimestamp() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca double, align 8 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %5 = load i64, ptr %4, align 8 %6 = sitofp i64 %5 to double %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = sitofp i64 %8 to double %10 = fdiv double %9, 1.000000e+06 %11 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %6, double %10) store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 ret double %12 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt2krwal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mytimestamp() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca double, align 8 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %5 = load i64, ptr %4, align 8 %6 = sitofp i64 %5 to double %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = sitofp i64 %8 to double %10 = fdiv double %9, 1.000000e+06 %11 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %6, double %10) store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 ret double %12 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbdujj79n.c' source_filename = "/tmp/tmpbdujj79n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c" what is the first float\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %f\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" what is the second float\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"The sum is %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"The difference is %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"The product is %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"The quotient is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load float, ptr %1, align 4 %12 = load float, ptr %2, align 4 %13 = fadd float %11, %12 store float %13, ptr %3, align 4 %14 = load float, ptr %1, align 4 %15 = load float, ptr %2, align 4 %16 = fsub float %14, %15 store float %16, ptr %4, align 4 %17 = load float, ptr %1, align 4 %18 = load float, ptr %2, align 4 %19 = fmul float %17, %18 store float %19, ptr %5, align 4 %20 = load float, ptr %1, align 4 %21 = load float, ptr %2, align 4 %22 = fdiv float %20, %21 store float %22, ptr %6, align 4 %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %24) %26 = load float, ptr %4, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %27) %29 = load float, ptr %5, align 4 %30 = fpext float %29 to double %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %30) %32 = load float, ptr %6, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %33) ret float 0.000000e+00 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbdujj79n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c" what is the first float\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %f\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" what is the second float\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"The sum is %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"The difference is %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"The product is %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"The quotient is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load float, ptr %1, align 4 %12 = load float, ptr %2, align 4 %13 = fadd float %11, %12 store float %13, ptr %3, align 4 %14 = load float, ptr %1, align 4 %15 = load float, ptr %2, align 4 %16 = fsub float %14, %15 store float %16, ptr %4, align 4 %17 = load float, ptr %1, align 4 %18 = load float, ptr %2, align 4 %19 = fmul float %17, %18 store float %19, ptr %5, align 4 %20 = load float, ptr %1, align 4 %21 = load float, ptr %2, align 4 %22 = fdiv float %20, %21 store float %22, ptr %6, align 4 %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %24) %26 = load float, ptr %4, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %27) %29 = load float, ptr %5, align 4 %30 = fpext float %29 to double %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %30) %32 = load float, ptr %6, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %33) ret float 0.000000e+00 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy4k7w98m.c' source_filename = "/tmp/tmpy4k7w98m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_ldouble(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10, %3 %14 = call i32 (...) @ordering_err_2() store i32 %14, ptr %4, align 4 br label %488 15: ; preds = %10 %16 = load ptr, ptr %6, align 8 %17 = load x86_fp80, ptr %16, align 16 %18 = fptosi x86_fp80 %17 to i64 %19 = load ptr, ptr %7, align 8 %20 = load x86_fp80, ptr %19, align 16 %21 = fptosi x86_fp80 %20 to i64 %22 = sub nsw i64 %18, %21 %23 = icmp sle i64 %22, 0 br i1 %23, label %24, label %35 24: ; preds = %15 %25 = load ptr, ptr %6, align 8 %26 = load x86_fp80, ptr %25, align 16 %27 = fptosi x86_fp80 %26 to i64 %28 = load ptr, ptr %7, align 8 %29 = load x86_fp80, ptr %28, align 16 %30 = fptosi x86_fp80 %29 to i64 %31 = sub nsw i64 %27, %30 %32 = icmp slt i64 %31, 0 %33 = zext i1 %32 to i64 %34 = select i1 %32, i32 -1, i32 0 br label %36 35: ; preds = %15 br label %36 36: ; preds = %35, %24 %37 = phi i32 [ %34, %24 ], [ 1, %35 ] %38 = load ptr, ptr %6, align 8 %39 = load x86_fp80, ptr %38, align 16 %40 = load ptr, ptr %7, align 8 %41 = load x86_fp80, ptr %40, align 16 %42 = fcmp ole x86_fp80 %39, %41 br i1 %42, label %43, label %51 43: ; preds = %36 %44 = load ptr, ptr %6, align 8 %45 = load x86_fp80, ptr %44, align 16 %46 = load ptr, ptr %7, align 8 %47 = load x86_fp80, ptr %46, align 16 %48 = fcmp olt x86_fp80 %45, %47 %49 = zext i1 %48 to i64 %50 = select i1 %48, i32 -1, i32 0 br label %52 51: ; preds = %36 br label %52 52: ; preds = %51, %43 %53 = phi i32 [ %50, %43 ], [ 1, %51 ] %54 = icmp sle i32 %53, 0 br i1 %54, label %55, label %75 55: ; preds = %52 %56 = load ptr, ptr %6, align 8 %57 = load x86_fp80, ptr %56, align 16 %58 = load ptr, ptr %7, align 8 %59 = load x86_fp80, ptr %58, align 16 %60 = fcmp ole x86_fp80 %57, %59 br i1 %60, label %61, label %69 61: ; preds = %55 %62 = load ptr, ptr %6, align 8 %63 = load x86_fp80, ptr %62, align 16 %64 = load ptr, ptr %7, align 8 %65 = load x86_fp80, ptr %64, align 16 %66 = fcmp olt x86_fp80 %63, %65 %67 = zext i1 %66 to i64 %68 = select i1 %66, i32 -1, i32 0 br label %70 69: ; preds = %55 br label %70 70: ; preds = %69, %61 %71 = phi i32 [ %68, %61 ], [ 1, %69 ] %72 = icmp slt i32 %71, 0 %73 = zext i1 %72 to i64 %74 = select i1 %72, i32 -1, i32 0 br label %76 75: ; preds = %52 br label %76 76: ; preds = %75, %70 %77 = phi i32 [ %74, %70 ], [ 1, %75 ] %78 = icmp eq i32 %37, %77 br i1 %78, label %79, label %87 79: ; preds = %76 %80 = load ptr, ptr %6, align 8 %81 = load x86_fp80, ptr %80, align 16 %82 = fptosi x86_fp80 %81 to i64 %83 = load ptr, ptr %7, align 8 %84 = load x86_fp80, ptr %83, align 16 %85 = fptosi x86_fp80 %84 to i64 %86 = sub nsw i64 %82, %85 br label %105 87: ; preds = %76 %88 = load ptr, ptr %6, align 8 %89 = load x86_fp80, ptr %88, align 16 %90 = load ptr, ptr %7, align 8 %91 = load x86_fp80, ptr %90, align 16 %92 = fcmp ole x86_fp80 %89, %91 br i1 %92, label %93, label %101 93: ; preds = %87 %94 = load ptr, ptr %6, align 8 %95 = load x86_fp80, ptr %94, align 16 %96 = load ptr, ptr %7, align 8 %97 = load x86_fp80, ptr %96, align 16 %98 = fcmp olt x86_fp80 %95, %97 %99 = zext i1 %98 to i64 %100 = select i1 %98, i32 -1, i32 0 br label %102 101: ; preds = %87 br label %102 102: ; preds = %101, %93 %103 = phi i32 [ %100, %93 ], [ 1, %101 ] %104 = sext i32 %103 to i64 br label %105 105: ; preds = %102, %79 %106 = phi i64 [ %86, %79 ], [ %104, %102 ] %107 = icmp ne i64 %106, -938278912 br i1 %107, label %108, label %293 108: ; preds = %105 %109 = load ptr, ptr %6, align 8 %110 = load x86_fp80, ptr %109, align 16 %111 = fptosi x86_fp80 %110 to i64 %112 = load ptr, ptr %7, align 8 %113 = load x86_fp80, ptr %112, align 16 %114 = fptosi x86_fp80 %113 to i64 %115 = sub nsw i64 %111, %114 %116 = icmp sle i64 %115, 0 br i1 %116, label %117, label %128 117: ; preds = %108 %118 = load ptr, ptr %6, align 8 %119 = load x86_fp80, ptr %118, align 16 %120 = fptosi x86_fp80 %119 to i64 %121 = load ptr, ptr %7, align 8 %122 = load x86_fp80, ptr %121, align 16 %123 = fptosi x86_fp80 %122 to i64 %124 = sub nsw i64 %120, %123 %125 = icmp slt i64 %124, 0 %126 = zext i1 %125 to i64 %127 = select i1 %125, i32 -1, i32 0 br label %129 128: ; preds = %108 br label %129 129: ; preds = %128, %117 %130 = phi i32 [ %127, %117 ], [ 1, %128 ] %131 = load ptr, ptr %6, align 8 %132 = load x86_fp80, ptr %131, align 16 %133 = load ptr, ptr %7, align 8 %134 = load x86_fp80, ptr %133, align 16 %135 = fcmp ole x86_fp80 %132, %134 br i1 %135, label %136, label %144 136: ; preds = %129 %137 = load ptr, ptr %6, align 8 %138 = load x86_fp80, ptr %137, align 16 %139 = load ptr, ptr %7, align 8 %140 = load x86_fp80, ptr %139, align 16 %141 = fcmp olt x86_fp80 %138, %140 %142 = zext i1 %141 to i64 %143 = select i1 %141, i32 -1, i32 0 br label %145 144: ; preds = %129 br label %145 145: ; preds = %144, %136 %146 = phi i32 [ %143, %136 ], [ 1, %144 ] %147 = icmp sle i32 %146, 0 br i1 %147, label %148, label %168 148: ; preds = %145 %149 = load ptr, ptr %6, align 8 %150 = load x86_fp80, ptr %149, align 16 %151 = load ptr, ptr %7, align 8 %152 = load x86_fp80, ptr %151, align 16 %153 = fcmp ole x86_fp80 %150, %152 br i1 %153, label %154, label %162 154: ; preds = %148 %155 = load ptr, ptr %6, align 8 %156 = load x86_fp80, ptr %155, align 16 %157 = load ptr, ptr %7, align 8 %158 = load x86_fp80, ptr %157, align 16 %159 = fcmp olt x86_fp80 %156, %158 %160 = zext i1 %159 to i64 %161 = select i1 %159, i32 -1, i32 0 br label %163 162: ; preds = %148 br label %163 163: ; preds = %162, %154 %164 = phi i32 [ %161, %154 ], [ 1, %162 ] %165 = icmp slt i32 %164, 0 %166 = zext i1 %165 to i64 %167 = select i1 %165, i32 -1, i32 0 br label %169 168: ; preds = %145 br label %169 169: ; preds = %168, %163 %170 = phi i32 [ %167, %163 ], [ 1, %168 ] %171 = icmp eq i32 %130, %170 br i1 %171, label %172, label %180 172: ; preds = %169 %173 = load ptr, ptr %6, align 8 %174 = load x86_fp80, ptr %173, align 16 %175 = fptosi x86_fp80 %174 to i64 %176 = load ptr, ptr %7, align 8 %177 = load x86_fp80, ptr %176, align 16 %178 = fptosi x86_fp80 %177 to i64 %179 = sub nsw i64 %175, %178 br label %198 180: ; preds = %169 %181 = load ptr, ptr %6, align 8 %182 = load x86_fp80, ptr %181, align 16 %183 = load ptr, ptr %7, align 8 %184 = load x86_fp80, ptr %183, align 16 %185 = fcmp ole x86_fp80 %182, %184 br i1 %185, label %186, label %194 186: ; preds = %180 %187 = load ptr, ptr %6, align 8 %188 = load x86_fp80, ptr %187, align 16 %189 = load ptr, ptr %7, align 8 %190 = load x86_fp80, ptr %189, align 16 %191 = fcmp olt x86_fp80 %188, %190 %192 = zext i1 %191 to i64 %193 = select i1 %191, i32 -1, i32 0 br label %195 194: ; preds = %180 br label %195 195: ; preds = %194, %186 %196 = phi i32 [ %193, %186 ], [ 1, %194 ] %197 = sext i32 %196 to i64 br label %198 198: ; preds = %195, %172 %199 = phi i64 [ %179, %172 ], [ %197, %195 ] %200 = icmp ne i64 %199, -938344448 br i1 %200, label %201, label %293 201: ; preds = %198 %202 = load ptr, ptr %6, align 8 %203 = load x86_fp80, ptr %202, align 16 %204 = fptosi x86_fp80 %203 to i64 %205 = load ptr, ptr %7, align 8 %206 = load x86_fp80, ptr %205, align 16 %207 = fptosi x86_fp80 %206 to i64 %208 = sub nsw i64 %204, %207 %209 = icmp sle i64 %208, 0 br i1 %209, label %210, label %221 210: ; preds = %201 %211 = load ptr, ptr %6, align 8 %212 = load x86_fp80, ptr %211, align 16 %213 = fptosi x86_fp80 %212 to i64 %214 = load ptr, ptr %7, align 8 %215 = load x86_fp80, ptr %214, align 16 %216 = fptosi x86_fp80 %215 to i64 %217 = sub nsw i64 %213, %216 %218 = icmp slt i64 %217, 0 %219 = zext i1 %218 to i64 %220 = select i1 %218, i32 -1, i32 0 br label %222 221: ; preds = %201 br label %222 222: ; preds = %221, %210 %223 = phi i32 [ %220, %210 ], [ 1, %221 ] %224 = load ptr, ptr %6, align 8 %225 = load x86_fp80, ptr %224, align 16 %226 = load ptr, ptr %7, align 8 %227 = load x86_fp80, ptr %226, align 16 %228 = fcmp ole x86_fp80 %225, %227 br i1 %228, label %229, label %237 229: ; preds = %222 %230 = load ptr, ptr %6, align 8 %231 = load x86_fp80, ptr %230, align 16 %232 = load ptr, ptr %7, align 8 %233 = load x86_fp80, ptr %232, align 16 %234 = fcmp olt x86_fp80 %231, %233 %235 = zext i1 %234 to i64 %236 = select i1 %234, i32 -1, i32 0 br label %238 237: ; preds = %222 br label %238 238: ; preds = %237, %229 %239 = phi i32 [ %236, %229 ], [ 1, %237 ] %240 = icmp sle i32 %239, 0 br i1 %240, label %241, label %261 241: ; preds = %238 %242 = load ptr, ptr %6, align 8 %243 = load x86_fp80, ptr %242, align 16 %244 = load ptr, ptr %7, align 8 %245 = load x86_fp80, ptr %244, align 16 %246 = fcmp ole x86_fp80 %243, %245 br i1 %246, label %247, label %255 247: ; preds = %241 %248 = load ptr, ptr %6, align 8 %249 = load x86_fp80, ptr %248, align 16 %250 = load ptr, ptr %7, align 8 %251 = load x86_fp80, ptr %250, align 16 %252 = fcmp olt x86_fp80 %249, %251 %253 = zext i1 %252 to i64 %254 = select i1 %252, i32 -1, i32 0 br label %256 255: ; preds = %241 br label %256 256: ; preds = %255, %247 %257 = phi i32 [ %254, %247 ], [ 1, %255 ] %258 = icmp slt i32 %257, 0 %259 = zext i1 %258 to i64 %260 = select i1 %258, i32 -1, i32 0 br label %262 261: ; preds = %238 br label %262 262: ; preds = %261, %256 %263 = phi i32 [ %260, %256 ], [ 1, %261 ] %264 = icmp eq i32 %223, %263 br i1 %264, label %265, label %273 265: ; preds = %262 %266 = load ptr, ptr %6, align 8 %267 = load x86_fp80, ptr %266, align 16 %268 = fptosi x86_fp80 %267 to i64 %269 = load ptr, ptr %7, align 8 %270 = load x86_fp80, ptr %269, align 16 %271 = fptosi x86_fp80 %270 to i64 %272 = sub nsw i64 %268, %271 br label %291 273: ; preds = %262 %274 = load ptr, ptr %6, align 8 %275 = load x86_fp80, ptr %274, align 16 %276 = load ptr, ptr %7, align 8 %277 = load x86_fp80, ptr %276, align 16 %278 = fcmp ole x86_fp80 %275, %277 br i1 %278, label %279, label %287 279: ; preds = %273 %280 = load ptr, ptr %6, align 8 %281 = load x86_fp80, ptr %280, align 16 %282 = load ptr, ptr %7, align 8 %283 = load x86_fp80, ptr %282, align 16 %284 = fcmp olt x86_fp80 %281, %283 %285 = zext i1 %284 to i64 %286 = select i1 %284, i32 -1, i32 0 br label %288 287: ; preds = %273 br label %288 288: ; preds = %287, %279 %289 = phi i32 [ %286, %279 ], [ 1, %287 ] %290 = sext i32 %289 to i64 br label %291 291: ; preds = %288, %265 %292 = phi i64 [ %272, %265 ], [ %290, %288 ] br label %485 293: ; preds = %198, %105 %294 = load ptr, ptr %6, align 8 %295 = load x86_fp80, ptr %294, align 16 %296 = fptosi x86_fp80 %295 to i64 %297 = load ptr, ptr %7, align 8 %298 = load x86_fp80, ptr %297, align 16 %299 = fptosi x86_fp80 %298 to i64 %300 = sub nsw i64 %296, %299 %301 = icmp sle i64 %300, 0 br i1 %301, label %302, label %313 302: ; preds = %293 %303 = load ptr, ptr %6, align 8 %304 = load x86_fp80, ptr %303, align 16 %305 = fptosi x86_fp80 %304 to i64 %306 = load ptr, ptr %7, align 8 %307 = load x86_fp80, ptr %306, align 16 %308 = fptosi x86_fp80 %307 to i64 %309 = sub nsw i64 %305, %308 %310 = icmp slt i64 %309, 0 %311 = zext i1 %310 to i64 %312 = select i1 %310, i32 -1, i32 0 br label %314 313: ; preds = %293 br label %314 314: ; preds = %313, %302 %315 = phi i32 [ %312, %302 ], [ 1, %313 ] %316 = load ptr, ptr %6, align 8 %317 = load x86_fp80, ptr %316, align 16 %318 = load ptr, ptr %7, align 8 %319 = load x86_fp80, ptr %318, align 16 %320 = fcmp ole x86_fp80 %317, %319 br i1 %320, label %321, label %329 321: ; preds = %314 %322 = load ptr, ptr %6, align 8 %323 = load x86_fp80, ptr %322, align 16 %324 = load ptr, ptr %7, align 8 %325 = load x86_fp80, ptr %324, align 16 %326 = fcmp olt x86_fp80 %323, %325 %327 = zext i1 %326 to i64 %328 = select i1 %326, i32 -1, i32 0 br label %330 329: ; preds = %314 br label %330 330: ; preds = %329, %321 %331 = phi i32 [ %328, %321 ], [ 1, %329 ] %332 = icmp sle i32 %331, 0 br i1 %332, label %333, label %353 333: ; preds = %330 %334 = load ptr, ptr %6, align 8 %335 = load x86_fp80, ptr %334, align 16 %336 = load ptr, ptr %7, align 8 %337 = load x86_fp80, ptr %336, align 16 %338 = fcmp ole x86_fp80 %335, %337 br i1 %338, label %339, label %347 339: ; preds = %333 %340 = load ptr, ptr %6, align 8 %341 = load x86_fp80, ptr %340, align 16 %342 = load ptr, ptr %7, align 8 %343 = load x86_fp80, ptr %342, align 16 %344 = fcmp olt x86_fp80 %341, %343 %345 = zext i1 %344 to i64 %346 = select i1 %344, i32 -1, i32 0 br label %348 347: ; preds = %333 br label %348 348: ; preds = %347, %339 %349 = phi i32 [ %346, %339 ], [ 1, %347 ] %350 = icmp slt i32 %349, 0 %351 = zext i1 %350 to i64 %352 = select i1 %350, i32 -1, i32 0 br label %354 353: ; preds = %330 br label %354 354: ; preds = %353, %348 %355 = phi i32 [ %352, %348 ], [ 1, %353 ] %356 = icmp eq i32 %315, %355 br i1 %356, label %357, label %365 357: ; preds = %354 %358 = load ptr, ptr %6, align 8 %359 = load x86_fp80, ptr %358, align 16 %360 = fptosi x86_fp80 %359 to i64 %361 = load ptr, ptr %7, align 8 %362 = load x86_fp80, ptr %361, align 16 %363 = fptosi x86_fp80 %362 to i64 %364 = sub nsw i64 %360, %363 br label %383 365: ; preds = %354 %366 = load ptr, ptr %6, align 8 %367 = load x86_fp80, ptr %366, align 16 %368 = load ptr, ptr %7, align 8 %369 = load x86_fp80, ptr %368, align 16 %370 = fcmp ole x86_fp80 %367, %369 br i1 %370, label %371, label %379 371: ; preds = %365 %372 = load ptr, ptr %6, align 8 %373 = load x86_fp80, ptr %372, align 16 %374 = load ptr, ptr %7, align 8 %375 = load x86_fp80, ptr %374, align 16 %376 = fcmp olt x86_fp80 %373, %375 %377 = zext i1 %376 to i64 %378 = select i1 %376, i32 -1, i32 0 br label %380 379: ; preds = %365 br label %380 380: ; preds = %379, %371 %381 = phi i32 [ %378, %371 ], [ 1, %379 ] %382 = sext i32 %381 to i64 br label %383 383: ; preds = %380, %357 %384 = phi i64 [ %364, %357 ], [ %382, %380 ] %385 = icmp sle i64 %384, 0 br i1 %385, label %386, label %481 386: ; preds = %383 %387 = load ptr, ptr %6, align 8 %388 = load x86_fp80, ptr %387, align 16 %389 = fptosi x86_fp80 %388 to i64 %390 = load ptr, ptr %7, align 8 %391 = load x86_fp80, ptr %390, align 16 %392 = fptosi x86_fp80 %391 to i64 %393 = sub nsw i64 %389, %392 %394 = icmp sle i64 %393, 0 br i1 %394, label %395, label %406 395: ; preds = %386 %396 = load ptr, ptr %6, align 8 %397 = load x86_fp80, ptr %396, align 16 %398 = fptosi x86_fp80 %397 to i64 %399 = load ptr, ptr %7, align 8 %400 = load x86_fp80, ptr %399, align 16 %401 = fptosi x86_fp80 %400 to i64 %402 = sub nsw i64 %398, %401 %403 = icmp slt i64 %402, 0 %404 = zext i1 %403 to i64 %405 = select i1 %403, i32 -1, i32 0 br label %407 406: ; preds = %386 br label %407 407: ; preds = %406, %395 %408 = phi i32 [ %405, %395 ], [ 1, %406 ] %409 = load ptr, ptr %6, align 8 %410 = load x86_fp80, ptr %409, align 16 %411 = load ptr, ptr %7, align 8 %412 = load x86_fp80, ptr %411, align 16 %413 = fcmp ole x86_fp80 %410, %412 br i1 %413, label %414, label %422 414: ; preds = %407 %415 = load ptr, ptr %6, align 8 %416 = load x86_fp80, ptr %415, align 16 %417 = load ptr, ptr %7, align 8 %418 = load x86_fp80, ptr %417, align 16 %419 = fcmp olt x86_fp80 %416, %418 %420 = zext i1 %419 to i64 %421 = select i1 %419, i32 -1, i32 0 br label %423 422: ; preds = %407 br label %423 423: ; preds = %422, %414 %424 = phi i32 [ %421, %414 ], [ 1, %422 ] %425 = icmp sle i32 %424, 0 br i1 %425, label %426, label %446 426: ; preds = %423 %427 = load ptr, ptr %6, align 8 %428 = load x86_fp80, ptr %427, align 16 %429 = load ptr, ptr %7, align 8 %430 = load x86_fp80, ptr %429, align 16 %431 = fcmp ole x86_fp80 %428, %430 br i1 %431, label %432, label %440 432: ; preds = %426 %433 = load ptr, ptr %6, align 8 %434 = load x86_fp80, ptr %433, align 16 %435 = load ptr, ptr %7, align 8 %436 = load x86_fp80, ptr %435, align 16 %437 = fcmp olt x86_fp80 %434, %436 %438 = zext i1 %437 to i64 %439 = select i1 %437, i32 -1, i32 0 br label %441 440: ; preds = %426 br label %441 441: ; preds = %440, %432 %442 = phi i32 [ %439, %432 ], [ 1, %440 ] %443 = icmp slt i32 %442, 0 %444 = zext i1 %443 to i64 %445 = select i1 %443, i32 -1, i32 0 br label %447 446: ; preds = %423 br label %447 447: ; preds = %446, %441 %448 = phi i32 [ %445, %441 ], [ 1, %446 ] %449 = icmp eq i32 %408, %448 br i1 %449, label %450, label %458 450: ; preds = %447 %451 = load ptr, ptr %6, align 8 %452 = load x86_fp80, ptr %451, align 16 %453 = fptosi x86_fp80 %452 to i64 %454 = load ptr, ptr %7, align 8 %455 = load x86_fp80, ptr %454, align 16 %456 = fptosi x86_fp80 %455 to i64 %457 = sub nsw i64 %453, %456 br label %476 458: ; preds = %447 %459 = load ptr, ptr %6, align 8 %460 = load x86_fp80, ptr %459, align 16 %461 = load ptr, ptr %7, align 8 %462 = load x86_fp80, ptr %461, align 16 %463 = fcmp ole x86_fp80 %460, %462 br i1 %463, label %464, label %472 464: ; preds = %458 %465 = load ptr, ptr %6, align 8 %466 = load x86_fp80, ptr %465, align 16 %467 = load ptr, ptr %7, align 8 %468 = load x86_fp80, ptr %467, align 16 %469 = fcmp olt x86_fp80 %466, %468 %470 = zext i1 %469 to i64 %471 = select i1 %469, i32 -1, i32 0 br label %473 472: ; preds = %458 br label %473 473: ; preds = %472, %464 %474 = phi i32 [ %471, %464 ], [ 1, %472 ] %475 = sext i32 %474 to i64 br label %476 476: ; preds = %473, %450 %477 = phi i64 [ %457, %450 ], [ %475, %473 ] %478 = icmp slt i64 %477, 0 %479 = zext i1 %478 to i64 %480 = select i1 %478, i32 -938409984, i32 0 br label %482 481: ; preds = %383 br label %482 482: ; preds = %481, %476 %483 = phi i32 [ %480, %476 ], [ 938409984, %481 ] %484 = sext i32 %483 to i64 br label %485 485: ; preds = %482, %291 %486 = phi i64 [ %292, %291 ], [ %484, %482 ] %487 = trunc i64 %486 to i32 store i32 %487, ptr %4, align 4 br label %488 488: ; preds = %485, %13 %489 = load i32, ptr %4, align 4 ret i32 %489 } declare i32 @ordering_err_2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy4k7w98m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_ldouble(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10, %3 %14 = call i32 (...) @ordering_err_2() store i32 %14, ptr %4, align 4 br label %488 15: ; preds = %10 %16 = load ptr, ptr %6, align 8 %17 = load x86_fp80, ptr %16, align 16 %18 = fptosi x86_fp80 %17 to i64 %19 = load ptr, ptr %7, align 8 %20 = load x86_fp80, ptr %19, align 16 %21 = fptosi x86_fp80 %20 to i64 %22 = sub nsw i64 %18, %21 %23 = icmp sle i64 %22, 0 br i1 %23, label %24, label %35 24: ; preds = %15 %25 = load ptr, ptr %6, align 8 %26 = load x86_fp80, ptr %25, align 16 %27 = fptosi x86_fp80 %26 to i64 %28 = load ptr, ptr %7, align 8 %29 = load x86_fp80, ptr %28, align 16 %30 = fptosi x86_fp80 %29 to i64 %31 = sub nsw i64 %27, %30 %32 = icmp slt i64 %31, 0 %33 = zext i1 %32 to i64 %34 = select i1 %32, i32 -1, i32 0 br label %36 35: ; preds = %15 br label %36 36: ; preds = %35, %24 %37 = phi i32 [ %34, %24 ], [ 1, %35 ] %38 = load ptr, ptr %6, align 8 %39 = load x86_fp80, ptr %38, align 16 %40 = load ptr, ptr %7, align 8 %41 = load x86_fp80, ptr %40, align 16 %42 = fcmp ole x86_fp80 %39, %41 br i1 %42, label %43, label %51 43: ; preds = %36 %44 = load ptr, ptr %6, align 8 %45 = load x86_fp80, ptr %44, align 16 %46 = load ptr, ptr %7, align 8 %47 = load x86_fp80, ptr %46, align 16 %48 = fcmp olt x86_fp80 %45, %47 %49 = zext i1 %48 to i64 %50 = select i1 %48, i32 -1, i32 0 br label %52 51: ; preds = %36 br label %52 52: ; preds = %51, %43 %53 = phi i32 [ %50, %43 ], [ 1, %51 ] %54 = icmp sle i32 %53, 0 br i1 %54, label %55, label %75 55: ; preds = %52 %56 = load ptr, ptr %6, align 8 %57 = load x86_fp80, ptr %56, align 16 %58 = load ptr, ptr %7, align 8 %59 = load x86_fp80, ptr %58, align 16 %60 = fcmp ole x86_fp80 %57, %59 br i1 %60, label %61, label %69 61: ; preds = %55 %62 = load ptr, ptr %6, align 8 %63 = load x86_fp80, ptr %62, align 16 %64 = load ptr, ptr %7, align 8 %65 = load x86_fp80, ptr %64, align 16 %66 = fcmp olt x86_fp80 %63, %65 %67 = zext i1 %66 to i64 %68 = select i1 %66, i32 -1, i32 0 br label %70 69: ; preds = %55 br label %70 70: ; preds = %69, %61 %71 = phi i32 [ %68, %61 ], [ 1, %69 ] %72 = icmp slt i32 %71, 0 %73 = zext i1 %72 to i64 %74 = select i1 %72, i32 -1, i32 0 br label %76 75: ; preds = %52 br label %76 76: ; preds = %75, %70 %77 = phi i32 [ %74, %70 ], [ 1, %75 ] %78 = icmp eq i32 %37, %77 br i1 %78, label %79, label %87 79: ; preds = %76 %80 = load ptr, ptr %6, align 8 %81 = load x86_fp80, ptr %80, align 16 %82 = fptosi x86_fp80 %81 to i64 %83 = load ptr, ptr %7, align 8 %84 = load x86_fp80, ptr %83, align 16 %85 = fptosi x86_fp80 %84 to i64 %86 = sub nsw i64 %82, %85 br label %105 87: ; preds = %76 %88 = load ptr, ptr %6, align 8 %89 = load x86_fp80, ptr %88, align 16 %90 = load ptr, ptr %7, align 8 %91 = load x86_fp80, ptr %90, align 16 %92 = fcmp ole x86_fp80 %89, %91 br i1 %92, label %93, label %101 93: ; preds = %87 %94 = load ptr, ptr %6, align 8 %95 = load x86_fp80, ptr %94, align 16 %96 = load ptr, ptr %7, align 8 %97 = load x86_fp80, ptr %96, align 16 %98 = fcmp olt x86_fp80 %95, %97 %99 = zext i1 %98 to i64 %100 = select i1 %98, i32 -1, i32 0 br label %102 101: ; preds = %87 br label %102 102: ; preds = %101, %93 %103 = phi i32 [ %100, %93 ], [ 1, %101 ] %104 = sext i32 %103 to i64 br label %105 105: ; preds = %102, %79 %106 = phi i64 [ %86, %79 ], [ %104, %102 ] %107 = icmp ne i64 %106, -938278912 br i1 %107, label %108, label %293 108: ; preds = %105 %109 = load ptr, ptr %6, align 8 %110 = load x86_fp80, ptr %109, align 16 %111 = fptosi x86_fp80 %110 to i64 %112 = load ptr, ptr %7, align 8 %113 = load x86_fp80, ptr %112, align 16 %114 = fptosi x86_fp80 %113 to i64 %115 = sub nsw i64 %111, %114 %116 = icmp sle i64 %115, 0 br i1 %116, label %117, label %128 117: ; preds = %108 %118 = load ptr, ptr %6, align 8 %119 = load x86_fp80, ptr %118, align 16 %120 = fptosi x86_fp80 %119 to i64 %121 = load ptr, ptr %7, align 8 %122 = load x86_fp80, ptr %121, align 16 %123 = fptosi x86_fp80 %122 to i64 %124 = sub nsw i64 %120, %123 %125 = icmp slt i64 %124, 0 %126 = zext i1 %125 to i64 %127 = select i1 %125, i32 -1, i32 0 br label %129 128: ; preds = %108 br label %129 129: ; preds = %128, %117 %130 = phi i32 [ %127, %117 ], [ 1, %128 ] %131 = load ptr, ptr %6, align 8 %132 = load x86_fp80, ptr %131, align 16 %133 = load ptr, ptr %7, align 8 %134 = load x86_fp80, ptr %133, align 16 %135 = fcmp ole x86_fp80 %132, %134 br i1 %135, label %136, label %144 136: ; preds = %129 %137 = load ptr, ptr %6, align 8 %138 = load x86_fp80, ptr %137, align 16 %139 = load ptr, ptr %7, align 8 %140 = load x86_fp80, ptr %139, align 16 %141 = fcmp olt x86_fp80 %138, %140 %142 = zext i1 %141 to i64 %143 = select i1 %141, i32 -1, i32 0 br label %145 144: ; preds = %129 br label %145 145: ; preds = %144, %136 %146 = phi i32 [ %143, %136 ], [ 1, %144 ] %147 = icmp sle i32 %146, 0 br i1 %147, label %148, label %168 148: ; preds = %145 %149 = load ptr, ptr %6, align 8 %150 = load x86_fp80, ptr %149, align 16 %151 = load ptr, ptr %7, align 8 %152 = load x86_fp80, ptr %151, align 16 %153 = fcmp ole x86_fp80 %150, %152 br i1 %153, label %154, label %162 154: ; preds = %148 %155 = load ptr, ptr %6, align 8 %156 = load x86_fp80, ptr %155, align 16 %157 = load ptr, ptr %7, align 8 %158 = load x86_fp80, ptr %157, align 16 %159 = fcmp olt x86_fp80 %156, %158 %160 = zext i1 %159 to i64 %161 = select i1 %159, i32 -1, i32 0 br label %163 162: ; preds = %148 br label %163 163: ; preds = %162, %154 %164 = phi i32 [ %161, %154 ], [ 1, %162 ] %165 = icmp slt i32 %164, 0 %166 = zext i1 %165 to i64 %167 = select i1 %165, i32 -1, i32 0 br label %169 168: ; preds = %145 br label %169 169: ; preds = %168, %163 %170 = phi i32 [ %167, %163 ], [ 1, %168 ] %171 = icmp eq i32 %130, %170 br i1 %171, label %172, label %180 172: ; preds = %169 %173 = load ptr, ptr %6, align 8 %174 = load x86_fp80, ptr %173, align 16 %175 = fptosi x86_fp80 %174 to i64 %176 = load ptr, ptr %7, align 8 %177 = load x86_fp80, ptr %176, align 16 %178 = fptosi x86_fp80 %177 to i64 %179 = sub nsw i64 %175, %178 br label %198 180: ; preds = %169 %181 = load ptr, ptr %6, align 8 %182 = load x86_fp80, ptr %181, align 16 %183 = load ptr, ptr %7, align 8 %184 = load x86_fp80, ptr %183, align 16 %185 = fcmp ole x86_fp80 %182, %184 br i1 %185, label %186, label %194 186: ; preds = %180 %187 = load ptr, ptr %6, align 8 %188 = load x86_fp80, ptr %187, align 16 %189 = load ptr, ptr %7, align 8 %190 = load x86_fp80, ptr %189, align 16 %191 = fcmp olt x86_fp80 %188, %190 %192 = zext i1 %191 to i64 %193 = select i1 %191, i32 -1, i32 0 br label %195 194: ; preds = %180 br label %195 195: ; preds = %194, %186 %196 = phi i32 [ %193, %186 ], [ 1, %194 ] %197 = sext i32 %196 to i64 br label %198 198: ; preds = %195, %172 %199 = phi i64 [ %179, %172 ], [ %197, %195 ] %200 = icmp ne i64 %199, -938344448 br i1 %200, label %201, label %293 201: ; preds = %198 %202 = load ptr, ptr %6, align 8 %203 = load x86_fp80, ptr %202, align 16 %204 = fptosi x86_fp80 %203 to i64 %205 = load ptr, ptr %7, align 8 %206 = load x86_fp80, ptr %205, align 16 %207 = fptosi x86_fp80 %206 to i64 %208 = sub nsw i64 %204, %207 %209 = icmp sle i64 %208, 0 br i1 %209, label %210, label %221 210: ; preds = %201 %211 = load ptr, ptr %6, align 8 %212 = load x86_fp80, ptr %211, align 16 %213 = fptosi x86_fp80 %212 to i64 %214 = load ptr, ptr %7, align 8 %215 = load x86_fp80, ptr %214, align 16 %216 = fptosi x86_fp80 %215 to i64 %217 = sub nsw i64 %213, %216 %218 = icmp slt i64 %217, 0 %219 = zext i1 %218 to i64 %220 = select i1 %218, i32 -1, i32 0 br label %222 221: ; preds = %201 br label %222 222: ; preds = %221, %210 %223 = phi i32 [ %220, %210 ], [ 1, %221 ] %224 = load ptr, ptr %6, align 8 %225 = load x86_fp80, ptr %224, align 16 %226 = load ptr, ptr %7, align 8 %227 = load x86_fp80, ptr %226, align 16 %228 = fcmp ole x86_fp80 %225, %227 br i1 %228, label %229, label %237 229: ; preds = %222 %230 = load ptr, ptr %6, align 8 %231 = load x86_fp80, ptr %230, align 16 %232 = load ptr, ptr %7, align 8 %233 = load x86_fp80, ptr %232, align 16 %234 = fcmp olt x86_fp80 %231, %233 %235 = zext i1 %234 to i64 %236 = select i1 %234, i32 -1, i32 0 br label %238 237: ; preds = %222 br label %238 238: ; preds = %237, %229 %239 = phi i32 [ %236, %229 ], [ 1, %237 ] %240 = icmp sle i32 %239, 0 br i1 %240, label %241, label %261 241: ; preds = %238 %242 = load ptr, ptr %6, align 8 %243 = load x86_fp80, ptr %242, align 16 %244 = load ptr, ptr %7, align 8 %245 = load x86_fp80, ptr %244, align 16 %246 = fcmp ole x86_fp80 %243, %245 br i1 %246, label %247, label %255 247: ; preds = %241 %248 = load ptr, ptr %6, align 8 %249 = load x86_fp80, ptr %248, align 16 %250 = load ptr, ptr %7, align 8 %251 = load x86_fp80, ptr %250, align 16 %252 = fcmp olt x86_fp80 %249, %251 %253 = zext i1 %252 to i64 %254 = select i1 %252, i32 -1, i32 0 br label %256 255: ; preds = %241 br label %256 256: ; preds = %255, %247 %257 = phi i32 [ %254, %247 ], [ 1, %255 ] %258 = icmp slt i32 %257, 0 %259 = zext i1 %258 to i64 %260 = select i1 %258, i32 -1, i32 0 br label %262 261: ; preds = %238 br label %262 262: ; preds = %261, %256 %263 = phi i32 [ %260, %256 ], [ 1, %261 ] %264 = icmp eq i32 %223, %263 br i1 %264, label %265, label %273 265: ; preds = %262 %266 = load ptr, ptr %6, align 8 %267 = load x86_fp80, ptr %266, align 16 %268 = fptosi x86_fp80 %267 to i64 %269 = load ptr, ptr %7, align 8 %270 = load x86_fp80, ptr %269, align 16 %271 = fptosi x86_fp80 %270 to i64 %272 = sub nsw i64 %268, %271 br label %291 273: ; preds = %262 %274 = load ptr, ptr %6, align 8 %275 = load x86_fp80, ptr %274, align 16 %276 = load ptr, ptr %7, align 8 %277 = load x86_fp80, ptr %276, align 16 %278 = fcmp ole x86_fp80 %275, %277 br i1 %278, label %279, label %287 279: ; preds = %273 %280 = load ptr, ptr %6, align 8 %281 = load x86_fp80, ptr %280, align 16 %282 = load ptr, ptr %7, align 8 %283 = load x86_fp80, ptr %282, align 16 %284 = fcmp olt x86_fp80 %281, %283 %285 = zext i1 %284 to i64 %286 = select i1 %284, i32 -1, i32 0 br label %288 287: ; preds = %273 br label %288 288: ; preds = %287, %279 %289 = phi i32 [ %286, %279 ], [ 1, %287 ] %290 = sext i32 %289 to i64 br label %291 291: ; preds = %288, %265 %292 = phi i64 [ %272, %265 ], [ %290, %288 ] br label %485 293: ; preds = %198, %105 %294 = load ptr, ptr %6, align 8 %295 = load x86_fp80, ptr %294, align 16 %296 = fptosi x86_fp80 %295 to i64 %297 = load ptr, ptr %7, align 8 %298 = load x86_fp80, ptr %297, align 16 %299 = fptosi x86_fp80 %298 to i64 %300 = sub nsw i64 %296, %299 %301 = icmp sle i64 %300, 0 br i1 %301, label %302, label %313 302: ; preds = %293 %303 = load ptr, ptr %6, align 8 %304 = load x86_fp80, ptr %303, align 16 %305 = fptosi x86_fp80 %304 to i64 %306 = load ptr, ptr %7, align 8 %307 = load x86_fp80, ptr %306, align 16 %308 = fptosi x86_fp80 %307 to i64 %309 = sub nsw i64 %305, %308 %310 = icmp slt i64 %309, 0 %311 = zext i1 %310 to i64 %312 = select i1 %310, i32 -1, i32 0 br label %314 313: ; preds = %293 br label %314 314: ; preds = %313, %302 %315 = phi i32 [ %312, %302 ], [ 1, %313 ] %316 = load ptr, ptr %6, align 8 %317 = load x86_fp80, ptr %316, align 16 %318 = load ptr, ptr %7, align 8 %319 = load x86_fp80, ptr %318, align 16 %320 = fcmp ole x86_fp80 %317, %319 br i1 %320, label %321, label %329 321: ; preds = %314 %322 = load ptr, ptr %6, align 8 %323 = load x86_fp80, ptr %322, align 16 %324 = load ptr, ptr %7, align 8 %325 = load x86_fp80, ptr %324, align 16 %326 = fcmp olt x86_fp80 %323, %325 %327 = zext i1 %326 to i64 %328 = select i1 %326, i32 -1, i32 0 br label %330 329: ; preds = %314 br label %330 330: ; preds = %329, %321 %331 = phi i32 [ %328, %321 ], [ 1, %329 ] %332 = icmp sle i32 %331, 0 br i1 %332, label %333, label %353 333: ; preds = %330 %334 = load ptr, ptr %6, align 8 %335 = load x86_fp80, ptr %334, align 16 %336 = load ptr, ptr %7, align 8 %337 = load x86_fp80, ptr %336, align 16 %338 = fcmp ole x86_fp80 %335, %337 br i1 %338, label %339, label %347 339: ; preds = %333 %340 = load ptr, ptr %6, align 8 %341 = load x86_fp80, ptr %340, align 16 %342 = load ptr, ptr %7, align 8 %343 = load x86_fp80, ptr %342, align 16 %344 = fcmp olt x86_fp80 %341, %343 %345 = zext i1 %344 to i64 %346 = select i1 %344, i32 -1, i32 0 br label %348 347: ; preds = %333 br label %348 348: ; preds = %347, %339 %349 = phi i32 [ %346, %339 ], [ 1, %347 ] %350 = icmp slt i32 %349, 0 %351 = zext i1 %350 to i64 %352 = select i1 %350, i32 -1, i32 0 br label %354 353: ; preds = %330 br label %354 354: ; preds = %353, %348 %355 = phi i32 [ %352, %348 ], [ 1, %353 ] %356 = icmp eq i32 %315, %355 br i1 %356, label %357, label %365 357: ; preds = %354 %358 = load ptr, ptr %6, align 8 %359 = load x86_fp80, ptr %358, align 16 %360 = fptosi x86_fp80 %359 to i64 %361 = load ptr, ptr %7, align 8 %362 = load x86_fp80, ptr %361, align 16 %363 = fptosi x86_fp80 %362 to i64 %364 = sub nsw i64 %360, %363 br label %383 365: ; preds = %354 %366 = load ptr, ptr %6, align 8 %367 = load x86_fp80, ptr %366, align 16 %368 = load ptr, ptr %7, align 8 %369 = load x86_fp80, ptr %368, align 16 %370 = fcmp ole x86_fp80 %367, %369 br i1 %370, label %371, label %379 371: ; preds = %365 %372 = load ptr, ptr %6, align 8 %373 = load x86_fp80, ptr %372, align 16 %374 = load ptr, ptr %7, align 8 %375 = load x86_fp80, ptr %374, align 16 %376 = fcmp olt x86_fp80 %373, %375 %377 = zext i1 %376 to i64 %378 = select i1 %376, i32 -1, i32 0 br label %380 379: ; preds = %365 br label %380 380: ; preds = %379, %371 %381 = phi i32 [ %378, %371 ], [ 1, %379 ] %382 = sext i32 %381 to i64 br label %383 383: ; preds = %380, %357 %384 = phi i64 [ %364, %357 ], [ %382, %380 ] %385 = icmp sle i64 %384, 0 br i1 %385, label %386, label %481 386: ; preds = %383 %387 = load ptr, ptr %6, align 8 %388 = load x86_fp80, ptr %387, align 16 %389 = fptosi x86_fp80 %388 to i64 %390 = load ptr, ptr %7, align 8 %391 = load x86_fp80, ptr %390, align 16 %392 = fptosi x86_fp80 %391 to i64 %393 = sub nsw i64 %389, %392 %394 = icmp sle i64 %393, 0 br i1 %394, label %395, label %406 395: ; preds = %386 %396 = load ptr, ptr %6, align 8 %397 = load x86_fp80, ptr %396, align 16 %398 = fptosi x86_fp80 %397 to i64 %399 = load ptr, ptr %7, align 8 %400 = load x86_fp80, ptr %399, align 16 %401 = fptosi x86_fp80 %400 to i64 %402 = sub nsw i64 %398, %401 %403 = icmp slt i64 %402, 0 %404 = zext i1 %403 to i64 %405 = select i1 %403, i32 -1, i32 0 br label %407 406: ; preds = %386 br label %407 407: ; preds = %406, %395 %408 = phi i32 [ %405, %395 ], [ 1, %406 ] %409 = load ptr, ptr %6, align 8 %410 = load x86_fp80, ptr %409, align 16 %411 = load ptr, ptr %7, align 8 %412 = load x86_fp80, ptr %411, align 16 %413 = fcmp ole x86_fp80 %410, %412 br i1 %413, label %414, label %422 414: ; preds = %407 %415 = load ptr, ptr %6, align 8 %416 = load x86_fp80, ptr %415, align 16 %417 = load ptr, ptr %7, align 8 %418 = load x86_fp80, ptr %417, align 16 %419 = fcmp olt x86_fp80 %416, %418 %420 = zext i1 %419 to i64 %421 = select i1 %419, i32 -1, i32 0 br label %423 422: ; preds = %407 br label %423 423: ; preds = %422, %414 %424 = phi i32 [ %421, %414 ], [ 1, %422 ] %425 = icmp sle i32 %424, 0 br i1 %425, label %426, label %446 426: ; preds = %423 %427 = load ptr, ptr %6, align 8 %428 = load x86_fp80, ptr %427, align 16 %429 = load ptr, ptr %7, align 8 %430 = load x86_fp80, ptr %429, align 16 %431 = fcmp ole x86_fp80 %428, %430 br i1 %431, label %432, label %440 432: ; preds = %426 %433 = load ptr, ptr %6, align 8 %434 = load x86_fp80, ptr %433, align 16 %435 = load ptr, ptr %7, align 8 %436 = load x86_fp80, ptr %435, align 16 %437 = fcmp olt x86_fp80 %434, %436 %438 = zext i1 %437 to i64 %439 = select i1 %437, i32 -1, i32 0 br label %441 440: ; preds = %426 br label %441 441: ; preds = %440, %432 %442 = phi i32 [ %439, %432 ], [ 1, %440 ] %443 = icmp slt i32 %442, 0 %444 = zext i1 %443 to i64 %445 = select i1 %443, i32 -1, i32 0 br label %447 446: ; preds = %423 br label %447 447: ; preds = %446, %441 %448 = phi i32 [ %445, %441 ], [ 1, %446 ] %449 = icmp eq i32 %408, %448 br i1 %449, label %450, label %458 450: ; preds = %447 %451 = load ptr, ptr %6, align 8 %452 = load x86_fp80, ptr %451, align 16 %453 = fptosi x86_fp80 %452 to i64 %454 = load ptr, ptr %7, align 8 %455 = load x86_fp80, ptr %454, align 16 %456 = fptosi x86_fp80 %455 to i64 %457 = sub nsw i64 %453, %456 br label %476 458: ; preds = %447 %459 = load ptr, ptr %6, align 8 %460 = load x86_fp80, ptr %459, align 16 %461 = load ptr, ptr %7, align 8 %462 = load x86_fp80, ptr %461, align 16 %463 = fcmp ole x86_fp80 %460, %462 br i1 %463, label %464, label %472 464: ; preds = %458 %465 = load ptr, ptr %6, align 8 %466 = load x86_fp80, ptr %465, align 16 %467 = load ptr, ptr %7, align 8 %468 = load x86_fp80, ptr %467, align 16 %469 = fcmp olt x86_fp80 %466, %468 %470 = zext i1 %469 to i64 %471 = select i1 %469, i32 -1, i32 0 br label %473 472: ; preds = %458 br label %473 473: ; preds = %472, %464 %474 = phi i32 [ %471, %464 ], [ 1, %472 ] %475 = sext i32 %474 to i64 br label %476 476: ; preds = %473, %450 %477 = phi i64 [ %457, %450 ], [ %475, %473 ] %478 = icmp slt i64 %477, 0 %479 = zext i1 %478 to i64 %480 = select i1 %478, i32 -938409984, i32 0 br label %482 481: ; preds = %383 br label %482 482: ; preds = %481, %476 %483 = phi i32 [ %480, %476 ], [ 938409984, %481 ] %484 = sext i32 %483 to i64 br label %485 485: ; preds = %482, %291 %486 = phi i64 [ %292, %291 ], [ %484, %482 ] %487 = trunc i64 %486 to i32 store i32 %487, ptr %4, align 4 br label %488 488: ; preds = %485, %13 %489 = load i32, ptr %4, align 4 ret i32 %489 } declare i32 @ordering_err_2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe5opmlxl.c' source_filename = "/tmp/tmpe5opmlxl.c" target datalayout = "e-m:e-p270: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/tmpe5opmlxl.c" target datalayout = "e-m:e-p270: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/tmphbrev8g6.c' source_filename = "/tmp/tmphbrev8g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Hello from musl\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphbrev8g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Hello from musl\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpetbtlesy.c' source_filename = "/tmp/tmpetbtlesy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpetbtlesy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxdj01yg7.c' source_filename = "/tmp/tmpxdj01yg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endoutpieces() #0 { %1 = call i32 (...) @endblock() ret void } declare i32 @endblock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdj01yg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endoutpieces() #0 { %1 = call i32 (...) @endblock() ret void } declare i32 @endblock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4yy8kg7h.c' source_filename = "/tmp/tmp4yy8kg7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nexttowardf(float noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca x86_fp80, align 16 store float %0, ptr %3, align 4 store x86_fp80 %1, ptr %4, align 16 %5 = call i32 @assert(i32 noundef 0) ret float 0.000000e+00 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4yy8kg7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nexttowardf(float noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca x86_fp80, align 16 store float %0, ptr %3, align 4 store x86_fp80 %1, ptr %4, align 16 %5 = call i32 @assert(i32 noundef 0) ret float 0.000000e+00 } 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"}
; ModuleID = '/tmp/tmp3i1x3ivu.c' source_filename = "/tmp/tmp3i1x3ivu.c" target datalayout = "e-m:e-p270: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/tmp3i1x3ivu.c" target datalayout = "e-m:e-p270: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/tmpmfzsqnuu.c' source_filename = "/tmp/tmpmfzsqnuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"makedir version 1.0\0AHitlion King\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmfzsqnuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"makedir version 1.0\0AHitlion King\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdd5t1cf4.c' source_filename = "/tmp/tmpdd5t1cf4.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load 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 = call i32 @exit(i32 noundef -1) #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/tmpdd5t1cf4.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load 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 = call i32 @exit(i32 noundef -1) #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/tmpe5wm3h00.c' source_filename = "/tmp/tmpe5wm3h00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %27, %0 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %30 11: ; preds = %8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %23, %11 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %26 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [3 x i32], ptr %18, i64 0, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %12, !llvm.loop !6 26: ; preds = %12 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %8, !llvm.loop !8 30: ; preds = %8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %67, %30 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 3 br i1 %33, label %34, label %70 34: ; preds = %31 %35 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 0 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [3 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 1 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [3 x i32], ptr %40, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp eq i32 %39, %44 br i1 %45, label %46, label %47 46: ; preds = %34 br label %67 47: ; preds = %34 %48 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 0 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [3 x i32], ptr %48, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 1 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [3 x i32], ptr %53, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = icmp sgt i32 %52, %57 br i1 %58, label %59, label %62 59: ; preds = %47 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 br label %65 62: ; preds = %47 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 br label %65 65: ; preds = %62, %59 br label %66 66: ; preds = %65 br label %67 67: ; preds = %66, %46 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 br label %31, !llvm.loop !9 70: ; preds = %31 %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %6, align 4 %73 = call i32 @printf(ptr noundef @.str.1, i32 noundef %71, i32 noundef %72) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe5wm3h00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %.lr.ph2, label %32 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %10 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 2 br i1 %31, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %0 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, 3 br i1 %34, label %.lr.ph5, label %73 .lr.ph5: ; preds = %32 br label %35 35: ; preds = %.lr.ph5, %68 %36 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [3 x i32], ptr %36, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 1 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [3 x i32], ptr %41, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %40, %45 br i1 %46, label %47, label %48 47: ; preds = %35 br label %68 48: ; preds = %35 %49 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 0 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [3 x i32], ptr %49, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = getelementptr inbounds [2 x [3 x i32]], ptr %2, i64 0, i64 1 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [3 x i32], ptr %54, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = icmp sgt i32 %53, %58 br i1 %59, label %60, label %63 60: ; preds = %48 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %66 63: ; preds = %48 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 br label %66 66: ; preds = %63, %60 br label %67 67: ; preds = %66 br label %68 68: ; preds = %67, %47 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp slt i32 %71, 3 br i1 %72, label %35, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %68 br label %73 73: ; preds = %._crit_edge6, %32 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %6, align 4 %76 = call i32 @printf(ptr noundef @.str.1, i32 noundef %74, i32 noundef %75) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpi8emwkhf.c' source_filename = "/tmp/tmpi8emwkhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar_vector(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %22, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = load i32, ptr @stdout, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14, i32 noundef %15, i32 noundef %20) br label %22 22: ; preds = %12 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi8emwkhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar_vector(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %21 %12 = load i32, ptr @stdout, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, i32 noundef %14, i32 noundef %19) br label %21 21: ; preds = %11 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %3 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnkul3thm.c' source_filename = "/tmp/tmpnkul3thm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_index_get(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 = ptrtoint ptr %7 to i64 %10 = ptrtoint ptr %8 to i64 %11 = sub i64 %9, %10 %12 = sdiv exact i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = load i32, ptr %6, align 4 %15 = sdiv i32 %13, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnkul3thm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_index_get(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 = ptrtoint ptr %7 to i64 %10 = ptrtoint ptr %8 to i64 %11 = sub i64 %9, %10 %12 = sdiv exact i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = load i32, ptr %6, align 4 %15 = sdiv i32 %13, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5s82mvxe.c' source_filename = "/tmp/tmp5s82mvxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"fglrxinfo 2> /dev/null | sed -n 's/.*(\\([^)]*\\)).*/\\1/p' > fglrx_version.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_fglrx_version() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5s82mvxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"fglrxinfo 2> /dev/null | sed -n 's/.*(\\([^)]*\\)).*/\\1/p' > fglrx_version.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_fglrx_version() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_0xs4ws5.c' source_filename = "/tmp/tmp_0xs4ws5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @silitek_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = call i32 @waitfordata(i64 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %3 store i32 0, ptr %4, align 4 br label %19 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 1) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 0, ptr %4, align 4 br label %19 18: ; preds = %12 store i32 1, ptr %4, align 4 br label %19 19: ; preds = %18, %17, %11 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @waitfordata(i64 noundef) #1 declare i32 @read(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/tmp_0xs4ws5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @silitek_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = call i32 @waitfordata(i64 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %3 store i32 0, ptr %4, align 4 br label %19 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 1) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 0, ptr %4, align 4 br label %19 18: ; preds = %12 store i32 1, ptr %4, align 4 br label %19 19: ; preds = %18, %17, %11 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @waitfordata(i64 noundef) #1 declare i32 @read(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/tmp2dz1yppy.c' source_filename = "/tmp/tmp2dz1yppy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"That is already locked.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isAlreadyLocked() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2dz1yppy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"That is already locked.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isAlreadyLocked() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb4icr5kh.c' source_filename = "/tmp/tmpb4icr5kh.c" target datalayout = "e-m:e-p270: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/tmpb4icr5kh.c" target datalayout = "e-m:e-p270: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/tmpyom417i7.c' source_filename = "/tmp/tmpyom417i7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @st_ptrsize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i64 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyom417i7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @st_ptrsize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i64 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf9db3l48.c' source_filename = "/tmp/tmpf9db3l48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"./pot\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"pot\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"[main] step %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"pid = %d\0Astatus = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"\0Athe end\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 [50 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %32, %2 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 2 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %35 15: ; preds = %10 %16 = call i64 (...) @fork() %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %31 18: ; preds = %15 %19 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %20 = load i32, ptr %6, align 4 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i32 noundef %20) %22 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %22, ptr noundef %28, ptr noundef null) %30 = call i32 @perror(ptr noundef @.str.3) br label %31 31: ; preds = %18, %15 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %10, !llvm.loop !6 35: ; preds = %10 store i32 0, ptr %6, align 4 br label %36 36: ; preds = %47, %35 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 @atoi(ptr noundef %40) %42 = icmp slt i32 %37, %41 br i1 %42, label %43, label %50 43: ; preds = %36 %44 = load i32, ptr %6, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44) %46 = call i32 @sleep(i32 noundef 1) br label %47 47: ; preds = %43 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %36, !llvm.loop !8 50: ; preds = %36 store i32 0, ptr %6, align 4 br label %51 51: ; preds = %62, %50 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %4, align 4 %54 = sub nsw i32 %53, 2 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %65 56: ; preds = %51 %57 = call i32 @wait(ptr noundef %9) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %9, align 4 %60 = call i32 @WEXITSTATUS(i32 noundef %59) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %58, i32 noundef %60) br label %62 62: ; preds = %56 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 br label %51, !llvm.loop !9 65: ; preds = %51 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) ret i32 1 } declare i64 @fork(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @WEXITSTATUS(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/tmpf9db3l48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"./pot\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"pot\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"[main] step %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"pid = %d\0Astatus = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"\0Athe end\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 [50 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 2 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %38 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %31 %15 = call i64 (...) @fork() %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %30 17: ; preds = %14 %18 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %19 = load i32, ptr %6, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef %19) %21 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 2 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %21, ptr noundef %27, ptr noundef null) %29 = call i32 @perror(ptr noundef @.str.3) br label %30 30: ; preds = %17, %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %4, align 4 %36 = sub nsw i32 %35, 2 %37 = icmp slt i32 %34, %36 br i1 %37, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %2 store i32 0, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = call i32 @atoi(ptr noundef %42) %44 = icmp slt i32 %39, %43 br i1 %44, label %.lr.ph2, label %58 .lr.ph2: ; preds = %38 br label %45 45: ; preds = %.lr.ph2, %49 %46 = load i32, ptr %6, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46) %48 = call i32 @sleep(i32 noundef 1) br label %49 49: ; preds = %45 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 1 %55 = load ptr, ptr %54, align 8 %56 = call i32 @atoi(ptr noundef %55) %57 = icmp slt i32 %52, %56 br i1 %57, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %58 58: ; preds = %._crit_edge3, %38 store i32 0, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %4, align 4 %61 = sub nsw i32 %60, 2 %62 = icmp slt i32 %59, %61 br i1 %62, label %.lr.ph5, label %76 .lr.ph5: ; preds = %58 br label %63 63: ; preds = %.lr.ph5, %69 %64 = call i32 @wait(ptr noundef %9) store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = load i32, ptr %9, align 4 %67 = call i32 @WEXITSTATUS(i32 noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %65, i32 noundef %67) br label %69 69: ; preds = %63 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %4, align 4 %74 = sub nsw i32 %73, 2 %75 = icmp slt i32 %72, %74 br i1 %75, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %76 76: ; preds = %._crit_edge6, %58 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) ret i32 1 } declare i64 @fork(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @WEXITSTATUS(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/tmp0y1hyaev.c' source_filename = "/tmp/tmp0y1hyaev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%o \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%o\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 63, ptr %2, align 4 store i32 104, ptr %3, align 4 store i32 136, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %9, %10 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %13, %14 %16 = load i32, ptr %4, align 4 %17 = and i32 %15, %16 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = and i32 %19, 1 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) ret i32 0 } 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/tmp0y1hyaev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%o \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%o\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 63, ptr %2, align 4 store i32 104, ptr %3, align 4 store i32 136, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %9, %10 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %13, %14 %16 = load i32, ptr %4, align 4 %17 = and i32 %15, %16 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = and i32 %19, 1 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) ret i32 0 } 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/tmp63d8ezwk.c' source_filename = "/tmp/tmp63d8ezwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @percent_scale(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @_hex_to_int(ptr noundef %3) %5 = sitofp i32 %4 to double %6 = fmul double %5, 1.000000e+02 %7 = fdiv double %6, 2.550000e+02 ret double %7 } declare i32 @_hex_to_int(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp63d8ezwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @percent_scale(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @_hex_to_int(ptr noundef %3) %5 = sitofp i32 %4 to double %6 = fmul double %5, 1.000000e+02 %7 = fdiv double %6, 2.550000e+02 ret double %7 } declare i32 @_hex_to_int(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsssyfdd0.c' source_filename = "/tmp/tmpsssyfdd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_256(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [25 x i64], align 16 %8 = alloca [136 x i8], align 16 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %9, align 8 br label %10 10: ; preds = %16, %3 %11 = load i64, ptr %9, align 8 %12 = icmp ult i64 %11, 25 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = load i64, ptr %9, align 8 %15 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 %14 store i64 0, ptr %15, align 8 br label %16 16: ; preds = %13 %17 = load i64, ptr %9, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %9, align 8 br label %10, !llvm.loop !6 19: ; preds = %10 %20 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 0 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %6, align 8 %23 = call i32 @keccak_absorb(ptr noundef %20, i32 noundef 136, ptr noundef %21, i64 noundef %22, i32 noundef 6) %24 = getelementptr inbounds [136 x i8], ptr %8, i64 0, i64 0 %25 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 0 %26 = call i32 @keccak_squeezeblocks(ptr noundef %24, i32 noundef 1, ptr noundef %25, i32 noundef 136) store i64 0, ptr %9, align 8 br label %27 27: ; preds = %37, %19 %28 = load i64, ptr %9, align 8 %29 = icmp ult i64 %28, 32 br i1 %29, label %30, label %40 30: ; preds = %27 %31 = load i64, ptr %9, align 8 %32 = getelementptr inbounds [136 x i8], ptr %8, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 %33, ptr %36, align 1 br label %37 37: ; preds = %30 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %9, align 8 br label %27, !llvm.loop !8 40: ; preds = %27 ret void } declare i32 @keccak_absorb(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @keccak_squeezeblocks(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsssyfdd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_256(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [25 x i64], align 16 %8 = alloca [136 x i8], align 16 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %9, align 8 %10 = load i64, ptr %9, align 8 %11 = icmp ult i64 %10, 25 br i1 %11, label %.lr.ph, label %20 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %15 %13 = load i64, ptr %9, align 8 %14 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 %13 store i64 0, ptr %14, align 8 br label %15 15: ; preds = %12 %16 = load i64, ptr %9, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %9, align 8 %18 = load i64, ptr %9, align 8 %19 = icmp ult i64 %18, 25 br i1 %19, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %3 %21 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = call i32 @keccak_absorb(ptr noundef %21, i32 noundef 136, ptr noundef %22, i64 noundef %23, i32 noundef 6) %25 = getelementptr inbounds [136 x i8], ptr %8, i64 0, i64 0 %26 = getelementptr inbounds [25 x i64], ptr %7, i64 0, i64 0 %27 = call i32 @keccak_squeezeblocks(ptr noundef %25, i32 noundef 1, ptr noundef %26, i32 noundef 136) store i64 0, ptr %9, align 8 %28 = load i64, ptr %9, align 8 %29 = icmp ult i64 %28, 32 br i1 %29, label %.lr.ph2, label %42 .lr.ph2: ; preds = %20 br label %30 30: ; preds = %.lr.ph2, %37 %31 = load i64, ptr %9, align 8 %32 = getelementptr inbounds [136 x i8], ptr %8, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 %33, ptr %36, align 1 br label %37 37: ; preds = %30 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %9, align 8 %40 = load i64, ptr %9, align 8 %41 = icmp ult i64 %40, 32 br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %20 ret void } declare i32 @keccak_absorb(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @keccak_squeezeblocks(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwl3o0ko4.c' source_filename = "/tmp/tmpwl3o0ko4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_value_in_array(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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %23, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %26 13: ; preds = %9 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %13 store i32 1, ptr %4, align 4 br label %27 22: ; preds = %13 br label %23 23: ; preds = %22 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwl3o0ko4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_value_in_array(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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %22 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %12 store i32 1, ptr %4, align 4 br label %29 21: ; preds = %12 br label %22 22: ; preds = %21 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %28, %20 %30 = load i32, ptr %4, align 4 ret i32 %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxr6q0avs.c' source_filename = "/tmp/tmpxr6q0avs.c" target datalayout = "e-m:e-p270: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/tmpxr6q0avs.c" target datalayout = "e-m:e-p270: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/tmpl_ywassg.c' source_filename = "/tmp/tmpl_ywassg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"You entered %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"You did not enter a valid number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i64 @getfloat(ptr noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %7) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %5 ret i32 0 } declare i64 @getfloat(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_ywassg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"You entered %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"You did not enter a valid number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i64 @getfloat(ptr noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %7) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %5 ret i32 0 } declare i64 @getfloat(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkz14ttvi.c' source_filename = "/tmp/tmpkz14ttvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c",%03ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @commafy(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 %9 = load i64, ptr %4, align 8 store i64 %9, ptr %6, align 8 store i64 1, ptr %7, align 8 br label %10 10: ; preds = %13, %2 %11 = load i64, ptr %6, align 8 %12 = icmp sge i64 %11, 1000 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i64, ptr %6, align 8 %15 = sdiv i64 %14, 1000 store i64 %15, ptr %6, align 8 %16 = load i64, ptr %7, align 8 %17 = mul nsw i64 %16, 1000 store i64 %17, ptr %7, align 8 br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %6, align 8 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i64 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %5, align 8 br label %25 25: ; preds = %28, %18 %26 = load i64, ptr %7, align 8 %27 = icmp sgt i64 %26, 1 br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load i64, ptr %7, align 8 %30 = load i64, ptr %4, align 8 %31 = srem i64 %30, %29 store i64 %31, ptr %4, align 8 %32 = load i64, ptr %7, align 8 %33 = sdiv i64 %32, 1000 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %4, align 8 %35 = load i64, ptr %7, align 8 %36 = sdiv i64 %34, %35 store i64 %36, ptr %6, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = call i32 @sprintf(ptr noundef %37, ptr noundef @.str.1, i64 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %5, align 8 br label %25, !llvm.loop !8 43: ; preds = %25 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkz14ttvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c",%03ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @commafy(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 %9 = load i64, ptr %4, align 8 store i64 %9, ptr %6, align 8 store i64 1, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp sge i64 %10, 1000 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i64, ptr %6, align 8 %14 = sdiv i64 %13, 1000 store i64 %14, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = mul nsw i64 %15, 1000 store i64 %16, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp sge i64 %17, 1000 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %2 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i64 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store ptr %25, ptr %5, align 8 %26 = load i64, ptr %7, align 8 %27 = icmp sgt i64 %26, 1 br i1 %27, label %.lr.ph2, label %45 .lr.ph2: ; preds = %19 br label %28 28: ; preds = %.lr.ph2, %28 %29 = load i64, ptr %7, align 8 %30 = load i64, ptr %4, align 8 %31 = srem i64 %30, %29 store i64 %31, ptr %4, align 8 %32 = load i64, ptr %7, align 8 %33 = sdiv i64 %32, 1000 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %4, align 8 %35 = load i64, ptr %7, align 8 %36 = sdiv i64 %34, %35 store i64 %36, ptr %6, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = call i32 @sprintf(ptr noundef %37, ptr noundef @.str.1, i64 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %5, align 8 %43 = load i64, ptr %7, align 8 %44 = icmp sgt i64 %43, 1 br i1 %44, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %45 45: ; preds = %._crit_edge3, %19 %46 = load ptr, ptr %3, align 8 ret ptr %46 } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphzl_b4mr.c' source_filename = "/tmp/tmphzl_b4mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @watchdog_enable() #0 { %1 = call i32 (...) @wdt_enable() %2 = call i32 (...) @wdt_reset() ret void } declare i32 @wdt_enable(...) #1 declare i32 @wdt_reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzl_b4mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @watchdog_enable() #0 { %1 = call i32 (...) @wdt_enable() %2 = call i32 (...) @wdt_reset() ret void } declare i32 @wdt_enable(...) #1 declare i32 @wdt_reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2a02r8av.c' source_filename = "/tmp/tmp2a02r8av.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = call i32 @BN_free(ptr noundef %12) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = load ptr, ptr %2, align 8 %19 = call i32 @free(ptr noundef %18) ret void } declare i32 @BN_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2a02r8av.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 2 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds ptr, ptr %7, i64 %9 %11 = load ptr, ptr %10, align 8 %12 = call i32 @BN_free(ptr noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 %19 = load ptr, ptr %2, align 8 %20 = call i32 @free(ptr noundef %19) ret void } declare i32 @BN_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwrvov891.c' source_filename = "/tmp/tmpwrvov891.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @evil_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = call i32 @unsetenv(ptr noundef @.str) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @real_execve(ptr noundef %9, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @unsetenv(ptr noundef) #1 declare i32 @real_execve(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/tmpwrvov891.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @evil_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = call i32 @unsetenv(ptr noundef @.str) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @real_execve(ptr noundef %9, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @unsetenv(ptr noundef) #1 declare i32 @real_execve(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/tmpl1tpw6pq.c' source_filename = "/tmp/tmpl1tpw6pq.c" target datalayout = "e-m:e-p270: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/tmpl1tpw6pq.c" target datalayout = "e-m:e-p270: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/tmpbd2drc0t.c' source_filename = "/tmp/tmpbd2drc0t.c" target datalayout = "e-m:e-p270: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/tmpbd2drc0t.c" target datalayout = "e-m:e-p270: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/tmpwr_d9yu3.c' source_filename = "/tmp/tmpwr_d9yu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @str2double(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %18 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 store i32 %9, ptr %5, align 4 store i32 0, ptr @errno, align 4 %10 = load ptr, ptr %3, align 8 %11 = call double @strtod(ptr noundef %10, ptr noundef null) store double %11, ptr %4, align 8 %12 = load i32, ptr @errno, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i32, ptr %5, align 4 store i32 %15, ptr @errno, align 4 %16 = load double, ptr %4, align 8 store double %16, ptr %2, align 8 br label %19 17: ; preds = %8 store double 0.000000e+00, ptr %2, align 8 br label %19 18: ; preds = %1 store double 0.000000e+00, ptr %2, align 8 br label %19 19: ; preds = %18, %17, %14 %20 = load double, ptr %2, align 8 ret double %20 } declare double @strtod(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwr_d9yu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @str2double(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %18 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 store i32 %9, ptr %5, align 4 store i32 0, ptr @errno, align 4 %10 = load ptr, ptr %3, align 8 %11 = call double @strtod(ptr noundef %10, ptr noundef null) store double %11, ptr %4, align 8 %12 = load i32, ptr @errno, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i32, ptr %5, align 4 store i32 %15, ptr @errno, align 4 %16 = load double, ptr %4, align 8 store double %16, ptr %2, align 8 br label %19 17: ; preds = %8 store double 0.000000e+00, ptr %2, align 8 br label %19 18: ; preds = %1 store double 0.000000e+00, ptr %2, align 8 br label %19 19: ; preds = %18, %17, %14 %20 = load double, ptr %2, align 8 ret double %20 } declare double @strtod(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxut6au5f.c' source_filename = "/tmp/tmpxut6au5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_pid_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %23 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call ptr @get_pid_file(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %7, align 8 %19 = call ptr @fopen(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %9, align 8 store ptr %22, ptr %4, align 8 br label %23 23: ; preds = %13, %12 %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare ptr @get_pid_file(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxut6au5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_pid_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %23 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call ptr @get_pid_file(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %7, align 8 %19 = call ptr @fopen(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %9, align 8 store ptr %22, ptr %4, align 8 br label %23 23: ; preds = %13, %12 %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare ptr @get_pid_file(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbxy_87b2.c' source_filename = "/tmp/tmpbxy_87b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nn_running(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca [785 x i32], align 16 %11 = alloca [785 x float], align 16 %12 = alloca [10 x float], align 16 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store float %3, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false) %13 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 0 store float 1.000000e+00, ptr %13, align 16 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %42, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %45 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [785 x i32], ptr %10, i64 0, i64 %27 store i32 %24, ptr %28, align 4 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [785 x i32], ptr %10, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = sitofp i32 %33 to float %35 = fpext float %34 to double %36 = fdiv double %35, 2.550000e+02 %37 = fptrunc double %36 to float %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 %40 store float %37, ptr %41, align 4 br label %42 42: ; preds = %18 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %14, !llvm.loop !6 45: ; preds = %14 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 %47 store float 1.000000e+00, ptr %48, align 4 %49 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 0 %50 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0 %51 = load float, ptr %8, align 4 %52 = call float @nn_learning(ptr noundef %49, ptr noundef %50, float noundef %51) ret float %52 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare float @nn_learning(ptr noundef, ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxy_87b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nn_running(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca [785 x i32], align 16 %11 = alloca [785 x float], align 16 %12 = alloca [10 x float], align 16 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store float %3, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false) %13 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 0 store float 1.000000e+00, ptr %13, align 16 store i32 0, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %47 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %41 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [785 x i32], ptr %10, i64 0, i64 %26 store i32 %23, ptr %27, align 4 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [785 x i32], ptr %10, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = sitofp i32 %32 to float %34 = fpext float %33 to double %35 = fdiv double %34, 2.550000e+02 %36 = fptrunc double %35 to float %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 %39 store float %36, ptr %40, align 4 br label %41 41: ; preds = %17 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %4 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 %49 store float 1.000000e+00, ptr %50, align 4 %51 = getelementptr inbounds [785 x float], ptr %11, i64 0, i64 0 %52 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0 %53 = load float, ptr %8, align 4 %54 = call float @nn_learning(ptr noundef %51, ptr noundef %52, float noundef %53) ret float %54 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare float @nn_learning(ptr noundef, ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdwomuc6c.c' source_filename = "/tmp/tmpdwomuc6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %1, %4 %5 = load i32, ptr %3, align 4 %6 = add i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = call i32 @usleep(i32 noundef 1000) br label %4 } declare i32 @usleep(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/tmpdwomuc6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %4, %1 %5 = load i32, ptr %3, align 4 %6 = add i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = call i32 @usleep(i32 noundef 1000) br label %4 } declare i32 @usleep(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/tmpmt6kyg3w.c' source_filename = "/tmp/tmpmt6kyg3w.c" target datalayout = "e-m:e-p270: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/tmpmt6kyg3w.c" target datalayout = "e-m:e-p270: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/tmpub25pep6.c' source_filename = "/tmp/tmpub25pep6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error pthread_mutexattr_settype()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mutexattrSettype(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ASSERT(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @pthread_mutexattr_settype(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @log_error(i32 noundef %14, ptr noundef @.str) %16 = call i32 (...) @abort() #3 unreachable 17: ; preds = %2 ret void } declare i32 @ASSERT(ptr noundef) #1 declare i32 @pthread_mutexattr_settype(ptr noundef, i32 noundef) #1 declare i32 @log_error(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpub25pep6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error pthread_mutexattr_settype()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mutexattrSettype(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ASSERT(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @pthread_mutexattr_settype(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @log_error(i32 noundef %14, ptr noundef @.str) %16 = call i32 (...) @abort() #3 unreachable 17: ; preds = %2 ret void } declare i32 @ASSERT(ptr noundef) #1 declare i32 @pthread_mutexattr_settype(ptr noundef, i32 noundef) #1 declare i32 @log_error(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpon4gsvtp.c' source_filename = "/tmp/tmpon4gsvtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M305_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M305_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpon4gsvtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M305_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M305_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy_o5a5cn.c' source_filename = "/tmp/tmpy_o5a5cn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ouvrir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = load ptr, ptr @stdin, align 8 store ptr %15, ptr %3, align 8 br label %29 16: ; preds = %10, %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call ptr @fopen(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %27, label %22 22: ; preds = %16 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %4, align 8 %25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %16 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %3, align 8 br label %29 29: ; preds = %27, %14 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 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/tmpy_o5a5cn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ouvrir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = load ptr, ptr @stdin, align 8 store ptr %15, ptr %3, align 8 br label %29 16: ; preds = %10, %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call ptr @fopen(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %27, label %22 22: ; preds = %16 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %4, align 8 %25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %16 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %3, align 8 br label %29 29: ; preds = %27, %14 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 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/tmp9oirfbp_.c' source_filename = "/tmp/tmp9oirfbp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 @error(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @error(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9oirfbp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 @error(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @error(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwdj23idt.c' source_filename = "/tmp/tmpwdj23idt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RandomInt(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 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = srem i32 %5, %9 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwdj23idt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RandomInt(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 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = srem i32 %5, %9 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgzmdqedf.c' source_filename = "/tmp/tmpgzmdqedf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmo_read_grib_from_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @_wmo_read_any_from_file(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 1, i32 noundef 0) ret i32 %10 } declare i32 @_wmo_read_any_from_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgzmdqedf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmo_read_grib_from_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @_wmo_read_any_from_file(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 1, i32 noundef 0) ret i32 %10 } declare i32 @_wmo_read_any_from_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpudib9k2_.c' source_filename = "/tmp/tmpudib9k2_.c" target datalayout = "e-m:e-p270: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/tmpudib9k2_.c" target datalayout = "e-m:e-p270: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/tmp6ciqrk2g.c' source_filename = "/tmp/tmp6ciqrk2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print56(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i32 %0, ptr %2, align 4 store i64 9, ptr %3, align 8 br label %5 5: ; preds = %28, %1 %6 = load i64, ptr %3, align 8 %7 = icmp ule i64 %6, 64 br i1 %7, label %8, label %31 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = load i64, ptr %3, align 8 %12 = sub i64 64, %11 %13 = shl i64 1, %12 %14 = and i64 %10, %13 %15 = icmp ne i64 %14, 0 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 49, i32 48 %18 = trunc i32 %17 to i8 store i8 %18, ptr %4, align 1 %19 = load i8, ptr %4, align 1 %20 = call i32 @putchar(i8 noundef signext %19) %21 = load i64, ptr %3, align 8 %22 = add i64 %21, 6 %23 = urem i64 %22, 7 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %8 %26 = call i32 @putchar(i8 noundef signext 32) br label %27 27: ; preds = %25, %8 br label %28 28: ; preds = %27 %29 = load i64, ptr %3, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %3, align 8 br label %5, !llvm.loop !6 31: ; preds = %5 %32 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ciqrk2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print56(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i32 %0, ptr %2, align 4 store i64 9, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp ule i64 %5, 64 br i1 %6, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %27 %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = load i64, ptr %3, align 8 %11 = sub i64 64, %10 %12 = shl i64 1, %11 %13 = and i64 %9, %12 %14 = icmp ne i64 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 49, i32 48 %17 = trunc i32 %16 to i8 store i8 %17, ptr %4, align 1 %18 = load i8, ptr %4, align 1 %19 = call i32 @putchar(i8 noundef signext %18) %20 = load i64, ptr %3, align 8 %21 = add i64 %20, 6 %22 = urem i64 %21, 7 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %7 %25 = call i32 @putchar(i8 noundef signext 32) br label %26 26: ; preds = %24, %7 br label %27 27: ; preds = %26 %28 = load i64, ptr %3, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %3, align 8 %30 = load i64, ptr %3, align 8 %31 = icmp ule i64 %30, 64 br i1 %31, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %1 %33 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1si1oqma.c' source_filename = "/tmp/tmp1si1oqma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @speckey(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @rot16r7(i32 noundef %6) %8 = load ptr, ptr %3, align 8 store i32 %7, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = add nsw i32 %12, %10 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @rot16l2(i32 noundef %15) %17 = load ptr, ptr %4, align 8 store i32 %16, ptr %17, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %20, align 4 %22 = xor i32 %21, %19 store i32 %22, ptr %20, align 4 ret void } declare i32 @rot16r7(i32 noundef) #1 declare i32 @rot16l2(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/tmp1si1oqma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @speckey(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @rot16r7(i32 noundef %6) %8 = load ptr, ptr %3, align 8 store i32 %7, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = add nsw i32 %12, %10 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @rot16l2(i32 noundef %15) %17 = load ptr, ptr %4, align 8 store i32 %16, ptr %17, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %20, align 4 %22 = xor i32 %21, %19 store i32 %22, ptr %20, align 4 ret void } declare i32 @rot16r7(i32 noundef) #1 declare i32 @rot16l2(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/tmpmyx5uzqx.c' source_filename = "/tmp/tmpmyx5uzqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libintl_dngettext(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 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 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i64, ptr %8, align 8 %13 = call ptr @libintl_dcngettext(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef 1729) ret ptr %13 } declare ptr @libintl_dcngettext(ptr noundef, ptr noundef, ptr noundef, i64 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/tmpmyx5uzqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libintl_dngettext(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 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 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i64, ptr %8, align 8 %13 = call ptr @libintl_dcngettext(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef 1729) ret ptr %13 } declare ptr @libintl_dcngettext(ptr noundef, ptr noundef, ptr noundef, i64 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/tmpdnq2os3c.c' source_filename = "/tmp/tmpdnq2os3c.c" target datalayout = "e-m:e-p270: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/tmpdnq2os3c.c" target datalayout = "e-m:e-p270: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/tmpy3s116qi.c' source_filename = "/tmp/tmpy3s116qi.c" target datalayout = "e-m:e-p270: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 [59 x i8] c"Usage: check_vdr_rec [-a] <record_dir> [<record_dir> ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy3s116qi.c" target datalayout = "e-m:e-p270: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 [59 x i8] c"Usage: check_vdr_rec [-a] <record_dir> [<record_dir> ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpezucpbyl.c' source_filename = "/tmp/tmpezucpbyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"rofs (c) GPLv3 Brett M. Gordon\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Read-Only File System\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"rofs [options] <image> [files]\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"-f,\09\09Format Image\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"-u,\09\09Usage\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"-b <file>,\09Copy boot image\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"-x <vol label>,\09Experimental RSDOS format\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"-d <file>,\09Make a forth readable directory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printusage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezucpbyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"rofs (c) GPLv3 Brett M. Gordon\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Read-Only File System\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"rofs [options] <image> [files]\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"-f,\09\09Format Image\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"-u,\09\09Usage\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"-b <file>,\09Copy boot image\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"-x <vol label>,\09Experimental RSDOS format\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"-d <file>,\09Make a forth readable directory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printusage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}