llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpdrk5a5ul.c' source_filename = "/tmp/tmpdrk5a5ul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"Made by\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Dimcica Tudor\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"AKA Tedy\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"311 CC\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Timp scurs: %d secunde\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Punctaj: %d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Nivel: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printare_harta(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = call i32 (...) @start_color() %14 = load i32, ptr @COLOR_YELLOW, align 4 %15 = load i32, ptr @COLOR_BLACK, align 4 %16 = call i32 @init_pair(i32 noundef 1, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @COLOR_RED, align 4 %18 = load i32, ptr @COLOR_BLACK, align 4 %19 = call i32 @init_pair(i32 noundef 2, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @COLOR_BLUE, align 4 %21 = load i32, ptr @COLOR_BLACK, align 4 %22 = call i32 @init_pair(i32 noundef 3, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @COLOR_BLUE, align 4 %24 = load i32, ptr @COLOR_BLACK, align 4 %25 = call i32 @init_pair(i32 noundef 4, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr @COLOR_MAGENTA, align 4 %27 = load i32, ptr @COLOR_BLACK, align 4 %28 = call i32 @init_pair(i32 noundef 5, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr @COLOR_MAGENTA, align 4 %30 = load i32, ptr @COLOR_BLACK, align 4 %31 = call i32 @init_pair(i32 noundef 6, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr @COLOR_GREEN, align 4 %33 = load i32, ptr @COLOR_BLACK, align 4 %34 = call i32 @init_pair(i32 noundef 7, i32 noundef %32, i32 noundef %33) %35 = call i32 (...) @clear() store i32 0, ptr %11, align 4 %36 = call i32 @time(ptr noundef null) store i32 %36, ptr %12, align 4 store i32 3, ptr %9, align 4 br label %37 37: ; preds = %214, %4 %38 = load i32, ptr %9, align 4 %39 = icmp sle i32 %38, 21 br i1 %39, label %40, label %217 40: ; preds = %37 store i32 1, ptr %10, align 4 br label %41 41: ; preds = %210, %40 %42 = load i32, ptr %10, align 4 %43 = icmp sle i32 %42, 12 br i1 %43, label %44, label %213 44: ; preds = %41 %45 = load i32, ptr %9, align 4 %46 = icmp eq i32 %45, 21 br i1 %46, label %47, label %52 47: ; preds = %44 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %10, align 4 %50 = call i32 @move(i32 noundef %48, i32 noundef %49) %51 = call i32 @addch(i8 noundef signext 45) br label %209 52: ; preds = %44 %53 = load i32, ptr %10, align 4 %54 = icmp eq i32 %53, 1 br i1 %54, label %58, label %55 55: ; preds = %52 %56 = load i32, ptr %10, align 4 %57 = icmp eq i32 %56, 12 br i1 %57, label %58, label %63 58: ; preds = %55, %52 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = call i32 @move(i32 noundef %59, i32 noundef %60) %62 = call i32 @addch(i8 noundef signext 124) br label %208 63: ; preds = %55 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [30 x i32], ptr %64, i64 %66 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [30 x i32], ptr %67, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %82 73: ; preds = %63 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %10, align 4 %76 = call i32 @move(i32 noundef %74, i32 noundef %75) %77 = call i32 @COLOR_PAIR(i32 noundef 1) %78 = call i32 @attron(i32 noundef %77) %79 = call i32 @addch(i8 noundef signext 64) %80 = call i32 @COLOR_PAIR(i32 noundef 1) %81 = call i32 @attroff(i32 noundef %80) br label %207 82: ; preds = %63 %83 = load ptr, ptr %5, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [30 x i32], ptr %83, i64 %85 %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [30 x i32], ptr %86, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp eq i32 %90, 2 br i1 %91, label %92, label %101 92: ; preds = %82 %93 = load i32, ptr %9, align 4 %94 = load i32, ptr %10, align 4 %95 = call i32 @move(i32 noundef %93, i32 noundef %94) %96 = call i32 @COLOR_PAIR(i32 noundef 2) %97 = call i32 @attron(i32 noundef %96) %98 = call i32 @addch(i8 noundef signext 64) %99 = call i32 @COLOR_PAIR(i32 noundef 2) %100 = call i32 @attroff(i32 noundef %99) br label %206 101: ; preds = %82 %102 = load ptr, ptr %5, align 8 %103 = load i32, ptr %9, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [30 x i32], ptr %102, i64 %104 %106 = load i32, ptr %10, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [30 x i32], ptr %105, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = icmp eq i32 %109, 3 br i1 %110, label %111, label %120 111: ; preds = %101 %112 = load i32, ptr %9, align 4 %113 = load i32, ptr %10, align 4 %114 = call i32 @move(i32 noundef %112, i32 noundef %113) %115 = call i32 @COLOR_PAIR(i32 noundef 3) %116 = call i32 @attron(i32 noundef %115) %117 = call i32 @addch(i8 noundef signext 64) %118 = call i32 @COLOR_PAIR(i32 noundef 3) %119 = call i32 @attroff(i32 noundef %118) br label %205 120: ; preds = %101 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %9, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [30 x i32], ptr %121, i64 %123 %125 = load i32, ptr %10, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [30 x i32], ptr %124, i64 0, i64 %126 %128 = load i32, ptr %127, align 4 %129 = icmp eq i32 %128, 4 br i1 %129, label %130, label %139 130: ; preds = %120 %131 = load i32, ptr %9, align 4 %132 = load i32, ptr %10, align 4 %133 = call i32 @move(i32 noundef %131, i32 noundef %132) %134 = call i32 @COLOR_PAIR(i32 noundef 4) %135 = call i32 @attron(i32 noundef %134) %136 = call i32 @addch(i8 noundef signext 64) %137 = call i32 @COLOR_PAIR(i32 noundef 4) %138 = call i32 @attroff(i32 noundef %137) br label %204 139: ; preds = %120 %140 = load ptr, ptr %5, align 8 %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [30 x i32], ptr %140, i64 %142 %144 = load i32, ptr %10, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [30 x i32], ptr %143, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp eq i32 %147, 5 br i1 %148, label %149, label %158 149: ; preds = %139 %150 = load i32, ptr %9, align 4 %151 = load i32, ptr %10, align 4 %152 = call i32 @move(i32 noundef %150, i32 noundef %151) %153 = call i32 @COLOR_PAIR(i32 noundef 5) %154 = call i32 @attron(i32 noundef %153) %155 = call i32 @addch(i8 noundef signext 64) %156 = call i32 @COLOR_PAIR(i32 noundef 5) %157 = call i32 @attroff(i32 noundef %156) br label %203 158: ; preds = %139 %159 = load ptr, ptr %5, align 8 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [30 x i32], ptr %159, i64 %161 %163 = load i32, ptr %10, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [30 x i32], ptr %162, i64 0, i64 %164 %166 = load i32, ptr %165, align 4 %167 = icmp eq i32 %166, 6 br i1 %167, label %168, label %177 168: ; preds = %158 %169 = load i32, ptr %9, align 4 %170 = load i32, ptr %10, align 4 %171 = call i32 @move(i32 noundef %169, i32 noundef %170) %172 = call i32 @COLOR_PAIR(i32 noundef 6) %173 = call i32 @attron(i32 noundef %172) %174 = call i32 @addch(i8 noundef signext 64) %175 = call i32 @COLOR_PAIR(i32 noundef 6) %176 = call i32 @attroff(i32 noundef %175) br label %202 177: ; preds = %158 %178 = load ptr, ptr %5, align 8 %179 = load i32, ptr %9, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [30 x i32], ptr %178, i64 %180 %182 = load i32, ptr %10, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [30 x i32], ptr %181, i64 0, i64 %183 %185 = load i32, ptr %184, align 4 %186 = icmp eq i32 %185, 7 br i1 %186, label %187, label %196 187: ; preds = %177 %188 = load i32, ptr %9, align 4 %189 = load i32, ptr %10, align 4 %190 = call i32 @move(i32 noundef %188, i32 noundef %189) %191 = call i32 @COLOR_PAIR(i32 noundef 7) %192 = call i32 @attron(i32 noundef %191) %193 = call i32 @addch(i8 noundef signext 64) %194 = call i32 @COLOR_PAIR(i32 noundef 7) %195 = call i32 @attroff(i32 noundef %194) br label %201 196: ; preds = %177 %197 = load i32, ptr %9, align 4 %198 = load i32, ptr %10, align 4 %199 = call i32 @move(i32 noundef %197, i32 noundef %198) %200 = call i32 @addch(i8 noundef signext 32) br label %201 201: ; preds = %196, %187 br label %202 202: ; preds = %201, %168 br label %203 203: ; preds = %202, %149 br label %204 204: ; preds = %203, %130 br label %205 205: ; preds = %204, %111 br label %206 206: ; preds = %205, %92 br label %207 207: ; preds = %206, %73 br label %208 208: ; preds = %207, %58 br label %209 209: ; preds = %208, %47 br label %210 210: ; preds = %209 %211 = load i32, ptr %10, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %10, align 4 br label %41, !llvm.loop !6 213: ; preds = %41 br label %214 214: ; preds = %213 %215 = load i32, ptr %9, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %9, align 4 br label %37, !llvm.loop !8 217: ; preds = %37 %218 = load i32, ptr %12, align 4 %219 = load i32, ptr %8, align 4 %220 = sub nsw i32 %218, %219 store i32 %220, ptr %11, align 4 %221 = call i32 @move(i32 noundef 3, i32 noundef 20) %222 = call i32 (ptr, ...) @printw(ptr noundef @.str) %223 = call i32 @move(i32 noundef 4, i32 noundef 20) %224 = call i32 (ptr, ...) @printw(ptr noundef @.str.1) %225 = call i32 @move(i32 noundef 5, i32 noundef 20) %226 = call i32 (ptr, ...) @printw(ptr noundef @.str.2) %227 = call i32 @move(i32 noundef 6, i32 noundef 20) %228 = call i32 (ptr, ...) @printw(ptr noundef @.str.3) %229 = call i32 @move(i32 noundef 14, i32 noundef 20) %230 = load i32, ptr %11, align 4 %231 = call i32 (ptr, ...) @printw(ptr noundef @.str.4, i32 noundef %230) %232 = call i32 @move(i32 noundef 16, i32 noundef 20) %233 = load i32, ptr %7, align 4 %234 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, i32 noundef %233) %235 = call i32 @move(i32 noundef 13, i32 noundef 20) %236 = call i32 @ctime(ptr noundef %12) %237 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, i32 noundef %236) %238 = call i32 @move(i32 noundef 15, i32 noundef 20) %239 = load i32, ptr %6, align 4 %240 = call i32 (ptr, ...) @printw(ptr noundef @.str.7, i32 noundef %239) %241 = call i32 (...) @refresh() ret void } declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @clear(...) #1 declare i32 @time(ptr noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @attron(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @attroff(i32 noundef) #1 declare i32 @printw(ptr noundef, ...) #1 declare i32 @ctime(ptr noundef) #1 declare i32 @refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrk5a5ul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"Made by\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Dimcica Tudor\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"AKA Tedy\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"311 CC\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Timp scurs: %d secunde\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Punctaj: %d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Nivel: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printare_harta(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = call i32 (...) @start_color() %14 = load i32, ptr @COLOR_YELLOW, align 4 %15 = load i32, ptr @COLOR_BLACK, align 4 %16 = call i32 @init_pair(i32 noundef 1, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @COLOR_RED, align 4 %18 = load i32, ptr @COLOR_BLACK, align 4 %19 = call i32 @init_pair(i32 noundef 2, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @COLOR_BLUE, align 4 %21 = load i32, ptr @COLOR_BLACK, align 4 %22 = call i32 @init_pair(i32 noundef 3, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @COLOR_BLUE, align 4 %24 = load i32, ptr @COLOR_BLACK, align 4 %25 = call i32 @init_pair(i32 noundef 4, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr @COLOR_MAGENTA, align 4 %27 = load i32, ptr @COLOR_BLACK, align 4 %28 = call i32 @init_pair(i32 noundef 5, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr @COLOR_MAGENTA, align 4 %30 = load i32, ptr @COLOR_BLACK, align 4 %31 = call i32 @init_pair(i32 noundef 6, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr @COLOR_GREEN, align 4 %33 = load i32, ptr @COLOR_BLACK, align 4 %34 = call i32 @init_pair(i32 noundef 7, i32 noundef %32, i32 noundef %33) %35 = call i32 (...) @clear() store i32 0, ptr %11, align 4 %36 = call i32 @time(ptr noundef null) store i32 %36, ptr %12, align 4 store i32 3, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp sle i32 %37, 21 br i1 %38, label %.lr.ph2, label %219 .lr.ph2: ; preds = %4 br label %39 39: ; preds = %.lr.ph2, %214 store i32 1, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp sle i32 %40, 12 br i1 %41, label %.lr.ph, label %213 .lr.ph: ; preds = %39 br label %42 42: ; preds = %.lr.ph, %208 %43 = load i32, ptr %9, align 4 %44 = icmp eq i32 %43, 21 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %10, align 4 %48 = call i32 @move(i32 noundef %46, i32 noundef %47) %49 = call i32 @addch(i8 noundef signext 45) br label %207 50: ; preds = %42 %51 = load i32, ptr %10, align 4 %52 = icmp eq i32 %51, 1 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr %10, align 4 %55 = icmp eq i32 %54, 12 br i1 %55, label %56, label %61 56: ; preds = %53, %50 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %10, align 4 %59 = call i32 @move(i32 noundef %57, i32 noundef %58) %60 = call i32 @addch(i8 noundef signext 124) br label %206 61: ; preds = %53 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [30 x i32], ptr %62, i64 %64 %66 = load i32, ptr %10, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [30 x i32], ptr %65, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %80 71: ; preds = %61 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %10, align 4 %74 = call i32 @move(i32 noundef %72, i32 noundef %73) %75 = call i32 @COLOR_PAIR(i32 noundef 1) %76 = call i32 @attron(i32 noundef %75) %77 = call i32 @addch(i8 noundef signext 64) %78 = call i32 @COLOR_PAIR(i32 noundef 1) %79 = call i32 @attroff(i32 noundef %78) br label %205 80: ; preds = %61 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [30 x i32], ptr %81, i64 %83 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [30 x i32], ptr %84, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = icmp eq i32 %88, 2 br i1 %89, label %90, label %99 90: ; preds = %80 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %10, align 4 %93 = call i32 @move(i32 noundef %91, i32 noundef %92) %94 = call i32 @COLOR_PAIR(i32 noundef 2) %95 = call i32 @attron(i32 noundef %94) %96 = call i32 @addch(i8 noundef signext 64) %97 = call i32 @COLOR_PAIR(i32 noundef 2) %98 = call i32 @attroff(i32 noundef %97) br label %204 99: ; preds = %80 %100 = load ptr, ptr %5, align 8 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [30 x i32], ptr %100, i64 %102 %104 = load i32, ptr %10, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [30 x i32], ptr %103, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = icmp eq i32 %107, 3 br i1 %108, label %109, label %118 109: ; preds = %99 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr %10, align 4 %112 = call i32 @move(i32 noundef %110, i32 noundef %111) %113 = call i32 @COLOR_PAIR(i32 noundef 3) %114 = call i32 @attron(i32 noundef %113) %115 = call i32 @addch(i8 noundef signext 64) %116 = call i32 @COLOR_PAIR(i32 noundef 3) %117 = call i32 @attroff(i32 noundef %116) br label %203 118: ; preds = %99 %119 = load ptr, ptr %5, align 8 %120 = load i32, ptr %9, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [30 x i32], ptr %119, i64 %121 %123 = load i32, ptr %10, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [30 x i32], ptr %122, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 %127 = icmp eq i32 %126, 4 br i1 %127, label %128, label %137 128: ; preds = %118 %129 = load i32, ptr %9, align 4 %130 = load i32, ptr %10, align 4 %131 = call i32 @move(i32 noundef %129, i32 noundef %130) %132 = call i32 @COLOR_PAIR(i32 noundef 4) %133 = call i32 @attron(i32 noundef %132) %134 = call i32 @addch(i8 noundef signext 64) %135 = call i32 @COLOR_PAIR(i32 noundef 4) %136 = call i32 @attroff(i32 noundef %135) br label %202 137: ; preds = %118 %138 = load ptr, ptr %5, align 8 %139 = load i32, ptr %9, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [30 x i32], ptr %138, i64 %140 %142 = load i32, ptr %10, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [30 x i32], ptr %141, i64 0, i64 %143 %145 = load i32, ptr %144, align 4 %146 = icmp eq i32 %145, 5 br i1 %146, label %147, label %156 147: ; preds = %137 %148 = load i32, ptr %9, align 4 %149 = load i32, ptr %10, align 4 %150 = call i32 @move(i32 noundef %148, i32 noundef %149) %151 = call i32 @COLOR_PAIR(i32 noundef 5) %152 = call i32 @attron(i32 noundef %151) %153 = call i32 @addch(i8 noundef signext 64) %154 = call i32 @COLOR_PAIR(i32 noundef 5) %155 = call i32 @attroff(i32 noundef %154) br label %201 156: ; preds = %137 %157 = load ptr, ptr %5, align 8 %158 = load i32, ptr %9, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [30 x i32], ptr %157, i64 %159 %161 = load i32, ptr %10, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [30 x i32], ptr %160, i64 0, i64 %162 %164 = load i32, ptr %163, align 4 %165 = icmp eq i32 %164, 6 br i1 %165, label %166, label %175 166: ; preds = %156 %167 = load i32, ptr %9, align 4 %168 = load i32, ptr %10, align 4 %169 = call i32 @move(i32 noundef %167, i32 noundef %168) %170 = call i32 @COLOR_PAIR(i32 noundef 6) %171 = call i32 @attron(i32 noundef %170) %172 = call i32 @addch(i8 noundef signext 64) %173 = call i32 @COLOR_PAIR(i32 noundef 6) %174 = call i32 @attroff(i32 noundef %173) br label %200 175: ; preds = %156 %176 = load ptr, ptr %5, align 8 %177 = load i32, ptr %9, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [30 x i32], ptr %176, i64 %178 %180 = load i32, ptr %10, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [30 x i32], ptr %179, i64 0, i64 %181 %183 = load i32, ptr %182, align 4 %184 = icmp eq i32 %183, 7 br i1 %184, label %185, label %194 185: ; preds = %175 %186 = load i32, ptr %9, align 4 %187 = load i32, ptr %10, align 4 %188 = call i32 @move(i32 noundef %186, i32 noundef %187) %189 = call i32 @COLOR_PAIR(i32 noundef 7) %190 = call i32 @attron(i32 noundef %189) %191 = call i32 @addch(i8 noundef signext 64) %192 = call i32 @COLOR_PAIR(i32 noundef 7) %193 = call i32 @attroff(i32 noundef %192) br label %199 194: ; preds = %175 %195 = load i32, ptr %9, align 4 %196 = load i32, ptr %10, align 4 %197 = call i32 @move(i32 noundef %195, i32 noundef %196) %198 = call i32 @addch(i8 noundef signext 32) br label %199 199: ; preds = %194, %185 br label %200 200: ; preds = %199, %166 br label %201 201: ; preds = %200, %147 br label %202 202: ; preds = %201, %128 br label %203 203: ; preds = %202, %109 br label %204 204: ; preds = %203, %90 br label %205 205: ; preds = %204, %71 br label %206 206: ; preds = %205, %56 br label %207 207: ; preds = %206, %45 br label %208 208: ; preds = %207 %209 = load i32, ptr %10, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %10, align 4 %211 = load i32, ptr %10, align 4 %212 = icmp sle i32 %211, 12 br i1 %212, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %208 br label %213 213: ; preds = %._crit_edge, %39 br label %214 214: ; preds = %213 %215 = load i32, ptr %9, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %9, align 4 %217 = load i32, ptr %9, align 4 %218 = icmp sle i32 %217, 21 br i1 %218, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %214 br label %219 219: ; preds = %._crit_edge3, %4 %220 = load i32, ptr %12, align 4 %221 = load i32, ptr %8, align 4 %222 = sub nsw i32 %220, %221 store i32 %222, ptr %11, align 4 %223 = call i32 @move(i32 noundef 3, i32 noundef 20) %224 = call i32 (ptr, ...) @printw(ptr noundef @.str) %225 = call i32 @move(i32 noundef 4, i32 noundef 20) %226 = call i32 (ptr, ...) @printw(ptr noundef @.str.1) %227 = call i32 @move(i32 noundef 5, i32 noundef 20) %228 = call i32 (ptr, ...) @printw(ptr noundef @.str.2) %229 = call i32 @move(i32 noundef 6, i32 noundef 20) %230 = call i32 (ptr, ...) @printw(ptr noundef @.str.3) %231 = call i32 @move(i32 noundef 14, i32 noundef 20) %232 = load i32, ptr %11, align 4 %233 = call i32 (ptr, ...) @printw(ptr noundef @.str.4, i32 noundef %232) %234 = call i32 @move(i32 noundef 16, i32 noundef 20) %235 = load i32, ptr %7, align 4 %236 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, i32 noundef %235) %237 = call i32 @move(i32 noundef 13, i32 noundef 20) %238 = call i32 @ctime(ptr noundef %12) %239 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, i32 noundef %238) %240 = call i32 @move(i32 noundef 15, i32 noundef 20) %241 = load i32, ptr %6, align 4 %242 = call i32 (ptr, ...) @printw(ptr noundef @.str.7, i32 noundef %241) %243 = call i32 (...) @refresh() ret void } declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @clear(...) #1 declare i32 @time(ptr noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @attron(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @attroff(i32 noundef) #1 declare i32 @printw(ptr noundef, ...) #1 declare i32 @ctime(ptr noundef) #1 declare i32 @refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprr5b4alk.c' source_filename = "/tmp/tmprr5b4alk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @third_part_of_main_two(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = call i64 @malloc(i32 noundef 17) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %10, align 8 br label %13 13: ; preds = %82, %4 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %10, align 8 %16 = call i64 @read(i32 noundef %14, ptr noundef %15, i32 noundef 16) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %83 18: ; preds = %13 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 16 store i8 0, ptr %20, align 1 %21 = load i32, ptr %6, align 4 %22 = call i32 @hexa_line_two(i32 noundef %21) %23 = load ptr, ptr %10, align 8 %24 = call i32 @hexa_trad_two(ptr noundef %23) %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 16 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 16 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = load ptr, ptr %8, align 8 %31 = call i32 @size_files(i32 noundef %29, ptr noundef %30) %32 = srem i32 %31, 16 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %56 34: ; preds = %18 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %8, align 8 %38 = call i32 @size_files(i32 noundef %36, ptr noundef %37) %39 = sdiv i32 %38, 16 %40 = mul nsw i32 %39, 16 %41 = icmp eq i32 %35, %40 br i1 %41, label %42, label %56 42: ; preds = %34 %43 = load i32, ptr %5, align 4 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = call i32 @last_line_two(i32 noundef %43, ptr noundef %44, i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %5, align 4 %49 = load ptr, ptr %8, align 8 %50 = call i32 @size_files(i32 noundef %48, ptr noundef %49) %51 = srem i32 %50, 16 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, %51 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %7, align 4 %55 = call i32 @close(i32 noundef %54) br label %83 56: ; preds = %34, %18 %57 = load i32, ptr %5, align 4 %58 = load ptr, ptr %8, align 8 %59 = call i32 @size_files(i32 noundef %57, ptr noundef %58) %60 = srem i32 %59, 16 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %81 62: ; preds = %56 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %5, align 4 %65 = load ptr, ptr %8, align 8 %66 = call i32 @size_files(i32 noundef %64, ptr noundef %65) %67 = sdiv i32 %66, 16 %68 = mul nsw i32 %67, 16 %69 = icmp eq i32 %63, %68 br i1 %69, label %70, label %81 70: ; preds = %62 %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %71, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %81, label %78 78: ; preds = %70 %79 = load i32, ptr %6, align 4 %80 = call i32 @optimain_two(i32 noundef %79) br label %81 81: ; preds = %78, %70, %62, %56 br label %82 82: ; preds = %81 br label %13, !llvm.loop !6 83: ; preds = %42, %13 %84 = load i32, ptr %6, align 4 ret i32 %84 } declare i64 @malloc(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @hexa_line_two(i32 noundef) #1 declare i32 @hexa_trad_two(ptr noundef) #1 declare i32 @size_files(i32 noundef, ptr noundef) #1 declare i32 @last_line_two(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @optimain_two(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/tmprr5b4alk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @third_part_of_main_two(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = call i64 @malloc(i32 noundef 17) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %10, align 8 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %10, align 8 %15 = call i64 @read(i32 noundef %13, ptr noundef %14, i32 noundef 16) %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %81 %18 = load ptr, ptr %10, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 16 store i8 0, ptr %19, align 1 %20 = load i32, ptr %6, align 4 %21 = call i32 @hexa_line_two(i32 noundef %20) %22 = load ptr, ptr %10, align 8 %23 = call i32 @hexa_trad_two(ptr noundef %22) %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 16 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 16 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load ptr, ptr %8, align 8 %30 = call i32 @size_files(i32 noundef %28, ptr noundef %29) %31 = srem i32 %30, 16 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %55 33: ; preds = %17 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %5, align 4 %36 = load ptr, ptr %8, align 8 %37 = call i32 @size_files(i32 noundef %35, ptr noundef %36) %38 = sdiv i32 %37, 16 %39 = mul nsw i32 %38, 16 %40 = icmp eq i32 %34, %39 br i1 %40, label %41, label %55 41: ; preds = %33 %42 = load i32, ptr %5, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = call i32 @last_line_two(i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %5, align 4 %48 = load ptr, ptr %8, align 8 %49 = call i32 @size_files(i32 noundef %47, ptr noundef %48) %50 = srem i32 %49, 16 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, %50 store i32 %52, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @close(i32 noundef %53) br label %86 55: ; preds = %33, %17 %56 = load i32, ptr %5, align 4 %57 = load ptr, ptr %8, align 8 %58 = call i32 @size_files(i32 noundef %56, ptr noundef %57) %59 = srem i32 %58, 16 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %80 61: ; preds = %55 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %5, align 4 %64 = load ptr, ptr %8, align 8 %65 = call i32 @size_files(i32 noundef %63, ptr noundef %64) %66 = sdiv i32 %65, 16 %67 = mul nsw i32 %66, 16 %68 = icmp eq i32 %62, %67 br i1 %68, label %69, label %80 69: ; preds = %61 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %70, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %80, label %77 77: ; preds = %69 %78 = load i32, ptr %6, align 4 %79 = call i32 @optimain_two(i32 noundef %78) br label %80 80: ; preds = %77, %69, %61, %55 br label %81 81: ; preds = %80 %82 = load i32, ptr %7, align 4 %83 = load ptr, ptr %10, align 8 %84 = call i64 @read(i32 noundef %82, ptr noundef %83, i32 noundef 16) %85 = icmp ne i64 %84, 0 br i1 %85, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %81 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %86 86: ; preds = %.loopexit, %41 %87 = load i32, ptr %6, align 4 ret i32 %87 } declare i64 @malloc(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @hexa_line_two(i32 noundef) #1 declare i32 @hexa_trad_two(ptr noundef) #1 declare i32 @size_files(i32 noundef, ptr noundef) #1 declare i32 @last_line_two(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @optimain_two(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/tmpfnpi75tk.c' source_filename = "/tmp/tmpfnpi75tk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_all_factorials(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %22 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 @do_all_factorials(i32 noundef %12, ptr noundef %13, i32 noundef %15) %17 = mul nsw i32 %10, %16 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 br label %27 22: ; preds = %3 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 1, ptr %26, align 4 br label %27 27: ; preds = %22, %9 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfnpi75tk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_all_factorials(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %22 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 @do_all_factorials(i32 noundef %12, ptr noundef %13, i32 noundef %15) %17 = mul nsw i32 %10, %16 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 br label %27 22: ; preds = %3 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 1, ptr %26, align 4 br label %27 27: ; preds = %22, %9 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp240ktvb4.c' source_filename = "/tmp/tmp240ktvb4.c" target datalayout = "e-m:e-p270: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/tmp240ktvb4.c" target datalayout = "e-m:e-p270: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/tmpuh7yfh_l.c' source_filename = "/tmp/tmpuh7yfh_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @memcpy(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %15, %3 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %12, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %8, align 8 store i8 %18, ptr %19, align 1 br label %11, !llvm.loop !6 21: ; preds = %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuh7yfh_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @memcpy(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 %17 = load i8, ptr %15, align 1 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %8, align 8 store i8 %17, ptr %18, align 1 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %6, align 4 %22 = icmp ne i32 %20, 0 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnpzlqaor.c' source_filename = "/tmp/tmpnpzlqaor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_dir_is_prefix(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 1, ptr %4, align 4 br label %36 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %6, align 4 %15 = call i64 @strncasecmp(ptr noundef %12, ptr noundef %13, i32 noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 0, ptr %4, align 4 br label %36 18: ; preds = %11 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %34, label %26 26: ; preds = %18 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 92 br i1 %33, label %34, label %35 34: ; preds = %26, %18 store i32 1, ptr %4, align 4 br label %36 35: ; preds = %26 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %35, %34, %17, %10 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i64 @strncasecmp(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/tmpnpzlqaor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_dir_is_prefix(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 1, ptr %4, align 4 br label %36 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %6, align 4 %15 = call i64 @strncasecmp(ptr noundef %12, ptr noundef %13, i32 noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 0, ptr %4, align 4 br label %36 18: ; preds = %11 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %34, label %26 26: ; preds = %18 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 92 br i1 %33, label %34, label %35 34: ; preds = %26, %18 store i32 1, ptr %4, align 4 br label %36 35: ; preds = %26 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %35, %34, %17, %10 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i64 @strncasecmp(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/tmpswlqr58x.c' source_filename = "/tmp/tmpswlqr58x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"Please select one of the following functions to run:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"1) strcmp\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"2) strncmp\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"3) strchr\0A\0A\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OptionsMessage() #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) 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/tmpswlqr58x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"Please select one of the following functions to run:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"1) strcmp\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"2) strncmp\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"3) strchr\0A\0A\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OptionsMessage() #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) 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/tmptm2w8gaj.c' source_filename = "/tmp/tmptm2w8gaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @ipv4_get_num_hosts(i16 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i16, ptr %3, align 2 %7 = zext i16 %6 to i32 switch i32 %7, label %11 [ i32 0, label %8 i32 31, label %9 i32 32, label %10 ] 8: ; preds = %2 store i32 -4, ptr %5, align 4 br label %18 9: ; preds = %2 store i32 2, ptr %5, align 4 br label %18 10: ; preds = %2 store i32 1, ptr %5, align 4 br label %18 11: ; preds = %2 %12 = load i16, ptr %3, align 2 %13 = zext i16 %12 to i32 %14 = sub nsw i32 32, %13 %15 = call i64 @pow(i32 noundef 2, i32 noundef %14) %16 = trunc i64 %15 to i32 %17 = sub i32 %16, 2 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %11, %10, %9, %8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %4, align 8 store i32 %19, ptr %20, align 4 ret i16 0 } declare i64 @pow(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/tmptm2w8gaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @ipv4_get_num_hosts(i16 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i16, ptr %3, align 2 %7 = zext i16 %6 to i32 switch i32 %7, label %11 [ i32 0, label %8 i32 31, label %9 i32 32, label %10 ] 8: ; preds = %2 store i32 -4, ptr %5, align 4 br label %18 9: ; preds = %2 store i32 2, ptr %5, align 4 br label %18 10: ; preds = %2 store i32 1, ptr %5, align 4 br label %18 11: ; preds = %2 %12 = load i16, ptr %3, align 2 %13 = zext i16 %12 to i32 %14 = sub nsw i32 32, %13 %15 = call i64 @pow(i32 noundef 2, i32 noundef %14) %16 = trunc i64 %15 to i32 %17 = sub i32 %16, 2 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %11, %10, %9, %8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %4, align 8 store i32 %19, ptr %20, align 4 ret i16 0 } declare i64 @pow(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/tmpo4q95a_s.c' source_filename = "/tmp/tmpo4q95a_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @HO_deriv_80(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %3, align 8 %7 = call double @pow(double noundef %6, double noundef 1.250000e+00) #3 %8 = fmul double 0xB3F19FF351E0D165, %7 %9 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3 %10 = fmul double %8, %9 %11 = call double @sqrt(double noundef 0x443DBC0D5CC8506D) #3 %12 = fmul double %10, %11 %13 = load double, ptr %4, align 8 %14 = fmul double %12, %13 %15 = load double, ptr %3, align 8 %16 = fneg double %15 %17 = load double, ptr %4, align 8 %18 = fmul double %16, %17 %19 = load double, ptr %4, align 8 %20 = fmul double %18, %19 %21 = fdiv double %20, 2.000000e+00 %22 = call double @exp(double noundef %21) #3 %23 = fmul double %14, %22 %24 = load double, ptr %3, align 8 %25 = call double @pow(double noundef %24, double noundef 4.000000e+01) #3 %26 = load double, ptr %4, align 8 %27 = call double @pow(double noundef %26, double noundef 8.000000e+01) #3 %28 = load double, ptr %3, align 8 %29 = call double @pow(double noundef %28, double noundef 3.100000e+01) #3 %30 = fmul double 0x449FD25AC3C71AD1, %29 %31 = load double, ptr %4, align 8 %32 = call double @pow(double noundef %31, double noundef 6.200000e+01) #3 %33 = fmul double %30, %32 %34 = fneg double %33 %35 = call double @llvm.fmuladd.f64(double %25, double %27, double %34) %36 = load double, ptr %3, align 8 %37 = call double @pow(double noundef %36, double noundef 2.100000e+01) #3 %38 = fmul double 0x4828C76DC8ACA4E6, %37 %39 = load double, ptr %4, align 8 %40 = call double @pow(double noundef %39, double noundef 4.200000e+01) #3 %41 = fneg double %38 %42 = call double @llvm.fmuladd.f64(double %41, double %40, double %35) %43 = load double, ptr %3, align 8 %44 = call double @pow(double noundef %43, double noundef 3.300000e+01) #3 %45 = fmul double 0x43BF54B23B782B96, %44 %46 = load double, ptr %4, align 8 %47 = call double @pow(double noundef %46, double noundef 6.600000e+01) #3 %48 = fneg double %45 %49 = call double @llvm.fmuladd.f64(double %48, double %47, double %42) %50 = load double, ptr %3, align 8 %51 = call double @pow(double noundef %50, double noundef 2.500000e+01) #3 %52 = fmul double 0x46E67AE265285567, %51 %53 = load double, ptr %4, align 8 %54 = call double @pow(double noundef %53, double noundef 5.000000e+01) #3 %55 = fneg double %52 %56 = call double @llvm.fmuladd.f64(double %55, double %54, double %49) %57 = load double, ptr %3, align 8 %58 = call double @pow(double noundef %57, double noundef 3.000000e+01) #3 %59 = fmul double 0x4508C4541D7BC130, %58 %60 = load double, ptr %4, align 8 %61 = call double @pow(double noundef %60, double noundef 6.000000e+01) #3 %62 = call double @llvm.fmuladd.f64(double %59, double %61, double %56) %63 = load double, ptr %3, align 8 %64 = call double @pow(double noundef %63, double noundef 2.000000e+01) #3 %65 = fmul double 0x4871C64D6BDDD188, %64 %66 = load double, ptr %4, align 8 %67 = call double @pow(double noundef %66, double noundef 4.000000e+01) #3 %68 = call double @llvm.fmuladd.f64(double %65, double %67, double %62) %69 = load double, ptr %3, align 8 %70 = call double @pow(double noundef %69, double noundef 2.800000e+01) #3 %71 = fmul double 0x45D2A3859C906741, %70 %72 = load double, ptr %4, align 8 %73 = call double @pow(double noundef %72, double noundef 5.600000e+01) #3 %74 = call double @llvm.fmuladd.f64(double %71, double %73, double %68) %75 = load double, ptr %3, align 8 %76 = call double @pow(double noundef %75, double noundef 3.500000e+01) #3 %77 = fmul double 0x42CC56F441C12A20, %76 %78 = load double, ptr %4, align 8 %79 = call double @pow(double noundef %78, double noundef 7.000000e+01) #3 %80 = fneg double %77 %81 = call double @llvm.fmuladd.f64(double %80, double %79, double %74) %82 = load double, ptr %3, align 8 %83 = call double @pow(double noundef %82, double noundef 3.700000e+01) #3 %84 = fmul double 0x41C37A7AEF800000, %83 %85 = load double, ptr %4, align 8 %86 = call double @pow(double noundef %85, double noundef 7.400000e+01) #3 %87 = fneg double %84 %88 = call double @llvm.fmuladd.f64(double %87, double %86, double %81) %89 = load double, ptr %3, align 8 %90 = call double @pow(double noundef %89, double noundef 1.900000e+01) #3 %91 = fmul double 0x48B60C3A7AF494B8, %90 %92 = load double, ptr %4, align 8 %93 = call double @pow(double noundef %92, double noundef 3.800000e+01) #3 %94 = fneg double %91 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double %88) %96 = load double, ptr %3, align 8 %97 = call double @pow(double noundef %96, double noundef 3.200000e+01) #3 %98 = fmul double 0x443144ADDA4EAFAC, %97 %99 = load double, ptr %4, align 8 %100 = call double @pow(double noundef %99, double noundef 6.400000e+01) #3 %101 = call double @llvm.fmuladd.f64(double %98, double %100, double %95) %102 = load double, ptr %3, align 8 %103 = call double @pow(double noundef %102, double noundef 3.900000e+01) #3 %104 = fmul double 1.660000e+03, %103 %105 = load double, ptr %4, align 8 %106 = call double @pow(double noundef %105, double noundef 7.800000e+01) #3 %107 = fneg double %104 %108 = call double @llvm.fmuladd.f64(double %107, double %106, double %101) %109 = load double, ptr %3, align 8 %110 = call double @pow(double noundef %109, double noundef 2.300000e+01) #3 %111 = fmul double 0x478F582B8035CF54, %110 %112 = load double, ptr %4, align 8 %113 = call double @pow(double noundef %112, double noundef 4.600000e+01) #3 %114 = fneg double %111 %115 = call double @llvm.fmuladd.f64(double %114, double %113, double %108) %116 = load double, ptr %3, align 8 %117 = call double @pow(double noundef %116, double noundef 2.700000e+01) #3 %118 = fmul double 0x463237B43145C179, %117 %119 = load double, ptr %4, align 8 %120 = call double @pow(double noundef %119, double noundef 5.400000e+01) #3 %121 = fneg double %118 %122 = call double @llvm.fmuladd.f64(double %121, double %120, double %115) %123 = load double, ptr %3, align 8 %124 = call double @pow(double noundef %123, double noundef 1.200000e+01) #3 %125 = fmul double 0x4A33AFE8B0C5414F, %124 %126 = load double, ptr %4, align 8 %127 = call double @pow(double noundef %126, double noundef 2.400000e+01) #3 %128 = call double @llvm.fmuladd.f64(double %125, double %127, double %122) %129 = load double, ptr %3, align 8 %130 = call double @pow(double noundef %129, double noundef 9.000000e+00) #3 %131 = fmul double 0x4A97B83B46CC8597, %130 %132 = load double, ptr %4, align 8 %133 = call double @pow(double noundef %132, double noundef 1.800000e+01) #3 %134 = fneg double %131 %135 = call double @llvm.fmuladd.f64(double %134, double %133, double %128) %136 = load double, ptr %3, align 8 %137 = call double @pow(double noundef %136, double noundef 3.600000e+01) #3 %138 = fmul double 0x424AFFE834D07000, %137 %139 = load double, ptr %4, align 8 %140 = call double @pow(double noundef %139, double noundef 7.200000e+01) #3 %141 = call double @llvm.fmuladd.f64(double %138, double %140, double %135) %142 = load double, ptr %3, align 8 %143 = call double @pow(double noundef %142, double noundef 8.000000e+00) #3 %144 = fmul double 0x4AB010C9FEAC543F, %143 %145 = load double, ptr %4, align 8 %146 = call double @pow(double noundef %145, double noundef 1.600000e+01) #3 %147 = call double @llvm.fmuladd.f64(double %144, double %146, double %141) %148 = load double, ptr %3, align 8 %149 = call double @pow(double noundef %148, double noundef 2.200000e+01) #3 %150 = fmul double 0x47DDEC9321335F22, %149 %151 = load double, ptr %4, align 8 %152 = call double @pow(double noundef %151, double noundef 4.400000e+01) #3 %153 = call double @llvm.fmuladd.f64(double %150, double %152, double %147) %154 = load double, ptr %3, align 8 %155 = call double @pow(double noundef %154, double noundef 1.300000e+01) #3 %156 = fmul double 0x4A08C2CBD41F5529, %155 %157 = load double, ptr %4, align 8 %158 = call double @pow(double noundef %157, double noundef 2.600000e+01) #3 %159 = fneg double %156 %160 = call double @llvm.fmuladd.f64(double %159, double %158, double %153) %161 = load double, ptr %3, align 8 %162 = call double @pow(double noundef %161, double noundef 1.600000e+01) #3 %163 = fmul double 0x4971100AF8B6BE62, %162 %164 = load double, ptr %4, align 8 %165 = call double @pow(double noundef %164, double noundef 3.200000e+01) #3 %166 = call double @llvm.fmuladd.f64(double %163, double %165, double %160) %167 = load double, ptr %3, align 8 %168 = call double @pow(double noundef %167, double noundef 2.600000e+01) #3 %169 = fmul double 0x468EC1F0C79F1C0C, %168 %170 = load double, ptr %4, align 8 %171 = call double @pow(double noundef %170, double noundef 5.200000e+01) #3 %172 = call double @llvm.fmuladd.f64(double %169, double %171, double %166) %173 = load double, ptr %3, align 8 %174 = call double @pow(double noundef %173, double noundef 1.700000e+01) #3 %175 = fmul double 0x4935AEAAB1A172F6, %174 %176 = load double, ptr %4, align 8 %177 = call double @pow(double noundef %176, double noundef 3.400000e+01) #3 %178 = fneg double %175 %179 = call double @llvm.fmuladd.f64(double %178, double %177, double %172) %180 = load double, ptr %3, align 8 %181 = call double @pow(double noundef %180, double noundef 3.400000e+01) #3 %182 = fmul double 0x43476DA76D348DD8, %181 %183 = load double, ptr %4, align 8 %184 = call double @pow(double noundef %183, double noundef 6.800000e+01) #3 %185 = call double @llvm.fmuladd.f64(double %182, double %184, double %179) %186 = load double, ptr %3, align 8 %187 = call double @pow(double noundef %186, double noundef 1.800000e+01) #3 %188 = fmul double 0x48F795787CF9F798, %187 %189 = load double, ptr %4, align 8 %190 = call double @pow(double noundef %189, double noundef 3.600000e+01) #3 %191 = call double @llvm.fmuladd.f64(double %188, double %190, double %185) %192 = load double, ptr %3, align 8 %193 = call double @pow(double noundef %192, double noundef 1.500000e+01) #3 %194 = fmul double 0x49A6DF358611C6C3, %193 %195 = load double, ptr %4, align 8 %196 = call double @pow(double noundef %195, double noundef 3.000000e+01) #3 %197 = fneg double %194 %198 = call double @llvm.fmuladd.f64(double %197, double %196, double %191) %199 = load double, ptr %3, align 8 %200 = call double @pow(double noundef %199, double noundef 1.000000e+01) #3 %201 = fmul double 0x4A7B9EB8ED51CA5C, %200 %202 = load double, ptr %4, align 8 %203 = call double @pow(double noundef %202, double noundef 2.000000e+01) #3 %204 = call double @llvm.fmuladd.f64(double %201, double %203, double %198) %205 = load double, ptr %3, align 8 %206 = call double @pow(double noundef %205, double noundef 3.800000e+01) #3 %207 = fmul double 0x4133FAF100000000, %206 %208 = load double, ptr %4, align 8 %209 = call double @pow(double noundef %208, double noundef 7.600000e+01) #3 %210 = call double @llvm.fmuladd.f64(double %207, double %209, double %204) %211 = load double, ptr %3, align 8 %212 = call double @pow(double noundef %211, double noundef 2.400000e+01) #3 %213 = fmul double 0x473C7E9D16D49E40, %212 %214 = load double, ptr %4, align 8 %215 = call double @pow(double noundef %214, double noundef 4.800000e+01) #3 %216 = call double @llvm.fmuladd.f64(double %213, double %215, double %210) %217 = load double, ptr %3, align 8 %218 = call double @pow(double noundef %217, double noundef 7.000000e+00) #3 %219 = fmul double 0x4AC0C7DDBD73516A, %218 %220 = load double, ptr %4, align 8 %221 = call double @pow(double noundef %220, double noundef 1.400000e+01) #3 %222 = fneg double %219 %223 = call double @llvm.fmuladd.f64(double %222, double %221, double %216) %224 = load double, ptr %3, align 8 %225 = call double @pow(double noundef %224, double noundef 1.100000e+01) #3 %226 = fmul double 0x4A59D4439E033EF9, %225 %227 = load double, ptr %4, align 8 %228 = call double @pow(double noundef %227, double noundef 2.200000e+01) #3 %229 = fneg double %226 %230 = call double @llvm.fmuladd.f64(double %229, double %228, double %223) %231 = load double, ptr %3, align 8 %232 = call double @pow(double noundef %231, double noundef 1.400000e+01) #3 %233 = fmul double 0x49D9F4CE9B45EBCF, %232 %234 = load double, ptr %4, align 8 %235 = call double @pow(double noundef %234, double noundef 2.800000e+01) #3 %236 = call double @llvm.fmuladd.f64(double %233, double %235, double %230) %237 = fadd double %236, 0x4A1FF8D3D31E1E1B %238 = load double, ptr %3, align 8 %239 = call double @pow(double noundef %238, double noundef 5.000000e+00) #3 %240 = fmul double 0x4ACDA88B3567B415, %239 %241 = load double, ptr %4, align 8 %242 = call double @pow(double noundef %241, double noundef 1.000000e+01) #3 %243 = fneg double %240 %244 = call double @llvm.fmuladd.f64(double %243, double %242, double %237) %245 = load double, ptr %3, align 8 %246 = call double @pow(double noundef %245, double noundef 4.000000e+00) #3 %247 = fmul double 0x4AC6F4ADDE1AA6B9, %246 %248 = load double, ptr %4, align 8 %249 = call double @pow(double noundef %248, double noundef 8.000000e+00) #3 %250 = call double @llvm.fmuladd.f64(double %247, double %249, double %244) %251 = load double, ptr %3, align 8 %252 = call double @pow(double noundef %251, double noundef 3.000000e+00) #3 %253 = fmul double 0x4AB6A097D813C20C, %252 %254 = load double, ptr %4, align 8 %255 = call double @pow(double noundef %254, double noundef 6.000000e+00) #3 %256 = fneg double %253 %257 = call double @llvm.fmuladd.f64(double %256, double %255, double %250) %258 = load double, ptr %3, align 8 %259 = fmul double 0x4A9954F35C0AA52C, %258 %260 = load double, ptr %3, align 8 %261 = fmul double %259, %260 %262 = load double, ptr %4, align 8 %263 = call double @pow(double noundef %262, double noundef 4.000000e+00) #3 %264 = call double @llvm.fmuladd.f64(double %261, double %263, double %257) %265 = load double, ptr %3, align 8 %266 = fmul double 0x4A6A4FF5E16C43B5, %265 %267 = load double, ptr %4, align 8 %268 = fmul double %266, %267 %269 = load double, ptr %4, align 8 %270 = fneg double %268 %271 = call double @llvm.fmuladd.f64(double %270, double %269, double %264) %272 = load double, ptr %3, align 8 %273 = call double @pow(double noundef %272, double noundef 6.000000e+00) #3 %274 = fmul double 0x4ACA43927231CC55, %273 %275 = load double, ptr %4, align 8 %276 = call double @pow(double noundef %275, double noundef 1.200000e+01) #3 %277 = call double @llvm.fmuladd.f64(double %274, double %276, double %271) %278 = load double, ptr %3, align 8 %279 = call double @pow(double noundef %278, double noundef 2.900000e+01) #3 %280 = fmul double 0x457069E73F9D73B7, %279 %281 = load double, ptr %4, align 8 %282 = call double @pow(double noundef %281, double noundef 5.800000e+01) #3 %283 = fneg double %280 %284 = call double @llvm.fmuladd.f64(double %283, double %282, double %277) %285 = fmul double %23, %284 store double %285, ptr %5, align 8 %286 = load double, ptr %5, align 8 ret double %286 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4q95a_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @HO_deriv_80(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %3, align 8 %7 = call double @pow(double noundef %6, double noundef 1.250000e+00) #3 %8 = fmul double 0xB3F19FF351E0D165, %7 %9 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3 %10 = fmul double %8, %9 %11 = call double @sqrt(double noundef 0x443DBC0D5CC8506D) #3 %12 = fmul double %10, %11 %13 = load double, ptr %4, align 8 %14 = fmul double %12, %13 %15 = load double, ptr %3, align 8 %16 = fneg double %15 %17 = load double, ptr %4, align 8 %18 = fmul double %16, %17 %19 = load double, ptr %4, align 8 %20 = fmul double %18, %19 %21 = fdiv double %20, 2.000000e+00 %22 = call double @exp(double noundef %21) #3 %23 = fmul double %14, %22 %24 = load double, ptr %3, align 8 %25 = call double @pow(double noundef %24, double noundef 4.000000e+01) #3 %26 = load double, ptr %4, align 8 %27 = call double @pow(double noundef %26, double noundef 8.000000e+01) #3 %28 = load double, ptr %3, align 8 %29 = call double @pow(double noundef %28, double noundef 3.100000e+01) #3 %30 = fmul double 0x449FD25AC3C71AD1, %29 %31 = load double, ptr %4, align 8 %32 = call double @pow(double noundef %31, double noundef 6.200000e+01) #3 %33 = fmul double %30, %32 %34 = fneg double %33 %35 = call double @llvm.fmuladd.f64(double %25, double %27, double %34) %36 = load double, ptr %3, align 8 %37 = call double @pow(double noundef %36, double noundef 2.100000e+01) #3 %38 = fmul double 0x4828C76DC8ACA4E6, %37 %39 = load double, ptr %4, align 8 %40 = call double @pow(double noundef %39, double noundef 4.200000e+01) #3 %41 = fneg double %38 %42 = call double @llvm.fmuladd.f64(double %41, double %40, double %35) %43 = load double, ptr %3, align 8 %44 = call double @pow(double noundef %43, double noundef 3.300000e+01) #3 %45 = fmul double 0x43BF54B23B782B96, %44 %46 = load double, ptr %4, align 8 %47 = call double @pow(double noundef %46, double noundef 6.600000e+01) #3 %48 = fneg double %45 %49 = call double @llvm.fmuladd.f64(double %48, double %47, double %42) %50 = load double, ptr %3, align 8 %51 = call double @pow(double noundef %50, double noundef 2.500000e+01) #3 %52 = fmul double 0x46E67AE265285567, %51 %53 = load double, ptr %4, align 8 %54 = call double @pow(double noundef %53, double noundef 5.000000e+01) #3 %55 = fneg double %52 %56 = call double @llvm.fmuladd.f64(double %55, double %54, double %49) %57 = load double, ptr %3, align 8 %58 = call double @pow(double noundef %57, double noundef 3.000000e+01) #3 %59 = fmul double 0x4508C4541D7BC130, %58 %60 = load double, ptr %4, align 8 %61 = call double @pow(double noundef %60, double noundef 6.000000e+01) #3 %62 = call double @llvm.fmuladd.f64(double %59, double %61, double %56) %63 = load double, ptr %3, align 8 %64 = call double @pow(double noundef %63, double noundef 2.000000e+01) #3 %65 = fmul double 0x4871C64D6BDDD188, %64 %66 = load double, ptr %4, align 8 %67 = call double @pow(double noundef %66, double noundef 4.000000e+01) #3 %68 = call double @llvm.fmuladd.f64(double %65, double %67, double %62) %69 = load double, ptr %3, align 8 %70 = call double @pow(double noundef %69, double noundef 2.800000e+01) #3 %71 = fmul double 0x45D2A3859C906741, %70 %72 = load double, ptr %4, align 8 %73 = call double @pow(double noundef %72, double noundef 5.600000e+01) #3 %74 = call double @llvm.fmuladd.f64(double %71, double %73, double %68) %75 = load double, ptr %3, align 8 %76 = call double @pow(double noundef %75, double noundef 3.500000e+01) #3 %77 = fmul double 0x42CC56F441C12A20, %76 %78 = load double, ptr %4, align 8 %79 = call double @pow(double noundef %78, double noundef 7.000000e+01) #3 %80 = fneg double %77 %81 = call double @llvm.fmuladd.f64(double %80, double %79, double %74) %82 = load double, ptr %3, align 8 %83 = call double @pow(double noundef %82, double noundef 3.700000e+01) #3 %84 = fmul double 0x41C37A7AEF800000, %83 %85 = load double, ptr %4, align 8 %86 = call double @pow(double noundef %85, double noundef 7.400000e+01) #3 %87 = fneg double %84 %88 = call double @llvm.fmuladd.f64(double %87, double %86, double %81) %89 = load double, ptr %3, align 8 %90 = call double @pow(double noundef %89, double noundef 1.900000e+01) #3 %91 = fmul double 0x48B60C3A7AF494B8, %90 %92 = load double, ptr %4, align 8 %93 = call double @pow(double noundef %92, double noundef 3.800000e+01) #3 %94 = fneg double %91 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double %88) %96 = load double, ptr %3, align 8 %97 = call double @pow(double noundef %96, double noundef 3.200000e+01) #3 %98 = fmul double 0x443144ADDA4EAFAC, %97 %99 = load double, ptr %4, align 8 %100 = call double @pow(double noundef %99, double noundef 6.400000e+01) #3 %101 = call double @llvm.fmuladd.f64(double %98, double %100, double %95) %102 = load double, ptr %3, align 8 %103 = call double @pow(double noundef %102, double noundef 3.900000e+01) #3 %104 = fmul double 1.660000e+03, %103 %105 = load double, ptr %4, align 8 %106 = call double @pow(double noundef %105, double noundef 7.800000e+01) #3 %107 = fneg double %104 %108 = call double @llvm.fmuladd.f64(double %107, double %106, double %101) %109 = load double, ptr %3, align 8 %110 = call double @pow(double noundef %109, double noundef 2.300000e+01) #3 %111 = fmul double 0x478F582B8035CF54, %110 %112 = load double, ptr %4, align 8 %113 = call double @pow(double noundef %112, double noundef 4.600000e+01) #3 %114 = fneg double %111 %115 = call double @llvm.fmuladd.f64(double %114, double %113, double %108) %116 = load double, ptr %3, align 8 %117 = call double @pow(double noundef %116, double noundef 2.700000e+01) #3 %118 = fmul double 0x463237B43145C179, %117 %119 = load double, ptr %4, align 8 %120 = call double @pow(double noundef %119, double noundef 5.400000e+01) #3 %121 = fneg double %118 %122 = call double @llvm.fmuladd.f64(double %121, double %120, double %115) %123 = load double, ptr %3, align 8 %124 = call double @pow(double noundef %123, double noundef 1.200000e+01) #3 %125 = fmul double 0x4A33AFE8B0C5414F, %124 %126 = load double, ptr %4, align 8 %127 = call double @pow(double noundef %126, double noundef 2.400000e+01) #3 %128 = call double @llvm.fmuladd.f64(double %125, double %127, double %122) %129 = load double, ptr %3, align 8 %130 = call double @pow(double noundef %129, double noundef 9.000000e+00) #3 %131 = fmul double 0x4A97B83B46CC8597, %130 %132 = load double, ptr %4, align 8 %133 = call double @pow(double noundef %132, double noundef 1.800000e+01) #3 %134 = fneg double %131 %135 = call double @llvm.fmuladd.f64(double %134, double %133, double %128) %136 = load double, ptr %3, align 8 %137 = call double @pow(double noundef %136, double noundef 3.600000e+01) #3 %138 = fmul double 0x424AFFE834D07000, %137 %139 = load double, ptr %4, align 8 %140 = call double @pow(double noundef %139, double noundef 7.200000e+01) #3 %141 = call double @llvm.fmuladd.f64(double %138, double %140, double %135) %142 = load double, ptr %3, align 8 %143 = call double @pow(double noundef %142, double noundef 8.000000e+00) #3 %144 = fmul double 0x4AB010C9FEAC543F, %143 %145 = load double, ptr %4, align 8 %146 = call double @pow(double noundef %145, double noundef 1.600000e+01) #3 %147 = call double @llvm.fmuladd.f64(double %144, double %146, double %141) %148 = load double, ptr %3, align 8 %149 = call double @pow(double noundef %148, double noundef 2.200000e+01) #3 %150 = fmul double 0x47DDEC9321335F22, %149 %151 = load double, ptr %4, align 8 %152 = call double @pow(double noundef %151, double noundef 4.400000e+01) #3 %153 = call double @llvm.fmuladd.f64(double %150, double %152, double %147) %154 = load double, ptr %3, align 8 %155 = call double @pow(double noundef %154, double noundef 1.300000e+01) #3 %156 = fmul double 0x4A08C2CBD41F5529, %155 %157 = load double, ptr %4, align 8 %158 = call double @pow(double noundef %157, double noundef 2.600000e+01) #3 %159 = fneg double %156 %160 = call double @llvm.fmuladd.f64(double %159, double %158, double %153) %161 = load double, ptr %3, align 8 %162 = call double @pow(double noundef %161, double noundef 1.600000e+01) #3 %163 = fmul double 0x4971100AF8B6BE62, %162 %164 = load double, ptr %4, align 8 %165 = call double @pow(double noundef %164, double noundef 3.200000e+01) #3 %166 = call double @llvm.fmuladd.f64(double %163, double %165, double %160) %167 = load double, ptr %3, align 8 %168 = call double @pow(double noundef %167, double noundef 2.600000e+01) #3 %169 = fmul double 0x468EC1F0C79F1C0C, %168 %170 = load double, ptr %4, align 8 %171 = call double @pow(double noundef %170, double noundef 5.200000e+01) #3 %172 = call double @llvm.fmuladd.f64(double %169, double %171, double %166) %173 = load double, ptr %3, align 8 %174 = call double @pow(double noundef %173, double noundef 1.700000e+01) #3 %175 = fmul double 0x4935AEAAB1A172F6, %174 %176 = load double, ptr %4, align 8 %177 = call double @pow(double noundef %176, double noundef 3.400000e+01) #3 %178 = fneg double %175 %179 = call double @llvm.fmuladd.f64(double %178, double %177, double %172) %180 = load double, ptr %3, align 8 %181 = call double @pow(double noundef %180, double noundef 3.400000e+01) #3 %182 = fmul double 0x43476DA76D348DD8, %181 %183 = load double, ptr %4, align 8 %184 = call double @pow(double noundef %183, double noundef 6.800000e+01) #3 %185 = call double @llvm.fmuladd.f64(double %182, double %184, double %179) %186 = load double, ptr %3, align 8 %187 = call double @pow(double noundef %186, double noundef 1.800000e+01) #3 %188 = fmul double 0x48F795787CF9F798, %187 %189 = load double, ptr %4, align 8 %190 = call double @pow(double noundef %189, double noundef 3.600000e+01) #3 %191 = call double @llvm.fmuladd.f64(double %188, double %190, double %185) %192 = load double, ptr %3, align 8 %193 = call double @pow(double noundef %192, double noundef 1.500000e+01) #3 %194 = fmul double 0x49A6DF358611C6C3, %193 %195 = load double, ptr %4, align 8 %196 = call double @pow(double noundef %195, double noundef 3.000000e+01) #3 %197 = fneg double %194 %198 = call double @llvm.fmuladd.f64(double %197, double %196, double %191) %199 = load double, ptr %3, align 8 %200 = call double @pow(double noundef %199, double noundef 1.000000e+01) #3 %201 = fmul double 0x4A7B9EB8ED51CA5C, %200 %202 = load double, ptr %4, align 8 %203 = call double @pow(double noundef %202, double noundef 2.000000e+01) #3 %204 = call double @llvm.fmuladd.f64(double %201, double %203, double %198) %205 = load double, ptr %3, align 8 %206 = call double @pow(double noundef %205, double noundef 3.800000e+01) #3 %207 = fmul double 0x4133FAF100000000, %206 %208 = load double, ptr %4, align 8 %209 = call double @pow(double noundef %208, double noundef 7.600000e+01) #3 %210 = call double @llvm.fmuladd.f64(double %207, double %209, double %204) %211 = load double, ptr %3, align 8 %212 = call double @pow(double noundef %211, double noundef 2.400000e+01) #3 %213 = fmul double 0x473C7E9D16D49E40, %212 %214 = load double, ptr %4, align 8 %215 = call double @pow(double noundef %214, double noundef 4.800000e+01) #3 %216 = call double @llvm.fmuladd.f64(double %213, double %215, double %210) %217 = load double, ptr %3, align 8 %218 = call double @pow(double noundef %217, double noundef 7.000000e+00) #3 %219 = fmul double 0x4AC0C7DDBD73516A, %218 %220 = load double, ptr %4, align 8 %221 = call double @pow(double noundef %220, double noundef 1.400000e+01) #3 %222 = fneg double %219 %223 = call double @llvm.fmuladd.f64(double %222, double %221, double %216) %224 = load double, ptr %3, align 8 %225 = call double @pow(double noundef %224, double noundef 1.100000e+01) #3 %226 = fmul double 0x4A59D4439E033EF9, %225 %227 = load double, ptr %4, align 8 %228 = call double @pow(double noundef %227, double noundef 2.200000e+01) #3 %229 = fneg double %226 %230 = call double @llvm.fmuladd.f64(double %229, double %228, double %223) %231 = load double, ptr %3, align 8 %232 = call double @pow(double noundef %231, double noundef 1.400000e+01) #3 %233 = fmul double 0x49D9F4CE9B45EBCF, %232 %234 = load double, ptr %4, align 8 %235 = call double @pow(double noundef %234, double noundef 2.800000e+01) #3 %236 = call double @llvm.fmuladd.f64(double %233, double %235, double %230) %237 = fadd double %236, 0x4A1FF8D3D31E1E1B %238 = load double, ptr %3, align 8 %239 = call double @pow(double noundef %238, double noundef 5.000000e+00) #3 %240 = fmul double 0x4ACDA88B3567B415, %239 %241 = load double, ptr %4, align 8 %242 = call double @pow(double noundef %241, double noundef 1.000000e+01) #3 %243 = fneg double %240 %244 = call double @llvm.fmuladd.f64(double %243, double %242, double %237) %245 = load double, ptr %3, align 8 %246 = call double @pow(double noundef %245, double noundef 4.000000e+00) #3 %247 = fmul double 0x4AC6F4ADDE1AA6B9, %246 %248 = load double, ptr %4, align 8 %249 = call double @pow(double noundef %248, double noundef 8.000000e+00) #3 %250 = call double @llvm.fmuladd.f64(double %247, double %249, double %244) %251 = load double, ptr %3, align 8 %252 = call double @pow(double noundef %251, double noundef 3.000000e+00) #3 %253 = fmul double 0x4AB6A097D813C20C, %252 %254 = load double, ptr %4, align 8 %255 = call double @pow(double noundef %254, double noundef 6.000000e+00) #3 %256 = fneg double %253 %257 = call double @llvm.fmuladd.f64(double %256, double %255, double %250) %258 = load double, ptr %3, align 8 %259 = fmul double 0x4A9954F35C0AA52C, %258 %260 = load double, ptr %3, align 8 %261 = fmul double %259, %260 %262 = load double, ptr %4, align 8 %263 = call double @pow(double noundef %262, double noundef 4.000000e+00) #3 %264 = call double @llvm.fmuladd.f64(double %261, double %263, double %257) %265 = load double, ptr %3, align 8 %266 = fmul double 0x4A6A4FF5E16C43B5, %265 %267 = load double, ptr %4, align 8 %268 = fmul double %266, %267 %269 = load double, ptr %4, align 8 %270 = fneg double %268 %271 = call double @llvm.fmuladd.f64(double %270, double %269, double %264) %272 = load double, ptr %3, align 8 %273 = call double @pow(double noundef %272, double noundef 6.000000e+00) #3 %274 = fmul double 0x4ACA43927231CC55, %273 %275 = load double, ptr %4, align 8 %276 = call double @pow(double noundef %275, double noundef 1.200000e+01) #3 %277 = call double @llvm.fmuladd.f64(double %274, double %276, double %271) %278 = load double, ptr %3, align 8 %279 = call double @pow(double noundef %278, double noundef 2.900000e+01) #3 %280 = fmul double 0x457069E73F9D73B7, %279 %281 = load double, ptr %4, align 8 %282 = call double @pow(double noundef %281, double noundef 5.800000e+01) #3 %283 = fneg double %280 %284 = call double @llvm.fmuladd.f64(double %283, double %282, double %277) %285 = fmul double %23, %284 store double %285, ptr %5, align 8 %286 = load double, ptr %5, align 8 ret double %286 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw8r2ucq2.c' source_filename = "/tmp/tmpw8r2ucq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"*open: '%s'\00", align 1 @LOCK_EX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"*flock: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lock_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef %5, i32 noundef %8, i32 noundef 384) store i32 %9, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @err(ptr noundef @.str, ptr noundef %12) store i32 -1, ptr %2, align 4 br label %26 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr @LOCK_EX, align 4 %17 = call i64 @flock(i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @err(ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %2, align 4 br label %26 24: ; preds = %14 %25 = load i32, ptr %4, align 4 store i32 %25, ptr %2, align 4 br label %26 26: ; preds = %24, %19, %11 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @err(ptr noundef, ptr noundef) #1 declare i64 @flock(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw8r2ucq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"*open: '%s'\00", align 1 @LOCK_EX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"*flock: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lock_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef %5, i32 noundef %8, i32 noundef 384) store i32 %9, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @err(ptr noundef @.str, ptr noundef %12) store i32 -1, ptr %2, align 4 br label %26 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr @LOCK_EX, align 4 %17 = call i64 @flock(i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @err(ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %2, align 4 br label %26 24: ; preds = %14 %25 = load i32, ptr %4, align 4 store i32 %25, ptr %2, align 4 br label %26 26: ; preds = %24, %19, %11 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @err(ptr noundef, ptr noundef) #1 declare i64 @flock(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuzvurcd4.c' source_filename = "/tmp/tmpuzvurcd4.c" target datalayout = "e-m:e-p270: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/tmpuzvurcd4.c" target datalayout = "e-m:e-p270: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/tmprddnfy1z.c' source_filename = "/tmp/tmprddnfy1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprddnfy1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzncvf1e4.c' source_filename = "/tmp/tmpzncvf1e4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PSItoHPA(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @PSItoMB(double noundef %4) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } declare double @PSItoMB(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzncvf1e4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PSItoHPA(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @PSItoMB(double noundef %4) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } declare double @PSItoMB(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfae6jvxf.c' source_filename = "/tmp/tmpfae6jvxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_perm_string.perm_sets = internal constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str = private unnamed_addr constant [4 x i8] c"---\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"--x\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-w-\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"-wx\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"r--\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"r-x\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"rw-\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"rwx\00", align 1 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [8 x i8] c"-%s%s%s\00", align 1 @S_ISVTX = dso_local global i32 0, align 4 @S_ISGID = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_perm_string(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr @S_IRWXU, align 4 %12 = and i32 %10, %11 %13 = ashr i32 %12, 6 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr @S_IRWXG, align 4 %16 = and i32 %14, %15 %17 = ashr i32 %16, 3 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr @S_IRWXO, align 4 %20 = and i32 %18, %19 store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str.8, ptr noundef %26, ptr noundef %30, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = call i64 @S_ISLNK(i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %3 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 108, ptr %41, align 1 br label %82 42: ; preds = %3 %43 = load i32, ptr %6, align 4 %44 = call i64 @S_ISDIR(i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 0 store i8 100, ptr %48, align 1 br label %81 49: ; preds = %42 %50 = load i32, ptr %6, align 4 %51 = call i64 @S_ISBLK(i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 store i8 98, ptr %55, align 1 br label %80 56: ; preds = %49 %57 = load i32, ptr %6, align 4 %58 = call i64 @S_ISCHR(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 0 store i8 99, ptr %62, align 1 br label %79 63: ; preds = %56 %64 = load i32, ptr %6, align 4 %65 = call i64 @S_ISFIFO(i32 noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load ptr, ptr %4, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 0 store i8 112, ptr %69, align 1 br label %78 70: ; preds = %63 %71 = load i32, ptr %6, align 4 %72 = call i64 @S_ISSOCK(i32 noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 0 store i8 115, ptr %76, align 1 br label %77 77: ; preds = %74, %70 br label %78 78: ; preds = %77, %67 br label %79 79: ; preds = %78, %60 br label %80 80: ; preds = %79, %53 br label %81 81: ; preds = %80, %46 br label %82 82: ; preds = %81, %39 %83 = load i32, ptr %6, align 4 %84 = load i32, ptr @S_ISVTX, align 4 %85 = and i32 %83, %84 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %98 87: ; preds = %82 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 9 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 45 %93 = zext i1 %92 to i64 %94 = select i1 %92, i32 84, i32 116 %95 = trunc i32 %94 to i8 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 9 store i8 %95, ptr %97, align 1 br label %98 98: ; preds = %87, %82 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr @S_ISGID, align 4 %101 = and i32 %99, %100 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %114 103: ; preds = %98 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 6 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 45 %109 = zext i1 %108 to i64 %110 = select i1 %108, i32 83, i32 115 %111 = trunc i32 %110 to i8 %112 = load ptr, ptr %4, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 6 store i8 %111, ptr %113, align 1 br label %114 114: ; preds = %103, %98 %115 = load i32, ptr %6, align 4 %116 = load i32, ptr @S_ISUID, align 4 %117 = and i32 %115, %116 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %130 119: ; preds = %114 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 3 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 45 %125 = zext i1 %124 to i64 %126 = select i1 %124, i32 83, i32 115 %127 = trunc i32 %126 to i8 %128 = load ptr, ptr %4, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 3 store i8 %127, ptr %129, align 1 br label %130 130: ; preds = %119, %114 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @S_ISLNK(i32 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISBLK(i32 noundef) #1 declare i64 @S_ISCHR(i32 noundef) #1 declare i64 @S_ISFIFO(i32 noundef) #1 declare i64 @S_ISSOCK(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/tmpfae6jvxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_perm_string.perm_sets = internal constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str = private unnamed_addr constant [4 x i8] c"---\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"--x\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-w-\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"-wx\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"r--\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"r-x\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"rw-\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"rwx\00", align 1 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [8 x i8] c"-%s%s%s\00", align 1 @S_ISVTX = dso_local global i32 0, align 4 @S_ISGID = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_perm_string(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr @S_IRWXU, align 4 %12 = and i32 %10, %11 %13 = ashr i32 %12, 6 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr @S_IRWXG, align 4 %16 = and i32 %14, %15 %17 = ashr i32 %16, 3 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr @S_IRWXO, align 4 %20 = and i32 %18, %19 store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [8 x ptr], ptr @get_perm_string.perm_sets, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str.8, ptr noundef %26, ptr noundef %30, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = call i64 @S_ISLNK(i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %3 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 108, ptr %41, align 1 br label %82 42: ; preds = %3 %43 = load i32, ptr %6, align 4 %44 = call i64 @S_ISDIR(i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 0 store i8 100, ptr %48, align 1 br label %81 49: ; preds = %42 %50 = load i32, ptr %6, align 4 %51 = call i64 @S_ISBLK(i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 store i8 98, ptr %55, align 1 br label %80 56: ; preds = %49 %57 = load i32, ptr %6, align 4 %58 = call i64 @S_ISCHR(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 0 store i8 99, ptr %62, align 1 br label %79 63: ; preds = %56 %64 = load i32, ptr %6, align 4 %65 = call i64 @S_ISFIFO(i32 noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load ptr, ptr %4, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 0 store i8 112, ptr %69, align 1 br label %78 70: ; preds = %63 %71 = load i32, ptr %6, align 4 %72 = call i64 @S_ISSOCK(i32 noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 0 store i8 115, ptr %76, align 1 br label %77 77: ; preds = %74, %70 br label %78 78: ; preds = %77, %67 br label %79 79: ; preds = %78, %60 br label %80 80: ; preds = %79, %53 br label %81 81: ; preds = %80, %46 br label %82 82: ; preds = %81, %39 %83 = load i32, ptr %6, align 4 %84 = load i32, ptr @S_ISVTX, align 4 %85 = and i32 %83, %84 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %98 87: ; preds = %82 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 9 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 45 %93 = zext i1 %92 to i64 %94 = select i1 %92, i32 84, i32 116 %95 = trunc i32 %94 to i8 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 9 store i8 %95, ptr %97, align 1 br label %98 98: ; preds = %87, %82 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr @S_ISGID, align 4 %101 = and i32 %99, %100 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %114 103: ; preds = %98 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 6 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 45 %109 = zext i1 %108 to i64 %110 = select i1 %108, i32 83, i32 115 %111 = trunc i32 %110 to i8 %112 = load ptr, ptr %4, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 6 store i8 %111, ptr %113, align 1 br label %114 114: ; preds = %103, %98 %115 = load i32, ptr %6, align 4 %116 = load i32, ptr @S_ISUID, align 4 %117 = and i32 %115, %116 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %130 119: ; preds = %114 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 3 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 45 %125 = zext i1 %124 to i64 %126 = select i1 %124, i32 83, i32 115 %127 = trunc i32 %126 to i8 %128 = load ptr, ptr %4, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 3 store i8 %127, ptr %129, align 1 br label %130 130: ; preds = %119, %114 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @S_ISLNK(i32 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISBLK(i32 noundef) #1 declare i64 @S_ISCHR(i32 noundef) #1 declare i64 @S_ISFIFO(i32 noundef) #1 declare i64 @S_ISSOCK(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/tmpsa0_8viu.c' source_filename = "/tmp/tmpsa0_8viu.c" target datalayout = "e-m:e-p270: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/tmpsa0_8viu.c" target datalayout = "e-m:e-p270: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/tmpx1ro7j_5.c' source_filename = "/tmp/tmpx1ro7j_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c" _____________________________________________________________________________\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c" IP At MAC Address Requests IP Count \0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c" -----------------------------------------------------------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @request_print_header(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @request_print_header_sumary(i32 noundef %3) %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @request_print_header_sumary(i32 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/tmpx1ro7j_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c" _____________________________________________________________________________\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c" IP At MAC Address Requests IP Count \0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c" -----------------------------------------------------------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @request_print_header(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @request_print_header_sumary(i32 noundef %3) %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @request_print_header_sumary(i32 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/tmp27c26ze5.c' source_filename = "/tmp/tmp27c26ze5.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"in main\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"m:a:p:n:\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Usage %s -m [{c|d} -a address | x]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"ip netns exec %s %s -L -t nat --line-numbers\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"/sbin/iptables\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Unknown command %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 1, ptr %12, align 4 store i32 1, ptr %13, align 4 %16 = load i32, ptr @stdout, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str) store i32 0, ptr %10, align 4 %18 = call i64 @malloc(i32 noundef 21) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %7, align 8 %20 = call i64 @malloc(i32 noundef 6) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = call i64 @malloc(i32 noundef 100) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %9, align 8 br label %24 24: ; preds = %107, %2 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.1) store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %29, label %108 29: ; preds = %24 %30 = load i32, ptr %6, align 4 switch i32 %30, label %99 [ i32 109, label %31 i32 112, label %87 i32 97, label %91 i32 110, label %95 ] 31: ; preds = %29 %32 = load ptr, ptr @optarg, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 99 br i1 %35, label %41, label %36 36: ; preds = %31 %37 = load ptr, ptr @optarg, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 67 br i1 %40, label %41, label %42 41: ; preds = %36, %31 store i32 1, ptr %10, align 4 br label %86 42: ; preds = %36 %43 = load ptr, ptr @optarg, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 100 br i1 %46, label %52, label %47 47: ; preds = %42 %48 = load ptr, ptr @optarg, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 68 br i1 %51, label %52, label %53 52: ; preds = %47, %42 store i32 2, ptr %10, align 4 br label %85 53: ; preds = %47 %54 = load ptr, ptr @optarg, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 120 br i1 %57, label %63, label %58 58: ; preds = %53 %59 = load ptr, ptr @optarg, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 88 br i1 %62, label %63, label %64 63: ; preds = %58, %53 store i32 3, ptr %10, align 4 br label %84 64: ; preds = %58 %65 = load ptr, ptr @optarg, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 108 br i1 %68, label %74, label %69 69: ; preds = %64 %70 = load ptr, ptr @optarg, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 76 br i1 %73, label %74, label %75 74: ; preds = %69, %64 store i32 4, ptr %10, align 4 br label %83 75: ; preds = %69 %76 = load i32, ptr @stderr, align 4 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds ptr, ptr %77, i64 0 %79 = load ptr, ptr %78, align 8 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.2, ptr noundef %79) %81 = load i32, ptr @EXIT_FAILURE, align 4 %82 = call i32 @exit(i32 noundef %81) #3 unreachable 83: ; preds = %74 br label %84 84: ; preds = %83, %63 br label %85 85: ; preds = %84, %52 br label %86 86: ; preds = %85, %41 br label %107 87: ; preds = %29 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr @optarg, align 8 %90 = call i32 @strncpy(ptr noundef %88, ptr noundef %89, i32 noundef 6) br label %107 91: ; preds = %29 %92 = load ptr, ptr %7, align 8 %93 = load ptr, ptr @optarg, align 8 %94 = call i32 @strncpy(ptr noundef %92, ptr noundef %93, i32 noundef 21) store i32 0, ptr %12, align 4 br label %107 95: ; preds = %29 %96 = load ptr, ptr %9, align 8 %97 = load ptr, ptr @optarg, align 8 %98 = call i32 @strncpy(ptr noundef %96, ptr noundef %97, i32 noundef 100) store i32 0, ptr %13, align 4 br label %107 99: ; preds = %29 %100 = load i32, ptr @stderr, align 4 %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds ptr, ptr %101, i64 0 %103 = load ptr, ptr %102, align 8 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.2, ptr noundef %103) %105 = load i32, ptr @EXIT_FAILURE, align 4 %106 = call i32 @exit(i32 noundef %105) #3 unreachable 107: ; preds = %95, %91, %87, %86 br label %24, !llvm.loop !6 108: ; preds = %24 %109 = load i32, ptr %10, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label %120, label %111 111: ; preds = %108 %112 = load i32, ptr %10, align 4 %113 = icmp ne i32 %112, 4 br i1 %113, label %114, label %130 114: ; preds = %111 %115 = load i32, ptr %10, align 4 %116 = icmp ne i32 %115, 3 br i1 %116, label %117, label %130 117: ; preds = %114 %118 = load i32, ptr %12, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %130 120: ; preds = %117, %108 %121 = load ptr, ptr %7, align 8 %122 = call i32 @free(ptr noundef %121) %123 = load i32, ptr @stderr, align 4 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 0 %126 = load ptr, ptr %125, align 8 %127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %123, ptr noundef @.str.2, ptr noundef %126) %128 = load i32, ptr @EXIT_FAILURE, align 4 %129 = call i32 @exit(i32 noundef %128) #3 unreachable 130: ; preds = %117, %114, %111 %131 = load i32, ptr %10, align 4 %132 = icmp eq i32 %131, 4 br i1 %132, label %133, label %146 133: ; preds = %130 %134 = call i64 @malloc(i32 noundef 200) %135 = inttoptr i64 %134 to ptr store ptr %135, ptr %15, align 8 %136 = load ptr, ptr %15, align 8 %137 = call i32 @memset(ptr noundef %136, i32 noundef 0, i32 noundef 200) %138 = load ptr, ptr %15, align 8 %139 = load ptr, ptr %9, align 8 %140 = call i32 @sprintf(ptr noundef %138, ptr noundef @.str.3, ptr noundef %139, ptr noundef @.str.4) store i32 %140, ptr %14, align 4 %141 = load i32, ptr @stdout, align 4 %142 = load ptr, ptr %15, align 8 %143 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.5, ptr noundef %142) %144 = load ptr, ptr %15, align 8 %145 = call i32 @system(ptr noundef %144) br label %172 146: ; preds = %130 %147 = load i32, ptr %10, align 4 %148 = icmp eq i32 %147, 1 br i1 %148, label %149, label %156 149: ; preds = %146 %150 = load ptr, ptr %8, align 8 %151 = call i32 @atoi(ptr noundef %150) store i32 %151, ptr %11, align 4 %152 = load ptr, ptr %7, align 8 %153 = load i32, ptr %11, align 4 %154 = load ptr, ptr %9, align 8 %155 = call i32 @add_proxy_cmd(ptr noundef %152, i32 noundef %153, ptr noundef %154) br label %171 156: ; preds = %146 %157 = load i32, ptr %10, align 4 %158 = icmp eq i32 %157, 2 br i1 %158, label %159, label %166 159: ; preds = %156 %160 = load ptr, ptr %8, align 8 %161 = call i32 @atoi(ptr noundef %160) store i32 %161, ptr %11, align 4 %162 = load ptr, ptr %7, align 8 %163 = load i32, ptr %11, align 4 %164 = load ptr, ptr %9, align 8 %165 = call i32 @delete_proxy_cmd(ptr noundef %162, i32 noundef %163, ptr noundef %164) br label %170 166: ; preds = %156 %167 = load i32, ptr @stdout, align 4 %168 = load ptr, ptr %7, align 8 %169 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %167, ptr noundef @.str.6, ptr noundef %168) br label %170 170: ; preds = %166, %159 br label %171 171: ; preds = %170, %149 br label %172 172: ; preds = %171, %133 %173 = load ptr, ptr %7, align 8 %174 = call i32 @free(ptr noundef %173) %175 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @add_proxy_cmd(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @delete_proxy_cmd(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp27c26ze5.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"in main\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"m:a:p:n:\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Usage %s -m [{c|d} -a address | x]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"ip netns exec %s %s -L -t nat --line-numbers\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"/sbin/iptables\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Unknown command %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 1, ptr %12, align 4 store i32 1, ptr %13, align 4 %16 = load i32, ptr @stdout, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str) store i32 0, ptr %10, align 4 %18 = call i64 @malloc(i32 noundef 21) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %7, align 8 %20 = call i64 @malloc(i32 noundef 6) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = call i64 @malloc(i32 noundef 100) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %9, align 8 %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str.1) store i32 %26, ptr %6, align 4 %27 = icmp ne i32 %26, -1 br i1 %27, label %.lr.ph, label %111 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %106 %29 = load i32, ptr %6, align 4 switch i32 %29, label %98 [ i32 109, label %30 i32 112, label %86 i32 97, label %90 i32 110, label %94 ] 30: ; preds = %28 %31 = load ptr, ptr @optarg, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 99 br i1 %34, label %40, label %35 35: ; preds = %30 %36 = load ptr, ptr @optarg, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 67 br i1 %39, label %40, label %41 40: ; preds = %35, %30 store i32 1, ptr %10, align 4 br label %85 41: ; preds = %35 %42 = load ptr, ptr @optarg, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 100 br i1 %45, label %51, label %46 46: ; preds = %41 %47 = load ptr, ptr @optarg, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 68 br i1 %50, label %51, label %52 51: ; preds = %46, %41 store i32 2, ptr %10, align 4 br label %84 52: ; preds = %46 %53 = load ptr, ptr @optarg, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 120 br i1 %56, label %62, label %57 57: ; preds = %52 %58 = load ptr, ptr @optarg, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 88 br i1 %61, label %62, label %63 62: ; preds = %57, %52 store i32 3, ptr %10, align 4 br label %83 63: ; preds = %57 %64 = load ptr, ptr @optarg, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 108 br i1 %67, label %73, label %68 68: ; preds = %63 %69 = load ptr, ptr @optarg, align 8 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 76 br i1 %72, label %73, label %74 73: ; preds = %68, %63 store i32 4, ptr %10, align 4 br label %82 74: ; preds = %68 %75 = load i32, ptr @stderr, align 4 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 0 %78 = load ptr, ptr %77, align 8 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.2, ptr noundef %78) %80 = load i32, ptr @EXIT_FAILURE, align 4 %81 = call i32 @exit(i32 noundef %80) #3 unreachable 82: ; preds = %73 br label %83 83: ; preds = %82, %62 br label %84 84: ; preds = %83, %51 br label %85 85: ; preds = %84, %40 br label %106 86: ; preds = %28 %87 = load ptr, ptr %8, align 8 %88 = load ptr, ptr @optarg, align 8 %89 = call i32 @strncpy(ptr noundef %87, ptr noundef %88, i32 noundef 6) br label %106 90: ; preds = %28 %91 = load ptr, ptr %7, align 8 %92 = load ptr, ptr @optarg, align 8 %93 = call i32 @strncpy(ptr noundef %91, ptr noundef %92, i32 noundef 21) store i32 0, ptr %12, align 4 br label %106 94: ; preds = %28 %95 = load ptr, ptr %9, align 8 %96 = load ptr, ptr @optarg, align 8 %97 = call i32 @strncpy(ptr noundef %95, ptr noundef %96, i32 noundef 100) store i32 0, ptr %13, align 4 br label %106 98: ; preds = %28 %99 = load i32, ptr @stderr, align 4 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 0 %102 = load ptr, ptr %101, align 8 %103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.2, ptr noundef %102) %104 = load i32, ptr @EXIT_FAILURE, align 4 %105 = call i32 @exit(i32 noundef %104) #3 unreachable 106: ; preds = %94, %90, %86, %85 %107 = load i32, ptr %4, align 4 %108 = load ptr, ptr %5, align 8 %109 = call i32 @getopt(i32 noundef %107, ptr noundef %108, ptr noundef @.str.1) store i32 %109, ptr %6, align 4 %110 = icmp ne i32 %109, -1 br i1 %110, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %106 br label %111 111: ; preds = %._crit_edge, %2 %112 = load i32, ptr %10, align 4 %113 = icmp eq i32 %112, 0 br i1 %113, label %123, label %114 114: ; preds = %111 %115 = load i32, ptr %10, align 4 %116 = icmp ne i32 %115, 4 br i1 %116, label %117, label %133 117: ; preds = %114 %118 = load i32, ptr %10, align 4 %119 = icmp ne i32 %118, 3 br i1 %119, label %120, label %133 120: ; preds = %117 %121 = load i32, ptr %12, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %133 123: ; preds = %120, %111 %124 = load ptr, ptr %7, align 8 %125 = call i32 @free(ptr noundef %124) %126 = load i32, ptr @stderr, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds ptr, ptr %127, i64 0 %129 = load ptr, ptr %128, align 8 %130 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.2, ptr noundef %129) %131 = load i32, ptr @EXIT_FAILURE, align 4 %132 = call i32 @exit(i32 noundef %131) #3 unreachable 133: ; preds = %120, %117, %114 %134 = load i32, ptr %10, align 4 %135 = icmp eq i32 %134, 4 br i1 %135, label %136, label %149 136: ; preds = %133 %137 = call i64 @malloc(i32 noundef 200) %138 = inttoptr i64 %137 to ptr store ptr %138, ptr %15, align 8 %139 = load ptr, ptr %15, align 8 %140 = call i32 @memset(ptr noundef %139, i32 noundef 0, i32 noundef 200) %141 = load ptr, ptr %15, align 8 %142 = load ptr, ptr %9, align 8 %143 = call i32 @sprintf(ptr noundef %141, ptr noundef @.str.3, ptr noundef %142, ptr noundef @.str.4) store i32 %143, ptr %14, align 4 %144 = load i32, ptr @stdout, align 4 %145 = load ptr, ptr %15, align 8 %146 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %144, ptr noundef @.str.5, ptr noundef %145) %147 = load ptr, ptr %15, align 8 %148 = call i32 @system(ptr noundef %147) br label %175 149: ; preds = %133 %150 = load i32, ptr %10, align 4 %151 = icmp eq i32 %150, 1 br i1 %151, label %152, label %159 152: ; preds = %149 %153 = load ptr, ptr %8, align 8 %154 = call i32 @atoi(ptr noundef %153) store i32 %154, ptr %11, align 4 %155 = load ptr, ptr %7, align 8 %156 = load i32, ptr %11, align 4 %157 = load ptr, ptr %9, align 8 %158 = call i32 @add_proxy_cmd(ptr noundef %155, i32 noundef %156, ptr noundef %157) br label %174 159: ; preds = %149 %160 = load i32, ptr %10, align 4 %161 = icmp eq i32 %160, 2 br i1 %161, label %162, label %169 162: ; preds = %159 %163 = load ptr, ptr %8, align 8 %164 = call i32 @atoi(ptr noundef %163) store i32 %164, ptr %11, align 4 %165 = load ptr, ptr %7, align 8 %166 = load i32, ptr %11, align 4 %167 = load ptr, ptr %9, align 8 %168 = call i32 @delete_proxy_cmd(ptr noundef %165, i32 noundef %166, ptr noundef %167) br label %173 169: ; preds = %159 %170 = load i32, ptr @stdout, align 4 %171 = load ptr, ptr %7, align 8 %172 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %170, ptr noundef @.str.6, ptr noundef %171) br label %173 173: ; preds = %169, %162 br label %174 174: ; preds = %173, %152 br label %175 175: ; preds = %174, %136 %176 = load ptr, ptr %7, align 8 %177 = call i32 @free(ptr noundef %176) %178 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @add_proxy_cmd(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @delete_proxy_cmd(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8p_wslj6.c' source_filename = "/tmp/tmp8p_wslj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } @PTHREAD_MUTEX_INITIALIZER = dso_local global i32 0, align 4 @PTHREAD_COND_INITIALIZER = dso_local global i32 0, align 4 @EINVAL = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @PTHREAD_MUTEX_INITIALIZER, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr @PTHREAD_COND_INITIALIZER, align 4 store i32 %6, ptr %4, align 4 %7 = call i64 @time(ptr noundef null) %8 = add nsw i64 %7, 2 %9 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 store i64 %8, ptr %9, align 8 %10 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 store i64 0, ptr %10, align 8 %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %12 = load i64, ptr %11, align 8 %13 = add nsw i64 %12, 1000000000 store i64 %13, ptr %11, align 8 %14 = call i64 @pthread_mutex_lock(ptr noundef %3) %15 = icmp eq i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i64 @pthread_cond_timedwait(ptr noundef %4, ptr noundef %3, ptr noundef %2) %19 = load i64, ptr @EINVAL, align 8 %20 = icmp eq i64 %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = call i64 @pthread_mutex_unlock(ptr noundef %3) %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @pthread_mutex_lock(ptr noundef) #1 declare i64 @pthread_cond_timedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @pthread_mutex_unlock(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8p_wslj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } @PTHREAD_MUTEX_INITIALIZER = dso_local global i32 0, align 4 @PTHREAD_COND_INITIALIZER = dso_local global i32 0, align 4 @EINVAL = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @PTHREAD_MUTEX_INITIALIZER, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr @PTHREAD_COND_INITIALIZER, align 4 store i32 %6, ptr %4, align 4 %7 = call i64 @time(ptr noundef null) %8 = add nsw i64 %7, 2 %9 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 store i64 %8, ptr %9, align 8 %10 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 store i64 0, ptr %10, align 8 %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %12 = load i64, ptr %11, align 8 %13 = add nsw i64 %12, 1000000000 store i64 %13, ptr %11, align 8 %14 = call i64 @pthread_mutex_lock(ptr noundef %3) %15 = icmp eq i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i64 @pthread_cond_timedwait(ptr noundef %4, ptr noundef %3, ptr noundef %2) %19 = load i64, ptr @EINVAL, align 8 %20 = icmp eq i64 %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = call i64 @pthread_mutex_unlock(ptr noundef %3) %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @pthread_mutex_lock(ptr noundef) #1 declare i64 @pthread_cond_timedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @pthread_mutex_unlock(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx4dmkyw9.c' source_filename = "/tmp/tmpx4dmkyw9.c" target datalayout = "e-m:e-p270: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/tmpx4dmkyw9.c" target datalayout = "e-m:e-p270: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/tmpap07rprj.c' source_filename = "/tmp/tmpap07rprj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SCHED_FIFO = dso_local global i32 0, align 4 @SCHED_OTHER = dso_local global i32 0, align 4 @SCHED_RR = 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/tmpap07rprj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SCHED_FIFO = dso_local global i32 0, align 4 @SCHED_OTHER = dso_local global i32 0, align 4 @SCHED_RR = 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/tmpkbly5cwb.c' source_filename = "/tmp/tmpkbly5cwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B64_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = sdiv i32 %15, 4 store i32 %16, ptr %10, align 4 %17 = load i32, ptr %8, align 4 %18 = srem i32 %17, 4 store i32 %18, ptr %11, align 4 store i32 0, ptr %12, align 4 %19 = load i32, ptr %11, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %4 store i32 1, ptr %5, align 4 br label %62 22: ; preds = %4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = mul nsw i32 %24, 3 %26 = icmp slt i32 %23, %25 br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = mul nsw i32 %29, 3 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %30, %31 store i32 -1, ptr %5, align 4 br label %62 33: ; preds = %22 store i32 0, ptr %14, align 4 br label %34 34: ; preds = %57, %33 %35 = load i32, ptr %14, align 4 %36 = load i32, ptr %10, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %60 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %14, align 4 %41 = mul nsw i32 %40, 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %14, align 4 %46 = mul nsw i32 %45, 3 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 %49 = call i32 @decodeblock(ptr noundef %43, ptr noundef %48, i32 noundef 4) store i32 %49, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %53 52: ; preds = %38 store i32 -1, ptr %5, align 4 br label %62 53: ; preds = %38 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %12, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %12, align 4 br label %57 57: ; preds = %53 %58 = load i32, ptr %14, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %14, align 4 br label %34, !llvm.loop !6 60: ; preds = %34 %61 = load i32, ptr %12, align 4 store i32 %61, ptr %5, align 4 br label %62 62: ; preds = %60, %52, %27, %21 %63 = load i32, ptr %5, align 4 ret i32 %63 } declare i32 @decodeblock(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/tmpkbly5cwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B64_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = sdiv i32 %15, 4 store i32 %16, ptr %10, align 4 %17 = load i32, ptr %8, align 4 %18 = srem i32 %17, 4 store i32 %18, ptr %11, align 4 store i32 0, ptr %12, align 4 %19 = load i32, ptr %11, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %4 store i32 1, ptr %5, align 4 br label %64 22: ; preds = %4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = mul nsw i32 %24, 3 %26 = icmp slt i32 %23, %25 br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = mul nsw i32 %29, 3 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %30, %31 store i32 -1, ptr %5, align 4 br label %64 33: ; preds = %22 store i32 0, ptr %14, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %62 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %56 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %14, align 4 %40 = mul nsw i32 %39, 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %14, align 4 %45 = mul nsw i32 %44, 3 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 %48 = call i32 @decodeblock(ptr noundef %42, ptr noundef %47, i32 noundef 4) store i32 %48, ptr %13, align 4 %49 = load i32, ptr %13, align 4 %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %52 51: ; preds = %37 store i32 -1, ptr %5, align 4 br label %64 52: ; preds = %37 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %12, align 4 %55 = add nsw i32 %54, %53 store i32 %55, ptr %12, align 4 br label %56 56: ; preds = %52 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %14, align 4 %59 = load i32, ptr %14, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %33 %63 = load i32, ptr %12, align 4 store i32 %63, ptr %5, align 4 br label %64 64: ; preds = %62, %51, %27, %21 %65 = load i32, ptr %5, align 4 ret i32 %65 } declare i32 @decodeblock(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/tmpemekdsqi.c' source_filename = "/tmp/tmpemekdsqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aheavy\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0Alight\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 %13 = sitofp i32 %12 to float store float %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to float %16 = load float, ptr %5, align 4 %17 = fadd float %15, %16 %18 = fptosi float %17 to i32 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = sdiv i32 %21, 10 store i32 %22, ptr %2, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load i32, ptr %4, align 4 %25 = sitofp i32 %24 to float %26 = load i32, ptr %3, align 4 %27 = sitofp i32 %26 to float %28 = fdiv float %25, %27 store float %28, ptr %5, align 4 %29 = load float, ptr %5, align 4 %30 = fpext float %29 to double %31 = fcmp ogt double %30, 7.000000e+00 br i1 %31, label %32, label %34 32: ; preds = %23 %33 = call i32 @printf(ptr noundef @.str.1) br label %36 34: ; preds = %23 %35 = call i32 @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34, %32 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpemekdsqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aheavy\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0Alight\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 10 %12 = sitofp i32 %11 to float store float %12, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = sitofp i32 %13 to float %15 = load float, ptr %5, align 4 %16 = fadd float %14, %15 %17 = fptosi float %16 to i32 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = sdiv i32 %20, 10 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %4, align 4 %26 = sitofp i32 %25 to float %27 = load i32, ptr %3, align 4 %28 = sitofp i32 %27 to float %29 = fdiv float %26, %28 store float %29, ptr %5, align 4 %30 = load float, ptr %5, align 4 %31 = fpext float %30 to double %32 = fcmp ogt double %31, 7.000000e+00 br i1 %32, label %33, label %35 33: ; preds = %24 %34 = call i32 @printf(ptr noundef @.str.1) br label %37 35: ; preds = %24 %36 = call i32 @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35, %33 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6yxhdsvn.c' source_filename = "/tmp/tmp6yxhdsvn.c" target datalayout = "e-m:e-p270: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/tmp6yxhdsvn.c" target datalayout = "e-m:e-p270: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/tmps2vs8si8.c' source_filename = "/tmp/tmps2vs8si8.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Expected: '%d' but was '%d'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @intsShouldEqual(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %2 br label %15 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12) %14 = call i32 @assert(i32 noundef 0) br label %15 15: ; preds = %9, %8 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2vs8si8.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Expected: '%d' but was '%d'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @intsShouldEqual(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %2 br label %15 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12) %14 = call i32 @assert(i32 noundef 0) br label %15 15: ; preds = %9, %8 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdpwowja6.c' source_filename = "/tmp/tmpdpwowja6.c" target datalayout = "e-m:e-p270: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/tmpdpwowja6.c" target datalayout = "e-m:e-p270: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/tmpgc4unxpr.c' source_filename = "/tmp/tmpgc4unxpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 17, ptr %1, align 4 store i32 18, ptr %2, align 4 store i32 19, ptr %3, align 4 store i32 20, ptr %4, align 4 store i32 21, ptr %5, align 4 store i32 22, ptr %6, align 4 store i32 23, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr %1, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @b1(i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @b1(i32 noundef %15, i32 noundef %16) store i32 1, ptr %3, align 4 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %4, align 4 store i32 0, ptr %11, align 4 br label %19 19: ; preds = %33, %0 %20 = load i32, ptr %11, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load i32, ptr %11, align 4 store i32 %23, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %24, 7 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 2 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, %28 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %22 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %11, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %39, %40 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %41, %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %43, %44 ret i32 %45 } declare i32 @b1(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/tmpgc4unxpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 17, ptr %1, align 4 store i32 18, ptr %2, align 4 store i32 19, ptr %3, align 4 store i32 20, ptr %4, align 4 store i32 21, ptr %5, align 4 store i32 22, ptr %6, align 4 store i32 23, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr %1, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @b1(i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @b1(i32 noundef %15, i32 noundef %16) store i32 1, ptr %3, align 4 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %4, align 4 store i32 0, ptr %11, align 4 %19 = load i32, ptr %11, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %32 %22 = load i32, ptr %11, align 4 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, 7 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 2 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %21 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %11, align 4 %35 = load i32, ptr %11, align 4 %36 = icmp slt i32 %35, 10 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %0 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %38, %39 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %40, %41 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %42, %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %44, %45 ret i32 %46 } declare i32 @b1(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/tmplc2clmhx.c' source_filename = "/tmp/tmplc2clmhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Sound is either empty or incorrectly zero channels\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printZeroChannelsError() #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/tmplc2clmhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Sound is either empty or incorrectly zero channels\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printZeroChannelsError() #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/tmpxqpea77m.c' source_filename = "/tmp/tmpxqpea77m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mul() #0 { %1 = alloca i32, align 4 %2 = call i32 @mul_i8(i32 noundef -1, i32 noundef 1) %3 = icmp ne i32 %2, -1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @fail_real(i32 noundef 0, i32 noundef 230) store i32 %5, ptr %1, align 4 br label %83 6: ; preds = %0 %7 = call i32 @mul_i8(i32 noundef -1, i32 noundef -1) %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 @fail_real(i32 noundef 0, i32 noundef 232) store i32 %10, ptr %1, align 4 br label %83 11: ; preds = %6 %12 = call i32 @mul_i8(i32 noundef 1, i32 noundef 1) %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 @fail_real(i32 noundef 0, i32 noundef 234) store i32 %15, ptr %1, align 4 br label %83 16: ; preds = %11 %17 = call i32 @mul_i8(i32 noundef 17, i32 noundef 35) %18 = icmp ne i32 %17, 83 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @fail_real(i32 noundef 0, i32 noundef 236) store i32 %20, ptr %1, align 4 br label %83 21: ; preds = %16 %22 = call i32 @mul_i16(i32 noundef -1, i32 noundef 1) %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @fail_real(i32 noundef 0, i32 noundef 239) store i32 %25, ptr %1, align 4 br label %83 26: ; preds = %21 %27 = call i32 @mul_i16(i32 noundef -1, i32 noundef -1) %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @fail_real(i32 noundef 0, i32 noundef 241) store i32 %30, ptr %1, align 4 br label %83 31: ; preds = %26 %32 = call i32 @mul_i16(i32 noundef 1, i32 noundef 1) %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @fail_real(i32 noundef 0, i32 noundef 243) store i32 %35, ptr %1, align 4 br label %83 36: ; preds = %31 %37 = call i32 @mul_i16(i32 noundef 179, i32 noundef 871) %38 = icmp ne i32 %37, 24837 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @fail_real(i32 noundef 0, i32 noundef 245) store i32 %40, ptr %1, align 4 br label %83 41: ; preds = %36 %42 = call i32 @mul_i32(i32 noundef -1, i32 noundef 1) %43 = icmp ne i32 %42, -1 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @fail_real(i32 noundef 0, i32 noundef 248) store i32 %45, ptr %1, align 4 br label %83 46: ; preds = %41 %47 = call i32 @mul_i32(i32 noundef -1, i32 noundef -1) %48 = icmp ne i32 %47, 1 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @fail_real(i32 noundef 0, i32 noundef 250) store i32 %50, ptr %1, align 4 br label %83 51: ; preds = %46 %52 = call i32 @mul_i32(i32 noundef 1, i32 noundef 1) %53 = icmp ne i32 %52, 1 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 @fail_real(i32 noundef 0, i32 noundef 252) store i32 %55, ptr %1, align 4 br label %83 56: ; preds = %51 %57 = call i32 @mul_i32(i32 noundef 179536, i32 noundef 871912) %58 = icmp ne i32 %57, 1920770176 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 @fail_real(i32 noundef 0, i32 noundef 254) store i32 %60, ptr %1, align 4 br label %83 61: ; preds = %56 %62 = call i32 @mul_i64(i32 noundef -1, i32 noundef 1) %63 = icmp ne i32 %62, -1 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 @fail_real(i32 noundef 0, i32 noundef 257) store i32 %65, ptr %1, align 4 br label %83 66: ; preds = %61 %67 = call i32 @mul_i64(i32 noundef -1, i32 noundef -1) %68 = icmp ne i32 %67, 1 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = call i32 @fail_real(i32 noundef 0, i32 noundef 259) store i32 %70, ptr %1, align 4 br label %83 71: ; preds = %66 %72 = call i32 @mul_i64(i32 noundef 1, i32 noundef 1) %73 = icmp ne i32 %72, 1 br i1 %73, label %74, label %76 74: ; preds = %71 %75 = call i32 @fail_real(i32 noundef 0, i32 noundef 261) store i32 %75, ptr %1, align 4 br label %83 76: ; preds = %71 %77 = call i32 @mul_i64(i32 noundef 773752605, i32 noundef 129190527) %78 = sext i32 %77 to i64 %79 = icmp ne i64 %78, 8965922127819204963 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = call i32 @fail_real(i32 noundef 0, i32 noundef 263) store i32 %81, ptr %1, align 4 br label %83 82: ; preds = %76 store i32 16, ptr %1, align 4 br label %83 83: ; preds = %82, %80, %74, %69, %64, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14, %9, %4 %84 = load i32, ptr %1, align 4 ret i32 %84 } declare i32 @mul_i8(i32 noundef, i32 noundef) #1 declare i32 @fail_real(i32 noundef, i32 noundef) #1 declare i32 @mul_i16(i32 noundef, i32 noundef) #1 declare i32 @mul_i32(i32 noundef, i32 noundef) #1 declare i32 @mul_i64(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/tmpxqpea77m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mul() #0 { %1 = alloca i32, align 4 %2 = call i32 @mul_i8(i32 noundef -1, i32 noundef 1) %3 = icmp ne i32 %2, -1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @fail_real(i32 noundef 0, i32 noundef 230) store i32 %5, ptr %1, align 4 br label %83 6: ; preds = %0 %7 = call i32 @mul_i8(i32 noundef -1, i32 noundef -1) %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 @fail_real(i32 noundef 0, i32 noundef 232) store i32 %10, ptr %1, align 4 br label %83 11: ; preds = %6 %12 = call i32 @mul_i8(i32 noundef 1, i32 noundef 1) %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 @fail_real(i32 noundef 0, i32 noundef 234) store i32 %15, ptr %1, align 4 br label %83 16: ; preds = %11 %17 = call i32 @mul_i8(i32 noundef 17, i32 noundef 35) %18 = icmp ne i32 %17, 83 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @fail_real(i32 noundef 0, i32 noundef 236) store i32 %20, ptr %1, align 4 br label %83 21: ; preds = %16 %22 = call i32 @mul_i16(i32 noundef -1, i32 noundef 1) %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @fail_real(i32 noundef 0, i32 noundef 239) store i32 %25, ptr %1, align 4 br label %83 26: ; preds = %21 %27 = call i32 @mul_i16(i32 noundef -1, i32 noundef -1) %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @fail_real(i32 noundef 0, i32 noundef 241) store i32 %30, ptr %1, align 4 br label %83 31: ; preds = %26 %32 = call i32 @mul_i16(i32 noundef 1, i32 noundef 1) %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @fail_real(i32 noundef 0, i32 noundef 243) store i32 %35, ptr %1, align 4 br label %83 36: ; preds = %31 %37 = call i32 @mul_i16(i32 noundef 179, i32 noundef 871) %38 = icmp ne i32 %37, 24837 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @fail_real(i32 noundef 0, i32 noundef 245) store i32 %40, ptr %1, align 4 br label %83 41: ; preds = %36 %42 = call i32 @mul_i32(i32 noundef -1, i32 noundef 1) %43 = icmp ne i32 %42, -1 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @fail_real(i32 noundef 0, i32 noundef 248) store i32 %45, ptr %1, align 4 br label %83 46: ; preds = %41 %47 = call i32 @mul_i32(i32 noundef -1, i32 noundef -1) %48 = icmp ne i32 %47, 1 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @fail_real(i32 noundef 0, i32 noundef 250) store i32 %50, ptr %1, align 4 br label %83 51: ; preds = %46 %52 = call i32 @mul_i32(i32 noundef 1, i32 noundef 1) %53 = icmp ne i32 %52, 1 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 @fail_real(i32 noundef 0, i32 noundef 252) store i32 %55, ptr %1, align 4 br label %83 56: ; preds = %51 %57 = call i32 @mul_i32(i32 noundef 179536, i32 noundef 871912) %58 = icmp ne i32 %57, 1920770176 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 @fail_real(i32 noundef 0, i32 noundef 254) store i32 %60, ptr %1, align 4 br label %83 61: ; preds = %56 %62 = call i32 @mul_i64(i32 noundef -1, i32 noundef 1) %63 = icmp ne i32 %62, -1 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 @fail_real(i32 noundef 0, i32 noundef 257) store i32 %65, ptr %1, align 4 br label %83 66: ; preds = %61 %67 = call i32 @mul_i64(i32 noundef -1, i32 noundef -1) %68 = icmp ne i32 %67, 1 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = call i32 @fail_real(i32 noundef 0, i32 noundef 259) store i32 %70, ptr %1, align 4 br label %83 71: ; preds = %66 %72 = call i32 @mul_i64(i32 noundef 1, i32 noundef 1) %73 = icmp ne i32 %72, 1 br i1 %73, label %74, label %76 74: ; preds = %71 %75 = call i32 @fail_real(i32 noundef 0, i32 noundef 261) store i32 %75, ptr %1, align 4 br label %83 76: ; preds = %71 %77 = call i32 @mul_i64(i32 noundef 773752605, i32 noundef 129190527) %78 = sext i32 %77 to i64 %79 = icmp ne i64 %78, 8965922127819204963 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = call i32 @fail_real(i32 noundef 0, i32 noundef 263) store i32 %81, ptr %1, align 4 br label %83 82: ; preds = %76 store i32 16, ptr %1, align 4 br label %83 83: ; preds = %82, %80, %74, %69, %64, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14, %9, %4 %84 = load i32, ptr %1, align 4 ret i32 %84 } declare i32 @mul_i8(i32 noundef, i32 noundef) #1 declare i32 @fail_real(i32 noundef, i32 noundef) #1 declare i32 @mul_i16(i32 noundef, i32 noundef) #1 declare i32 @mul_i32(i32 noundef, i32 noundef) #1 declare i32 @mul_i64(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/tmp88tuujpg.c' source_filename = "/tmp/tmp88tuujpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIODMATriggerEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add nsw i64 %6, 1332 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88tuujpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIODMATriggerEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add nsw i64 %6, 1332 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfdn820ra.c' source_filename = "/tmp/tmpfdn820ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x17\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x17() #0 { %1 = call i64 @isprint(i32 noundef 23) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 120, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfdn820ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x17\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x17() #0 { %1 = call i64 @isprint(i32 noundef 23) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 120, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7_shfcq.c' source_filename = "/tmp/tmpf7_shfcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msim_existsEastWall(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = add i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = call i32 @msim_existsWestWall(i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @msim_existsWestWall(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/tmpf7_shfcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msim_existsEastWall(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = add i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = call i32 @msim_existsWestWall(i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @msim_existsWestWall(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/tmpm7tli5jo.c' source_filename = "/tmp/tmpm7tli5jo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itransform_affine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [360 x i8], align 16 %9 = alloca [36 x double], align 16 %10 = alloca [6 x double], align 16 %11 = alloca [6 x double], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %12, align 4 br label %15 15: ; preds = %110, %3 %16 = load i32, ptr %12, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %113 18: ; preds = %15 %19 = load i32, ptr %12, align 4 %20 = mul nsw i32 %19, 12 store i32 %20, ptr %13, align 4 %21 = load i32, ptr %12, align 4 %22 = mul nsw i32 %21, 12 %23 = add nsw i32 %22, 6 store i32 %23, ptr %14, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %12, align 4 %26 = mul nsw i32 %25, 2 %27 = add nsw i32 %26, 0 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %24, i64 %28 %30 = load double, ptr %29, align 8 %31 = load i32, ptr %14, align 4 %32 = add nsw i32 %31, 3 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %33 store double %30, ptr %34, align 8 %35 = load i32, ptr %13, align 4 %36 = add nsw i32 %35, 0 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %37 store double %30, ptr %38, align 8 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %12, align 4 %41 = mul nsw i32 %40, 2 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %39, i64 %43 %45 = load double, ptr %44, align 8 %46 = load i32, ptr %14, align 4 %47 = add nsw i32 %46, 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %48 store double %45, ptr %49, align 8 %50 = load i32, ptr %13, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %52 store double %45, ptr %53, align 8 %54 = load i32, ptr %14, align 4 %55 = add nsw i32 %54, 5 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %56 store double 1.000000e+00, ptr %57, align 8 %58 = load i32, ptr %13, align 4 %59 = add nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %60 store double 1.000000e+00, ptr %61, align 8 %62 = load i32, ptr %13, align 4 %63 = add nsw i32 %62, 5 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %64 store double 0.000000e+00, ptr %65, align 8 %66 = load i32, ptr %13, align 4 %67 = add nsw i32 %66, 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %68 store double 0.000000e+00, ptr %69, align 8 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 3 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %72 store double 0.000000e+00, ptr %73, align 8 %74 = load i32, ptr %14, align 4 %75 = add nsw i32 %74, 2 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %76 store double 0.000000e+00, ptr %77, align 8 %78 = load i32, ptr %14, align 4 %79 = add nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %80 store double 0.000000e+00, ptr %81, align 8 %82 = load i32, ptr %14, align 4 %83 = add nsw i32 %82, 0 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %84 store double 0.000000e+00, ptr %85, align 8 %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %12, align 4 %88 = mul nsw i32 %87, 2 %89 = add nsw i32 %88, 0 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %86, i64 %90 %92 = load double, ptr %91, align 8 %93 = load i32, ptr %12, align 4 %94 = mul nsw i32 %93, 2 %95 = add nsw i32 %94, 0 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %96 store double %92, ptr %97, align 8 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %12, align 4 %100 = mul nsw i32 %99, 2 %101 = add nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %98, i64 %102 %104 = load double, ptr %103, align 8 %105 = load i32, ptr %12, align 4 %106 = mul nsw i32 %105, 2 %107 = add nsw i32 %106, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %108 store double %104, ptr %109, align 8 br label %110 110: ; preds = %18 %111 = load i32, ptr %12, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %12, align 4 br label %15, !llvm.loop !6 113: ; preds = %15 %114 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 0 %115 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %116 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %117 = getelementptr inbounds [360 x i8], ptr %8, i64 0, i64 0 %118 = call i64 @imatrix_solve_n_m(ptr noundef %114, ptr noundef %115, ptr noundef %116, i32 noundef 6, i32 noundef 1, ptr noundef %117) %119 = icmp ne i64 %118, 0 br i1 %119, label %120, label %121 120: ; preds = %113 store i32 -1, ptr %4, align 4 br label %144 121: ; preds = %113 store i32 0, ptr %12, align 4 br label %122 122: ; preds = %134, %121 %123 = load i32, ptr %12, align 4 %124 = icmp slt i32 %123, 6 br i1 %124, label %125, label %137 125: ; preds = %122 %126 = load i32, ptr %12, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %12, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 store double %129, ptr %133, align 8 br label %134 134: ; preds = %125 %135 = load i32, ptr %12, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %12, align 4 br label %122, !llvm.loop !8 137: ; preds = %122 %138 = load ptr, ptr %5, align 8 %139 = getelementptr inbounds double, ptr %138, i64 6 store double 0.000000e+00, ptr %139, align 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds double, ptr %140, i64 7 store double 0.000000e+00, ptr %141, align 8 %142 = load ptr, ptr %5, align 8 %143 = getelementptr inbounds double, ptr %142, i64 8 store double 1.000000e+00, ptr %143, align 8 store i32 0, ptr %4, align 4 br label %144 144: ; preds = %137, %120 %145 = load i32, ptr %4, align 4 ret i32 %145 } declare i64 @imatrix_solve_n_m(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm7tli5jo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itransform_affine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [360 x i8], align 16 %9 = alloca [36 x double], align 16 %10 = alloca [6 x double], align 16 %11 = alloca [6 x double], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %12, align 4 %15 = load i32, ptr %12, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %.lr.ph, label %114 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %109 %18 = load i32, ptr %12, align 4 %19 = mul nsw i32 %18, 12 store i32 %19, ptr %13, align 4 %20 = load i32, ptr %12, align 4 %21 = mul nsw i32 %20, 12 %22 = add nsw i32 %21, 6 store i32 %22, ptr %14, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %12, align 4 %25 = mul nsw i32 %24, 2 %26 = add nsw i32 %25, 0 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %23, i64 %27 %29 = load double, ptr %28, align 8 %30 = load i32, ptr %14, align 4 %31 = add nsw i32 %30, 3 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %32 store double %29, ptr %33, align 8 %34 = load i32, ptr %13, align 4 %35 = add nsw i32 %34, 0 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %36 store double %29, ptr %37, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %12, align 4 %40 = mul nsw i32 %39, 2 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %38, i64 %42 %44 = load double, ptr %43, align 8 %45 = load i32, ptr %14, align 4 %46 = add nsw i32 %45, 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %47 store double %44, ptr %48, align 8 %49 = load i32, ptr %13, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %51 store double %44, ptr %52, align 8 %53 = load i32, ptr %14, align 4 %54 = add nsw i32 %53, 5 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %55 store double 1.000000e+00, ptr %56, align 8 %57 = load i32, ptr %13, align 4 %58 = add nsw i32 %57, 2 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %59 store double 1.000000e+00, ptr %60, align 8 %61 = load i32, ptr %13, align 4 %62 = add nsw i32 %61, 5 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %63 store double 0.000000e+00, ptr %64, align 8 %65 = load i32, ptr %13, align 4 %66 = add nsw i32 %65, 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %67 store double 0.000000e+00, ptr %68, align 8 %69 = load i32, ptr %13, align 4 %70 = add nsw i32 %69, 3 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %71 store double 0.000000e+00, ptr %72, align 8 %73 = load i32, ptr %14, align 4 %74 = add nsw i32 %73, 2 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %75 store double 0.000000e+00, ptr %76, align 8 %77 = load i32, ptr %14, align 4 %78 = add nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %79 store double 0.000000e+00, ptr %80, align 8 %81 = load i32, ptr %14, align 4 %82 = add nsw i32 %81, 0 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 %83 store double 0.000000e+00, ptr %84, align 8 %85 = load ptr, ptr %7, align 8 %86 = load i32, ptr %12, align 4 %87 = mul nsw i32 %86, 2 %88 = add nsw i32 %87, 0 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %85, i64 %89 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %12, align 4 %93 = mul nsw i32 %92, 2 %94 = add nsw i32 %93, 0 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %95 store double %91, ptr %96, align 8 %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %12, align 4 %99 = mul nsw i32 %98, 2 %100 = add nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %97, i64 %101 %103 = load double, ptr %102, align 8 %104 = load i32, ptr %12, align 4 %105 = mul nsw i32 %104, 2 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %107 store double %103, ptr %108, align 8 br label %109 109: ; preds = %17 %110 = load i32, ptr %12, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %12, align 4 %112 = load i32, ptr %12, align 4 %113 = icmp slt i32 %112, 3 br i1 %113, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %109 br label %114 114: ; preds = %._crit_edge, %3 %115 = getelementptr inbounds [36 x double], ptr %9, i64 0, i64 0 %116 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %117 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %118 = getelementptr inbounds [360 x i8], ptr %8, i64 0, i64 0 %119 = call i64 @imatrix_solve_n_m(ptr noundef %115, ptr noundef %116, ptr noundef %117, i32 noundef 6, i32 noundef 1, ptr noundef %118) %120 = icmp ne i64 %119, 0 br i1 %120, label %121, label %122 121: ; preds = %114 store i32 -1, ptr %4, align 4 br label %146 122: ; preds = %114 store i32 0, ptr %12, align 4 %123 = load i32, ptr %12, align 4 %124 = icmp slt i32 %123, 6 br i1 %124, label %.lr.ph2, label %139 .lr.ph2: ; preds = %122 br label %125 125: ; preds = %.lr.ph2, %134 %126 = load i32, ptr %12, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %12, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 store double %129, ptr %133, align 8 br label %134 134: ; preds = %125 %135 = load i32, ptr %12, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %12, align 4 %137 = load i32, ptr %12, align 4 %138 = icmp slt i32 %137, 6 br i1 %138, label %125, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %134 br label %139 139: ; preds = %._crit_edge3, %122 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds double, ptr %140, i64 6 store double 0.000000e+00, ptr %141, align 8 %142 = load ptr, ptr %5, align 8 %143 = getelementptr inbounds double, ptr %142, i64 7 store double 0.000000e+00, ptr %143, align 8 %144 = load ptr, ptr %5, align 8 %145 = getelementptr inbounds double, ptr %144, i64 8 store double 1.000000e+00, ptr %145, align 8 store i32 0, ptr %4, align 4 br label %146 146: ; preds = %139, %121 %147 = load i32, ptr %4, align 4 ret i32 %147 } declare i64 @imatrix_solve_n_m(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdxjthp5r.c' source_filename = "/tmp/tmpdxjthp5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/mybdrv\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"\0A **** return code from write = %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"\0A **** retrun code from lseek(%d) = %d \0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c"\0A **** retrun code from read vec[%d] = %d, vec[%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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2122 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 8488, ptr %3, align 4 store i32 1000, ptr %7, align 4 %8 = load i32, ptr @O_RDWR, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %18, %0 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 2122 br i1 %12, label %13, label %21 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 %16 store i32 %14, ptr %17, align 4 br label %18 18: ; preds = %13 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 0 %24 = load i32, ptr %3, align 4 %25 = call i32 @write(i32 noundef %22, ptr noundef %23, i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %26) %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr @SEEK_SET, align 4 %31 = call i32 @lseek(i32 noundef %28, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %5, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %5, align 4 %34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33) %35 = load i32, ptr %4, align 4 %36 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 0 %37 = getelementptr inbounds i32, ptr %36, i64 250 %38 = call i32 @read(i32 noundef %35, ptr noundef %37, i32 noundef 4) store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 250 %41 = load i32, ptr %40, align 8 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 250, i32 noundef %39, i32 noundef 250, i32 noundef %41) %43 = load i32, ptr %4, align 4 %44 = call i32 @close(i32 noundef %43) %45 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdxjthp5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/mybdrv\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"\0A **** return code from write = %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"\0A **** retrun code from lseek(%d) = %d \0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c"\0A **** retrun code from read vec[%d] = %d, vec[%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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2122 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 8488, ptr %3, align 4 store i32 1000, ptr %7, align 4 %8 = load i32, ptr @O_RDWR, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %4, align 4 store i32 0, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 2122 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 %15 store i32 %13, ptr %16, align 4 br label %17 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 2122 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %4, align 4 %24 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 0 %25 = load i32, ptr %3, align 4 %26 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef %25) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr @SEEK_SET, align 4 %32 = call i32 @lseek(i32 noundef %29, i32 noundef %30, i32 noundef %31) store i32 %32, ptr %5, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds i32, ptr %37, i64 250 %39 = call i32 @read(i32 noundef %36, ptr noundef %38, i32 noundef 4) store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = getelementptr inbounds [2122 x i32], ptr %6, i64 0, i64 250 %42 = load i32, ptr %41, align 8 %43 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 250, i32 noundef %40, i32 noundef 250, i32 noundef %42) %44 = load i32, ptr %4, align 4 %45 = call i32 @close(i32 noundef %44) %46 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpob9rod6o.c' source_filename = "/tmp/tmpob9rod6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ledon\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"./led on\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"./led off\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"HTTP/1.1 200 OK\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Content-Length: %d\0D\0A\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @handle_led_cmd(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @system(ptr noundef @.str.1) br label %13 11: ; preds = %2 %12 = call i32 @system(ptr noundef @.str.2) br label %13 13: ; preds = %11, %9 store ptr @.str.3, ptr %5, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 (i32, ptr, ...) @http_send(i32 noundef %14, ptr noundef @.str.4) %16 = load i32, ptr %3, align 4 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strlen(ptr noundef %17) %19 = call i32 (i32, ptr, ...) @http_send(i32 noundef %16, ptr noundef @.str.5, ptr noundef %18) %20 = load i32, ptr %3, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 (i32, ptr, ...) @http_send(i32 noundef %20, ptr noundef @.str.6, ptr noundef %21) ret i32 200 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @http_send(i32 noundef, ptr noundef, ...) #1 declare ptr @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/tmpob9rod6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ledon\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"./led on\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"./led off\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"HTTP/1.1 200 OK\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Content-Length: %d\0D\0A\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @handle_led_cmd(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @system(ptr noundef @.str.1) br label %13 11: ; preds = %2 %12 = call i32 @system(ptr noundef @.str.2) br label %13 13: ; preds = %11, %9 store ptr @.str.3, ptr %5, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 (i32, ptr, ...) @http_send(i32 noundef %14, ptr noundef @.str.4) %16 = load i32, ptr %3, align 4 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strlen(ptr noundef %17) %19 = call i32 (i32, ptr, ...) @http_send(i32 noundef %16, ptr noundef @.str.5, ptr noundef %18) %20 = load i32, ptr %3, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 (i32, ptr, ...) @http_send(i32 noundef %20, ptr noundef @.str.6, ptr noundef %21) ret i32 200 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @http_send(i32 noundef, ptr noundef, ...) #1 declare ptr @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/tmp3ktu0k5u.c' source_filename = "/tmp/tmp3ktu0k5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0111101\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1101\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"1001010\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @sum_binary(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str.2) %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %10) br label %12 12: ; preds = %9, %7 %13 = load ptr, ptr %2, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load i32, ptr %1, align 4 ret i32 %15 } declare ptr @sum_binary(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmp3ktu0k5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0111101\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1101\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"1001010\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @sum_binary(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str.2) %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %10) br label %12 12: ; preds = %9, %7 %13 = load ptr, ptr %2, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load i32, ptr %1, align 4 ret i32 %15 } declare ptr @sum_binary(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpijkvrd1q.c' source_filename = "/tmp/tmpijkvrd1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_strpos(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 8, ptr %11, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @utf8_strpos_getpos(ptr noundef %12, i32 noundef %13, ptr noundef %9, ptr noundef %10) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 -1, ptr %4, align 4 br label %44 18: ; preds = %3 %19 = load i64, ptr %10, align 8 %20 = icmp ult i64 %19, 8 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i64, ptr %10, align 8 %28 = call i32 @memcpy(ptr noundef %22, ptr noundef %26, i64 noundef %27) %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %10, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 store i8 0, ptr %31, align 1 br label %41 32: ; preds = %18 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = call i32 @memcpy(ptr noundef %33, ptr noundef %37, i64 noundef 7) %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 7 store i8 0, ptr %40, align 1 br label %41 41: ; preds = %32, %21 %42 = load i64, ptr %10, align 8 %43 = trunc i64 %42 to i32 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %41, %17 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @utf8_strpos_getpos(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpijkvrd1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_strpos(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 8, ptr %11, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @utf8_strpos_getpos(ptr noundef %12, i32 noundef %13, ptr noundef %9, ptr noundef %10) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 -1, ptr %4, align 4 br label %44 18: ; preds = %3 %19 = load i64, ptr %10, align 8 %20 = icmp ult i64 %19, 8 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i64, ptr %10, align 8 %28 = call i32 @memcpy(ptr noundef %22, ptr noundef %26, i64 noundef %27) %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %10, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 store i8 0, ptr %31, align 1 br label %41 32: ; preds = %18 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = call i32 @memcpy(ptr noundef %33, ptr noundef %37, i64 noundef 7) %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 7 store i8 0, ptr %40, align 1 br label %41 41: ; preds = %32, %21 %42 = load i64, ptr %10, align 8 %43 = trunc i64 %42 to i32 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %41, %17 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @utf8_strpos_getpos(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptw2d75bh.c' source_filename = "/tmp/tmptw2d75bh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"swapper: don't start me manually.\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"[swapper]\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"[%d.%d] swapper: %d free frames. threshold = %d.\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"calling free_a_frame (%d < %d)\0A\00", align 1 @.str.4 = 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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @getpid() store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = call i32 @setterm(i32 noundef 9) %15 = call i32 @setpsname(ptr noundef @.str.1) %16 = call i32 (...) @get_free_frames() store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 store i32 %17, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %45, %13 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %4, align 4 %20 = call i32 (...) @get_free_frames() store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %45 24: ; preds = %18 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %6, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 500 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %3, align 4 %34 = sub nsw i32 %33, 500 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %42 36: ; preds = %24 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = sub nsw i32 %38, 500 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37, i32 noundef %39) %41 = call i32 (...) @free_a_frame() br label %44 42: ; preds = %24 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %44 44: ; preds = %42, %36 br label %45 45: ; preds = %44, %18 br label %18 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setterm(i32 noundef) #1 declare i32 @setpsname(ptr noundef) #1 declare i32 @get_free_frames(...) #1 declare i32 @free_a_frame(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmptw2d75bh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"swapper: don't start me manually.\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"[swapper]\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"[%d.%d] swapper: %d free frames. threshold = %d.\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"calling free_a_frame (%d < %d)\0A\00", align 1 @.str.4 = 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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @getpid() store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = call i32 @setterm(i32 noundef 9) %15 = call i32 @setpsname(ptr noundef @.str.1) %16 = call i32 (...) @get_free_frames() store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 store i32 %17, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %45, %13 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %4, align 4 %20 = call i32 (...) @get_free_frames() store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %45 24: ; preds = %18 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %6, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 500 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %3, align 4 %34 = sub nsw i32 %33, 500 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %42 36: ; preds = %24 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = sub nsw i32 %38, 500 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37, i32 noundef %39) %41 = call i32 (...) @free_a_frame() br label %44 42: ; preds = %24 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %44 44: ; preds = %42, %36 br label %45 45: ; preds = %44, %18 br label %18 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setterm(i32 noundef) #1 declare i32 @setpsname(ptr noundef) #1 declare i32 @get_free_frames(...) #1 declare i32 @free_a_frame(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpc7lwqmme.c' source_filename = "/tmp/tmpc7lwqmme.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = alloca [10000000000 x i8], align 16 %2 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 1099511627776 store i8 98, ptr %2, align 16 %3 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @a(ptr noundef %3) %5 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @a(ptr noundef %5) ret void } declare i32 @a(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7lwqmme.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = alloca [10000000000 x i8], align 16 %2 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 1099511627776 store i8 98, ptr %2, align 16 %3 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @a(ptr noundef %3) %5 = getelementptr inbounds [10000000000 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @a(ptr noundef %5) ret void } declare i32 @a(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1k8lrrh6.c' source_filename = "/tmp/tmp1k8lrrh6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[IDE] Timeout waiting for DMA to become ready\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ide_wait_dma() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %15, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10000000 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = load volatile i64, ptr inttoptr (i64 2690610200 to ptr), align 8 %9 = trunc i64 %8 to i32 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 1 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 store i32 0, ptr %1, align 4 br label %20 14: ; preds = %7 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 %4, !llvm.loop !6 18: ; preds = %4 %19 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %20 20: ; preds = %18, %13 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k8lrrh6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[IDE] Timeout waiting for DMA to become ready\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ide_wait_dma() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10000000 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %14 %7 = load volatile i64, ptr inttoptr (i64 2690610200 to ptr), align 8 %8 = trunc i64 %7 to i32 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 1 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %6 store i32 0, ptr %1, align 4 br label %21 13: ; preds = %6 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 slt i32 %17, 10000000 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %21 21: ; preds = %19, %12 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoxdiclk8.c' source_filename = "/tmp/tmpoxdiclk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"give an integer number\0A>\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getData(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 store i32 %6, ptr %7, align 4 ret void } 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/tmpoxdiclk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"give an integer number\0A>\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getData(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 store i32 %6, ptr %7, align 4 ret void } 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/tmpvtg6o7bt.c' source_filename = "/tmp/tmpvtg6o7bt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TSC_RdReg(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @I2C_RdData(i32 noundef 65, i32 noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @I2C_RdData(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvtg6o7bt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TSC_RdReg(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @I2C_RdData(i32 noundef 65, i32 noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @I2C_RdData(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp135b40t8.c' source_filename = "/tmp/tmp135b40t8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bufcon_putx(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @bufcon_puts(ptr noundef %8, ptr noundef @.str) store i32 28, ptr %5, align 4 br label %10 10: ; preds = %47, %2 %11 = load i32, ptr %5, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %13, label %50 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = lshr i32 %14, %15 %17 = and i32 %16, 15 %18 = trunc i32 %17 to i8 store i8 %18, ptr %6, align 1 %19 = load i8, ptr %6, align 1 %20 = zext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %13 store i32 1, ptr %7, align 4 br label %23 23: ; preds = %22, %13 %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %46 26: ; preds = %23 %27 = load i8, ptr %6, align 1 %28 = zext i8 %27 to i32 %29 = icmp slt i32 %28, 10 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %6, align 1 %33 = zext i8 %32 to i32 %34 = add nsw i32 %33, 48 %35 = trunc i32 %34 to i8 %36 = call i32 @bufcon_putc(ptr noundef %31, i8 noundef zeroext %35) br label %45 37: ; preds = %26 %38 = load ptr, ptr %3, align 8 %39 = load i8, ptr %6, align 1 %40 = zext i8 %39 to i32 %41 = sub nsw i32 %40, 10 %42 = add nsw i32 %41, 97 %43 = trunc i32 %42 to i8 %44 = call i32 @bufcon_putc(ptr noundef %38, i8 noundef zeroext %43) br label %45 45: ; preds = %37, %30 br label %46 46: ; preds = %45, %23 br label %47 47: ; preds = %46 %48 = load i32, ptr %5, align 4 %49 = sub nsw i32 %48, 4 store i32 %49, ptr %5, align 4 br label %10, !llvm.loop !6 50: ; preds = %10 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load ptr, ptr %3, align 8 %55 = call i32 @bufcon_putc(ptr noundef %54, i8 noundef zeroext 48) br label %56 56: ; preds = %53, %50 %57 = load ptr, ptr %3, align 8 ret ptr %57 } declare i32 @bufcon_puts(ptr noundef, ptr noundef) #1 declare i32 @bufcon_putc(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp135b40t8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bufcon_putx(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @bufcon_puts(ptr noundef %8, ptr noundef @.str) store i32 28, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %.lr.ph, label %51 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %46 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = lshr i32 %13, %14 %16 = and i32 %15, 15 %17 = trunc i32 %16 to i8 store i8 %17, ptr %6, align 1 %18 = load i8, ptr %6, align 1 %19 = zext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %12 store i32 1, ptr %7, align 4 br label %22 22: ; preds = %21, %12 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %45 25: ; preds = %22 %26 = load i8, ptr %6, align 1 %27 = zext i8 %26 to i32 %28 = icmp slt i32 %27, 10 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = load i8, ptr %6, align 1 %32 = zext i8 %31 to i32 %33 = add nsw i32 %32, 48 %34 = trunc i32 %33 to i8 %35 = call i32 @bufcon_putc(ptr noundef %30, i8 noundef zeroext %34) br label %44 36: ; preds = %25 %37 = load ptr, ptr %3, align 8 %38 = load i8, ptr %6, align 1 %39 = zext i8 %38 to i32 %40 = sub nsw i32 %39, 10 %41 = add nsw i32 %40, 97 %42 = trunc i32 %41 to i8 %43 = call i32 @bufcon_putc(ptr noundef %37, i8 noundef zeroext %42) br label %44 44: ; preds = %36, %29 br label %45 45: ; preds = %44, %22 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = sub nsw i32 %47, 4 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp sge i32 %49, 0 br i1 %50, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %2 %52 = load i32, ptr %7, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load ptr, ptr %3, align 8 %56 = call i32 @bufcon_putc(ptr noundef %55, i8 noundef zeroext 48) br label %57 57: ; preds = %54, %51 %58 = load ptr, ptr %3, align 8 ret ptr %58 } declare i32 @bufcon_puts(ptr noundef, ptr noundef) #1 declare i32 @bufcon_putc(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa3wxuj1n.c' source_filename = "/tmp/tmpa3wxuj1n.c" target datalayout = "e-m:e-p270: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/tmpa3wxuj1n.c" target datalayout = "e-m:e-p270: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/tmpofnhgvea.c' source_filename = "/tmp/tmpofnhgvea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1326 x i8] c";;; -*- coding: utf-8-unix -*-\0A;;;\0A;;;Part of: Vicare/Tcl\0A;;;Contents: static platform inspection\0A;;;Date: Wed Jul 8, 2015\0A;;;\0A;;;Abstract\0A;;;\0A;;;\0A;;;\0A;;;Copyright (C) 2015 Marco Maggi <marco.maggi-ipsu@poste.it>\0A;;;\0A;;;This program is free software: you can redistribute it and/or modify\0A;;;it under the terms of the GNU General Public License as published by\0A;;;the Free Software Foundation, either version 3 of the License, or (at\0A;;;your option) any later version.\0A;;;\0A;;;This program is distributed in the hope that it will be useful, but\0A;;;WITHOUT ANY WARRANTY; without even the implied warranty of\0A;;;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\0A;;;General Public License for more details.\0A;;;\0A;;;You should have received a copy of the GNU General Public License\0A;;;along with this program. If not, see <http://www.gnu.org/licenses/>.\0A;;;\0A\0A\0A#!r6rs\0A(library (vicare languages tcl features)\0A (export\0A HAVE_TCL_CREATEINTERP\0A HAVE_TCL_DELETEINTERP\0A HAVE_TCL_INIT\0A HAVE_TCL_INTERPDELETED\0A HAVE_TCL_PRESERVE\0A HAVE_TCL_RELEASE\0A HAVE_TCL_SETVAR\0A HAVE_TCL_DOONEEVENT\0A )\0A (import (rnrs))\0A\0A;;;; helpers\0A\0A(define-syntax define-inline-constant\0A (syntax-rules ()\0A ((_ ?name ?value)\0A (define-syntax ?name (identifier-syntax ?value)))))\0A\0A\0A;;;; code\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"(define-inline-constant HAVE_TCL_CREATEINTERP %s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"#f\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"(define-inline-constant HAVE_TCL_DELETEINTERP %s)\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"(define-inline-constant HAVE_TCL_INIT %s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"(define-inline-constant HAVE_TCL_INTERPDELETED %s)\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"(define-inline-constant HAVE_TCL_PRESERVE %s)\0A\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"(define-inline-constant HAVE_TCL_RELEASE %s)\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"(define-inline-constant HAVE_TCL_SETVAR %s)\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"(define-inline-constant HAVE_TCL_DOONEEVENT %s)\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"\0A;;;; done\0A\0A)\0A\0A;;; end of file\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofnhgvea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1326 x i8] c";;; -*- coding: utf-8-unix -*-\0A;;;\0A;;;Part of: Vicare/Tcl\0A;;;Contents: static platform inspection\0A;;;Date: Wed Jul 8, 2015\0A;;;\0A;;;Abstract\0A;;;\0A;;;\0A;;;\0A;;;Copyright (C) 2015 Marco Maggi <marco.maggi-ipsu@poste.it>\0A;;;\0A;;;This program is free software: you can redistribute it and/or modify\0A;;;it under the terms of the GNU General Public License as published by\0A;;;the Free Software Foundation, either version 3 of the License, or (at\0A;;;your option) any later version.\0A;;;\0A;;;This program is distributed in the hope that it will be useful, but\0A;;;WITHOUT ANY WARRANTY; without even the implied warranty of\0A;;;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\0A;;;General Public License for more details.\0A;;;\0A;;;You should have received a copy of the GNU General Public License\0A;;;along with this program. If not, see <http://www.gnu.org/licenses/>.\0A;;;\0A\0A\0A#!r6rs\0A(library (vicare languages tcl features)\0A (export\0A HAVE_TCL_CREATEINTERP\0A HAVE_TCL_DELETEINTERP\0A HAVE_TCL_INIT\0A HAVE_TCL_INTERPDELETED\0A HAVE_TCL_PRESERVE\0A HAVE_TCL_RELEASE\0A HAVE_TCL_SETVAR\0A HAVE_TCL_DOONEEVENT\0A )\0A (import (rnrs))\0A\0A;;;; helpers\0A\0A(define-syntax define-inline-constant\0A (syntax-rules ()\0A ((_ ?name ?value)\0A (define-syntax ?name (identifier-syntax ?value)))))\0A\0A\0A;;;; code\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"(define-inline-constant HAVE_TCL_CREATEINTERP %s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"#f\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"(define-inline-constant HAVE_TCL_DELETEINTERP %s)\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"(define-inline-constant HAVE_TCL_INIT %s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"(define-inline-constant HAVE_TCL_INTERPDELETED %s)\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"(define-inline-constant HAVE_TCL_PRESERVE %s)\0A\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"(define-inline-constant HAVE_TCL_RELEASE %s)\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"(define-inline-constant HAVE_TCL_SETVAR %s)\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"(define-inline-constant HAVE_TCL_DOONEEVENT %s)\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"\0A;;;; done\0A\0A)\0A\0A;;; end of file\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpucfx8r18.c' source_filename = "/tmp/tmpucfx8r18.c" target datalayout = "e-m:e-p270: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/tmpucfx8r18.c" target datalayout = "e-m:e-p270: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/tmp9emve6c9.c' source_filename = "/tmp/tmp9emve6c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cheleg(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [3 x ptr], align 16 %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 %18 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %5 %23 = load i32, ptr %7, align 4 br label %26 24: ; preds = %5 %25 = load i32, ptr %8, align 4 br label %26 26: ; preds = %24, %22 %27 = phi i32 [ %23, %22 ], [ %25, %24 ] store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = add nsw i32 %28, 1 %30 = mul nsw i32 3, %29 %31 = call ptr @calloc(i32 noundef %30, i32 noundef 8) %32 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 store ptr %31, ptr %32, align 16 %33 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %34 = load ptr, ptr %33, align 16 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %34, i64 %37 %39 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 store ptr %38, ptr %39, align 8 %40 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 %46 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 2 store ptr %45, ptr %46, align 16 store i32 0, ptr %13, align 4 br label %47 47: ; preds = %215, %26 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %51, label %218 51: ; preds = %47 %52 = load i32, ptr %13, align 4 %53 = srem i32 %52, 3 store i32 %53, ptr %14, align 4 %54 = load i32, ptr %13, align 4 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %51 %57 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %58 = load ptr, ptr %57, align 16 %59 = getelementptr inbounds double, ptr %58, i64 0 store double 1.000000e+00, ptr %59, align 8 br label %182 60: ; preds = %51 %61 = load i32, ptr %13, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 %65 = load ptr, ptr %64, align 8 %66 = getelementptr inbounds double, ptr %65, i64 1 store double 1.000000e+00, ptr %66, align 8 br label %181 67: ; preds = %60 %68 = load i32, ptr %13, align 4 %69 = sub nsw i32 %68, 1 %70 = srem i32 %69, 3 store i32 %70, ptr %15, align 4 %71 = load i32, ptr %13, align 4 %72 = sub nsw i32 %71, 2 %73 = srem i32 %72, 3 store i32 %73, ptr %16, align 4 %74 = load i32, ptr %14, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = mul i64 %80, 8 %82 = trunc i64 %81 to i32 %83 = call i32 @memset(ptr noundef %77, i32 noundef 0, i32 noundef %82) %84 = load i32, ptr %13, align 4 %85 = sitofp i32 %84 to double store double %85, ptr %17, align 8 store i32 0, ptr %18, align 4 br label %86 86: ; preds = %177, %67 %87 = load i32, ptr %18, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %90, label %180 90: ; preds = %86 %91 = load i32, ptr %6, align 4 %92 = icmp eq i32 %91, 1 br i1 %92, label %93, label %128 93: ; preds = %90 %94 = load i32, ptr %15, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = load i32, ptr %18, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = fmul double 2.000000e+00, %101 %103 = load i32, ptr %14, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr %18, align 4 %108 = add nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %106, i64 %109 store double %102, ptr %110, align 8 %111 = load i32, ptr %16, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = load i32, ptr %18, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 %118 = load double, ptr %117, align 8 %119 = load i32, ptr %14, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = load i32, ptr %18, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %122, i64 %124 %126 = load double, ptr %125, align 8 %127 = fsub double %126, %118 store double %127, ptr %125, align 8 br label %176 128: ; preds = %90 %129 = load i32, ptr %6, align 4 %130 = icmp eq i32 %129, 2 br i1 %130, label %131, label %175 131: ; preds = %128 %132 = load double, ptr %17, align 8 %133 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %132, double -1.000000e+00) %134 = load i32, ptr %15, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = load i32, ptr %18, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %137, i64 %139 %141 = load double, ptr %140, align 8 %142 = fmul double %133, %141 %143 = load double, ptr %17, align 8 %144 = fdiv double %142, %143 %145 = load i32, ptr %14, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %146 %148 = load ptr, ptr %147, align 8 %149 = load i32, ptr %18, align 4 %150 = add nsw i32 %149, 1 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %148, i64 %151 store double %144, ptr %152, align 8 %153 = load double, ptr %17, align 8 %154 = fsub double %153, 1.000000e+00 %155 = load i32, ptr %16, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = load i32, ptr %18, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 %163 = fmul double %154, %162 %164 = load double, ptr %17, align 8 %165 = fdiv double %163, %164 %166 = load i32, ptr %14, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %167 %169 = load ptr, ptr %168, align 8 %170 = load i32, ptr %18, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = fsub double %173, %165 store double %174, ptr %172, align 8 br label %175 175: ; preds = %131, %128 br label %176 176: ; preds = %175, %93 br label %177 177: ; preds = %176 %178 = load i32, ptr %18, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %18, align 4 br label %86, !llvm.loop !6 180: ; preds = %86 br label %181 181: ; preds = %180, %63 br label %182 182: ; preds = %181, %56 %183 = load i32, ptr %13, align 4 %184 = load i32, ptr %7, align 4 %185 = icmp eq i32 %183, %184 br i1 %185, label %186, label %198 186: ; preds = %182 %187 = load ptr, ptr %9, align 8 %188 = load i32, ptr %14, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %189 %191 = load ptr, ptr %190, align 8 %192 = load i32, ptr %7, align 4 %193 = add nsw i32 %192, 1 %194 = sext i32 %193 to i64 %195 = mul i64 %194, 8 %196 = trunc i64 %195 to i32 %197 = call i32 @memcpy(ptr noundef %187, ptr noundef %191, i32 noundef %196) br label %198 198: ; preds = %186, %182 %199 = load i32, ptr %13, align 4 %200 = load i32, ptr %8, align 4 %201 = icmp eq i32 %199, %200 br i1 %201, label %202, label %214 202: ; preds = %198 %203 = load ptr, ptr %10, align 8 %204 = load i32, ptr %14, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %205 %207 = load ptr, ptr %206, align 8 %208 = load i32, ptr %8, align 4 %209 = add nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = mul i64 %210, 8 %212 = trunc i64 %211 to i32 %213 = call i32 @memcpy(ptr noundef %203, ptr noundef %207, i32 noundef %212) br label %214 214: ; preds = %202, %198 br label %215 215: ; preds = %214 %216 = load i32, ptr %13, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %13, align 4 br label %47, !llvm.loop !8 218: ; preds = %47 %219 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %220 = load ptr, ptr %219, align 16 %221 = call i32 @free(ptr noundef %220) ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9emve6c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cheleg(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [3 x ptr], align 16 %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 %18 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %5 %23 = load i32, ptr %7, align 4 br label %26 24: ; preds = %5 %25 = load i32, ptr %8, align 4 br label %26 26: ; preds = %24, %22 %27 = phi i32 [ %23, %22 ], [ %25, %24 ] store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = add nsw i32 %28, 1 %30 = mul nsw i32 3, %29 %31 = call ptr @calloc(i32 noundef %30, i32 noundef 8) %32 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 store ptr %31, ptr %32, align 16 %33 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %34 = load ptr, ptr %33, align 16 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %34, i64 %37 %39 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 store ptr %38, ptr %39, align 8 %40 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 %46 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 2 store ptr %45, ptr %46, align 16 store i32 0, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %.lr.ph2, label %222 .lr.ph2: ; preds = %26 br label %50 50: ; preds = %.lr.ph2, %216 %51 = load i32, ptr %13, align 4 %52 = srem i32 %51, 3 store i32 %52, ptr %14, align 4 %53 = load i32, ptr %13, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %50 %56 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %57 = load ptr, ptr %56, align 16 %58 = getelementptr inbounds double, ptr %57, i64 0 store double 1.000000e+00, ptr %58, align 8 br label %183 59: ; preds = %50 %60 = load i32, ptr %13, align 4 %61 = icmp eq i32 %60, 1 br i1 %61, label %62, label %66 62: ; preds = %59 %63 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 1 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds double, ptr %64, i64 1 store double 1.000000e+00, ptr %65, align 8 br label %182 66: ; preds = %59 %67 = load i32, ptr %13, align 4 %68 = sub nsw i32 %67, 1 %69 = srem i32 %68, 3 store i32 %69, ptr %15, align 4 %70 = load i32, ptr %13, align 4 %71 = sub nsw i32 %70, 2 %72 = srem i32 %71, 3 store i32 %72, ptr %16, align 4 %73 = load i32, ptr %14, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr %11, align 4 %78 = add nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 8 %81 = trunc i64 %80 to i32 %82 = call i32 @memset(ptr noundef %76, i32 noundef 0, i32 noundef %81) %83 = load i32, ptr %13, align 4 %84 = sitofp i32 %83 to double store double %84, ptr %17, align 8 store i32 0, ptr %18, align 4 %85 = load i32, ptr %18, align 4 %86 = load i32, ptr %11, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph, label %181 .lr.ph: ; preds = %66 br label %88 88: ; preds = %.lr.ph, %175 %89 = load i32, ptr %6, align 4 %90 = icmp eq i32 %89, 1 br i1 %90, label %91, label %126 91: ; preds = %88 %92 = load i32, ptr %15, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %93 %95 = load ptr, ptr %94, align 8 %96 = load i32, ptr %18, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %95, i64 %97 %99 = load double, ptr %98, align 8 %100 = fmul double 2.000000e+00, %99 %101 = load i32, ptr %14, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = load i32, ptr %18, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %104, i64 %107 store double %100, ptr %108, align 8 %109 = load i32, ptr %16, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = load i32, ptr %18, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 %116 = load double, ptr %115, align 8 %117 = load i32, ptr %14, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %118 %120 = load ptr, ptr %119, align 8 %121 = load i32, ptr %18, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 %124 = load double, ptr %123, align 8 %125 = fsub double %124, %116 store double %125, ptr %123, align 8 br label %174 126: ; preds = %88 %127 = load i32, ptr %6, align 4 %128 = icmp eq i32 %127, 2 br i1 %128, label %129, label %173 129: ; preds = %126 %130 = load double, ptr %17, align 8 %131 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %130, double -1.000000e+00) %132 = load i32, ptr %15, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = load i32, ptr %18, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 %139 = load double, ptr %138, align 8 %140 = fmul double %131, %139 %141 = load double, ptr %17, align 8 %142 = fdiv double %140, %141 %143 = load i32, ptr %14, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %144 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %18, align 4 %148 = add nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %146, i64 %149 store double %142, ptr %150, align 8 %151 = load double, ptr %17, align 8 %152 = fsub double %151, 1.000000e+00 %153 = load i32, ptr %16, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %154 %156 = load ptr, ptr %155, align 8 %157 = load i32, ptr %18, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = fmul double %152, %160 %162 = load double, ptr %17, align 8 %163 = fdiv double %161, %162 %164 = load i32, ptr %14, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %165 %167 = load ptr, ptr %166, align 8 %168 = load i32, ptr %18, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %167, i64 %169 %171 = load double, ptr %170, align 8 %172 = fsub double %171, %163 store double %172, ptr %170, align 8 br label %173 173: ; preds = %129, %126 br label %174 174: ; preds = %173, %91 br label %175 175: ; preds = %174 %176 = load i32, ptr %18, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %18, align 4 %178 = load i32, ptr %18, align 4 %179 = load i32, ptr %11, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %88, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %175 br label %181 181: ; preds = %._crit_edge, %66 br label %182 182: ; preds = %181, %62 br label %183 183: ; preds = %182, %55 %184 = load i32, ptr %13, align 4 %185 = load i32, ptr %7, align 4 %186 = icmp eq i32 %184, %185 br i1 %186, label %187, label %199 187: ; preds = %183 %188 = load ptr, ptr %9, align 8 %189 = load i32, ptr %14, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %190 %192 = load ptr, ptr %191, align 8 %193 = load i32, ptr %7, align 4 %194 = add nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = mul i64 %195, 8 %197 = trunc i64 %196 to i32 %198 = call i32 @memcpy(ptr noundef %188, ptr noundef %192, i32 noundef %197) br label %199 199: ; preds = %187, %183 %200 = load i32, ptr %13, align 4 %201 = load i32, ptr %8, align 4 %202 = icmp eq i32 %200, %201 br i1 %202, label %203, label %215 203: ; preds = %199 %204 = load ptr, ptr %10, align 8 %205 = load i32, ptr %14, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 %206 %208 = load ptr, ptr %207, align 8 %209 = load i32, ptr %8, align 4 %210 = add nsw i32 %209, 1 %211 = sext i32 %210 to i64 %212 = mul i64 %211, 8 %213 = trunc i64 %212 to i32 %214 = call i32 @memcpy(ptr noundef %204, ptr noundef %208, i32 noundef %213) br label %215 215: ; preds = %203, %199 br label %216 216: ; preds = %215 %217 = load i32, ptr %13, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %13, align 4 %219 = load i32, ptr %13, align 4 %220 = load i32, ptr %11, align 4 %221 = icmp sle i32 %219, %220 br i1 %221, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %216 br label %222 222: ; preds = %._crit_edge3, %26 %223 = getelementptr inbounds [3 x ptr], ptr %12, i64 0, i64 0 %224 = load ptr, ptr %223, align 16 %225 = call i32 @free(ptr noundef %224) ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpn9pcg0y9.c' source_filename = "/tmp/tmpn9pcg0y9.c" target datalayout = "e-m:e-p270: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/tmpn9pcg0y9.c" target datalayout = "e-m:e-p270: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/tmpkzof9iuk.c' source_filename = "/tmp/tmpkzof9iuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pgm_clear(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 ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = mul i64 %8, %9 %11 = call i32 @memset(ptr noundef %7, i32 noundef 0, i64 noundef %10) ret void } declare i32 @memset(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/tmpkzof9iuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pgm_clear(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 ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = mul i64 %8, %9 %11 = call i32 @memset(ptr noundef %7, i32 noundef 0, i64 noundef %10) ret void } declare i32 @memset(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/tmp0l81bwb4.c' source_filename = "/tmp/tmp0l81bwb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fd_ldexp(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load double, ptr %4, align 8 %7 = call i32 @fd_finite(double noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load double, ptr %4, align 8 %11 = fcmp oeq double %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9, %2 %13 = load double, ptr %4, align 8 store double %13, ptr %3, align 8 br label %28 14: ; preds = %9 %15 = load double, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = call double @fd_scalbn(double noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 @fd_finite(double noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load double, ptr %4, align 8 %23 = fcmp oeq double %22, 0.000000e+00 br i1 %23, label %24, label %26 24: ; preds = %21, %14 %25 = load i32, ptr @ERANGE, align 4 store i32 %25, ptr @errno, align 4 br label %26 26: ; preds = %24, %21 %27 = load double, ptr %4, align 8 store double %27, ptr %3, align 8 br label %28 28: ; preds = %26, %12 %29 = load double, ptr %3, align 8 ret double %29 } declare i32 @fd_finite(double noundef) #1 declare double @fd_scalbn(double 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/tmp0l81bwb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fd_ldexp(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load double, ptr %4, align 8 %7 = call i32 @fd_finite(double noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load double, ptr %4, align 8 %11 = fcmp oeq double %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9, %2 %13 = load double, ptr %4, align 8 store double %13, ptr %3, align 8 br label %28 14: ; preds = %9 %15 = load double, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = call double @fd_scalbn(double noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 @fd_finite(double noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load double, ptr %4, align 8 %23 = fcmp oeq double %22, 0.000000e+00 br i1 %23, label %24, label %26 24: ; preds = %21, %14 %25 = load i32, ptr @ERANGE, align 4 store i32 %25, ptr @errno, align 4 br label %26 26: ; preds = %24, %21 %27 = load double, ptr %4, align 8 store double %27, ptr %3, align 8 br label %28 28: ; preds = %26, %12 %29 = load double, ptr %3, align 8 ret double %29 } declare i32 @fd_finite(double noundef) #1 declare double @fd_scalbn(double 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/tmpvn2ak74v.c' source_filename = "/tmp/tmpvn2ak74v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Insira os segundos: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"%d segundos equivalem a %d horas, %d minutos e %d segundos \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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = call i32 @sec_hours(i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = mul nsw i32 %17, 3600 %19 = sub nsw i32 %16, %18 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @sec_minutes(i32 noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %7, align 4 %23 = mul nsw i32 %22, 3600 %24 = load i32, ptr %8, align 4 %25 = mul nsw i32 %24, 60 %26 = add nsw i32 %23, %25 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %10, align 4 %29 = call i32 @subtraction(i32 noundef %27, i32 noundef %28) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %11, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sec_hours(i32 noundef) #1 declare i32 @sec_minutes(i32 noundef) #1 declare i32 @subtraction(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/tmpvn2ak74v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Insira os segundos: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"%d segundos equivalem a %d horas, %d minutos e %d segundos \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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = call i32 @sec_hours(i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = mul nsw i32 %17, 3600 %19 = sub nsw i32 %16, %18 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @sec_minutes(i32 noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %7, align 4 %23 = mul nsw i32 %22, 3600 %24 = load i32, ptr %8, align 4 %25 = mul nsw i32 %24, 60 %26 = add nsw i32 %23, %25 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %10, align 4 %29 = call i32 @subtraction(i32 noundef %27, i32 noundef %28) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %11, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sec_hours(i32 noundef) #1 declare i32 @sec_minutes(i32 noundef) #1 declare i32 @subtraction(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/tmp_v0zbls1.c' source_filename = "/tmp/tmp_v0zbls1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_triangle(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = call double (...) @rand_double() store double %7, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = fdiv double %9, %12 %14 = fcmp olt double %8, %13 br i1 %14, label %15, label %28 15: ; preds = %2 %16 = load double, ptr %3, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = fdiv double %18, %19 %21 = fsub double 1.000000e+00, %20 %22 = fmul double %17, %21 %23 = fptosi double %22 to i32 %24 = call i32 @sqrt(i32 noundef %23) %25 = sub nsw i32 1, %24 %26 = sitofp i32 %25 to double %27 = fmul double %16, %26 store double %27, ptr %6, align 8 br label %42 28: ; preds = %2 %29 = load double, ptr %4, align 8 %30 = load double, ptr %5, align 8 %31 = fsub double 1.000000e+00, %30 %32 = load double, ptr %3, align 8 %33 = load double, ptr %4, align 8 %34 = fdiv double %32, %33 %35 = fsub double 1.000000e+00, %34 %36 = fmul double %31, %35 %37 = fptosi double %36 to i32 %38 = call i32 @sqrt(i32 noundef %37) %39 = sub nsw i32 1, %38 %40 = sitofp i32 %39 to double %41 = fmul double %29, %40 store double %41, ptr %6, align 8 br label %42 42: ; preds = %28, %15 %43 = load double, ptr %6, align 8 ret double %43 } declare double @rand_double(...) #1 declare i32 @sqrt(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_v0zbls1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_triangle(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = call double (...) @rand_double() store double %7, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = fdiv double %9, %12 %14 = fcmp olt double %8, %13 br i1 %14, label %15, label %28 15: ; preds = %2 %16 = load double, ptr %3, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = fdiv double %18, %19 %21 = fsub double 1.000000e+00, %20 %22 = fmul double %17, %21 %23 = fptosi double %22 to i32 %24 = call i32 @sqrt(i32 noundef %23) %25 = sub nsw i32 1, %24 %26 = sitofp i32 %25 to double %27 = fmul double %16, %26 store double %27, ptr %6, align 8 br label %42 28: ; preds = %2 %29 = load double, ptr %4, align 8 %30 = load double, ptr %5, align 8 %31 = fsub double 1.000000e+00, %30 %32 = load double, ptr %3, align 8 %33 = load double, ptr %4, align 8 %34 = fdiv double %32, %33 %35 = fsub double 1.000000e+00, %34 %36 = fmul double %31, %35 %37 = fptosi double %36 to i32 %38 = call i32 @sqrt(i32 noundef %37) %39 = sub nsw i32 1, %38 %40 = sitofp i32 %39 to double %41 = fmul double %29, %40 store double %41, ptr %6, align 8 br label %42 42: ; preds = %28, %15 %43 = load double, ptr %6, align 8 ret double %43 } declare double @rand_double(...) #1 declare i32 @sqrt(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/tmp83kmx1af.c' source_filename = "/tmp/tmp83kmx1af.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [89 x i8] c"USAGE: kettle < logfile to append > < spoon | chef | ... > [ argument, argument, ... ]\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"args: \0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c" #%2d : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %28 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %13 13: ; preds = %25, %11 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %28 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, ptr noundef %23) br label %25 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %13, !llvm.loop !6 28: ; preds = %9, %13 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp83kmx1af.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [89 x i8] c"USAGE: kettle < logfile to append > < spoon | chef | ... > [ argument, argument, ... ]\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"args: \0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c" #%2d : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %30 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %24 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17, ptr noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %24 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %11 br label %30 30: ; preds = %.loopexit, %9 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpigu9ve41.c' source_filename = "/tmp/tmpigu9ve41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_Next(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_Next(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UpnpResponse_MediaRenderer_AVTransport_Next(ptr noundef %7) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_Next(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpigu9ve41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_Next(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_Next(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UpnpResponse_MediaRenderer_AVTransport_Next(ptr noundef %7) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_Next(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl7gqw1mk.c' source_filename = "/tmp/tmpl7gqw1mk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @closeonexec(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @F_SETFD, align 4 %5 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef 1) ret i32 %5 } declare i32 @fcntl(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/tmpl7gqw1mk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @closeonexec(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @F_SETFD, align 4 %5 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef 1) ret i32 %5 } declare i32 @fcntl(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/tmp4byi22zy.c' source_filename = "/tmp/tmp4byi22zy.c" target datalayout = "e-m:e-p270: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/tmp4byi22zy.c" target datalayout = "e-m:e-p270: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/tmpxg6ww_su.c' source_filename = "/tmp/tmpxg6ww_su.c" target datalayout = "e-m:e-p270: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/tmpxg6ww_su.c" target datalayout = "e-m:e-p270: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/tmpwcbeth98.c' source_filename = "/tmp/tmpwcbeth98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x91\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x91() #0 { %1 = call i64 @isbdigit(i32 noundef 145) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 730, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpwcbeth98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x91\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x91() #0 { %1 = call i64 @isbdigit(i32 noundef 145) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 730, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp3f2go1fu.c' source_filename = "/tmp/tmp3f2go1fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myDashInit() #0 { %1 = call i32 @setState(i32 noundef 1) ret void } declare i32 @setState(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/tmp3f2go1fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myDashInit() #0 { %1 = call i32 @setState(i32 noundef 1) ret void } declare i32 @setState(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/tmp4v8ek4ji.c' source_filename = "/tmp/tmp4v8ek4ji.c" target datalayout = "e-m:e-p270: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/tmp4v8ek4ji.c" target datalayout = "e-m:e-p270: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/tmpvw35v4oe.c' source_filename = "/tmp/tmpvw35v4oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Uso: %s tipo duracao\0A\00", align 1 @.str.1 = private unnamed_addr constant [75 x i8] c" tipo: s(elecao) ou i(nsercao) ou m(ergesort) ou q(uicksort) ou t(odos)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c" duracao: duracao em segundos\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"opcao nao valida\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.5 = private unnamed_addr constant [523 x i8] c"|-------------------------[EP1 - Vale a pena ordenar?]--------------------|\0A| Algoritmo escolhido: %10s Duracao dos testes: %9.2f |\0A| Tempos de Ordenacao Numero de Buscas |\0A| Coloque seu nome aqui para identificacao! |\0A|-------------------------------------------------------------------------|\0A| n | Insercao Selecao Merge. Quick. | Insercao Selecao Merge. Quick. |\0A|-------|-----------------------------------------------------------------|\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"selecao\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"insercao\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"mergesort\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"quicksort\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"todos\00", align 1 @.str.11 = private unnamed_addr constant [62 x i8] c"Erro na alocacao de memoria para o vetor v com %d elementos.\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"Erro na alocacao de memoria para o vetor v_aux com %d elementos.\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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %22 = call i32 @time(ptr noundef null) %23 = call i32 @srand(i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = icmp ne i32 %24, 3 br i1 %25, label %26, label %33 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %254 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %21, align 1 %39 = load i8, ptr %21, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 115 br i1 %41, label %42, label %60 42: ; preds = %33 %43 = load i8, ptr %21, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 105 br i1 %45, label %46, label %60 46: ; preds = %42 %47 = load i8, ptr %21, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 109 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load i8, ptr %21, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 113 br i1 %53, label %54, label %60 54: ; preds = %50 %55 = load i8, ptr %21, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 116 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %254 60: ; preds = %54, %50, %46, %42, %33 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i32 @sscanf(ptr noundef %63, ptr noundef @.str.4, ptr noundef %6) %65 = load i8, ptr %21, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 115 br i1 %67, label %68, label %69 68: ; preds = %60 br label %89 69: ; preds = %60 %70 = load i8, ptr %21, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 105 br i1 %72, label %73, label %74 73: ; preds = %69 br label %87 74: ; preds = %69 %75 = load i8, ptr %21, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 109 br i1 %77, label %78, label %79 78: ; preds = %74 br label %85 79: ; preds = %74 %80 = load i8, ptr %21, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 113 %83 = zext i1 %82 to i64 %84 = select i1 %82, ptr @.str.9, ptr @.str.10 br label %85 85: ; preds = %79, %78 %86 = phi ptr [ @.str.8, %78 ], [ %84, %79 ] br label %87 87: ; preds = %85, %73 %88 = phi ptr [ @.str.7, %73 ], [ %86, %85 ] br label %89 89: ; preds = %87, %68 %90 = phi ptr [ @.str.6, %68 ], [ %88, %87 ] %91 = load double, ptr %6, align 8 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %90, double noundef %91) %93 = call double (...) @tempo() store double %93, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 2000, ptr %14, align 4 br label %94 94: ; preds = %250, %89 %95 = load double, ptr %8, align 8 %96 = load double, ptr %6, align 8 %97 = fcmp olt double %95, %96 br i1 %97, label %98, label %253 98: ; preds = %94 %99 = load i32, ptr %14, align 4 %100 = sext i32 %99 to i64 %101 = mul i64 %100, 4 %102 = trunc i64 %101 to i32 %103 = call ptr @malloc(i32 noundef %102) store ptr %103, ptr %15, align 8 %104 = load ptr, ptr %15, align 8 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %109 106: ; preds = %98 %107 = load i32, ptr %14, align 4 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %107) store i32 -1, ptr %3, align 4 br label %254 109: ; preds = %98 %110 = load i32, ptr %14, align 4 %111 = sext i32 %110 to i64 %112 = mul i64 %111, 4 %113 = trunc i64 %112 to i32 %114 = call ptr @malloc(i32 noundef %113) store ptr %114, ptr %16, align 8 %115 = load ptr, ptr %16, align 8 %116 = icmp eq ptr %115, null br i1 %116, label %117, label %120 117: ; preds = %109 %118 = load i32, ptr %14, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %118) store i32 -1, ptr %3, align 4 br label %254 120: ; preds = %109 %121 = load ptr, ptr %15, align 8 %122 = load i32, ptr %14, align 4 %123 = call i32 @vetor_rand(ptr noundef %121, i32 noundef %122) %124 = load ptr, ptr %15, align 8 %125 = load ptr, ptr %16, align 8 %126 = load i32, ptr %14, align 4 %127 = call i32 @vetor_copy(ptr noundef %124, ptr noundef %125, i32 noundef %126) %128 = load i8, ptr %21, align 1 %129 = sext i8 %128 to i32 %130 = icmp eq i32 %129, 115 br i1 %130, label %135, label %131 131: ; preds = %120 %132 = load i8, ptr %21, align 1 %133 = sext i8 %132 to i32 %134 = icmp eq i32 %133, 116 br i1 %134, label %135, label %157 135: ; preds = %131, %120 %136 = call double (...) @tempo() store double %136, ptr %9, align 8 %137 = load i32, ptr %14, align 4 %138 = load ptr, ptr %16, align 8 %139 = call i32 @Selecao(i32 noundef %137, ptr noundef %138) %140 = call double (...) @tempo() %141 = load double, ptr %9, align 8 %142 = fsub double %140, %141 store double %142, ptr %10, align 8 %143 = load ptr, ptr %15, align 8 %144 = load ptr, ptr %16, align 8 %145 = load i32, ptr %14, align 4 %146 = load double, ptr %10, align 8 %147 = call i32 @num_buscas(ptr noundef %143, ptr noundef %144, i32 noundef %145, double noundef %146) store i32 %147, ptr %17, align 4 %148 = load i8, ptr %21, align 1 %149 = sext i8 %148 to i32 %150 = icmp ne i32 %149, 115 br i1 %150, label %151, label %156 151: ; preds = %135 %152 = load ptr, ptr %15, align 8 %153 = load ptr, ptr %16, align 8 %154 = load i32, ptr %14, align 4 %155 = call i32 @vetor_copy(ptr noundef %152, ptr noundef %153, i32 noundef %154) br label %156 156: ; preds = %151, %135 br label %157 157: ; preds = %156, %131 %158 = load i8, ptr %21, align 1 %159 = sext i8 %158 to i32 %160 = icmp eq i32 %159, 105 br i1 %160, label %165, label %161 161: ; preds = %157 %162 = load i8, ptr %21, align 1 %163 = sext i8 %162 to i32 %164 = icmp eq i32 %163, 116 br i1 %164, label %165, label %187 165: ; preds = %161, %157 %166 = call double (...) @tempo() store double %166, ptr %9, align 8 %167 = load i32, ptr %14, align 4 %168 = load ptr, ptr %16, align 8 %169 = call i32 @Insercao(i32 noundef %167, ptr noundef %168) %170 = call double (...) @tempo() %171 = load double, ptr %9, align 8 %172 = fsub double %170, %171 store double %172, ptr %11, align 8 %173 = load ptr, ptr %15, align 8 %174 = load ptr, ptr %16, align 8 %175 = load i32, ptr %14, align 4 %176 = load double, ptr %11, align 8 %177 = call i32 @num_buscas(ptr noundef %173, ptr noundef %174, i32 noundef %175, double noundef %176) store i32 %177, ptr %18, align 4 %178 = load i8, ptr %21, align 1 %179 = sext i8 %178 to i32 %180 = icmp ne i32 %179, 105 br i1 %180, label %181, label %186 181: ; preds = %165 %182 = load ptr, ptr %15, align 8 %183 = load ptr, ptr %16, align 8 %184 = load i32, ptr %14, align 4 %185 = call i32 @vetor_copy(ptr noundef %182, ptr noundef %183, i32 noundef %184) br label %186 186: ; preds = %181, %165 br label %187 187: ; preds = %186, %161 %188 = load i8, ptr %21, align 1 %189 = sext i8 %188 to i32 %190 = icmp eq i32 %189, 109 br i1 %190, label %195, label %191 191: ; preds = %187 %192 = load i8, ptr %21, align 1 %193 = sext i8 %192 to i32 %194 = icmp eq i32 %193, 116 br i1 %194, label %195, label %219 195: ; preds = %191, %187 %196 = call double (...) @tempo() store double %196, ptr %9, align 8 %197 = load i32, ptr %14, align 4 %198 = sub nsw i32 %197, 1 %199 = load ptr, ptr %16, align 8 %200 = call i32 @Mergesort(i32 noundef 0, i32 noundef %198, ptr noundef %199) %201 = call double (...) @tempo() %202 = load double, ptr %9, align 8 %203 = fsub double %201, %202 %204 = call double @abst(double noundef %203) store double %204, ptr %12, align 8 %205 = load ptr, ptr %15, align 8 %206 = load ptr, ptr %16, align 8 %207 = load i32, ptr %14, align 4 %208 = load double, ptr %12, align 8 %209 = call i32 @num_buscas(ptr noundef %205, ptr noundef %206, i32 noundef %207, double noundef %208) store i32 %209, ptr %19, align 4 %210 = load i8, ptr %21, align 1 %211 = sext i8 %210 to i32 %212 = icmp ne i32 %211, 109 br i1 %212, label %213, label %218 213: ; preds = %195 %214 = load ptr, ptr %15, align 8 %215 = load ptr, ptr %16, align 8 %216 = load i32, ptr %14, align 4 %217 = call i32 @vetor_copy(ptr noundef %214, ptr noundef %215, i32 noundef %216) br label %218 218: ; preds = %213, %195 br label %219 219: ; preds = %218, %191 %220 = load i8, ptr %21, align 1 %221 = sext i8 %220 to i32 %222 = icmp eq i32 %221, 113 br i1 %222, label %227, label %223 223: ; preds = %219 %224 = load i8, ptr %21, align 1 %225 = sext i8 %224 to i32 %226 = icmp eq i32 %225, 116 br i1 %226, label %227, label %242 227: ; preds = %223, %219 %228 = call double (...) @tempo() store double %228, ptr %9, align 8 %229 = load i32, ptr %14, align 4 %230 = sub nsw i32 %229, 1 %231 = load ptr, ptr %16, align 8 %232 = call i32 @Quicksort(i32 noundef 0, i32 noundef %230, ptr noundef %231) %233 = call double (...) @tempo() %234 = load double, ptr %9, align 8 %235 = fsub double %233, %234 %236 = call double @abst(double noundef %235) store double %236, ptr %13, align 8 %237 = load ptr, ptr %15, align 8 %238 = load ptr, ptr %16, align 8 %239 = load i32, ptr %14, align 4 %240 = load double, ptr %13, align 8 %241 = call i32 @num_buscas(ptr noundef %237, ptr noundef %238, i32 noundef %239, double noundef %240) store i32 %241, ptr %20, align 4 br label %242 242: ; preds = %227, %223 %243 = load ptr, ptr %15, align 8 %244 = call i32 @free(ptr noundef %243) %245 = load ptr, ptr %16, align 8 %246 = call i32 @free(ptr noundef %245) %247 = call double (...) @tempo() %248 = load double, ptr %7, align 8 %249 = fsub double %247, %248 store double %249, ptr %8, align 8 br label %250 250: ; preds = %242 %251 = load i32, ptr %14, align 4 %252 = add nsw i32 %251, 2000 store i32 %252, ptr %14, align 4 br label %94, !llvm.loop !6 253: ; preds = %94 store i32 0, ptr %3, align 4 br label %254 254: ; preds = %253, %117, %106, %58, %26 %255 = load i32, ptr %3, align 4 ret i32 %255 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare double @tempo(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @vetor_rand(ptr noundef, i32 noundef) #1 declare i32 @vetor_copy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Selecao(i32 noundef, ptr noundef) #1 declare i32 @num_buscas(ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare i32 @Insercao(i32 noundef, ptr noundef) #1 declare i32 @Mergesort(i32 noundef, i32 noundef, ptr noundef) #1 declare double @abst(double noundef) #1 declare i32 @Quicksort(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvw35v4oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Uso: %s tipo duracao\0A\00", align 1 @.str.1 = private unnamed_addr constant [75 x i8] c" tipo: s(elecao) ou i(nsercao) ou m(ergesort) ou q(uicksort) ou t(odos)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c" duracao: duracao em segundos\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"opcao nao valida\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.5 = private unnamed_addr constant [523 x i8] c"|-------------------------[EP1 - Vale a pena ordenar?]--------------------|\0A| Algoritmo escolhido: %10s Duracao dos testes: %9.2f |\0A| Tempos de Ordenacao Numero de Buscas |\0A| Coloque seu nome aqui para identificacao! |\0A|-------------------------------------------------------------------------|\0A| n | Insercao Selecao Merge. Quick. | Insercao Selecao Merge. Quick. |\0A|-------|-----------------------------------------------------------------|\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"selecao\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"insercao\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"mergesort\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"quicksort\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"todos\00", align 1 @.str.11 = private unnamed_addr constant [62 x i8] c"Erro na alocacao de memoria para o vetor v com %d elementos.\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"Erro na alocacao de memoria para o vetor v_aux com %d elementos.\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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %22 = call i32 @time(ptr noundef null) %23 = call i32 @srand(i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = icmp ne i32 %24, 3 br i1 %25, label %26, label %33 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %256 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %21, align 1 %39 = load i8, ptr %21, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 115 br i1 %41, label %42, label %60 42: ; preds = %33 %43 = load i8, ptr %21, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 105 br i1 %45, label %46, label %60 46: ; preds = %42 %47 = load i8, ptr %21, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 109 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load i8, ptr %21, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 113 br i1 %53, label %54, label %60 54: ; preds = %50 %55 = load i8, ptr %21, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 116 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %256 60: ; preds = %54, %50, %46, %42, %33 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i32 @sscanf(ptr noundef %63, ptr noundef @.str.4, ptr noundef %6) %65 = load i8, ptr %21, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 115 br i1 %67, label %68, label %69 68: ; preds = %60 br label %89 69: ; preds = %60 %70 = load i8, ptr %21, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 105 br i1 %72, label %73, label %74 73: ; preds = %69 br label %87 74: ; preds = %69 %75 = load i8, ptr %21, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 109 br i1 %77, label %78, label %79 78: ; preds = %74 br label %85 79: ; preds = %74 %80 = load i8, ptr %21, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 113 %83 = zext i1 %82 to i64 %84 = select i1 %82, ptr @.str.9, ptr @.str.10 br label %85 85: ; preds = %79, %78 %86 = phi ptr [ @.str.8, %78 ], [ %84, %79 ] br label %87 87: ; preds = %85, %73 %88 = phi ptr [ @.str.7, %73 ], [ %86, %85 ] br label %89 89: ; preds = %87, %68 %90 = phi ptr [ @.str.6, %68 ], [ %88, %87 ] %91 = load double, ptr %6, align 8 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %90, double noundef %91) %93 = call double (...) @tempo() store double %93, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 2000, ptr %14, align 4 %94 = load double, ptr %8, align 8 %95 = load double, ptr %6, align 8 %96 = fcmp olt double %94, %95 br i1 %96, label %.lr.ph, label %255 .lr.ph: ; preds = %89 br label %97 97: ; preds = %.lr.ph, %249 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = mul i64 %99, 4 %101 = trunc i64 %100 to i32 %102 = call ptr @malloc(i32 noundef %101) store ptr %102, ptr %15, align 8 %103 = load ptr, ptr %15, align 8 %104 = icmp eq ptr %103, null br i1 %104, label %105, label %108 105: ; preds = %97 %106 = load i32, ptr %14, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %106) store i32 -1, ptr %3, align 4 br label %256 108: ; preds = %97 %109 = load i32, ptr %14, align 4 %110 = sext i32 %109 to i64 %111 = mul i64 %110, 4 %112 = trunc i64 %111 to i32 %113 = call ptr @malloc(i32 noundef %112) store ptr %113, ptr %16, align 8 %114 = load ptr, ptr %16, align 8 %115 = icmp eq ptr %114, null br i1 %115, label %116, label %119 116: ; preds = %108 %117 = load i32, ptr %14, align 4 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %117) store i32 -1, ptr %3, align 4 br label %256 119: ; preds = %108 %120 = load ptr, ptr %15, align 8 %121 = load i32, ptr %14, align 4 %122 = call i32 @vetor_rand(ptr noundef %120, i32 noundef %121) %123 = load ptr, ptr %15, align 8 %124 = load ptr, ptr %16, align 8 %125 = load i32, ptr %14, align 4 %126 = call i32 @vetor_copy(ptr noundef %123, ptr noundef %124, i32 noundef %125) %127 = load i8, ptr %21, align 1 %128 = sext i8 %127 to i32 %129 = icmp eq i32 %128, 115 br i1 %129, label %134, label %130 130: ; preds = %119 %131 = load i8, ptr %21, align 1 %132 = sext i8 %131 to i32 %133 = icmp eq i32 %132, 116 br i1 %133, label %134, label %156 134: ; preds = %130, %119 %135 = call double (...) @tempo() store double %135, ptr %9, align 8 %136 = load i32, ptr %14, align 4 %137 = load ptr, ptr %16, align 8 %138 = call i32 @Selecao(i32 noundef %136, ptr noundef %137) %139 = call double (...) @tempo() %140 = load double, ptr %9, align 8 %141 = fsub double %139, %140 store double %141, ptr %10, align 8 %142 = load ptr, ptr %15, align 8 %143 = load ptr, ptr %16, align 8 %144 = load i32, ptr %14, align 4 %145 = load double, ptr %10, align 8 %146 = call i32 @num_buscas(ptr noundef %142, ptr noundef %143, i32 noundef %144, double noundef %145) store i32 %146, ptr %17, align 4 %147 = load i8, ptr %21, align 1 %148 = sext i8 %147 to i32 %149 = icmp ne i32 %148, 115 br i1 %149, label %150, label %155 150: ; preds = %134 %151 = load ptr, ptr %15, align 8 %152 = load ptr, ptr %16, align 8 %153 = load i32, ptr %14, align 4 %154 = call i32 @vetor_copy(ptr noundef %151, ptr noundef %152, i32 noundef %153) br label %155 155: ; preds = %150, %134 br label %156 156: ; preds = %155, %130 %157 = load i8, ptr %21, align 1 %158 = sext i8 %157 to i32 %159 = icmp eq i32 %158, 105 br i1 %159, label %164, label %160 160: ; preds = %156 %161 = load i8, ptr %21, align 1 %162 = sext i8 %161 to i32 %163 = icmp eq i32 %162, 116 br i1 %163, label %164, label %186 164: ; preds = %160, %156 %165 = call double (...) @tempo() store double %165, ptr %9, align 8 %166 = load i32, ptr %14, align 4 %167 = load ptr, ptr %16, align 8 %168 = call i32 @Insercao(i32 noundef %166, ptr noundef %167) %169 = call double (...) @tempo() %170 = load double, ptr %9, align 8 %171 = fsub double %169, %170 store double %171, ptr %11, align 8 %172 = load ptr, ptr %15, align 8 %173 = load ptr, ptr %16, align 8 %174 = load i32, ptr %14, align 4 %175 = load double, ptr %11, align 8 %176 = call i32 @num_buscas(ptr noundef %172, ptr noundef %173, i32 noundef %174, double noundef %175) store i32 %176, ptr %18, align 4 %177 = load i8, ptr %21, align 1 %178 = sext i8 %177 to i32 %179 = icmp ne i32 %178, 105 br i1 %179, label %180, label %185 180: ; preds = %164 %181 = load ptr, ptr %15, align 8 %182 = load ptr, ptr %16, align 8 %183 = load i32, ptr %14, align 4 %184 = call i32 @vetor_copy(ptr noundef %181, ptr noundef %182, i32 noundef %183) br label %185 185: ; preds = %180, %164 br label %186 186: ; preds = %185, %160 %187 = load i8, ptr %21, align 1 %188 = sext i8 %187 to i32 %189 = icmp eq i32 %188, 109 br i1 %189, label %194, label %190 190: ; preds = %186 %191 = load i8, ptr %21, align 1 %192 = sext i8 %191 to i32 %193 = icmp eq i32 %192, 116 br i1 %193, label %194, label %218 194: ; preds = %190, %186 %195 = call double (...) @tempo() store double %195, ptr %9, align 8 %196 = load i32, ptr %14, align 4 %197 = sub nsw i32 %196, 1 %198 = load ptr, ptr %16, align 8 %199 = call i32 @Mergesort(i32 noundef 0, i32 noundef %197, ptr noundef %198) %200 = call double (...) @tempo() %201 = load double, ptr %9, align 8 %202 = fsub double %200, %201 %203 = call double @abst(double noundef %202) store double %203, ptr %12, align 8 %204 = load ptr, ptr %15, align 8 %205 = load ptr, ptr %16, align 8 %206 = load i32, ptr %14, align 4 %207 = load double, ptr %12, align 8 %208 = call i32 @num_buscas(ptr noundef %204, ptr noundef %205, i32 noundef %206, double noundef %207) store i32 %208, ptr %19, align 4 %209 = load i8, ptr %21, align 1 %210 = sext i8 %209 to i32 %211 = icmp ne i32 %210, 109 br i1 %211, label %212, label %217 212: ; preds = %194 %213 = load ptr, ptr %15, align 8 %214 = load ptr, ptr %16, align 8 %215 = load i32, ptr %14, align 4 %216 = call i32 @vetor_copy(ptr noundef %213, ptr noundef %214, i32 noundef %215) br label %217 217: ; preds = %212, %194 br label %218 218: ; preds = %217, %190 %219 = load i8, ptr %21, align 1 %220 = sext i8 %219 to i32 %221 = icmp eq i32 %220, 113 br i1 %221, label %226, label %222 222: ; preds = %218 %223 = load i8, ptr %21, align 1 %224 = sext i8 %223 to i32 %225 = icmp eq i32 %224, 116 br i1 %225, label %226, label %241 226: ; preds = %222, %218 %227 = call double (...) @tempo() store double %227, ptr %9, align 8 %228 = load i32, ptr %14, align 4 %229 = sub nsw i32 %228, 1 %230 = load ptr, ptr %16, align 8 %231 = call i32 @Quicksort(i32 noundef 0, i32 noundef %229, ptr noundef %230) %232 = call double (...) @tempo() %233 = load double, ptr %9, align 8 %234 = fsub double %232, %233 %235 = call double @abst(double noundef %234) store double %235, ptr %13, align 8 %236 = load ptr, ptr %15, align 8 %237 = load ptr, ptr %16, align 8 %238 = load i32, ptr %14, align 4 %239 = load double, ptr %13, align 8 %240 = call i32 @num_buscas(ptr noundef %236, ptr noundef %237, i32 noundef %238, double noundef %239) store i32 %240, ptr %20, align 4 br label %241 241: ; preds = %226, %222 %242 = load ptr, ptr %15, align 8 %243 = call i32 @free(ptr noundef %242) %244 = load ptr, ptr %16, align 8 %245 = call i32 @free(ptr noundef %244) %246 = call double (...) @tempo() %247 = load double, ptr %7, align 8 %248 = fsub double %246, %247 store double %248, ptr %8, align 8 br label %249 249: ; preds = %241 %250 = load i32, ptr %14, align 4 %251 = add nsw i32 %250, 2000 store i32 %251, ptr %14, align 4 %252 = load double, ptr %8, align 8 %253 = load double, ptr %6, align 8 %254 = fcmp olt double %252, %253 br i1 %254, label %97, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %249 br label %255 255: ; preds = %._crit_edge, %89 store i32 0, ptr %3, align 4 br label %256 256: ; preds = %255, %116, %105, %58, %26 %257 = load i32, ptr %3, align 4 ret i32 %257 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare double @tempo(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @vetor_rand(ptr noundef, i32 noundef) #1 declare i32 @vetor_copy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Selecao(i32 noundef, ptr noundef) #1 declare i32 @num_buscas(ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare i32 @Insercao(i32 noundef, ptr noundef) #1 declare i32 @Mergesort(i32 noundef, i32 noundef, ptr noundef) #1 declare double @abst(double noundef) #1 declare i32 @Quicksort(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp34gfnbyq.c' source_filename = "/tmp/tmp34gfnbyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @papif_get_multiplex_(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 @PAPI_get_multiplex(i32 noundef %6) %8 = load ptr, ptr %4, align 8 store i32 %7, ptr %8, align 4 ret void } declare i32 @PAPI_get_multiplex(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/tmp34gfnbyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @papif_get_multiplex_(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 @PAPI_get_multiplex(i32 noundef %6) %8 = load ptr, ptr %4, align 8 store i32 %7, ptr %8, align 4 ret void } declare i32 @PAPI_get_multiplex(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/tmpv3v3x_0f.c' source_filename = "/tmp/tmpv3v3x_0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @transbridgeon(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [200 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef 4, i32 noundef 128) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(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/tmpv3v3x_0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @transbridgeon(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [200 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef 4, i32 noundef 128) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(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/tmpr9b41eg7.c' source_filename = "/tmp/tmpr9b41eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @task_5() #0 { %1 = call i32 (...) @OS_TaskRegister() br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @OS_TaskRegister(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr9b41eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @task_5() #0 { %1 = call i32 (...) @OS_TaskRegister() br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @OS_TaskRegister(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4a09i8bw.c' source_filename = "/tmp/tmp4a09i8bw.c" target datalayout = "e-m:e-p270: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/tmp4a09i8bw.c" target datalayout = "e-m:e-p270: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/tmpfsq0ym1j.c' source_filename = "/tmp/tmpfsq0ym1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @pvrgmain(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @pvrgmain(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/tmpfsq0ym1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @pvrgmain(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @pvrgmain(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/tmpi2ikcjw4.c' source_filename = "/tmp/tmpi2ikcjw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @profile_combo(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 @profile_init(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @profile_func(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @profile_stats(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @profile_save(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @profile_destroy(ptr noundef %11) ret void } declare i32 @profile_init(ptr noundef) #1 declare i32 @profile_func(ptr noundef) #1 declare i32 @profile_stats(ptr noundef) #1 declare i32 @profile_save(ptr noundef) #1 declare i32 @profile_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi2ikcjw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @profile_combo(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 @profile_init(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @profile_func(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @profile_stats(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @profile_save(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @profile_destroy(ptr noundef %11) ret void } declare i32 @profile_init(ptr noundef) #1 declare i32 @profile_func(ptr noundef) #1 declare i32 @profile_stats(ptr noundef) #1 declare i32 @profile_save(ptr noundef) #1 declare i32 @profile_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl0btibyr.c' source_filename = "/tmp/tmpl0btibyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Usage: %s pid\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"pid = %d \0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"sched_getscheduler\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"policy = %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @atol(ptr noundef %20) %22 = trunc i64 %21 to i32 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %6, align 4 %26 = call i32 @sched_getscheduler(i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %17 %29 = call i32 @perror(ptr noundef @.str.2) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %17 %32 = load i32, ptr %7, align 4 %33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32) %34 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @atol(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sched_getscheduler(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpl0btibyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Usage: %s pid\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"pid = %d \0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"sched_getscheduler\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"policy = %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @atol(ptr noundef %20) %22 = trunc i64 %21 to i32 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %6, align 4 %26 = call i32 @sched_getscheduler(i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %17 %29 = call i32 @perror(ptr noundef @.str.2) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %17 %32 = load i32, ptr %7, align 4 %33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32) %34 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @atol(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sched_getscheduler(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpccj85f_3.c' source_filename = "/tmp/tmpccj85f_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @crypt_encrypt_chacha8(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call ptr @chacha8_encrypt(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18) ret ptr %19 } declare ptr @chacha8_encrypt(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpccj85f_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @crypt_encrypt_chacha8(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call ptr @chacha8_encrypt(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18) ret ptr %19 } declare ptr @chacha8_encrypt(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg_2hp5sh.c' source_filename = "/tmp/tmpg_2hp5sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_number_from_char(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %35, %3 %10 = load i32, ptr %6, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %36 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %8, align 4 %15 = add i32 %14, 1 store i32 %15, ptr %8, align 4 %16 = zext i32 %14 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @truncate_to(i32 noundef %20, i32 noundef 7) %22 = call i64 @parse_number_from_single_char(i8 noundef signext %18, i32 noundef %19, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = zext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %27, 8 store i32 %28, ptr %6, align 4 store i32 0, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sge i32 %29, 7 br i1 %30, label %31, label %35 31: ; preds = %12 %32 = call i32 @get_pos_weight(i32 noundef 8) %33 = load i32, ptr %7, align 4 %34 = mul i32 %33, %32 store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %31, %12 br label %9, !llvm.loop !6 36: ; preds = %9 %37 = load i32, ptr %7, align 4 ret i32 %37 } declare i64 @parse_number_from_single_char(i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @truncate_to(i32 noundef, i32 noundef) #1 declare i32 @get_pos_weight(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/tmpg_2hp5sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_number_from_char(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %34 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %8, align 4 %14 = add i32 %13, 1 store i32 %14, ptr %8, align 4 %15 = zext i32 %13 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = load i8, ptr %16, align 1 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @truncate_to(i32 noundef %19, i32 noundef 7) %21 = call i64 @parse_number_from_single_char(i8 noundef signext %17, i32 noundef %18, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = zext i32 %22 to i64 %24 = add nsw i64 %23, %21 %25 = trunc i64 %24 to i32 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = sub nsw i32 %26, 8 store i32 %27, ptr %6, align 4 store i32 0, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sge i32 %28, 7 br i1 %29, label %30, label %34 30: ; preds = %11 %31 = call i32 @get_pos_weight(i32 noundef 8) %32 = load i32, ptr %7, align 4 %33 = mul i32 %32, %31 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %30, %11 %35 = load i32, ptr %6, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %37 37: ; preds = %._crit_edge, %3 %38 = load i32, ptr %7, align 4 ret i32 %38 } declare i64 @parse_number_from_single_char(i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @truncate_to(i32 noundef, i32 noundef) #1 declare i32 @get_pos_weight(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/tmpi6ixr50u.c' source_filename = "/tmp/tmpi6ixr50u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_full_redisplay() #0 { %1 = call i32 (...) @term_clear() %2 = call i32 (...) @term_redisplay() ret void } declare i32 @term_clear(...) #1 declare i32 @term_redisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi6ixr50u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_full_redisplay() #0 { %1 = call i32 (...) @term_clear() %2 = call i32 (...) @term_redisplay() ret void } declare i32 @term_clear(...) #1 declare i32 @term_redisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppg9dru_1.c' source_filename = "/tmp/tmppg9dru_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppg9dru_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeo0q1qk1.c' source_filename = "/tmp/tmpeo0q1qk1.c" target datalayout = "e-m:e-p270: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/tmpeo0q1qk1.c" target datalayout = "e-m:e-p270: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/tmp71pqa3y7.c' source_filename = "/tmp/tmp71pqa3y7.c" target datalayout = "e-m:e-p270: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/tmp71pqa3y7.c" target datalayout = "e-m:e-p270: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/tmpzl0e1l9t.c' source_filename = "/tmp/tmpzl0e1l9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Can't open socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Can't bind port\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 %struct.sockaddr_in, align 8 %9 = alloca %struct.sockaddr_in, align 8 %10 = alloca [256 x i8], align 16 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr @AF_INET, align 4 %13 = load i32, ptr @SOCK_DGRAM, align 4 %14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 19: ; preds = %2 %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 27: ; preds = %19 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %28, ptr %29, align 4 %30 = load i32, ptr @INADDR_ANY, align 4 %31 = call i32 @htonl(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i32 0, i32 0 store i32 %31, ptr %33, align 8 %34 = call ptr @htons(i32 noundef 8330) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store ptr %34, ptr %35, align 8 %36 = load i32, ptr %6, align 4 %37 = call i64 @bind(i32 noundef %36, ptr noundef %9, i32 noundef 16) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %27 %40 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %54 41: ; preds = %27 br label %42 42: ; preds = %42, %41 %43 = load i32, ptr %6, align 4 %44 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %45 = call i32 @recvfrom(i32 noundef %43, ptr noundef %44, i32 noundef 256, i32 noundef 0, ptr noundef %8, ptr noundef %11) %46 = call ptr @htons(i32 noundef 4321) %47 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store ptr %46, ptr %47, align 8 %48 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store i8 33, ptr %48, align 16 %49 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 1 store i8 0, ptr %49, align 1 %50 = load i32, ptr %7, align 4 %51 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %52 = load i32, ptr %11, align 4 %53 = call i32 @sendto(i32 noundef %50, ptr noundef %51, i32 noundef 1, i32 noundef 0, ptr noundef %8, i32 noundef %52) br label %42 54: ; preds = %39, %25, %17 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare ptr @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzl0e1l9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Can't open socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Can't bind port\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 %struct.sockaddr_in, align 8 %9 = alloca %struct.sockaddr_in, align 8 %10 = alloca [256 x i8], align 16 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr @AF_INET, align 4 %13 = load i32, ptr @SOCK_DGRAM, align 4 %14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 19: ; preds = %2 %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 27: ; preds = %19 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %28, ptr %29, align 4 %30 = load i32, ptr @INADDR_ANY, align 4 %31 = call i32 @htonl(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i32 0, i32 0 store i32 %31, ptr %33, align 8 %34 = call ptr @htons(i32 noundef 8330) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store ptr %34, ptr %35, align 8 %36 = load i32, ptr %6, align 4 %37 = call i64 @bind(i32 noundef %36, ptr noundef %9, i32 noundef 16) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %27 %40 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %54 41: ; preds = %27 br label %42 42: ; preds = %42, %41 %43 = load i32, ptr %6, align 4 %44 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %45 = call i32 @recvfrom(i32 noundef %43, ptr noundef %44, i32 noundef 256, i32 noundef 0, ptr noundef %8, ptr noundef %11) %46 = call ptr @htons(i32 noundef 4321) %47 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store ptr %46, ptr %47, align 8 %48 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store i8 33, ptr %48, align 16 %49 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 1 store i8 0, ptr %49, align 1 %50 = load i32, ptr %7, align 4 %51 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %52 = load i32, ptr %11, align 4 %53 = call i32 @sendto(i32 noundef %50, ptr noundef %51, i32 noundef 1, i32 noundef 0, ptr noundef %8, i32 noundef %52) br label %42 54: ; preds = %39, %25, %17 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare ptr @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnp5mdfr_.c' source_filename = "/tmp/tmpnp5mdfr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @node_cmdline_parser_ext(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @node_cmdline_parser_internal(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @node_cmdline_parser_internal(i32 noundef, ptr noundef, 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/tmpnp5mdfr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @node_cmdline_parser_ext(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @node_cmdline_parser_internal(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @node_cmdline_parser_internal(i32 noundef, ptr noundef, 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/tmpnf3qsqc6.c' source_filename = "/tmp/tmpnf3qsqc6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkostemp(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 = load i32, ptr %4, align 4 %8 = call i64 @_gettemp(ptr noundef %6, ptr noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %5, align 4 br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ -1, %12 ] ret i32 %14 } declare i64 @_gettemp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnf3qsqc6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkostemp(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 = load i32, ptr %4, align 4 %8 = call i64 @_gettemp(ptr noundef %6, ptr noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %5, align 4 br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ -1, %12 ] ret i32 %14 } declare i64 @_gettemp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2nft3p1i.c' source_filename = "/tmp/tmp2nft3p1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_empty_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %3 store i32 -1, ptr %4, align 4 br label %97 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = zext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %22, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %14 store i32 -2, ptr %4, align 4 br label %97 26: ; preds = %14 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = mul i32 %27, %28 %30 = zext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %35, align 8 store ptr %34, ptr %36, align 8 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %38, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %46 41: ; preds = %26 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %42, align 8 %44 = call i32 @free(ptr noundef %43) %45 = load ptr, ptr %5, align 8 store ptr null, ptr %45, align 8 store i32 -2, ptr %4, align 4 br label %97 46: ; preds = %26 store i32 1, ptr %8, align 4 br label %47 47: ; preds = %66, %46 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp ult i32 %48, %49 br i1 %50, label %51, label %69 51: ; preds = %47 %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %7, align 4 %58 = mul i32 %56, %57 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %55, i64 %59 %61 = load ptr, ptr %5, align 8 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %8, align 4 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 store ptr %60, ptr %65, align 8 br label %66 66: ; preds = %51 %67 = load i32, ptr %8, align 4 %68 = add i32 %67, 1 store i32 %68, ptr %8, align 4 br label %47, !llvm.loop !6 69: ; preds = %47 store i32 0, ptr %9, align 4 br label %70 70: ; preds = %93, %69 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp ult i32 %71, %72 br i1 %73, label %74, label %96 74: ; preds = %70 store i32 0, ptr %10, align 4 br label %75 75: ; preds = %89, %74 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp ult i32 %76, %77 br i1 %78, label %79, label %92 79: ; preds = %75 %80 = load ptr, ptr %5, align 8 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %9, align 4 %83 = zext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %81, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr %10, align 4 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %85, i64 %87 store double 0.000000e+00, ptr %88, align 8 br label %89 89: ; preds = %79 %90 = load i32, ptr %10, align 4 %91 = add i32 %90, 1 store i32 %91, ptr %10, align 4 br label %75, !llvm.loop !8 92: ; preds = %75 br label %93 93: ; preds = %92 %94 = load i32, ptr %9, align 4 %95 = add i32 %94, 1 store i32 %95, ptr %9, align 4 br label %70, !llvm.loop !9 96: ; preds = %70 store i32 0, ptr %4, align 4 br label %97 97: ; preds = %96, %41, %25, %13 %98 = load i32, ptr %4, align 4 ret i32 %98 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2nft3p1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_empty_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %3 store i32 -1, ptr %4, align 4 br label %103 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = zext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %22, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %14 store i32 -2, ptr %4, align 4 br label %103 26: ; preds = %14 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = mul i32 %27, %28 %30 = zext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %35, align 8 store ptr %34, ptr %36, align 8 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %38, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %46 41: ; preds = %26 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %42, align 8 %44 = call i32 @free(ptr noundef %43) %45 = load ptr, ptr %5, align 8 store ptr null, ptr %45, align 8 store i32 -2, ptr %4, align 4 br label %103 46: ; preds = %26 store i32 1, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp ult i32 %47, %48 br i1 %49, label %.lr.ph, label %71 .lr.ph: ; preds = %46 br label %50 50: ; preds = %.lr.ph, %65 %51 = load ptr, ptr %5, align 8 %52 = load ptr, ptr %51, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 0 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %7, align 4 %57 = mul i32 %55, %56 %58 = zext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %54, i64 %58 %60 = load ptr, ptr %5, align 8 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %8, align 4 %63 = zext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 store ptr %59, ptr %64, align 8 br label %65 65: ; preds = %50 %66 = load i32, ptr %8, align 4 %67 = add i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp ult i32 %68, %69 br i1 %70, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %71 71: ; preds = %._crit_edge, %46 store i32 0, ptr %9, align 4 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp ult i32 %72, %73 br i1 %74, label %.lr.ph5, label %102 .lr.ph5: ; preds = %71 br label %75 75: ; preds = %.lr.ph5, %96 store i32 0, ptr %10, align 4 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp ult i32 %76, %77 br i1 %78, label %.lr.ph2, label %95 .lr.ph2: ; preds = %75 br label %79 79: ; preds = %.lr.ph2, %89 %80 = load ptr, ptr %5, align 8 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %9, align 4 %83 = zext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %81, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr %10, align 4 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %85, i64 %87 store double 0.000000e+00, ptr %88, align 8 br label %89 89: ; preds = %79 %90 = load i32, ptr %10, align 4 %91 = add i32 %90, 1 store i32 %91, ptr %10, align 4 %92 = load i32, ptr %10, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp ult i32 %92, %93 br i1 %94, label %79, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %95 95: ; preds = %._crit_edge3, %75 br label %96 96: ; preds = %95 %97 = load i32, ptr %9, align 4 %98 = add i32 %97, 1 store i32 %98, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = load i32, ptr %6, align 4 %101 = icmp ult i32 %99, %100 br i1 %101, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %96 br label %102 102: ; preds = %._crit_edge6, %71 store i32 0, ptr %4, align 4 br label %103 103: ; preds = %102, %41, %25, %13 %104 = load i32, ptr %4, align 4 ret i32 %104 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp76pa32ra.c' source_filename = "/tmp/tmp76pa32ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\08 \08\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CONSOL_GetString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %31, %1 %7 = call signext i8 (...) @CONSOL_GetCh() store i8 %7, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 13 br i1 %9, label %10, label %32 10: ; preds = %6 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 8 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = ptrtoint ptr %15 to i32 %17 = load ptr, ptr %2, align 8 %18 = ptrtoint ptr %17 to i32 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %24 20: ; preds = %14 %21 = call i32 @CONSOL_Printf(ptr noundef @.str) %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 -1 store ptr %23, ptr %2, align 8 br label %24 24: ; preds = %20, %14 br label %31 25: ; preds = %10 %26 = load i8, ptr %4, align 1 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %2, align 8 store i8 %26, ptr %27, align 1 %29 = load i8, ptr %4, align 1 %30 = call i32 @CONSOL_SendCh(i8 noundef signext %29) br label %31 31: ; preds = %25, %24 br label %6, !llvm.loop !6 32: ; preds = %6 %33 = load ptr, ptr %2, align 8 store i8 0, ptr %33, align 1 %34 = call i32 @CONSOL_SendCh(i8 noundef signext 10) ret void } declare signext i8 @CONSOL_GetCh(...) #1 declare i32 @CONSOL_Printf(ptr noundef) #1 declare i32 @CONSOL_SendCh(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/tmp76pa32ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\08 \08\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CONSOL_GetString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = call signext i8 (...) @CONSOL_GetCh() store i8 %6, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 13 br i1 %8, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %30 %10 = load i8, ptr %4, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 8 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = ptrtoint ptr %14 to i32 %16 = load ptr, ptr %2, align 8 %17 = ptrtoint ptr %16 to i32 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = call i32 @CONSOL_Printf(ptr noundef @.str) %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 -1 store ptr %22, ptr %2, align 8 br label %23 23: ; preds = %19, %13 br label %30 24: ; preds = %9 %25 = load i8, ptr %4, align 1 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %2, align 8 store i8 %25, ptr %26, align 1 %28 = load i8, ptr %4, align 1 %29 = call i32 @CONSOL_SendCh(i8 noundef signext %28) br label %30 30: ; preds = %24, %23 %31 = call signext i8 (...) @CONSOL_GetCh() store i8 %31, ptr %4, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 13 br i1 %33, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %2, align 8 store i8 0, ptr %35, align 1 %36 = call i32 @CONSOL_SendCh(i8 noundef signext 10) ret void } declare signext i8 @CONSOL_GetCh(...) #1 declare i32 @CONSOL_Printf(ptr noundef) #1 declare i32 @CONSOL_SendCh(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/tmp652e6xnc.c' source_filename = "/tmp/tmp652e6xnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bronson/ctest/refs/heads/master/ctassert.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"%s != NULL with %s==0x%lX!\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ap\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"%s == NULL with %s==0x%lX!\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"%s %s %s with %s=0x%lX and %s=0x%lX\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"==\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"cp\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"!=\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"bp\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c">=\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_assert_ptr() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 store ptr %1, ptr %3, align 8 store ptr %2, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 br label %43 43: ; preds = %0 %44 = load ptr, ptr %3, align 8 store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = icmp ne ptr %45, null %47 = zext i1 %46 to i32 %48 = load ptr, ptr %7, align 8 %49 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %47, ptr noundef @.str, i32 noundef 149, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %48) br label %50 50: ; preds = %43 br label %51 51: ; preds = %50 %52 = load ptr, ptr %6, align 8 store ptr %52, ptr %8, align 8 %53 = load ptr, ptr %8, align 8 %54 = icmp eq ptr %53, null %55 = zext i1 %54 to i32 %56 = load ptr, ptr %8, align 8 %57 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %55, ptr noundef @.str, i32 noundef 150, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef %56) br label %58 58: ; preds = %51 br label %59 59: ; preds = %78, %58 %60 = call i64 (...) @ctest_toggle_inversion() %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %79 62: ; preds = %59 br label %63 63: ; preds = %62 %64 = load ptr, ptr %6, align 8 store ptr %64, ptr %9, align 8 %65 = load ptr, ptr %9, align 8 %66 = icmp ne ptr %65, null %67 = zext i1 %66 to i32 %68 = load ptr, ptr %9, align 8 %69 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %67, ptr noundef @.str, i32 noundef 153, ptr noundef @.str.1, ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef %68) br label %70 70: ; preds = %63 br label %71 71: ; preds = %70 %72 = load ptr, ptr %3, align 8 store ptr %72, ptr %10, align 8 %73 = load ptr, ptr %10, align 8 %74 = icmp eq ptr %73, null %75 = zext i1 %74 to i32 %76 = load ptr, ptr %10, align 8 %77 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %75, ptr noundef @.str, i32 noundef 154, ptr noundef @.str.3, ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %76) br label %78 78: ; preds = %71 br label %59, !llvm.loop !6 79: ; preds = %59 br label %80 80: ; preds = %79 %81 = load ptr, ptr %3, align 8 store ptr %81, ptr %11, align 8 %82 = load ptr, ptr %5, align 8 store ptr %82, ptr %12, align 8 %83 = load ptr, ptr %11, align 8 %84 = load ptr, ptr %12, align 8 %85 = icmp eq ptr %83, %84 %86 = zext i1 %85 to i32 %87 = load ptr, ptr %11, align 8 %88 = load ptr, ptr %12, align 8 %89 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %86, ptr noundef @.str, i32 noundef 157, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %87, ptr noundef @.str.7, ptr noundef %88) br label %90 90: ; preds = %80 br label %91 91: ; preds = %90 %92 = load ptr, ptr %3, align 8 store ptr %92, ptr %13, align 8 %93 = load ptr, ptr %4, align 8 store ptr %93, ptr %14, align 8 %94 = load ptr, ptr %13, align 8 %95 = load ptr, ptr %14, align 8 %96 = icmp ne ptr %94, %95 %97 = zext i1 %96 to i32 %98 = load ptr, ptr %13, align 8 %99 = load ptr, ptr %14, align 8 %100 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %97, ptr noundef @.str, i32 noundef 158, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %98, ptr noundef @.str.9, ptr noundef %99) br label %101 101: ; preds = %91 br label %102 102: ; preds = %101 %103 = load ptr, ptr %3, align 8 store ptr %103, ptr %15, align 8 %104 = load ptr, ptr %4, align 8 store ptr %104, ptr %16, align 8 %105 = load ptr, ptr %15, align 8 %106 = load ptr, ptr %16, align 8 %107 = icmp ugt ptr %105, %106 %108 = zext i1 %107 to i32 %109 = load ptr, ptr %15, align 8 %110 = load ptr, ptr %16, align 8 %111 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %108, ptr noundef @.str, i32 noundef 159, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.10, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %109, ptr noundef @.str.9, ptr noundef %110) br label %112 112: ; preds = %102 br label %113 113: ; preds = %112 %114 = load ptr, ptr %3, align 8 store ptr %114, ptr %17, align 8 %115 = load ptr, ptr %4, align 8 store ptr %115, ptr %18, align 8 %116 = load ptr, ptr %17, align 8 %117 = load ptr, ptr %18, align 8 %118 = icmp uge ptr %116, %117 %119 = zext i1 %118 to i32 %120 = load ptr, ptr %17, align 8 %121 = load ptr, ptr %18, align 8 %122 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %119, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.11, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %120, ptr noundef @.str.9, ptr noundef %121) br label %123 123: ; preds = %113 br label %124 124: ; preds = %123 %125 = load ptr, ptr %3, align 8 store ptr %125, ptr %19, align 8 %126 = load ptr, ptr %5, align 8 store ptr %126, ptr %20, align 8 %127 = load ptr, ptr %19, align 8 %128 = load ptr, ptr %20, align 8 %129 = icmp uge ptr %127, %128 %130 = zext i1 %129 to i32 %131 = load ptr, ptr %19, align 8 %132 = load ptr, ptr %20, align 8 %133 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %130, ptr noundef @.str, i32 noundef 161, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.11, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %131, ptr noundef @.str.7, ptr noundef %132) br label %134 134: ; preds = %124 br label %135 135: ; preds = %134 %136 = load ptr, ptr %4, align 8 store ptr %136, ptr %21, align 8 %137 = load ptr, ptr %3, align 8 store ptr %137, ptr %22, align 8 %138 = load ptr, ptr %21, align 8 %139 = load ptr, ptr %22, align 8 %140 = icmp ult ptr %138, %139 %141 = zext i1 %140 to i32 %142 = load ptr, ptr %21, align 8 %143 = load ptr, ptr %22, align 8 %144 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %141, ptr noundef @.str, i32 noundef 162, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.12, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %142, ptr noundef @.str.2, ptr noundef %143) br label %145 145: ; preds = %135 br label %146 146: ; preds = %145 %147 = load ptr, ptr %4, align 8 store ptr %147, ptr %23, align 8 %148 = load ptr, ptr %3, align 8 store ptr %148, ptr %24, align 8 %149 = load ptr, ptr %23, align 8 %150 = load ptr, ptr %24, align 8 %151 = icmp ule ptr %149, %150 %152 = zext i1 %151 to i32 %153 = load ptr, ptr %23, align 8 %154 = load ptr, ptr %24, align 8 %155 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %152, ptr noundef @.str, i32 noundef 163, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.13, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %153, ptr noundef @.str.2, ptr noundef %154) br label %156 156: ; preds = %146 br label %157 157: ; preds = %156 %158 = load ptr, ptr %5, align 8 store ptr %158, ptr %25, align 8 %159 = load ptr, ptr %3, align 8 store ptr %159, ptr %26, align 8 %160 = load ptr, ptr %25, align 8 %161 = load ptr, ptr %26, align 8 %162 = icmp ule ptr %160, %161 %163 = zext i1 %162 to i32 %164 = load ptr, ptr %25, align 8 %165 = load ptr, ptr %26, align 8 %166 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %163, ptr noundef @.str, i32 noundef 164, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.13, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef %164, ptr noundef @.str.2, ptr noundef %165) br label %167 167: ; preds = %157 br label %168 168: ; preds = %259, %167 %169 = call i64 (...) @ctest_toggle_inversion() %170 = icmp ne i64 %169, 0 br i1 %170, label %171, label %260 171: ; preds = %168 br label %172 172: ; preds = %171 %173 = load ptr, ptr %3, align 8 store ptr %173, ptr %27, align 8 %174 = load ptr, ptr %4, align 8 store ptr %174, ptr %28, align 8 %175 = load ptr, ptr %27, align 8 %176 = load ptr, ptr %28, align 8 %177 = icmp eq ptr %175, %176 %178 = zext i1 %177 to i32 %179 = load ptr, ptr %27, align 8 %180 = load ptr, ptr %28, align 8 %181 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %178, ptr noundef @.str, i32 noundef 167, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %179, ptr noundef @.str.9, ptr noundef %180) br label %182 182: ; preds = %172 br label %183 183: ; preds = %182 %184 = load ptr, ptr %3, align 8 store ptr %184, ptr %29, align 8 %185 = load ptr, ptr %5, align 8 store ptr %185, ptr %30, align 8 %186 = load ptr, ptr %29, align 8 %187 = load ptr, ptr %30, align 8 %188 = icmp ne ptr %186, %187 %189 = zext i1 %188 to i32 %190 = load ptr, ptr %29, align 8 %191 = load ptr, ptr %30, align 8 %192 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %189, ptr noundef @.str, i32 noundef 168, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.8, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %190, ptr noundef @.str.7, ptr noundef %191) br label %193 193: ; preds = %183 br label %194 194: ; preds = %193 %195 = load ptr, ptr %3, align 8 store ptr %195, ptr %31, align 8 %196 = load ptr, ptr %5, align 8 store ptr %196, ptr %32, align 8 %197 = load ptr, ptr %31, align 8 %198 = load ptr, ptr %32, align 8 %199 = icmp ugt ptr %197, %198 %200 = zext i1 %199 to i32 %201 = load ptr, ptr %31, align 8 %202 = load ptr, ptr %32, align 8 %203 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %200, ptr noundef @.str, i32 noundef 169, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.10, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %201, ptr noundef @.str.7, ptr noundef %202) br label %204 204: ; preds = %194 br label %205 205: ; preds = %204 %206 = load ptr, ptr %4, align 8 store ptr %206, ptr %33, align 8 %207 = load ptr, ptr %5, align 8 store ptr %207, ptr %34, align 8 %208 = load ptr, ptr %33, align 8 %209 = load ptr, ptr %34, align 8 %210 = icmp ugt ptr %208, %209 %211 = zext i1 %210 to i32 %212 = load ptr, ptr %33, align 8 %213 = load ptr, ptr %34, align 8 %214 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %211, ptr noundef @.str, i32 noundef 170, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef %212, ptr noundef @.str.7, ptr noundef %213) br label %215 215: ; preds = %205 br label %216 216: ; preds = %215 %217 = load ptr, ptr %4, align 8 store ptr %217, ptr %35, align 8 %218 = load ptr, ptr %3, align 8 store ptr %218, ptr %36, align 8 %219 = load ptr, ptr %35, align 8 %220 = load ptr, ptr %36, align 8 %221 = icmp uge ptr %219, %220 %222 = zext i1 %221 to i32 %223 = load ptr, ptr %35, align 8 %224 = load ptr, ptr %36, align 8 %225 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %222, ptr noundef @.str, i32 noundef 171, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.11, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %223, ptr noundef @.str.2, ptr noundef %224) br label %226 226: ; preds = %216 br label %227 227: ; preds = %226 %228 = load ptr, ptr %5, align 8 store ptr %228, ptr %37, align 8 %229 = load ptr, ptr %3, align 8 store ptr %229, ptr %38, align 8 %230 = load ptr, ptr %37, align 8 %231 = load ptr, ptr %38, align 8 %232 = icmp ult ptr %230, %231 %233 = zext i1 %232 to i32 %234 = load ptr, ptr %37, align 8 %235 = load ptr, ptr %38, align 8 %236 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %233, ptr noundef @.str, i32 noundef 172, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef %234, ptr noundef @.str.2, ptr noundef %235) br label %237 237: ; preds = %227 br label %238 238: ; preds = %237 %239 = load ptr, ptr %5, align 8 store ptr %239, ptr %39, align 8 %240 = load ptr, ptr %4, align 8 store ptr %240, ptr %40, align 8 %241 = load ptr, ptr %39, align 8 %242 = load ptr, ptr %40, align 8 %243 = icmp ult ptr %241, %242 %244 = zext i1 %243 to i32 %245 = load ptr, ptr %39, align 8 %246 = load ptr, ptr %40, align 8 %247 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %244, ptr noundef @.str, i32 noundef 173, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, ptr noundef @.str.7, ptr noundef %245, ptr noundef @.str.9, ptr noundef %246) br label %248 248: ; preds = %238 br label %249 249: ; preds = %248 %250 = load ptr, ptr %3, align 8 store ptr %250, ptr %41, align 8 %251 = load ptr, ptr %4, align 8 store ptr %251, ptr %42, align 8 %252 = load ptr, ptr %41, align 8 %253 = load ptr, ptr %42, align 8 %254 = icmp ule ptr %252, %253 %255 = zext i1 %254 to i32 %256 = load ptr, ptr %41, align 8 %257 = load ptr, ptr %42, align 8 %258 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %255, ptr noundef @.str, i32 noundef 174, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.13, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %256, ptr noundef @.str.9, ptr noundef %257) br label %259 259: ; preds = %249 br label %168, !llvm.loop !8 260: ; preds = %168 ret void } declare i32 @ctest_assert_fmt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @ctest_toggle_inversion(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp652e6xnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bronson/ctest/refs/heads/master/ctassert.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"%s != NULL with %s==0x%lX!\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ap\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"%s == NULL with %s==0x%lX!\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"%s %s %s with %s=0x%lX and %s=0x%lX\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"==\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"cp\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"!=\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"bp\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c">=\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_assert_ptr() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 store ptr %1, ptr %3, align 8 store ptr %2, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 br label %43 43: ; preds = %0 %44 = load ptr, ptr %3, align 8 store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = icmp ne ptr %45, null %47 = zext i1 %46 to i32 %48 = load ptr, ptr %7, align 8 %49 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %47, ptr noundef @.str, i32 noundef 149, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %48) br label %50 50: ; preds = %43 br label %51 51: ; preds = %50 %52 = load ptr, ptr %6, align 8 store ptr %52, ptr %8, align 8 %53 = load ptr, ptr %8, align 8 %54 = icmp eq ptr %53, null %55 = zext i1 %54 to i32 %56 = load ptr, ptr %8, align 8 %57 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %55, ptr noundef @.str, i32 noundef 150, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef %56) br label %58 58: ; preds = %51 %59 = call i64 (...) @ctest_toggle_inversion() %60 = icmp ne i64 %59, 0 br i1 %60, label %.lr.ph, label %80 .lr.ph: ; preds = %58 br label %61 61: ; preds = %.lr.ph, %77 br label %62 62: ; preds = %61 %63 = load ptr, ptr %6, align 8 store ptr %63, ptr %9, align 8 %64 = load ptr, ptr %9, align 8 %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = load ptr, ptr %9, align 8 %68 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %66, ptr noundef @.str, i32 noundef 153, ptr noundef @.str.1, ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef %67) br label %69 69: ; preds = %62 br label %70 70: ; preds = %69 %71 = load ptr, ptr %3, align 8 store ptr %71, ptr %10, align 8 %72 = load ptr, ptr %10, align 8 %73 = icmp eq ptr %72, null %74 = zext i1 %73 to i32 %75 = load ptr, ptr %10, align 8 %76 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %74, ptr noundef @.str, i32 noundef 154, ptr noundef @.str.3, ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %75) br label %77 77: ; preds = %70 %78 = call i64 (...) @ctest_toggle_inversion() %79 = icmp ne i64 %78, 0 br i1 %79, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %80 80: ; preds = %._crit_edge, %58 br label %81 81: ; preds = %80 %82 = load ptr, ptr %3, align 8 store ptr %82, ptr %11, align 8 %83 = load ptr, ptr %5, align 8 store ptr %83, ptr %12, align 8 %84 = load ptr, ptr %11, align 8 %85 = load ptr, ptr %12, align 8 %86 = icmp eq ptr %84, %85 %87 = zext i1 %86 to i32 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %12, align 8 %90 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %87, ptr noundef @.str, i32 noundef 157, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %88, ptr noundef @.str.7, ptr noundef %89) br label %91 91: ; preds = %81 br label %92 92: ; preds = %91 %93 = load ptr, ptr %3, align 8 store ptr %93, ptr %13, align 8 %94 = load ptr, ptr %4, align 8 store ptr %94, ptr %14, align 8 %95 = load ptr, ptr %13, align 8 %96 = load ptr, ptr %14, align 8 %97 = icmp ne ptr %95, %96 %98 = zext i1 %97 to i32 %99 = load ptr, ptr %13, align 8 %100 = load ptr, ptr %14, align 8 %101 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %98, ptr noundef @.str, i32 noundef 158, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %99, ptr noundef @.str.9, ptr noundef %100) br label %102 102: ; preds = %92 br label %103 103: ; preds = %102 %104 = load ptr, ptr %3, align 8 store ptr %104, ptr %15, align 8 %105 = load ptr, ptr %4, align 8 store ptr %105, ptr %16, align 8 %106 = load ptr, ptr %15, align 8 %107 = load ptr, ptr %16, align 8 %108 = icmp ugt ptr %106, %107 %109 = zext i1 %108 to i32 %110 = load ptr, ptr %15, align 8 %111 = load ptr, ptr %16, align 8 %112 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %109, ptr noundef @.str, i32 noundef 159, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.10, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %110, ptr noundef @.str.9, ptr noundef %111) br label %113 113: ; preds = %103 br label %114 114: ; preds = %113 %115 = load ptr, ptr %3, align 8 store ptr %115, ptr %17, align 8 %116 = load ptr, ptr %4, align 8 store ptr %116, ptr %18, align 8 %117 = load ptr, ptr %17, align 8 %118 = load ptr, ptr %18, align 8 %119 = icmp uge ptr %117, %118 %120 = zext i1 %119 to i32 %121 = load ptr, ptr %17, align 8 %122 = load ptr, ptr %18, align 8 %123 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %120, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.11, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %121, ptr noundef @.str.9, ptr noundef %122) br label %124 124: ; preds = %114 br label %125 125: ; preds = %124 %126 = load ptr, ptr %3, align 8 store ptr %126, ptr %19, align 8 %127 = load ptr, ptr %5, align 8 store ptr %127, ptr %20, align 8 %128 = load ptr, ptr %19, align 8 %129 = load ptr, ptr %20, align 8 %130 = icmp uge ptr %128, %129 %131 = zext i1 %130 to i32 %132 = load ptr, ptr %19, align 8 %133 = load ptr, ptr %20, align 8 %134 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %131, ptr noundef @.str, i32 noundef 161, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.11, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %132, ptr noundef @.str.7, ptr noundef %133) br label %135 135: ; preds = %125 br label %136 136: ; preds = %135 %137 = load ptr, ptr %4, align 8 store ptr %137, ptr %21, align 8 %138 = load ptr, ptr %3, align 8 store ptr %138, ptr %22, align 8 %139 = load ptr, ptr %21, align 8 %140 = load ptr, ptr %22, align 8 %141 = icmp ult ptr %139, %140 %142 = zext i1 %141 to i32 %143 = load ptr, ptr %21, align 8 %144 = load ptr, ptr %22, align 8 %145 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %142, ptr noundef @.str, i32 noundef 162, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.12, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %143, ptr noundef @.str.2, ptr noundef %144) br label %146 146: ; preds = %136 br label %147 147: ; preds = %146 %148 = load ptr, ptr %4, align 8 store ptr %148, ptr %23, align 8 %149 = load ptr, ptr %3, align 8 store ptr %149, ptr %24, align 8 %150 = load ptr, ptr %23, align 8 %151 = load ptr, ptr %24, align 8 %152 = icmp ule ptr %150, %151 %153 = zext i1 %152 to i32 %154 = load ptr, ptr %23, align 8 %155 = load ptr, ptr %24, align 8 %156 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %153, ptr noundef @.str, i32 noundef 163, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.13, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %154, ptr noundef @.str.2, ptr noundef %155) br label %157 157: ; preds = %147 br label %158 158: ; preds = %157 %159 = load ptr, ptr %5, align 8 store ptr %159, ptr %25, align 8 %160 = load ptr, ptr %3, align 8 store ptr %160, ptr %26, align 8 %161 = load ptr, ptr %25, align 8 %162 = load ptr, ptr %26, align 8 %163 = icmp ule ptr %161, %162 %164 = zext i1 %163 to i32 %165 = load ptr, ptr %25, align 8 %166 = load ptr, ptr %26, align 8 %167 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %164, ptr noundef @.str, i32 noundef 164, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.13, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef %165, ptr noundef @.str.2, ptr noundef %166) br label %168 168: ; preds = %158 %169 = call i64 (...) @ctest_toggle_inversion() %170 = icmp ne i64 %169, 0 br i1 %170, label %.lr.ph2, label %262 .lr.ph2: ; preds = %168 br label %171 171: ; preds = %.lr.ph2, %259 br label %172 172: ; preds = %171 %173 = load ptr, ptr %3, align 8 store ptr %173, ptr %27, align 8 %174 = load ptr, ptr %4, align 8 store ptr %174, ptr %28, align 8 %175 = load ptr, ptr %27, align 8 %176 = load ptr, ptr %28, align 8 %177 = icmp eq ptr %175, %176 %178 = zext i1 %177 to i32 %179 = load ptr, ptr %27, align 8 %180 = load ptr, ptr %28, align 8 %181 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %178, ptr noundef @.str, i32 noundef 167, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.6, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %179, ptr noundef @.str.9, ptr noundef %180) br label %182 182: ; preds = %172 br label %183 183: ; preds = %182 %184 = load ptr, ptr %3, align 8 store ptr %184, ptr %29, align 8 %185 = load ptr, ptr %5, align 8 store ptr %185, ptr %30, align 8 %186 = load ptr, ptr %29, align 8 %187 = load ptr, ptr %30, align 8 %188 = icmp ne ptr %186, %187 %189 = zext i1 %188 to i32 %190 = load ptr, ptr %29, align 8 %191 = load ptr, ptr %30, align 8 %192 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %189, ptr noundef @.str, i32 noundef 168, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.8, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %190, ptr noundef @.str.7, ptr noundef %191) br label %193 193: ; preds = %183 br label %194 194: ; preds = %193 %195 = load ptr, ptr %3, align 8 store ptr %195, ptr %31, align 8 %196 = load ptr, ptr %5, align 8 store ptr %196, ptr %32, align 8 %197 = load ptr, ptr %31, align 8 %198 = load ptr, ptr %32, align 8 %199 = icmp ugt ptr %197, %198 %200 = zext i1 %199 to i32 %201 = load ptr, ptr %31, align 8 %202 = load ptr, ptr %32, align 8 %203 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %200, ptr noundef @.str, i32 noundef 169, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.10, ptr noundef @.str.7, ptr noundef @.str.2, ptr noundef %201, ptr noundef @.str.7, ptr noundef %202) br label %204 204: ; preds = %194 br label %205 205: ; preds = %204 %206 = load ptr, ptr %4, align 8 store ptr %206, ptr %33, align 8 %207 = load ptr, ptr %5, align 8 store ptr %207, ptr %34, align 8 %208 = load ptr, ptr %33, align 8 %209 = load ptr, ptr %34, align 8 %210 = icmp ugt ptr %208, %209 %211 = zext i1 %210 to i32 %212 = load ptr, ptr %33, align 8 %213 = load ptr, ptr %34, align 8 %214 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %211, ptr noundef @.str, i32 noundef 170, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef %212, ptr noundef @.str.7, ptr noundef %213) br label %215 215: ; preds = %205 br label %216 216: ; preds = %215 %217 = load ptr, ptr %4, align 8 store ptr %217, ptr %35, align 8 %218 = load ptr, ptr %3, align 8 store ptr %218, ptr %36, align 8 %219 = load ptr, ptr %35, align 8 %220 = load ptr, ptr %36, align 8 %221 = icmp uge ptr %219, %220 %222 = zext i1 %221 to i32 %223 = load ptr, ptr %35, align 8 %224 = load ptr, ptr %36, align 8 %225 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %222, ptr noundef @.str, i32 noundef 171, ptr noundef @.str.5, ptr noundef @.str.9, ptr noundef @.str.11, ptr noundef @.str.2, ptr noundef @.str.9, ptr noundef %223, ptr noundef @.str.2, ptr noundef %224) br label %226 226: ; preds = %216 br label %227 227: ; preds = %226 %228 = load ptr, ptr %5, align 8 store ptr %228, ptr %37, align 8 %229 = load ptr, ptr %3, align 8 store ptr %229, ptr %38, align 8 %230 = load ptr, ptr %37, align 8 %231 = load ptr, ptr %38, align 8 %232 = icmp ult ptr %230, %231 %233 = zext i1 %232 to i32 %234 = load ptr, ptr %37, align 8 %235 = load ptr, ptr %38, align 8 %236 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %233, ptr noundef @.str, i32 noundef 172, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef %234, ptr noundef @.str.2, ptr noundef %235) br label %237 237: ; preds = %227 br label %238 238: ; preds = %237 %239 = load ptr, ptr %5, align 8 store ptr %239, ptr %39, align 8 %240 = load ptr, ptr %4, align 8 store ptr %240, ptr %40, align 8 %241 = load ptr, ptr %39, align 8 %242 = load ptr, ptr %40, align 8 %243 = icmp ult ptr %241, %242 %244 = zext i1 %243 to i32 %245 = load ptr, ptr %39, align 8 %246 = load ptr, ptr %40, align 8 %247 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %244, ptr noundef @.str, i32 noundef 173, ptr noundef @.str.5, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, ptr noundef @.str.7, ptr noundef %245, ptr noundef @.str.9, ptr noundef %246) br label %248 248: ; preds = %238 br label %249 249: ; preds = %248 %250 = load ptr, ptr %3, align 8 store ptr %250, ptr %41, align 8 %251 = load ptr, ptr %4, align 8 store ptr %251, ptr %42, align 8 %252 = load ptr, ptr %41, align 8 %253 = load ptr, ptr %42, align 8 %254 = icmp ule ptr %252, %253 %255 = zext i1 %254 to i32 %256 = load ptr, ptr %41, align 8 %257 = load ptr, ptr %42, align 8 %258 = call i32 (i32, ptr, i32, ptr, ptr, ptr, ptr, ...) @ctest_assert_fmt(i32 noundef %255, ptr noundef @.str, i32 noundef 174, ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.13, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef %256, ptr noundef @.str.9, ptr noundef %257) br label %259 259: ; preds = %249 %260 = call i64 (...) @ctest_toggle_inversion() %261 = icmp ne i64 %260, 0 br i1 %261, label %171, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %259 br label %262 262: ; preds = %._crit_edge3, %168 ret void } declare i32 @ctest_assert_fmt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @ctest_toggle_inversion(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkxictyjz.c' source_filename = "/tmp/tmpkxictyjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"smeanli\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %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 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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/tmpkxictyjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"smeanli\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %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 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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/tmp6f_v55sz.c' source_filename = "/tmp/tmp6f_v55sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"head\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"tail\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"longlines\00", align 1 @.str.4 = private unnamed_addr constant [77 x i8] c"Error, el parametro -N no es valido, introduzca un numero de lineas valido.\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %57 [ i32 3, label %9 ] 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 1 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %54 17: ; preds = %9 %18 = load ptr, ptr %7, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = call i32 @head(i32 noundef %26) br label %53 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load i32, ptr %6, align 4 %36 = call i32 @tail(i32 noundef %35) br label %52 37: ; preds = %28 %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 @strcmp(ptr noundef %40, ptr noundef @.str.3) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = call i32 @longlines(i32 noundef %44) br label %51 46: ; preds = %37 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 0 %49 = load ptr, ptr %48, align 8 %50 = call i32 @error(ptr noundef %49) store i32 %50, ptr %3, align 4 br label %63 51: ; preds = %43 br label %52 52: ; preds = %51, %34 br label %53 53: ; preds = %52, %25 br label %56 54: ; preds = %9 %55 = call i32 @printf(ptr noundef @.str.4) br label %56 56: ; preds = %54, %53 br label %62 57: ; preds = %2 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 0 %60 = load ptr, ptr %59, align 8 %61 = call i32 @error(ptr noundef %60) store i32 %61, ptr %3, align 4 br label %63 62: ; preds = %56 store i32 0, ptr %3, align 4 br label %63 63: ; preds = %62, %57, %46 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @head(i32 noundef) #1 declare i32 @tail(i32 noundef) #1 declare i32 @longlines(i32 noundef) #1 declare i32 @error(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/tmp6f_v55sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"head\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"tail\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"longlines\00", align 1 @.str.4 = private unnamed_addr constant [77 x i8] c"Error, el parametro -N no es valido, introduzca un numero de lineas valido.\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %57 [ i32 3, label %9 ] 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 %12 = load ptr, ptr %11, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 1 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %54 17: ; preds = %9 %18 = load ptr, ptr %7, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = call i32 @head(i32 noundef %26) br label %53 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load i32, ptr %6, align 4 %36 = call i32 @tail(i32 noundef %35) br label %52 37: ; preds = %28 %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 @strcmp(ptr noundef %40, ptr noundef @.str.3) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = call i32 @longlines(i32 noundef %44) br label %51 46: ; preds = %37 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 0 %49 = load ptr, ptr %48, align 8 %50 = call i32 @error(ptr noundef %49) store i32 %50, ptr %3, align 4 br label %63 51: ; preds = %43 br label %52 52: ; preds = %51, %34 br label %53 53: ; preds = %52, %25 br label %56 54: ; preds = %9 %55 = call i32 @printf(ptr noundef @.str.4) br label %56 56: ; preds = %54, %53 br label %62 57: ; preds = %2 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 0 %60 = load ptr, ptr %59, align 8 %61 = call i32 @error(ptr noundef %60) store i32 %61, ptr %3, align 4 br label %63 62: ; preds = %56 store i32 0, ptr %3, align 4 br label %63 63: ; preds = %62, %57, %46 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @head(i32 noundef) #1 declare i32 @tail(i32 noundef) #1 declare i32 @longlines(i32 noundef) #1 declare i32 @error(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/tmpix80pu2r.c' source_filename = "/tmp/tmpix80pu2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @go_to_xy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = add nsw i32 %5, 2 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 2 %9 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %6, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpix80pu2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @go_to_xy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = add nsw i32 %5, 2 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 2 %9 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %6, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdq_gzzxq.c' source_filename = "/tmp/tmpdq_gzzxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @PKCS12_R_PKCS12_PBE_CRYPT_ERROR = dso_local global i32 0, align 4 @PKCS12_R_DECODE_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PKCS12_item_decrypt_d2i(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %18 = load ptr, ptr %8, align 8 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %11, align 4 %21 = load ptr, ptr %12, align 8 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %12, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @PKCS12_pbe_crypt(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %23, i32 noundef %26, ptr noundef %14, ptr noundef %17, i32 noundef 0) %28 = icmp ne i32 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %6 %30 = load i32, ptr @PKCS12_R_PKCS12_PBE_CRYPT_ERROR, align 4 %31 = call i32 @PKCS12error(i32 noundef %30) store ptr null, ptr %7, align 8 br label %53 32: ; preds = %6 %33 = load ptr, ptr %14, align 8 store ptr %33, ptr %15, align 8 %34 = load i32, ptr %17, align 4 %35 = load ptr, ptr %9, align 8 %36 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef %15, i32 noundef %34, ptr noundef %35) store ptr %36, ptr %16, align 8 %37 = load i32, ptr %13, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %32 %40 = load ptr, ptr %14, align 8 %41 = load i32, ptr %17, align 4 %42 = call i32 @explicit_bzero(ptr noundef %40, i32 noundef %41) br label %43 43: ; preds = %39, %32 %44 = load ptr, ptr %16, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4 %48 = call i32 @PKCS12error(i32 noundef %47) br label %49 49: ; preds = %46, %43 %50 = load ptr, ptr %14, align 8 %51 = call i32 @free(ptr noundef %50) %52 = load ptr, ptr %16, align 8 store ptr %52, ptr %7, align 8 br label %53 53: ; preds = %49, %29 %54 = load ptr, ptr %7, align 8 ret ptr %54 } declare i32 @PKCS12_pbe_crypt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @PKCS12error(i32 noundef) #1 declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @explicit_bzero(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdq_gzzxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @PKCS12_R_PKCS12_PBE_CRYPT_ERROR = dso_local global i32 0, align 4 @PKCS12_R_DECODE_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PKCS12_item_decrypt_d2i(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %18 = load ptr, ptr %8, align 8 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %11, align 4 %21 = load ptr, ptr %12, align 8 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %12, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @PKCS12_pbe_crypt(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %23, i32 noundef %26, ptr noundef %14, ptr noundef %17, i32 noundef 0) %28 = icmp ne i32 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %6 %30 = load i32, ptr @PKCS12_R_PKCS12_PBE_CRYPT_ERROR, align 4 %31 = call i32 @PKCS12error(i32 noundef %30) store ptr null, ptr %7, align 8 br label %53 32: ; preds = %6 %33 = load ptr, ptr %14, align 8 store ptr %33, ptr %15, align 8 %34 = load i32, ptr %17, align 4 %35 = load ptr, ptr %9, align 8 %36 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef %15, i32 noundef %34, ptr noundef %35) store ptr %36, ptr %16, align 8 %37 = load i32, ptr %13, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %32 %40 = load ptr, ptr %14, align 8 %41 = load i32, ptr %17, align 4 %42 = call i32 @explicit_bzero(ptr noundef %40, i32 noundef %41) br label %43 43: ; preds = %39, %32 %44 = load ptr, ptr %16, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4 %48 = call i32 @PKCS12error(i32 noundef %47) br label %49 49: ; preds = %46, %43 %50 = load ptr, ptr %14, align 8 %51 = call i32 @free(ptr noundef %50) %52 = load ptr, ptr %16, align 8 store ptr %52, ptr %7, align 8 br label %53 53: ; preds = %49, %29 %54 = load ptr, ptr %7, align 8 ret ptr %54 } declare i32 @PKCS12_pbe_crypt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @PKCS12error(i32 noundef) #1 declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @explicit_bzero(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4y3y9zbi.c' source_filename = "/tmp/tmp4y3y9zbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @copysign(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__ocml_copysign_f64(double noundef %5, double noundef %6) ret double %7 } declare double @__ocml_copysign_f64(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4y3y9zbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @copysign(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__ocml_copysign_f64(double noundef %5, double noundef %6) ret double %7 } declare double @__ocml_copysign_f64(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf341i7dm.c' source_filename = "/tmp/tmpf341i7dm.c" target datalayout = "e-m:e-p270: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/tmpf341i7dm.c" target datalayout = "e-m:e-p270: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/tmpy6f81toa.c' source_filename = "/tmp/tmpy6f81toa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(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 1, ptr %5, align 4 br label %6 6: ; preds = %45, %2 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %48 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 41 br i1 %18, label %19, label %38 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 47 br i1 %26, label %27, label %38 27: ; preds = %19 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 store i8 %32, ptr %37, align 1 br label %44 38: ; preds = %19, %11 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %5, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 br label %48 44: ; preds = %27 br label %45 45: ; preds = %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %6, !llvm.loop !6 48: ; preds = %38, %6 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy6f81toa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(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 1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %44 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 41 br i1 %17, label %18, label %37 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 47 br i1 %25, label %26, label %37 26: ; preds = %18 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %5, align 4 %34 = sub nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 %31, ptr %36, align 1 br label %43 37: ; preds = %18, %10 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %5, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 0, ptr %42, align 1 br label %51 43: ; preds = %26 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = load ptr, ptr %3, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = icmp slt i32 %47, %49 br i1 %50, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %51 51: ; preds = %.loopexit, %37 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpupenuavq.c' source_filename = "/tmp/tmpupenuavq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IGNORE \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @syscall(i32 noundef 223) %4 = call i32 (...) @getchar() %5 = call i32 @printf(ptr noundef @.str) %6 = call ptr @malloc(i32 noundef 1073741824) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 1073741824) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret i32 0 } declare i32 @syscall(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpupenuavq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IGNORE \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @syscall(i32 noundef 223) %4 = call i32 (...) @getchar() %5 = call i32 @printf(ptr noundef @.str) %6 = call ptr @malloc(i32 noundef 1073741824) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 1073741824) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret i32 0 } declare i32 @syscall(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsy2os9b6.c' source_filename = "/tmp/tmpsy2os9b6.c" target datalayout = "e-m:e-p270: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/tmpsy2os9b6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_5d6rhhn.c' source_filename = "/tmp/tmp_5d6rhhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"libtest2: constructor!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @libtest2_ctor() #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/tmp_5d6rhhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"libtest2: constructor!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @libtest2_ctor() #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/tmpi8b8xbh8.c' source_filename = "/tmp/tmpi8b8xbh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %9, align 4 store i32 %15, ptr %8, align 4 %16 = load i32, ptr %5, align 4 store i32 %16, ptr %9, align 4 br label %17 17: ; preds = %37, %3 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %40 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = call i32 @swap(ptr noundef %30, i32 noundef %31, i32 noundef %32) %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %29, %21 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %17, !llvm.loop !6 40: ; preds = %17 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 @swap(ptr noundef %41, i32 noundef %42, i32 noundef %43) %45 = load i32, ptr %8, align 4 ret i32 %45 } declare i32 @swap(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/tmpi8b8xbh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %9, align 4 store i32 %15, ptr %8, align 4 %16 = load i32, ptr %5, align 4 store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %42 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %36 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %35 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = call i32 @swap(ptr noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %35 35: ; preds = %28, %20 br label %36 36: ; preds = %35 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %3 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %6, align 4 %46 = call i32 @swap(ptr noundef %43, i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %8, align 4 ret i32 %47 } declare i32 @swap(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/tmp7t5_rn_0.c' source_filename = "/tmp/tmp7t5_rn_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.Basis = type { [7 x double] } %struct.anon = type { double, double, double, double, double, double, double } @ut_decode_time.basis = internal constant %union.Basis { [7 x double] [double 8.640000e+04, double 4.320000e+04, double 3.600000e+03, double 6.000000e+02, double 6.000000e+01, double 1.000000e+01, double 1.000000e+00] }, align 8 @DBL_MANT_DIG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ut_decode_time(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca %union.Basis, align 8 store double %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 ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %23 = load double, ptr %9, align 8 %24 = fcmp olt double %23, 0.000000e+00 br i1 %24, label %25, label %28 25: ; preds = %8 %26 = load double, ptr %9, align 8 %27 = fneg double %26 br label %30 28: ; preds = %8 %29 = load double, ptr %9, align 8 br label %30 30: ; preds = %28, %25 %31 = phi double [ %27, %25 ], [ %29, %28 ] %32 = load i32, ptr @DBL_MANT_DIG, align 4 %33 = sub nsw i32 0, %32 %34 = call double @ldexp(double noundef %31, i32 noundef %33) #4 store double %34, ptr %21, align 8 %35 = load double, ptr %9, align 8 %36 = load double, ptr @ut_decode_time.basis, align 8 %37 = fdiv double %35, %36 %38 = call i64 @floor(double noundef %37) %39 = trunc i64 %38 to i32 store i32 %39, ptr %17, align 4 %40 = load i32, ptr %17, align 4 %41 = sitofp i32 %40 to double %42 = load double, ptr @ut_decode_time.basis, align 8 %43 = load double, ptr %9, align 8 %44 = fneg double %41 %45 = call double @llvm.fmuladd.f64(double %44, double %42, double %43) store double %45, ptr %9, align 8 %46 = load double, ptr %9, align 8 %47 = load double, ptr %21, align 8 %48 = getelementptr inbounds [7 x double], ptr %22, i64 0, i64 0 %49 = call i32 @decompose(double noundef %46, double noundef %47, i32 noundef 7, ptr noundef @ut_decode_time.basis, ptr noundef %48) %50 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 0 %51 = load double, ptr %50, align 8 %52 = load i32, ptr %17, align 4 %53 = sitofp i32 %52 to double %54 = fadd double %53, %51 %55 = fptosi double %54 to i32 store i32 %55, ptr %17, align 4 %56 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 1 %57 = load double, ptr %56, align 8 %58 = fptosi double %57 to i32 %59 = mul nsw i32 %58, 12 %60 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 2 %61 = load double, ptr %60, align 8 %62 = fptosi double %61 to i32 %63 = add nsw i32 %59, %62 store i32 %63, ptr %18, align 4 %64 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 3 %65 = load double, ptr %64, align 8 %66 = fptosi double %65 to i32 %67 = mul nsw i32 %66, 10 %68 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 4 %69 = load double, ptr %68, align 8 %70 = fptosi double %69 to i32 %71 = add nsw i32 %67, %70 store i32 %71, ptr %19, align 4 %72 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 5 %73 = load double, ptr %72, align 8 %74 = fptosi double %73 to i32 %75 = mul nsw i32 %74, 10 %76 = sitofp i32 %75 to double %77 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 6 %78 = load double, ptr %77, align 8 %79 = fadd double %76, %78 store double %79, ptr %20, align 8 %80 = load double, ptr %20, align 8 %81 = fcmp oge double %80, 6.000000e+01 br i1 %81, label %82, label %101 82: ; preds = %30 %83 = load double, ptr %20, align 8 %84 = fsub double %83, 6.000000e+01 store double %84, ptr %20, align 8 %85 = load i32, ptr %19, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %19, align 4 %87 = icmp sge i32 %86, 60 br i1 %87, label %88, label %100 88: ; preds = %82 %89 = load i32, ptr %19, align 4 %90 = sub nsw i32 %89, 60 store i32 %90, ptr %19, align 4 %91 = load i32, ptr %18, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %18, align 4 %93 = icmp sge i32 %92, 24 br i1 %93, label %94, label %99 94: ; preds = %88 %95 = load i32, ptr %18, align 4 %96 = sub nsw i32 %95, 24 store i32 %96, ptr %18, align 4 %97 = load i32, ptr %17, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %17, align 4 br label %99 99: ; preds = %94, %88 br label %100 100: ; preds = %99, %82 br label %101 101: ; preds = %100, %30 %102 = load double, ptr %20, align 8 %103 = load ptr, ptr %15, align 8 store double %102, ptr %103, align 8 %104 = load i32, ptr %19, align 4 %105 = load ptr, ptr %14, align 8 store i32 %104, ptr %105, align 4 %106 = load i32, ptr %18, align 4 %107 = load ptr, ptr %13, align 8 store i32 %106, ptr %107, align 4 %108 = load double, ptr %21, align 8 %109 = load ptr, ptr %16, align 8 store double %108, ptr %109, align 8 %110 = call i64 (...) @getJuldayOrigin() %111 = load i32, ptr %17, align 4 %112 = sext i32 %111 to i64 %113 = add nsw i64 %110, %112 %114 = load ptr, ptr %10, align 8 %115 = load ptr, ptr %11, align 8 %116 = load ptr, ptr %12, align 8 %117 = call i32 @julianDayToGregorianDate(i64 noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef %116) ret void } ; Function Attrs: nounwind declare double @ldexp(double noundef, i32 noundef) #1 declare i64 @floor(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @decompose(double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @julianDayToGregorianDate(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @getJuldayOrigin(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmp7t5_rn_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.Basis = type { [7 x double] } %struct.anon = type { double, double, double, double, double, double, double } @ut_decode_time.basis = internal constant %union.Basis { [7 x double] [double 8.640000e+04, double 4.320000e+04, double 3.600000e+03, double 6.000000e+02, double 6.000000e+01, double 1.000000e+01, double 1.000000e+00] }, align 8 @DBL_MANT_DIG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ut_decode_time(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca %union.Basis, align 8 store double %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 ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %23 = load double, ptr %9, align 8 %24 = fcmp olt double %23, 0.000000e+00 br i1 %24, label %25, label %28 25: ; preds = %8 %26 = load double, ptr %9, align 8 %27 = fneg double %26 br label %30 28: ; preds = %8 %29 = load double, ptr %9, align 8 br label %30 30: ; preds = %28, %25 %31 = phi double [ %27, %25 ], [ %29, %28 ] %32 = load i32, ptr @DBL_MANT_DIG, align 4 %33 = sub nsw i32 0, %32 %34 = call double @ldexp(double noundef %31, i32 noundef %33) #4 store double %34, ptr %21, align 8 %35 = load double, ptr %9, align 8 %36 = load double, ptr @ut_decode_time.basis, align 8 %37 = fdiv double %35, %36 %38 = call i64 @floor(double noundef %37) %39 = trunc i64 %38 to i32 store i32 %39, ptr %17, align 4 %40 = load i32, ptr %17, align 4 %41 = sitofp i32 %40 to double %42 = load double, ptr @ut_decode_time.basis, align 8 %43 = load double, ptr %9, align 8 %44 = fneg double %41 %45 = call double @llvm.fmuladd.f64(double %44, double %42, double %43) store double %45, ptr %9, align 8 %46 = load double, ptr %9, align 8 %47 = load double, ptr %21, align 8 %48 = getelementptr inbounds [7 x double], ptr %22, i64 0, i64 0 %49 = call i32 @decompose(double noundef %46, double noundef %47, i32 noundef 7, ptr noundef @ut_decode_time.basis, ptr noundef %48) %50 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 0 %51 = load double, ptr %50, align 8 %52 = load i32, ptr %17, align 4 %53 = sitofp i32 %52 to double %54 = fadd double %53, %51 %55 = fptosi double %54 to i32 store i32 %55, ptr %17, align 4 %56 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 1 %57 = load double, ptr %56, align 8 %58 = fptosi double %57 to i32 %59 = mul nsw i32 %58, 12 %60 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 2 %61 = load double, ptr %60, align 8 %62 = fptosi double %61 to i32 %63 = add nsw i32 %59, %62 store i32 %63, ptr %18, align 4 %64 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 3 %65 = load double, ptr %64, align 8 %66 = fptosi double %65 to i32 %67 = mul nsw i32 %66, 10 %68 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 4 %69 = load double, ptr %68, align 8 %70 = fptosi double %69 to i32 %71 = add nsw i32 %67, %70 store i32 %71, ptr %19, align 4 %72 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 5 %73 = load double, ptr %72, align 8 %74 = fptosi double %73 to i32 %75 = mul nsw i32 %74, 10 %76 = sitofp i32 %75 to double %77 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 6 %78 = load double, ptr %77, align 8 %79 = fadd double %76, %78 store double %79, ptr %20, align 8 %80 = load double, ptr %20, align 8 %81 = fcmp oge double %80, 6.000000e+01 br i1 %81, label %82, label %101 82: ; preds = %30 %83 = load double, ptr %20, align 8 %84 = fsub double %83, 6.000000e+01 store double %84, ptr %20, align 8 %85 = load i32, ptr %19, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %19, align 4 %87 = icmp sge i32 %86, 60 br i1 %87, label %88, label %100 88: ; preds = %82 %89 = load i32, ptr %19, align 4 %90 = sub nsw i32 %89, 60 store i32 %90, ptr %19, align 4 %91 = load i32, ptr %18, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %18, align 4 %93 = icmp sge i32 %92, 24 br i1 %93, label %94, label %99 94: ; preds = %88 %95 = load i32, ptr %18, align 4 %96 = sub nsw i32 %95, 24 store i32 %96, ptr %18, align 4 %97 = load i32, ptr %17, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %17, align 4 br label %99 99: ; preds = %94, %88 br label %100 100: ; preds = %99, %82 br label %101 101: ; preds = %100, %30 %102 = load double, ptr %20, align 8 %103 = load ptr, ptr %15, align 8 store double %102, ptr %103, align 8 %104 = load i32, ptr %19, align 4 %105 = load ptr, ptr %14, align 8 store i32 %104, ptr %105, align 4 %106 = load i32, ptr %18, align 4 %107 = load ptr, ptr %13, align 8 store i32 %106, ptr %107, align 4 %108 = load double, ptr %21, align 8 %109 = load ptr, ptr %16, align 8 store double %108, ptr %109, align 8 %110 = call i64 (...) @getJuldayOrigin() %111 = load i32, ptr %17, align 4 %112 = sext i32 %111 to i64 %113 = add nsw i64 %110, %112 %114 = load ptr, ptr %10, align 8 %115 = load ptr, ptr %11, align 8 %116 = load ptr, ptr %12, align 8 %117 = call i32 @julianDayToGregorianDate(i64 noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef %116) ret void } ; Function Attrs: nounwind declare double @ldexp(double noundef, i32 noundef) #1 declare i64 @floor(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @decompose(double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @julianDayToGregorianDate(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @getJuldayOrigin(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmp86tyaddy.c' source_filename = "/tmp/tmp86tyaddy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AThe value of f(%lf) is %0.0lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lf, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @biseccion(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %5, align 8 %12 = fsub double %10, %11 %13 = fdiv double %12, 2.000000e+00 %14 = fadd double %9, %13 store double %14, ptr %8, align 8 %15 = load double, ptr %5, align 8 %16 = call i32 @f(double noundef %15) %17 = call i64 @sgn(i32 noundef %16) %18 = load double, ptr %8, align 8 %19 = call i32 @f(double noundef %18) %20 = call i64 @sgn(i32 noundef %19) %21 = icmp ne i64 %17, %20 br i1 %21, label %22, label %24 22: ; preds = %3 %23 = load double, ptr %8, align 8 store double %23, ptr %6, align 8 br label %24 24: ; preds = %22, %3 %25 = load double, ptr %8, align 8 %26 = call i32 @f(double noundef %25) %27 = call i64 @sgn(i32 noundef %26) %28 = load double, ptr %6, align 8 %29 = call i32 @f(double noundef %28) %30 = call i64 @sgn(i32 noundef %29) %31 = icmp ne i64 %27, %30 br i1 %31, label %32, label %34 32: ; preds = %24 %33 = load double, ptr %8, align 8 store double %33, ptr %5, align 8 br label %34 34: ; preds = %32, %24 %35 = load double, ptr %8, align 8 %36 = call i32 @f(double noundef %35) %37 = call double @fabs(i32 noundef %36) %38 = load double, ptr %7, align 8 %39 = fcmp olt double %37, %38 br i1 %39, label %40, label %47 40: ; preds = %34 %41 = load double, ptr %8, align 8 %42 = load double, ptr %8, align 8 %43 = call i32 @f(double noundef %42) %44 = call i32 @abs(i32 noundef %43) #3 %45 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %41, i32 noundef %44) %46 = load double, ptr %8, align 8 store double %46, ptr %4, align 8 br label %54 47: ; preds = %34 %48 = load double, ptr %8, align 8 %49 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %48) %50 = load double, ptr %5, align 8 %51 = load double, ptr %6, align 8 %52 = load double, ptr %7, align 8 %53 = call double @biseccion(double noundef %50, double noundef %51, double noundef %52) store double %53, ptr %4, align 8 br label %54 54: ; preds = %47, %40 %55 = load double, ptr %4, align 8 ret double %55 } declare i64 @sgn(i32 noundef) #1 declare i32 @f(double noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(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/tmp86tyaddy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AThe value of f(%lf) is %0.0lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lf, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @biseccion(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %5, align 8 %12 = fsub double %10, %11 %13 = fdiv double %12, 2.000000e+00 %14 = fadd double %9, %13 store double %14, ptr %8, align 8 %15 = load double, ptr %5, align 8 %16 = call i32 @f(double noundef %15) %17 = call i64 @sgn(i32 noundef %16) %18 = load double, ptr %8, align 8 %19 = call i32 @f(double noundef %18) %20 = call i64 @sgn(i32 noundef %19) %21 = icmp ne i64 %17, %20 br i1 %21, label %22, label %24 22: ; preds = %3 %23 = load double, ptr %8, align 8 store double %23, ptr %6, align 8 br label %24 24: ; preds = %22, %3 %25 = load double, ptr %8, align 8 %26 = call i32 @f(double noundef %25) %27 = call i64 @sgn(i32 noundef %26) %28 = load double, ptr %6, align 8 %29 = call i32 @f(double noundef %28) %30 = call i64 @sgn(i32 noundef %29) %31 = icmp ne i64 %27, %30 br i1 %31, label %32, label %34 32: ; preds = %24 %33 = load double, ptr %8, align 8 store double %33, ptr %5, align 8 br label %34 34: ; preds = %32, %24 %35 = load double, ptr %8, align 8 %36 = call i32 @f(double noundef %35) %37 = call double @fabs(i32 noundef %36) %38 = load double, ptr %7, align 8 %39 = fcmp olt double %37, %38 br i1 %39, label %40, label %47 40: ; preds = %34 %41 = load double, ptr %8, align 8 %42 = load double, ptr %8, align 8 %43 = call i32 @f(double noundef %42) %44 = call i32 @abs(i32 noundef %43) #3 %45 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %41, i32 noundef %44) %46 = load double, ptr %8, align 8 store double %46, ptr %4, align 8 br label %54 47: ; preds = %34 %48 = load double, ptr %8, align 8 %49 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %48) %50 = load double, ptr %5, align 8 %51 = load double, ptr %6, align 8 %52 = load double, ptr %7, align 8 %53 = call double @biseccion(double noundef %50, double noundef %51, double noundef %52) store double %53, ptr %4, align 8 br label %54 54: ; preds = %47, %40 %55 = load double, ptr %4, align 8 ret double %55 } declare i64 @sgn(i32 noundef) #1 declare i32 @f(double noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(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/tmpt8zvz4ci.c' source_filename = "/tmp/tmpt8zvz4ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 1, ptr %3, align 4 %4 = call i32 @tmpl(ptr noundef @.str) br label %5 5: ; preds = %18, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 2, %13 store i32 %14, ptr %3, align 4 br label %18 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 3, %16 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %15, %12 br label %5, !llvm.loop !6 19: ; preds = %5 %20 = load i32, ptr %3, align 4 %21 = icmp sgt i32 %20, 0 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) ret void } declare i32 @tmpl(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt8zvz4ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 1, ptr %3, align 4 %4 = call i32 @tmpl(ptr noundef @.str) %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 2, %12 store i32 %13, ptr %3, align 4 br label %17 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = mul nsw i32 3, %15 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %14, %11 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %3, align 4 %23 = icmp sgt i32 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) ret void } declare i32 @tmpl(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg9f5luoy.c' source_filename = "/tmp/tmpg9f5luoy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg9f5luoy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5l0sppmg.c' source_filename = "/tmp/tmp5l0sppmg.c" target datalayout = "e-m:e-p270: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/tmp5l0sppmg.c" target datalayout = "e-m:e-p270: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/tmp39t03ag2.c' source_filename = "/tmp/tmp39t03ag2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"FATAL: while allocating memory for context initialization\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @context_set(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %3, align 8 store ptr null, ptr %14, align 8 br label %15 15: ; preds = %10, %2 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %43 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 1 %25 = trunc i64 %24 to i32 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %40 29: ; preds = %18 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = call i32 @strncpy(ptr noundef %30, ptr noundef %31, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %3, align 8 store ptr %38, ptr %39, align 8 br label %42 40: ; preds = %18 %41 = call i32 @printf(ptr noundef @.str) br label %42 42: ; preds = %40, %29 br label %43 43: ; preds = %42, %15 ret void } declare i32 @free(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 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/tmp39t03ag2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"FATAL: while allocating memory for context initialization\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @context_set(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %3, align 8 store ptr null, ptr %14, align 8 br label %15 15: ; preds = %10, %2 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %43 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 1 %25 = trunc i64 %24 to i32 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %40 29: ; preds = %18 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = call i32 @strncpy(ptr noundef %30, ptr noundef %31, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %3, align 8 store ptr %38, ptr %39, align 8 br label %42 40: ; preds = %18 %41 = call i32 @printf(ptr noundef @.str) br label %42 42: ; preds = %40, %29 br label %43 43: ; preds = %42, %15 ret void } declare i32 @free(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 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/tmpz9sgz0ys.c' source_filename = "/tmp/tmpz9sgz0ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @query_module(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @syscall(i32 noundef 167, ptr noundef %11, i32 noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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/tmpz9sgz0ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @query_module(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @syscall(i32 noundef 167, ptr noundef %11, i32 noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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/tmpi0ud5_wx.c' source_filename = "/tmp/tmpi0ud5_wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_RMID = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"shmctl()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @des_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPC_RMID, align 4 %6 = call i32 @shmctl(i32 noundef %4, i32 noundef %5, ptr noundef null) %7 = icmp eq i32 %6, -1 %8 = zext i1 %7 to i32 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) br label %13 13: ; preds = %11, %1 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi0ud5_wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_RMID = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"shmctl()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @des_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPC_RMID, align 4 %6 = call i32 @shmctl(i32 noundef %4, i32 noundef %5, ptr noundef null) %7 = icmp eq i32 %6, -1 %8 = zext i1 %7 to i32 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) br label %13 13: ; preds = %11, %1 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmi6fnjpz.c' source_filename = "/tmp/tmpmi6fnjpz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } %struct.dirent = type { ptr } @.str = private unnamed_addr constant [43 x i8] c"ERROR Buffer size less than 0 Buffer: %d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"ERROR Temperature negative\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"CHECKPOINT\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ckpt\00\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"ERROR CHECKPOINT directory not found\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"FileNameKeep %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"Value of len %d value of buffersize %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"ERROR Buffersize is to small!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CheckPt_Latest(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca %struct.stat, align 4 %15 = alloca [256 x i8], align 16 %16 = alloca [20 x i8], align 16 %17 = alloca [30 x i8], align 16 %18 = alloca [30 x i8], align 16 %19 = alloca [30 x i8], align 16 %20 = alloca [30 x i8], align 16 %21 = alloca [30 x i8], align 16 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca [256 x i8], align 16 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %6 %42 = load i32, ptr %9, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42) store i32 -1, ptr %7, align 4 br label %413 44: ; preds = %6 %45 = load double, ptr %13, align 8 %46 = fcmp olt double %45, 0.000000e+00 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %413 49: ; preds = %44 call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %20, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 30, i1 false) %50 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 store i8 0, ptr %50, align 16 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 store i8 0, ptr %52, align 1 store i32 0, ptr %34, align 4 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %25, align 8 %53 = call i64 @stat(ptr noundef @.str.2, ptr noundef %14) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %389 55: ; preds = %49 %56 = call ptr @opendir(ptr noundef @.str.2) store ptr %56, ptr %37, align 8 %57 = load ptr, ptr %37, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %388 59: ; preds = %55 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 br label %60 60: ; preds = %384, %59 %61 = load ptr, ptr %37, align 8 %62 = call ptr @readdir(ptr noundef %61) store ptr %62, ptr %38, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %385 64: ; preds = %60 %65 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %66 = load ptr, ptr %38, align 8 %67 = getelementptr inbounds %struct.dirent, ptr %66, i32 0, i32 0 %68 = load ptr, ptr %67, align 8 %69 = call i32 @strcpy(ptr noundef %65, ptr noundef %68) %70 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %71 = call i32 @strlen(ptr noundef %70) store i32 %71, ptr %27, align 4 %72 = load i32, ptr %27, align 4 %73 = icmp sgt i32 %72, 4 br i1 %73, label %74, label %384 74: ; preds = %64 store i32 4, ptr %33, align 4 br label %75 75: ; preds = %89, %74 %76 = load i32, ptr %33, align 4 %77 = icmp sge i32 %76, 0 br i1 %77, label %78, label %92 78: ; preds = %75 %79 = load i32, ptr %27, align 4 %80 = load i32, ptr %33, align 4 %81 = sub nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %82 %84 = load i8, ptr %83, align 1 %85 = load i32, ptr %33, align 4 %86 = sub nsw i32 4, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 %87 store i8 %84, ptr %88, align 1 br label %89 89: ; preds = %78 %90 = load i32, ptr %33, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %33, align 4 br label %75, !llvm.loop !6 92: ; preds = %75 %93 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 4 store i8 0, ptr %93, align 4 %94 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %95 = call i64 @strcmp(ptr noundef %94, ptr noundef @.str.3) %96 = icmp eq i64 %95, 0 br i1 %96, label %97, label %383 97: ; preds = %92 store i32 0, ptr %33, align 4 br label %98 98: ; preds = %108, %97 %99 = load i32, ptr %27, align 4 %100 = sub nsw i32 %99, 5 %101 = load i32, ptr %33, align 4 %102 = sub nsw i32 %100, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %103 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 82 br i1 %107, label %108, label %111 108: ; preds = %98 %109 = load i32, ptr %33, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %33, align 4 br label %98, !llvm.loop !8 111: ; preds = %98 %112 = load i32, ptr %33, align 4 store i32 %112, ptr %28, align 4 store i32 0, ptr %33, align 4 br label %113 113: ; preds = %132, %111 %114 = load i32, ptr %33, align 4 %115 = load i32, ptr %28, align 4 %116 = sub nsw i32 %115, 1 %117 = icmp slt i32 %114, %116 br i1 %117, label %118, label %135 118: ; preds = %113 %119 = load i32, ptr %27, align 4 %120 = load i32, ptr %28, align 4 %121 = add nsw i32 5, %120 %122 = sub nsw i32 %119, %121 %123 = load i32, ptr %33, align 4 %124 = add nsw i32 %123, 1 %125 = add nsw i32 %122, %124 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = load i32, ptr %33, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 %130 store i8 %128, ptr %131, align 1 br label %132 132: ; preds = %118 %133 = load i32, ptr %33, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %33, align 4 br label %113, !llvm.loop !9 135: ; preds = %113 %136 = load i32, ptr %28, align 4 %137 = sub nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 %138 store i8 0, ptr %139, align 1 %140 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 0 %141 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %140, ptr noundef @.str.4, ptr noundef %35) store i32 0, ptr %33, align 4 br label %142 142: ; preds = %154, %135 %143 = load i32, ptr %27, align 4 %144 = sub nsw i32 %143, 5 %145 = load i32, ptr %28, align 4 %146 = sub nsw i32 %144, %145 %147 = load i32, ptr %33, align 4 %148 = sub nsw i32 %146, %147 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %149 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = icmp ne i32 %152, 122 br i1 %153, label %154, label %157 154: ; preds = %142 %155 = load i32, ptr %33, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %33, align 4 br label %142, !llvm.loop !10 157: ; preds = %142 %158 = load i32, ptr %33, align 4 store i32 %158, ptr %29, align 4 store i32 0, ptr %33, align 4 br label %159 159: ; preds = %180, %157 %160 = load i32, ptr %33, align 4 %161 = load i32, ptr %29, align 4 %162 = sub nsw i32 %161, 1 %163 = icmp slt i32 %160, %162 br i1 %163, label %164, label %183 164: ; preds = %159 %165 = load i32, ptr %27, align 4 %166 = load i32, ptr %28, align 4 %167 = add nsw i32 5, %166 %168 = load i32, ptr %29, align 4 %169 = add nsw i32 %167, %168 %170 = sub nsw i32 %165, %169 %171 = load i32, ptr %33, align 4 %172 = add nsw i32 %171, 1 %173 = add nsw i32 %170, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %174 %176 = load i8, ptr %175, align 1 %177 = load i32, ptr %33, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %178 store i8 %176, ptr %179, align 1 br label %180 180: ; preds = %164 %181 = load i32, ptr %33, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %33, align 4 br label %159, !llvm.loop !11 183: ; preds = %159 %184 = load i32, ptr %29, align 4 %185 = sub nsw i32 %184, 1 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %186 store i8 0, ptr %187, align 1 %188 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 0 %189 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %188, ptr noundef @.str.5, ptr noundef %24) store i32 0, ptr %33, align 4 br label %190 190: ; preds = %204, %183 %191 = load i32, ptr %27, align 4 %192 = load i32, ptr %28, align 4 %193 = add nsw i32 5, %192 %194 = load i32, ptr %29, align 4 %195 = add nsw i32 %193, %194 %196 = load i32, ptr %33, align 4 %197 = add nsw i32 %195, %196 %198 = sub nsw i32 %191, %197 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %199 %201 = load i8, ptr %200, align 1 %202 = sext i8 %201 to i32 %203 = icmp ne i32 %202, 121 br i1 %203, label %204, label %207 204: ; preds = %190 %205 = load i32, ptr %33, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %33, align 4 br label %190, !llvm.loop !12 207: ; preds = %190 %208 = load i32, ptr %33, align 4 store i32 %208, ptr %30, align 4 store i32 0, ptr %33, align 4 br label %209 209: ; preds = %232, %207 %210 = load i32, ptr %33, align 4 %211 = load i32, ptr %30, align 4 %212 = sub nsw i32 %211, 2 %213 = icmp slt i32 %210, %212 br i1 %213, label %214, label %235 214: ; preds = %209 %215 = load i32, ptr %27, align 4 %216 = load i32, ptr %28, align 4 %217 = add nsw i32 5, %216 %218 = load i32, ptr %29, align 4 %219 = add nsw i32 %217, %218 %220 = load i32, ptr %30, align 4 %221 = add nsw i32 %219, %220 %222 = sub nsw i32 %215, %221 %223 = load i32, ptr %33, align 4 %224 = add nsw i32 %223, 1 %225 = add nsw i32 %222, %224 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %226 %228 = load i8, ptr %227, align 1 %229 = load i32, ptr %33, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [30 x i8], ptr %19, i64 0, i64 %230 store i8 %228, ptr %231, align 1 br label %232 232: ; preds = %214 %233 = load i32, ptr %33, align 4 %234 = add nsw i32 %233, 1 store i32 %234, ptr %33, align 4 br label %209, !llvm.loop !13 235: ; preds = %209 %236 = load i32, ptr %30, align 4 %237 = sub nsw i32 %236, 1 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %238 store i8 0, ptr %239, align 1 %240 = getelementptr inbounds [30 x i8], ptr %19, i64 0, i64 0 %241 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %240, ptr noundef @.str.5, ptr noundef %23) store i32 0, ptr %33, align 4 br label %242 242: ; preds = %258, %235 %243 = load i32, ptr %27, align 4 %244 = load i32, ptr %28, align 4 %245 = add nsw i32 5, %244 %246 = load i32, ptr %29, align 4 %247 = add nsw i32 %245, %246 %248 = load i32, ptr %30, align 4 %249 = add nsw i32 %247, %248 %250 = load i32, ptr %33, align 4 %251 = add nsw i32 %249, %250 %252 = sub nsw i32 %243, %251 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %253 %255 = load i8, ptr %254, align 1 %256 = sext i8 %255 to i32 %257 = icmp ne i32 %256, 120 br i1 %257, label %258, label %261 258: ; preds = %242 %259 = load i32, ptr %33, align 4 %260 = add nsw i32 %259, 1 store i32 %260, ptr %33, align 4 br label %242, !llvm.loop !14 261: ; preds = %242 %262 = load i32, ptr %33, align 4 store i32 %262, ptr %31, align 4 store i32 0, ptr %33, align 4 br label %263 263: ; preds = %288, %261 %264 = load i32, ptr %33, align 4 %265 = load i32, ptr %31, align 4 %266 = sub nsw i32 %265, 2 %267 = icmp slt i32 %264, %266 br i1 %267, label %268, label %291 268: ; preds = %263 %269 = load i32, ptr %27, align 4 %270 = load i32, ptr %28, align 4 %271 = add nsw i32 5, %270 %272 = load i32, ptr %29, align 4 %273 = add nsw i32 %271, %272 %274 = load i32, ptr %30, align 4 %275 = add nsw i32 %273, %274 %276 = load i32, ptr %31, align 4 %277 = add nsw i32 %275, %276 %278 = sub nsw i32 %269, %277 %279 = load i32, ptr %33, align 4 %280 = add nsw i32 %279, 1 %281 = add nsw i32 %278, %280 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %282 %284 = load i8, ptr %283, align 1 %285 = load i32, ptr %33, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds [30 x i8], ptr %18, i64 0, i64 %286 store i8 %284, ptr %287, align 1 br label %288 288: ; preds = %268 %289 = load i32, ptr %33, align 4 %290 = add nsw i32 %289, 1 store i32 %290, ptr %33, align 4 br label %263, !llvm.loop !15 291: ; preds = %263 %292 = load i32, ptr %31, align 4 %293 = sub nsw i32 %292, 1 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %294 store i8 0, ptr %295, align 1 %296 = getelementptr inbounds [30 x i8], ptr %18, i64 0, i64 0 %297 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %296, ptr noundef @.str.5, ptr noundef %22) store i32 0, ptr %33, align 4 br label %298 298: ; preds = %316, %291 %299 = load i32, ptr %27, align 4 %300 = load i32, ptr %28, align 4 %301 = add nsw i32 5, %300 %302 = load i32, ptr %29, align 4 %303 = add nsw i32 %301, %302 %304 = load i32, ptr %30, align 4 %305 = add nsw i32 %303, %304 %306 = load i32, ptr %31, align 4 %307 = add nsw i32 %305, %306 %308 = load i32, ptr %33, align 4 %309 = add nsw i32 %307, %308 %310 = sub nsw i32 %299, %309 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %311 %313 = load i8, ptr %312, align 1 %314 = sext i8 %313 to i32 %315 = icmp ne i32 %314, 84 br i1 %315, label %316, label %319 316: ; preds = %298 %317 = load i32, ptr %33, align 4 %318 = add nsw i32 %317, 1 store i32 %318, ptr %33, align 4 br label %298, !llvm.loop !16 319: ; preds = %298 %320 = load i32, ptr %33, align 4 store i32 %320, ptr %32, align 4 store i32 0, ptr %33, align 4 br label %321 321: ; preds = %348, %319 %322 = load i32, ptr %33, align 4 %323 = load i32, ptr %32, align 4 %324 = sub nsw i32 %323, 2 %325 = icmp slt i32 %322, %324 br i1 %325, label %326, label %351 326: ; preds = %321 %327 = load i32, ptr %27, align 4 %328 = load i32, ptr %28, align 4 %329 = add nsw i32 5, %328 %330 = load i32, ptr %29, align 4 %331 = add nsw i32 %329, %330 %332 = load i32, ptr %30, align 4 %333 = add nsw i32 %331, %332 %334 = load i32, ptr %31, align 4 %335 = add nsw i32 %333, %334 %336 = load i32, ptr %32, align 4 %337 = add nsw i32 %335, %336 %338 = sub nsw i32 %327, %337 %339 = load i32, ptr %33, align 4 %340 = add nsw i32 %339, 1 %341 = add nsw i32 %338, %340 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %342 %344 = load i8, ptr %343, align 1 %345 = load i32, ptr %33, align 4 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds [30 x i8], ptr %21, i64 0, i64 %346 store i8 %344, ptr %347, align 1 br label %348 348: ; preds = %326 %349 = load i32, ptr %33, align 4 %350 = add nsw i32 %349, 1 store i32 %350, ptr %33, align 4 br label %321, !llvm.loop !17 351: ; preds = %321 %352 = load i32, ptr %32, align 4 %353 = sub nsw i32 %352, 1 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %354 store i8 0, ptr %355, align 1 %356 = getelementptr inbounds [30 x i8], ptr %21, i64 0, i64 0 %357 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %356, ptr noundef @.str.5, ptr noundef %25) %358 = load i32, ptr %35, align 4 %359 = load i32, ptr %36, align 4 %360 = icmp sgt i32 %358, %359 br i1 %360, label %361, label %382 361: ; preds = %351 %362 = load double, ptr %25, align 8 %363 = load double, ptr %13, align 8 %364 = fcmp oeq double %362, %363 br i1 %364, label %365, label %382 365: ; preds = %361 %366 = load double, ptr %22, align 8 %367 = load double, ptr %10, align 8 %368 = fcmp oeq double %366, %367 br i1 %368, label %369, label %382 369: ; preds = %365 %370 = load double, ptr %23, align 8 %371 = load double, ptr %11, align 8 %372 = fcmp oeq double %370, %371 br i1 %372, label %373, label %382 373: ; preds = %369 %374 = load double, ptr %24, align 8 %375 = load double, ptr %12, align 8 %376 = fcmp oeq double %374, %375 br i1 %376, label %377, label %382 377: ; preds = %373 store i32 1, ptr %34, align 4 %378 = load i32, ptr %35, align 4 store i32 %378, ptr %36, align 4 %379 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %380 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %381 = call i32 @strcpy(ptr noundef %379, ptr noundef %380) br label %382 382: ; preds = %377, %373, %369, %365, %361, %351 br label %383 383: ; preds = %382, %92 br label %384 384: ; preds = %383, %64 br label %60, !llvm.loop !18 385: ; preds = %60 %386 = load ptr, ptr %37, align 8 %387 = call i32 @closedir(ptr noundef %386) br label %388 388: ; preds = %385, %55 br label %391 389: ; preds = %49 %390 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %7, align 4 br label %413 391: ; preds = %388 %392 = load i32, ptr %34, align 4 %393 = icmp eq i32 %392, 1 br i1 %393, label %394, label %412 394: ; preds = %391 %395 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %396 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %395) %397 = load i32, ptr %9, align 4 %398 = load i32, ptr %27, align 4 %399 = icmp slt i32 %397, %398 br i1 %399, label %400, label %405 400: ; preds = %394 %401 = load i32, ptr %27, align 4 %402 = load i32, ptr %9, align 4 %403 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %401, i32 noundef %402) %404 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 -1, ptr %7, align 4 br label %413 405: ; preds = %394 %406 = load ptr, ptr %8, align 8 %407 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %408 = load i32, ptr %9, align 4 %409 = sub nsw i32 %408, 1 %410 = call i32 @strncpy(ptr noundef %406, ptr noundef %407, i32 noundef %409) %411 = load i32, ptr %36, align 4 store i32 %411, ptr %7, align 4 br label %413 412: ; preds = %391 store i32 0, ptr %7, align 4 br label %413 413: ; preds = %412, %405, %400, %389, %47, %41 %414 = load i32, ptr %7, align 4 ret i32 %414 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @strncpy(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmi6fnjpz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } %struct.dirent = type { ptr } @.str = private unnamed_addr constant [43 x i8] c"ERROR Buffer size less than 0 Buffer: %d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"ERROR Temperature negative\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"CHECKPOINT\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ckpt\00\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"ERROR CHECKPOINT directory not found\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"FileNameKeep %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"Value of len %d value of buffersize %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"ERROR Buffersize is to small!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CheckPt_Latest(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca %struct.stat, align 4 %15 = alloca [256 x i8], align 16 %16 = alloca [20 x i8], align 16 %17 = alloca [30 x i8], align 16 %18 = alloca [30 x i8], align 16 %19 = alloca [30 x i8], align 16 %20 = alloca [30 x i8], align 16 %21 = alloca [30 x i8], align 16 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca [256 x i8], align 16 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %6 %42 = load i32, ptr %9, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42) store i32 -1, ptr %7, align 4 br label %491 44: ; preds = %6 %45 = load double, ptr %13, align 8 %46 = fcmp olt double %45, 0.000000e+00 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %491 49: ; preds = %44 call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %20, i8 0, i64 30, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 30, i1 false) %50 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 store i8 0, ptr %50, align 16 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 store i8 0, ptr %52, align 1 store i32 0, ptr %34, align 4 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %25, align 8 %53 = call i64 @stat(ptr noundef @.str.2, ptr noundef %14) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %467 55: ; preds = %49 %56 = call ptr @opendir(ptr noundef @.str.2) store ptr %56, ptr %37, align 8 %57 = load ptr, ptr %37, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %466 59: ; preds = %55 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 %60 = load ptr, ptr %37, align 8 %61 = call ptr @readdir(ptr noundef %60) store ptr %61, ptr %38, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %.lr.ph32, label %463 .lr.ph32: ; preds = %59 br label %63 63: ; preds = %.lr.ph32, %459 %64 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %65 = load ptr, ptr %38, align 8 %66 = getelementptr inbounds %struct.dirent, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = call i32 @strcpy(ptr noundef %64, ptr noundef %67) %69 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %70 = call i32 @strlen(ptr noundef %69) store i32 %70, ptr %27, align 4 %71 = load i32, ptr %27, align 4 %72 = icmp sgt i32 %71, 4 br i1 %72, label %73, label %459 73: ; preds = %63 store i32 4, ptr %33, align 4 %74 = load i32, ptr %33, align 4 %75 = icmp sge i32 %74, 0 br i1 %75, label %.lr.ph, label %92 .lr.ph: ; preds = %73 br label %76 76: ; preds = %.lr.ph, %87 %77 = load i32, ptr %27, align 4 %78 = load i32, ptr %33, align 4 %79 = sub nsw i32 %77, %78 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %80 %82 = load i8, ptr %81, align 1 %83 = load i32, ptr %33, align 4 %84 = sub nsw i32 4, %83 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 %85 store i8 %82, ptr %86, align 1 br label %87 87: ; preds = %76 %88 = load i32, ptr %33, align 4 %89 = add nsw i32 %88, -1 store i32 %89, ptr %33, align 4 %90 = load i32, ptr %33, align 4 %91 = icmp sge i32 %90, 0 br i1 %91, label %76, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %92 92: ; preds = %._crit_edge, %73 %93 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 4 store i8 0, ptr %93, align 4 %94 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %95 = call i64 @strcmp(ptr noundef %94, ptr noundef @.str.3) %96 = icmp eq i64 %95, 0 br i1 %96, label %97, label %458 97: ; preds = %92 store i32 0, ptr %33, align 4 %98 = load i32, ptr %27, align 4 %99 = sub nsw i32 %98, 5 %100 = load i32, ptr %33, align 4 %101 = sub nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp ne i32 %105, 82 br i1 %106, label %.lr.ph2, label %119 .lr.ph2: ; preds = %97 br label %107 107: ; preds = %.lr.ph2, %107 %108 = load i32, ptr %33, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %33, align 4 %110 = load i32, ptr %27, align 4 %111 = sub nsw i32 %110, 5 %112 = load i32, ptr %33, align 4 %113 = sub nsw i32 %111, %112 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %114 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp ne i32 %117, 82 br i1 %118, label %107, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %107 br label %119 119: ; preds = %._crit_edge3, %97 %120 = load i32, ptr %33, align 4 store i32 %120, ptr %28, align 4 store i32 0, ptr %33, align 4 %121 = load i32, ptr %33, align 4 %122 = load i32, ptr %28, align 4 %123 = sub nsw i32 %122, 1 %124 = icmp slt i32 %121, %123 br i1 %124, label %.lr.ph5, label %146 .lr.ph5: ; preds = %119 br label %125 125: ; preds = %.lr.ph5, %139 %126 = load i32, ptr %27, align 4 %127 = load i32, ptr %28, align 4 %128 = add nsw i32 5, %127 %129 = sub nsw i32 %126, %128 %130 = load i32, ptr %33, align 4 %131 = add nsw i32 %130, 1 %132 = add nsw i32 %129, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %133 %135 = load i8, ptr %134, align 1 %136 = load i32, ptr %33, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 %137 store i8 %135, ptr %138, align 1 br label %139 139: ; preds = %125 %140 = load i32, ptr %33, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %33, align 4 %142 = load i32, ptr %33, align 4 %143 = load i32, ptr %28, align 4 %144 = sub nsw i32 %143, 1 %145 = icmp slt i32 %142, %144 br i1 %145, label %125, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %139 br label %146 146: ; preds = %._crit_edge6, %119 %147 = load i32, ptr %28, align 4 %148 = sub nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 %149 store i8 0, ptr %150, align 1 %151 = getelementptr inbounds [30 x i8], ptr %17, i64 0, i64 0 %152 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %151, ptr noundef @.str.4, ptr noundef %35) store i32 0, ptr %33, align 4 %153 = load i32, ptr %27, align 4 %154 = sub nsw i32 %153, 5 %155 = load i32, ptr %28, align 4 %156 = sub nsw i32 %154, %155 %157 = load i32, ptr %33, align 4 %158 = sub nsw i32 %156, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %159 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp ne i32 %162, 122 br i1 %163, label %.lr.ph8, label %178 .lr.ph8: ; preds = %146 br label %164 164: ; preds = %.lr.ph8, %164 %165 = load i32, ptr %33, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %33, align 4 %167 = load i32, ptr %27, align 4 %168 = sub nsw i32 %167, 5 %169 = load i32, ptr %28, align 4 %170 = sub nsw i32 %168, %169 %171 = load i32, ptr %33, align 4 %172 = sub nsw i32 %170, %171 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %173 %175 = load i8, ptr %174, align 1 %176 = sext i8 %175 to i32 %177 = icmp ne i32 %176, 122 br i1 %177, label %164, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %164 br label %178 178: ; preds = %._crit_edge9, %146 %179 = load i32, ptr %33, align 4 store i32 %179, ptr %29, align 4 store i32 0, ptr %33, align 4 %180 = load i32, ptr %33, align 4 %181 = load i32, ptr %29, align 4 %182 = sub nsw i32 %181, 1 %183 = icmp slt i32 %180, %182 br i1 %183, label %.lr.ph11, label %207 .lr.ph11: ; preds = %178 br label %184 184: ; preds = %.lr.ph11, %200 %185 = load i32, ptr %27, align 4 %186 = load i32, ptr %28, align 4 %187 = add nsw i32 5, %186 %188 = load i32, ptr %29, align 4 %189 = add nsw i32 %187, %188 %190 = sub nsw i32 %185, %189 %191 = load i32, ptr %33, align 4 %192 = add nsw i32 %191, 1 %193 = add nsw i32 %190, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %194 %196 = load i8, ptr %195, align 1 %197 = load i32, ptr %33, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %198 store i8 %196, ptr %199, align 1 br label %200 200: ; preds = %184 %201 = load i32, ptr %33, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %33, align 4 %203 = load i32, ptr %33, align 4 %204 = load i32, ptr %29, align 4 %205 = sub nsw i32 %204, 1 %206 = icmp slt i32 %203, %205 br i1 %206, label %184, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %200 br label %207 207: ; preds = %._crit_edge12, %178 %208 = load i32, ptr %29, align 4 %209 = sub nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %210 store i8 0, ptr %211, align 1 %212 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 0 %213 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %212, ptr noundef @.str.5, ptr noundef %24) store i32 0, ptr %33, align 4 %214 = load i32, ptr %27, align 4 %215 = load i32, ptr %28, align 4 %216 = add nsw i32 5, %215 %217 = load i32, ptr %29, align 4 %218 = add nsw i32 %216, %217 %219 = load i32, ptr %33, align 4 %220 = add nsw i32 %218, %219 %221 = sub nsw i32 %214, %220 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %222 %224 = load i8, ptr %223, align 1 %225 = sext i8 %224 to i32 %226 = icmp ne i32 %225, 121 br i1 %226, label %.lr.ph14, label %243 .lr.ph14: ; preds = %207 br label %227 227: ; preds = %.lr.ph14, %227 %228 = load i32, ptr %33, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %33, align 4 %230 = load i32, ptr %27, align 4 %231 = load i32, ptr %28, align 4 %232 = add nsw i32 5, %231 %233 = load i32, ptr %29, align 4 %234 = add nsw i32 %232, %233 %235 = load i32, ptr %33, align 4 %236 = add nsw i32 %234, %235 %237 = sub nsw i32 %230, %236 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %238 %240 = load i8, ptr %239, align 1 %241 = sext i8 %240 to i32 %242 = icmp ne i32 %241, 121 br i1 %242, label %227, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %227 br label %243 243: ; preds = %._crit_edge15, %207 %244 = load i32, ptr %33, align 4 store i32 %244, ptr %30, align 4 store i32 0, ptr %33, align 4 %245 = load i32, ptr %33, align 4 %246 = load i32, ptr %30, align 4 %247 = sub nsw i32 %246, 2 %248 = icmp slt i32 %245, %247 br i1 %248, label %.lr.ph17, label %274 .lr.ph17: ; preds = %243 br label %249 249: ; preds = %.lr.ph17, %267 %250 = load i32, ptr %27, align 4 %251 = load i32, ptr %28, align 4 %252 = add nsw i32 5, %251 %253 = load i32, ptr %29, align 4 %254 = add nsw i32 %252, %253 %255 = load i32, ptr %30, align 4 %256 = add nsw i32 %254, %255 %257 = sub nsw i32 %250, %256 %258 = load i32, ptr %33, align 4 %259 = add nsw i32 %258, 1 %260 = add nsw i32 %257, %259 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %261 %263 = load i8, ptr %262, align 1 %264 = load i32, ptr %33, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds [30 x i8], ptr %19, i64 0, i64 %265 store i8 %263, ptr %266, align 1 br label %267 267: ; preds = %249 %268 = load i32, ptr %33, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %33, align 4 %270 = load i32, ptr %33, align 4 %271 = load i32, ptr %30, align 4 %272 = sub nsw i32 %271, 2 %273 = icmp slt i32 %270, %272 br i1 %273, label %249, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %267 br label %274 274: ; preds = %._crit_edge18, %243 %275 = load i32, ptr %30, align 4 %276 = sub nsw i32 %275, 1 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %277 store i8 0, ptr %278, align 1 %279 = getelementptr inbounds [30 x i8], ptr %19, i64 0, i64 0 %280 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %279, ptr noundef @.str.5, ptr noundef %23) store i32 0, ptr %33, align 4 %281 = load i32, ptr %27, align 4 %282 = load i32, ptr %28, align 4 %283 = add nsw i32 5, %282 %284 = load i32, ptr %29, align 4 %285 = add nsw i32 %283, %284 %286 = load i32, ptr %30, align 4 %287 = add nsw i32 %285, %286 %288 = load i32, ptr %33, align 4 %289 = add nsw i32 %287, %288 %290 = sub nsw i32 %281, %289 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %291 %293 = load i8, ptr %292, align 1 %294 = sext i8 %293 to i32 %295 = icmp ne i32 %294, 120 br i1 %295, label %.lr.ph20, label %314 .lr.ph20: ; preds = %274 br label %296 296: ; preds = %.lr.ph20, %296 %297 = load i32, ptr %33, align 4 %298 = add nsw i32 %297, 1 store i32 %298, ptr %33, align 4 %299 = load i32, ptr %27, align 4 %300 = load i32, ptr %28, align 4 %301 = add nsw i32 5, %300 %302 = load i32, ptr %29, align 4 %303 = add nsw i32 %301, %302 %304 = load i32, ptr %30, align 4 %305 = add nsw i32 %303, %304 %306 = load i32, ptr %33, align 4 %307 = add nsw i32 %305, %306 %308 = sub nsw i32 %299, %307 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %309 %311 = load i8, ptr %310, align 1 %312 = sext i8 %311 to i32 %313 = icmp ne i32 %312, 120 br i1 %313, label %296, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %296 br label %314 314: ; preds = %._crit_edge21, %274 %315 = load i32, ptr %33, align 4 store i32 %315, ptr %31, align 4 store i32 0, ptr %33, align 4 %316 = load i32, ptr %33, align 4 %317 = load i32, ptr %31, align 4 %318 = sub nsw i32 %317, 2 %319 = icmp slt i32 %316, %318 br i1 %319, label %.lr.ph23, label %347 .lr.ph23: ; preds = %314 br label %320 320: ; preds = %.lr.ph23, %340 %321 = load i32, ptr %27, align 4 %322 = load i32, ptr %28, align 4 %323 = add nsw i32 5, %322 %324 = load i32, ptr %29, align 4 %325 = add nsw i32 %323, %324 %326 = load i32, ptr %30, align 4 %327 = add nsw i32 %325, %326 %328 = load i32, ptr %31, align 4 %329 = add nsw i32 %327, %328 %330 = sub nsw i32 %321, %329 %331 = load i32, ptr %33, align 4 %332 = add nsw i32 %331, 1 %333 = add nsw i32 %330, %332 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %334 %336 = load i8, ptr %335, align 1 %337 = load i32, ptr %33, align 4 %338 = sext i32 %337 to i64 %339 = getelementptr inbounds [30 x i8], ptr %18, i64 0, i64 %338 store i8 %336, ptr %339, align 1 br label %340 340: ; preds = %320 %341 = load i32, ptr %33, align 4 %342 = add nsw i32 %341, 1 store i32 %342, ptr %33, align 4 %343 = load i32, ptr %33, align 4 %344 = load i32, ptr %31, align 4 %345 = sub nsw i32 %344, 2 %346 = icmp slt i32 %343, %345 br i1 %346, label %320, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %340 br label %347 347: ; preds = %._crit_edge24, %314 %348 = load i32, ptr %31, align 4 %349 = sub nsw i32 %348, 1 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %350 store i8 0, ptr %351, align 1 %352 = getelementptr inbounds [30 x i8], ptr %18, i64 0, i64 0 %353 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %352, ptr noundef @.str.5, ptr noundef %22) store i32 0, ptr %33, align 4 %354 = load i32, ptr %27, align 4 %355 = load i32, ptr %28, align 4 %356 = add nsw i32 5, %355 %357 = load i32, ptr %29, align 4 %358 = add nsw i32 %356, %357 %359 = load i32, ptr %30, align 4 %360 = add nsw i32 %358, %359 %361 = load i32, ptr %31, align 4 %362 = add nsw i32 %360, %361 %363 = load i32, ptr %33, align 4 %364 = add nsw i32 %362, %363 %365 = sub nsw i32 %354, %364 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %366 %368 = load i8, ptr %367, align 1 %369 = sext i8 %368 to i32 %370 = icmp ne i32 %369, 84 br i1 %370, label %.lr.ph26, label %391 .lr.ph26: ; preds = %347 br label %371 371: ; preds = %.lr.ph26, %371 %372 = load i32, ptr %33, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %33, align 4 %374 = load i32, ptr %27, align 4 %375 = load i32, ptr %28, align 4 %376 = add nsw i32 5, %375 %377 = load i32, ptr %29, align 4 %378 = add nsw i32 %376, %377 %379 = load i32, ptr %30, align 4 %380 = add nsw i32 %378, %379 %381 = load i32, ptr %31, align 4 %382 = add nsw i32 %380, %381 %383 = load i32, ptr %33, align 4 %384 = add nsw i32 %382, %383 %385 = sub nsw i32 %374, %384 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %386 %388 = load i8, ptr %387, align 1 %389 = sext i8 %388 to i32 %390 = icmp ne i32 %389, 84 br i1 %390, label %371, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %371 br label %391 391: ; preds = %._crit_edge27, %347 %392 = load i32, ptr %33, align 4 store i32 %392, ptr %32, align 4 store i32 0, ptr %33, align 4 %393 = load i32, ptr %33, align 4 %394 = load i32, ptr %32, align 4 %395 = sub nsw i32 %394, 2 %396 = icmp slt i32 %393, %395 br i1 %396, label %.lr.ph29, label %426 .lr.ph29: ; preds = %391 br label %397 397: ; preds = %.lr.ph29, %419 %398 = load i32, ptr %27, align 4 %399 = load i32, ptr %28, align 4 %400 = add nsw i32 5, %399 %401 = load i32, ptr %29, align 4 %402 = add nsw i32 %400, %401 %403 = load i32, ptr %30, align 4 %404 = add nsw i32 %402, %403 %405 = load i32, ptr %31, align 4 %406 = add nsw i32 %404, %405 %407 = load i32, ptr %32, align 4 %408 = add nsw i32 %406, %407 %409 = sub nsw i32 %398, %408 %410 = load i32, ptr %33, align 4 %411 = add nsw i32 %410, 1 %412 = add nsw i32 %409, %411 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %413 %415 = load i8, ptr %414, align 1 %416 = load i32, ptr %33, align 4 %417 = sext i32 %416 to i64 %418 = getelementptr inbounds [30 x i8], ptr %21, i64 0, i64 %417 store i8 %415, ptr %418, align 1 br label %419 419: ; preds = %397 %420 = load i32, ptr %33, align 4 %421 = add nsw i32 %420, 1 store i32 %421, ptr %33, align 4 %422 = load i32, ptr %33, align 4 %423 = load i32, ptr %32, align 4 %424 = sub nsw i32 %423, 2 %425 = icmp slt i32 %422, %424 br i1 %425, label %397, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %419 br label %426 426: ; preds = %._crit_edge30, %391 %427 = load i32, ptr %32, align 4 %428 = sub nsw i32 %427, 1 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds [30 x i8], ptr %20, i64 0, i64 %429 store i8 0, ptr %430, align 1 %431 = getelementptr inbounds [30 x i8], ptr %21, i64 0, i64 0 %432 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %431, ptr noundef @.str.5, ptr noundef %25) %433 = load i32, ptr %35, align 4 %434 = load i32, ptr %36, align 4 %435 = icmp sgt i32 %433, %434 br i1 %435, label %436, label %457 436: ; preds = %426 %437 = load double, ptr %25, align 8 %438 = load double, ptr %13, align 8 %439 = fcmp oeq double %437, %438 br i1 %439, label %440, label %457 440: ; preds = %436 %441 = load double, ptr %22, align 8 %442 = load double, ptr %10, align 8 %443 = fcmp oeq double %441, %442 br i1 %443, label %444, label %457 444: ; preds = %440 %445 = load double, ptr %23, align 8 %446 = load double, ptr %11, align 8 %447 = fcmp oeq double %445, %446 br i1 %447, label %448, label %457 448: ; preds = %444 %449 = load double, ptr %24, align 8 %450 = load double, ptr %12, align 8 %451 = fcmp oeq double %449, %450 br i1 %451, label %452, label %457 452: ; preds = %448 store i32 1, ptr %34, align 4 %453 = load i32, ptr %35, align 4 store i32 %453, ptr %36, align 4 %454 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %455 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %456 = call i32 @strcpy(ptr noundef %454, ptr noundef %455) br label %457 457: ; preds = %452, %448, %444, %440, %436, %426 br label %458 458: ; preds = %457, %92 br label %459 459: ; preds = %458, %63 %460 = load ptr, ptr %37, align 8 %461 = call ptr @readdir(ptr noundef %460) store ptr %461, ptr %38, align 8 %462 = icmp ne ptr %461, null br i1 %462, label %63, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %459 br label %463 463: ; preds = %._crit_edge33, %59 %464 = load ptr, ptr %37, align 8 %465 = call i32 @closedir(ptr noundef %464) br label %466 466: ; preds = %463, %55 br label %469 467: ; preds = %49 %468 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %7, align 4 br label %491 469: ; preds = %466 %470 = load i32, ptr %34, align 4 %471 = icmp eq i32 %470, 1 br i1 %471, label %472, label %490 472: ; preds = %469 %473 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %474 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %473) %475 = load i32, ptr %9, align 4 %476 = load i32, ptr %27, align 4 %477 = icmp slt i32 %475, %476 br i1 %477, label %478, label %483 478: ; preds = %472 %479 = load i32, ptr %27, align 4 %480 = load i32, ptr %9, align 4 %481 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %479, i32 noundef %480) %482 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 -1, ptr %7, align 4 br label %491 483: ; preds = %472 %484 = load ptr, ptr %8, align 8 %485 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %486 = load i32, ptr %9, align 4 %487 = sub nsw i32 %486, 1 %488 = call i32 @strncpy(ptr noundef %484, ptr noundef %485, i32 noundef %487) %489 = load i32, ptr %36, align 4 store i32 %489, ptr %7, align 4 br label %491 490: ; preds = %469 store i32 0, ptr %7, align 4 br label %491 491: ; preds = %490, %483, %478, %467, %47, %41 %492 = load i32, ptr %7, align 4 ret i32 %492 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @strncpy(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '/tmp/tmp6zc6gf8j.c' source_filename = "/tmp/tmp6zc6gf8j.c" target datalayout = "e-m:e-p270: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/tmp6zc6gf8j.c" target datalayout = "e-m:e-p270: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"}