llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp3f9___xw.c' source_filename = "/tmp/tmp3f9___xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr } @.str = private unnamed_addr constant [13 x i8] c"Setup serial\00", align 1 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @B300 = dso_local global i32 0, align 4 @B600 = dso_local global i32 0, align 4 @B1200 = dso_local global i32 0, align 4 @B2400 = dso_local global i32 0, align 4 @B4800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @VTIME = dso_local global i64 0, align 8 @VMIN = dso_local global i64 0, align 8 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"Com set error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Set_Opt(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca %struct.termios, align 8 %13 = alloca %struct.termios, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i8 %3, ptr %10, align 1 store i32 %4, ptr %11, align 4 %14 = load i32, ptr %7, align 4 %15 = call i64 @tcgetattr(i32 noundef %14, ptr noundef %13) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %6, align 4 br label %189 19: ; preds = %5 %20 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 16) %21 = load i32, ptr @CLOCAL, align 4 %22 = load i32, ptr @CREAD, align 4 %23 = or i32 %21, %22 %24 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = or i32 %25, %23 store i32 %26, ptr %24, align 8 %27 = load i32, ptr @CSIZE, align 4 %28 = xor i32 %27, -1 %29 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %30 = load i32, ptr %29, align 8 %31 = and i32 %30, %28 store i32 %31, ptr %29, align 8 %32 = load i32, ptr %8, align 4 switch i32 %32, label %83 [ i32 300, label %33 i32 600, label %38 i32 1200, label %43 i32 2400, label %48 i32 4800, label %53 i32 9600, label %58 i32 19200, label %63 i32 38400, label %68 i32 57600, label %73 i32 115200, label %78 ] 33: ; preds = %19 %34 = load i32, ptr @B300, align 4 %35 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %34) %36 = load i32, ptr @B300, align 4 %37 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %36) br label %88 38: ; preds = %19 %39 = load i32, ptr @B600, align 4 %40 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %39) %41 = load i32, ptr @B600, align 4 %42 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %41) br label %88 43: ; preds = %19 %44 = load i32, ptr @B1200, align 4 %45 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %44) %46 = load i32, ptr @B1200, align 4 %47 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %46) br label %88 48: ; preds = %19 %49 = load i32, ptr @B2400, align 4 %50 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %49) %51 = load i32, ptr @B2400, align 4 %52 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %51) br label %88 53: ; preds = %19 %54 = load i32, ptr @B4800, align 4 %55 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %54) %56 = load i32, ptr @B4800, align 4 %57 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %56) br label %88 58: ; preds = %19 %59 = load i32, ptr @B9600, align 4 %60 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %59) %61 = load i32, ptr @B9600, align 4 %62 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %61) br label %88 63: ; preds = %19 %64 = load i32, ptr @B19200, align 4 %65 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %64) %66 = load i32, ptr @B19200, align 4 %67 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %66) br label %88 68: ; preds = %19 %69 = load i32, ptr @B38400, align 4 %70 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %69) %71 = load i32, ptr @B38400, align 4 %72 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %71) br label %88 73: ; preds = %19 %74 = load i32, ptr @B57600, align 4 %75 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %74) %76 = load i32, ptr @B57600, align 4 %77 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %76) br label %88 78: ; preds = %19 %79 = load i32, ptr @B115200, align 4 %80 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %79) %81 = load i32, ptr @B115200, align 4 %82 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %81) br label %88 83: ; preds = %19 %84 = load i32, ptr @B9600, align 4 %85 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %84) %86 = load i32, ptr @B9600, align 4 %87 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %86) br label %88 88: ; preds = %83, %78, %73, %68, %63, %58, %53, %48, %43, %38, %33 %89 = load i32, ptr %9, align 4 switch i32 %89, label %100 [ i32 7, label %90 i32 8, label %95 ] 90: ; preds = %88 %91 = load i32, ptr @CS7, align 4 %92 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %93 = load i32, ptr %92, align 8 %94 = or i32 %93, %91 store i32 %94, ptr %92, align 8 br label %105 95: ; preds = %88 %96 = load i32, ptr @CS8, align 4 %97 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %98 = load i32, ptr %97, align 8 %99 = or i32 %98, %96 store i32 %99, ptr %97, align 8 br label %105 100: ; preds = %88 %101 = load i32, ptr @CS8, align 4 %102 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %103 = load i32, ptr %102, align 8 %104 = or i32 %103, %101 store i32 %104, ptr %102, align 8 br label %105 105: ; preds = %100, %95, %90 %106 = load i8, ptr %10, align 1 %107 = sext i8 %106 to i32 switch i32 %107, label %145 [ i32 79, label %108 i32 111, label %108 i32 69, label %123 i32 101, label %123 i32 78, label %139 i32 110, label %139 ] 108: ; preds = %105, %105 %109 = load i32, ptr @PARENB, align 4 %110 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %111 = load i32, ptr %110, align 8 %112 = or i32 %111, %109 store i32 %112, ptr %110, align 8 %113 = load i32, ptr @PARODD, align 4 %114 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %115 = load i32, ptr %114, align 8 %116 = or i32 %115, %113 store i32 %116, ptr %114, align 8 %117 = load i32, ptr @INPCK, align 4 %118 = load i32, ptr @ISTRIP, align 4 %119 = or i32 %117, %118 %120 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 1 %121 = load i32, ptr %120, align 4 %122 = or i32 %121, %119 store i32 %122, ptr %120, align 4 br label %151 123: ; preds = %105, %105 %124 = load i32, ptr @INPCK, align 4 %125 = load i32, ptr @ISTRIP, align 4 %126 = or i32 %124, %125 %127 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 1 %128 = load i32, ptr %127, align 4 %129 = or i32 %128, %126 store i32 %129, ptr %127, align 4 %130 = load i32, ptr @PARENB, align 4 %131 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %132 = load i32, ptr %131, align 8 %133 = or i32 %132, %130 store i32 %133, ptr %131, align 8 %134 = load i32, ptr @PARODD, align 4 %135 = xor i32 %134, -1 %136 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %137 = load i32, ptr %136, align 8 %138 = and i32 %137, %135 store i32 %138, ptr %136, align 8 br label %151 139: ; preds = %105, %105 %140 = load i32, ptr @PARENB, align 4 %141 = xor i32 %140, -1 %142 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %143 = load i32, ptr %142, align 8 %144 = and i32 %143, %141 store i32 %144, ptr %142, align 8 br label %151 145: ; preds = %105 %146 = load i32, ptr @PARENB, align 4 %147 = xor i32 %146, -1 %148 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %149 = load i32, ptr %148, align 8 %150 = and i32 %149, %147 store i32 %150, ptr %148, align 8 br label %151 151: ; preds = %145, %139, %123, %108 %152 = load i32, ptr %11, align 4 switch i32 %152, label %164 [ i32 1, label %153 i32 2, label %159 ] 153: ; preds = %151 %154 = load i32, ptr @CSTOPB, align 4 %155 = xor i32 %154, -1 %156 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %157 = load i32, ptr %156, align 8 %158 = and i32 %157, %155 store i32 %158, ptr %156, align 8 br label %170 159: ; preds = %151 %160 = load i32, ptr @CSTOPB, align 4 %161 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %162 = load i32, ptr %161, align 8 %163 = or i32 %162, %160 store i32 %163, ptr %161, align 8 br label %170 164: ; preds = %151 %165 = load i32, ptr @CSTOPB, align 4 %166 = xor i32 %165, -1 %167 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %168 = load i32, ptr %167, align 8 %169 = and i32 %168, %166 store i32 %169, ptr %167, align 8 br label %170 170: ; preds = %164, %159, %153 %171 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 2 %172 = load ptr, ptr %171, align 8 %173 = load i64, ptr @VTIME, align 8 %174 = getelementptr inbounds i32, ptr %172, i64 %173 store i32 2, ptr %174, align 4 %175 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 2 %176 = load ptr, ptr %175, align 8 %177 = load i64, ptr @VMIN, align 8 %178 = getelementptr inbounds i32, ptr %176, i64 %177 store i32 0, ptr %178, align 4 %179 = load i32, ptr %7, align 4 %180 = load i32, ptr @TCIFLUSH, align 4 %181 = call i32 @tcflush(i32 noundef %179, i32 noundef %180) %182 = load i32, ptr %7, align 4 %183 = load i32, ptr @TCSANOW, align 4 %184 = call i64 @tcsetattr(i32 noundef %182, i32 noundef %183, ptr noundef %12) %185 = icmp ne i64 %184, 0 br i1 %185, label %186, label %188 186: ; preds = %170 %187 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %6, align 4 br label %189 188: ; preds = %170 store i32 0, ptr %6, align 4 br label %189 189: ; preds = %188, %186, %17 %190 = load i32, ptr %6, align 4 ret i32 %190 } declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3f9___xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr } @.str = private unnamed_addr constant [13 x i8] c"Setup serial\00", align 1 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @B300 = dso_local global i32 0, align 4 @B600 = dso_local global i32 0, align 4 @B1200 = dso_local global i32 0, align 4 @B2400 = dso_local global i32 0, align 4 @B4800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @VTIME = dso_local global i64 0, align 8 @VMIN = dso_local global i64 0, align 8 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"Com set error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Set_Opt(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca %struct.termios, align 8 %13 = alloca %struct.termios, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i8 %3, ptr %10, align 1 store i32 %4, ptr %11, align 4 %14 = load i32, ptr %7, align 4 %15 = call i64 @tcgetattr(i32 noundef %14, ptr noundef %13) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %6, align 4 br label %189 19: ; preds = %5 %20 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 16) %21 = load i32, ptr @CLOCAL, align 4 %22 = load i32, ptr @CREAD, align 4 %23 = or i32 %21, %22 %24 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = or i32 %25, %23 store i32 %26, ptr %24, align 8 %27 = load i32, ptr @CSIZE, align 4 %28 = xor i32 %27, -1 %29 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %30 = load i32, ptr %29, align 8 %31 = and i32 %30, %28 store i32 %31, ptr %29, align 8 %32 = load i32, ptr %8, align 4 switch i32 %32, label %83 [ i32 300, label %33 i32 600, label %38 i32 1200, label %43 i32 2400, label %48 i32 4800, label %53 i32 9600, label %58 i32 19200, label %63 i32 38400, label %68 i32 57600, label %73 i32 115200, label %78 ] 33: ; preds = %19 %34 = load i32, ptr @B300, align 4 %35 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %34) %36 = load i32, ptr @B300, align 4 %37 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %36) br label %88 38: ; preds = %19 %39 = load i32, ptr @B600, align 4 %40 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %39) %41 = load i32, ptr @B600, align 4 %42 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %41) br label %88 43: ; preds = %19 %44 = load i32, ptr @B1200, align 4 %45 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %44) %46 = load i32, ptr @B1200, align 4 %47 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %46) br label %88 48: ; preds = %19 %49 = load i32, ptr @B2400, align 4 %50 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %49) %51 = load i32, ptr @B2400, align 4 %52 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %51) br label %88 53: ; preds = %19 %54 = load i32, ptr @B4800, align 4 %55 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %54) %56 = load i32, ptr @B4800, align 4 %57 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %56) br label %88 58: ; preds = %19 %59 = load i32, ptr @B9600, align 4 %60 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %59) %61 = load i32, ptr @B9600, align 4 %62 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %61) br label %88 63: ; preds = %19 %64 = load i32, ptr @B19200, align 4 %65 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %64) %66 = load i32, ptr @B19200, align 4 %67 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %66) br label %88 68: ; preds = %19 %69 = load i32, ptr @B38400, align 4 %70 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %69) %71 = load i32, ptr @B38400, align 4 %72 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %71) br label %88 73: ; preds = %19 %74 = load i32, ptr @B57600, align 4 %75 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %74) %76 = load i32, ptr @B57600, align 4 %77 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %76) br label %88 78: ; preds = %19 %79 = load i32, ptr @B115200, align 4 %80 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %79) %81 = load i32, ptr @B115200, align 4 %82 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %81) br label %88 83: ; preds = %19 %84 = load i32, ptr @B9600, align 4 %85 = call i32 @cfsetispeed(ptr noundef %12, i32 noundef %84) %86 = load i32, ptr @B9600, align 4 %87 = call i32 @cfsetospeed(ptr noundef %12, i32 noundef %86) br label %88 88: ; preds = %83, %78, %73, %68, %63, %58, %53, %48, %43, %38, %33 %89 = load i32, ptr %9, align 4 switch i32 %89, label %100 [ i32 7, label %90 i32 8, label %95 ] 90: ; preds = %88 %91 = load i32, ptr @CS7, align 4 %92 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %93 = load i32, ptr %92, align 8 %94 = or i32 %93, %91 store i32 %94, ptr %92, align 8 br label %105 95: ; preds = %88 %96 = load i32, ptr @CS8, align 4 %97 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %98 = load i32, ptr %97, align 8 %99 = or i32 %98, %96 store i32 %99, ptr %97, align 8 br label %105 100: ; preds = %88 %101 = load i32, ptr @CS8, align 4 %102 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %103 = load i32, ptr %102, align 8 %104 = or i32 %103, %101 store i32 %104, ptr %102, align 8 br label %105 105: ; preds = %100, %95, %90 %106 = load i8, ptr %10, align 1 %107 = sext i8 %106 to i32 switch i32 %107, label %145 [ i32 79, label %108 i32 111, label %108 i32 69, label %123 i32 101, label %123 i32 78, label %139 i32 110, label %139 ] 108: ; preds = %105, %105 %109 = load i32, ptr @PARENB, align 4 %110 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %111 = load i32, ptr %110, align 8 %112 = or i32 %111, %109 store i32 %112, ptr %110, align 8 %113 = load i32, ptr @PARODD, align 4 %114 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %115 = load i32, ptr %114, align 8 %116 = or i32 %115, %113 store i32 %116, ptr %114, align 8 %117 = load i32, ptr @INPCK, align 4 %118 = load i32, ptr @ISTRIP, align 4 %119 = or i32 %117, %118 %120 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 1 %121 = load i32, ptr %120, align 4 %122 = or i32 %121, %119 store i32 %122, ptr %120, align 4 br label %151 123: ; preds = %105, %105 %124 = load i32, ptr @INPCK, align 4 %125 = load i32, ptr @ISTRIP, align 4 %126 = or i32 %124, %125 %127 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 1 %128 = load i32, ptr %127, align 4 %129 = or i32 %128, %126 store i32 %129, ptr %127, align 4 %130 = load i32, ptr @PARENB, align 4 %131 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %132 = load i32, ptr %131, align 8 %133 = or i32 %132, %130 store i32 %133, ptr %131, align 8 %134 = load i32, ptr @PARODD, align 4 %135 = xor i32 %134, -1 %136 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %137 = load i32, ptr %136, align 8 %138 = and i32 %137, %135 store i32 %138, ptr %136, align 8 br label %151 139: ; preds = %105, %105 %140 = load i32, ptr @PARENB, align 4 %141 = xor i32 %140, -1 %142 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %143 = load i32, ptr %142, align 8 %144 = and i32 %143, %141 store i32 %144, ptr %142, align 8 br label %151 145: ; preds = %105 %146 = load i32, ptr @PARENB, align 4 %147 = xor i32 %146, -1 %148 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %149 = load i32, ptr %148, align 8 %150 = and i32 %149, %147 store i32 %150, ptr %148, align 8 br label %151 151: ; preds = %145, %139, %123, %108 %152 = load i32, ptr %11, align 4 switch i32 %152, label %164 [ i32 1, label %153 i32 2, label %159 ] 153: ; preds = %151 %154 = load i32, ptr @CSTOPB, align 4 %155 = xor i32 %154, -1 %156 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %157 = load i32, ptr %156, align 8 %158 = and i32 %157, %155 store i32 %158, ptr %156, align 8 br label %170 159: ; preds = %151 %160 = load i32, ptr @CSTOPB, align 4 %161 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %162 = load i32, ptr %161, align 8 %163 = or i32 %162, %160 store i32 %163, ptr %161, align 8 br label %170 164: ; preds = %151 %165 = load i32, ptr @CSTOPB, align 4 %166 = xor i32 %165, -1 %167 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 0 %168 = load i32, ptr %167, align 8 %169 = and i32 %168, %166 store i32 %169, ptr %167, align 8 br label %170 170: ; preds = %164, %159, %153 %171 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 2 %172 = load ptr, ptr %171, align 8 %173 = load i64, ptr @VTIME, align 8 %174 = getelementptr inbounds i32, ptr %172, i64 %173 store i32 2, ptr %174, align 4 %175 = getelementptr inbounds %struct.termios, ptr %12, i32 0, i32 2 %176 = load ptr, ptr %175, align 8 %177 = load i64, ptr @VMIN, align 8 %178 = getelementptr inbounds i32, ptr %176, i64 %177 store i32 0, ptr %178, align 4 %179 = load i32, ptr %7, align 4 %180 = load i32, ptr @TCIFLUSH, align 4 %181 = call i32 @tcflush(i32 noundef %179, i32 noundef %180) %182 = load i32, ptr %7, align 4 %183 = load i32, ptr @TCSANOW, align 4 %184 = call i64 @tcsetattr(i32 noundef %182, i32 noundef %183, ptr noundef %12) %185 = icmp ne i64 %184, 0 br i1 %185, label %186, label %188 186: ; preds = %170 %187 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %6, align 4 br label %189 188: ; preds = %170 store i32 0, ptr %6, align 4 br label %189 189: ; preds = %188, %186, %17 %190 = load i32, ptr %6, align 4 ret i32 %190 } declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb0wkehhn.c' source_filename = "/tmp/tmpb0wkehhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CountHashTableEntries(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i64 %6 = select i1 %4, i32 1, i32 0 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb0wkehhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CountHashTableEntries(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i64 %6 = select i1 %4, i32 1, i32 0 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqg7wmnll.c' source_filename = "/tmp/tmpqg7wmnll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_match_case(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) br label %10 10: ; preds = %41, %2 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 42, %13 br i1 %14, label %15, label %46 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 0, %18 br i1 %19, label %20, label %26 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 0, %23 %25 = zext i1 %24 to i32 store i32 %25, ptr %3, align 4 br label %71 26: ; preds = %15 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %29, %32 br i1 %33, label %34, label %40 34: ; preds = %26 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 63, %37 br i1 %38, label %39, label %40 39: ; preds = %34 store i32 0, ptr %3, align 4 br label %71 40: ; preds = %34, %26 br label %41 41: ; preds = %40 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %5, align 8 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %4, align 8 br label %10, !llvm.loop !6 46: ; preds = %10 br label %47 47: ; preds = %53, %46 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 42, %51 br i1 %52, label %53, label %56 53: ; preds = %47 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %5, align 8 br label %47, !llvm.loop !8 56: ; preds = %47 br label %57 57: ; preds = %65, %56 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = call i32 @trio_match_case(ptr noundef %58, ptr noundef %60) %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %57 store i32 1, ptr %3, align 4 br label %71 64: ; preds = %57 br label %65 65: ; preds = %64 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %4, align 8 %68 = load i8, ptr %66, align 1 %69 = icmp ne i8 %68, 0 br i1 %69, label %57, label %70, !llvm.loop !9 70: ; preds = %65 store i32 0, ptr %3, align 4 br label %71 71: ; preds = %70, %63, %39, %20 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqg7wmnll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_match_case(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 42, %12 br i1 %13, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %40 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 0, %17 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 0, %22 %24 = zext i1 %23 to i32 store i32 %24, ptr %3, align 4 br label %78 25: ; preds = %14 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %28, %31 br i1 %32, label %33, label %39 33: ; preds = %25 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 63, %36 br i1 %37, label %38, label %39 38: ; preds = %33 store i32 0, ptr %3, align 4 br label %78 39: ; preds = %33, %25 br label %40 40: ; preds = %39 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %5, align 8 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %4, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 42, %47 br i1 %48, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %49 49: ; preds = %._crit_edge, %2 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 42, %53 br i1 %54, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %55 55: ; preds = %.lr.ph2, %55 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %5, align 8 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 1 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 42, %61 br i1 %62, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %63 63: ; preds = %._crit_edge3, %49 br label %64 64: ; preds = %72, %63 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 %68 = call i32 @trio_match_case(ptr noundef %65, ptr noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %64 store i32 1, ptr %3, align 4 br label %78 71: ; preds = %64 br label %72 72: ; preds = %71 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %4, align 8 %75 = load i8, ptr %73, align 1 %76 = icmp ne i8 %75, 0 br i1 %76, label %64, label %77, !llvm.loop !9 77: ; preds = %72 store i32 0, ptr %3, align 4 br label %78 78: ; preds = %77, %70, %38, %19 %79 = load i32, ptr %3, align 4 ret i32 %79 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpet3s10oi.c' source_filename = "/tmp/tmpet3s10oi.c" target datalayout = "e-m:e-p270: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/tmpet3s10oi.c" target datalayout = "e-m:e-p270: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/tmpl68qxnq5.c' source_filename = "/tmp/tmpl68qxnq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error: %s\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"SUPERLU_MALLOC fails for marker[]\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for t_colptr[]\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"SUPERLU_MALLOC fails t_rowind[]\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for b_colptr[]\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for b_rowind[]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @at_plus_a(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca [256 x i8], align 16 %24 = alloca [256 x i8], align 16 %25 = alloca [256 x i8], align 16 %26 = alloca [256 x i8], align 16 %27 = alloca [256 x i8], align 16 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 4 %31 = trunc i64 %30 to i32 %32 = call i64 @superlu_malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %22, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %42, label %35 35: ; preds = %7 %36 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %37 = call i32 @sprintf_s(ptr noundef %36, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1) %38 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %39 = call i32 @WriteSLUErrorMessage(ptr noundef %38) %40 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %41 = call i32 @superlu_abort_and_exit(ptr noundef %40) br label %42 42: ; preds = %35, %7 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = trunc i64 %46 to i32 %48 = call i64 @superlu_malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %20, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %58, label %51 51: ; preds = %42 %52 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %53 = call i32 @sprintf_s(ptr noundef %52, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.2) %54 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %55 = call i32 @WriteSLUErrorMessage(ptr noundef %54) %56 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %57 = call i32 @superlu_abort_and_exit(ptr noundef %56) br label %58 58: ; preds = %51, %42 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = trunc i64 %61 to i32 %63 = call i64 @superlu_malloc(i32 noundef %62) %64 = inttoptr i64 %63 to ptr store ptr %64, ptr %21, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %73, label %66 66: ; preds = %58 %67 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %68 = call i32 @sprintf_s(ptr noundef %67, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.3) %69 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %70 = call i32 @WriteSLUErrorMessage(ptr noundef %69) %71 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %72 = call i32 @superlu_abort_and_exit(ptr noundef %71) br label %73 73: ; preds = %66, %58 store i32 0, ptr %15, align 4 br label %74 74: ; preds = %83, %73 %75 = load i32, ptr %15, align 4 %76 = load i32, ptr %8, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %86 78: ; preds = %74 %79 = load ptr, ptr %22, align 8 %80 = load i32, ptr %15, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 store i32 0, ptr %82, align 4 br label %83 83: ; preds = %78 %84 = load i32, ptr %15, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %15, align 4 br label %74, !llvm.loop !6 86: ; preds = %74 store i32 0, ptr %16, align 4 br label %87 87: ; preds = %121, %86 %88 = load i32, ptr %16, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %91, label %124 91: ; preds = %87 %92 = load ptr, ptr %10, align 8 %93 = load i32, ptr %16, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 %96 = load i32, ptr %95, align 4 store i32 %96, ptr %15, align 4 br label %97 97: ; preds = %117, %91 %98 = load i32, ptr %15, align 4 %99 = load ptr, ptr %10, align 8 %100 = load i32, ptr %16, align 4 %101 = add nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %99, i64 %102 %104 = load i32, ptr %103, align 4 %105 = icmp slt i32 %98, %104 br i1 %105, label %106, label %120 106: ; preds = %97 %107 = load ptr, ptr %22, align 8 %108 = load ptr, ptr %11, align 8 %109 = load i32, ptr %15, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load i32, ptr %111, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %107, i64 %113 %115 = load i32, ptr %114, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %114, align 4 br label %117 117: ; preds = %106 %118 = load i32, ptr %15, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %15, align 4 br label %97, !llvm.loop !8 120: ; preds = %97 br label %121 121: ; preds = %120 %122 = load i32, ptr %16, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %16, align 4 br label %87, !llvm.loop !9 124: ; preds = %87 %125 = load ptr, ptr %20, align 8 %126 = getelementptr inbounds i32, ptr %125, i64 0 store i32 0, ptr %126, align 4 store i32 0, ptr %15, align 4 br label %127 127: ; preds = %157, %124 %128 = load i32, ptr %15, align 4 %129 = load i32, ptr %8, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %160 131: ; preds = %127 %132 = load ptr, ptr %20, align 8 %133 = load i32, ptr %15, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i32, ptr %132, i64 %134 %136 = load i32, ptr %135, align 4 %137 = load ptr, ptr %22, align 8 %138 = load i32, ptr %15, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 %141 = load i32, ptr %140, align 4 %142 = add nsw i32 %136, %141 %143 = load ptr, ptr %20, align 8 %144 = load i32, ptr %15, align 4 %145 = add nsw i32 %144, 1 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %143, i64 %146 store i32 %142, ptr %147, align 4 %148 = load ptr, ptr %20, align 8 %149 = load i32, ptr %15, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 %153 = load ptr, ptr %22, align 8 %154 = load i32, ptr %15, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %153, i64 %155 store i32 %152, ptr %156, align 4 br label %157 157: ; preds = %131 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %15, align 4 br label %127, !llvm.loop !10 160: ; preds = %127 store i32 0, ptr %16, align 4 br label %161 161: ; preds = %205, %160 %162 = load i32, ptr %16, align 4 %163 = load i32, ptr %8, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %165, label %208 165: ; preds = %161 %166 = load ptr, ptr %10, align 8 %167 = load i32, ptr %16, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %166, i64 %168 %170 = load i32, ptr %169, align 4 store i32 %170, ptr %15, align 4 br label %171 171: ; preds = %201, %165 %172 = load i32, ptr %15, align 4 %173 = load ptr, ptr %10, align 8 %174 = load i32, ptr %16, align 4 %175 = add nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %173, i64 %176 %178 = load i32, ptr %177, align 4 %179 = icmp slt i32 %172, %178 br i1 %179, label %180, label %204 180: ; preds = %171 %181 = load ptr, ptr %11, align 8 %182 = load i32, ptr %15, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i32, ptr %181, i64 %183 %185 = load i32, ptr %184, align 4 store i32 %185, ptr %18, align 4 %186 = load i32, ptr %16, align 4 %187 = load ptr, ptr %21, align 8 %188 = load ptr, ptr %22, align 8 %189 = load i32, ptr %18, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i32, ptr %188, i64 %190 %192 = load i32, ptr %191, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %187, i64 %193 store i32 %186, ptr %194, align 4 %195 = load ptr, ptr %22, align 8 %196 = load i32, ptr %18, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %195, i64 %197 %199 = load i32, ptr %198, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %198, align 4 br label %201 201: ; preds = %180 %202 = load i32, ptr %15, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %15, align 4 br label %171, !llvm.loop !11 204: ; preds = %171 br label %205 205: ; preds = %204 %206 = load i32, ptr %16, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %16, align 4 br label %161, !llvm.loop !12 208: ; preds = %161 store i32 0, ptr %15, align 4 br label %209 209: ; preds = %218, %208 %210 = load i32, ptr %15, align 4 %211 = load i32, ptr %8, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %213, label %221 213: ; preds = %209 %214 = load ptr, ptr %22, align 8 %215 = load i32, ptr %15, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i32, ptr %214, i64 %216 store i32 -1, ptr %217, align 4 br label %218 218: ; preds = %213 %219 = load i32, ptr %15, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %15, align 4 br label %209, !llvm.loop !13 221: ; preds = %209 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 br label %222 222: ; preds = %312, %221 %223 = load i32, ptr %16, align 4 %224 = load i32, ptr %8, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %226, label %315 226: ; preds = %222 %227 = load i32, ptr %16, align 4 %228 = load ptr, ptr %22, align 8 %229 = load i32, ptr %16, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %228, i64 %230 store i32 %227, ptr %231, align 4 %232 = load ptr, ptr %10, align 8 %233 = load i32, ptr %16, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i32, ptr %232, i64 %234 %236 = load i32, ptr %235, align 4 store i32 %236, ptr %15, align 4 br label %237 237: ; preds = %268, %226 %238 = load i32, ptr %15, align 4 %239 = load ptr, ptr %10, align 8 %240 = load i32, ptr %16, align 4 %241 = add nsw i32 %240, 1 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i32, ptr %239, i64 %242 %244 = load i32, ptr %243, align 4 %245 = icmp slt i32 %238, %244 br i1 %245, label %246, label %271 246: ; preds = %237 %247 = load ptr, ptr %11, align 8 %248 = load i32, ptr %15, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds i32, ptr %247, i64 %249 %251 = load i32, ptr %250, align 4 store i32 %251, ptr %17, align 4 %252 = load ptr, ptr %22, align 8 %253 = load i32, ptr %17, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds i32, ptr %252, i64 %254 %256 = load i32, ptr %255, align 4 %257 = load i32, ptr %16, align 4 %258 = icmp ne i32 %256, %257 br i1 %258, label %259, label %267 259: ; preds = %246 %260 = load i32, ptr %16, align 4 %261 = load ptr, ptr %22, align 8 %262 = load i32, ptr %17, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds i32, ptr %261, i64 %263 store i32 %260, ptr %264, align 4 %265 = load i32, ptr %19, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %19, align 4 br label %267 267: ; preds = %259, %246 br label %268 268: ; preds = %267 %269 = load i32, ptr %15, align 4 %270 = add nsw i32 %269, 1 store i32 %270, ptr %15, align 4 br label %237, !llvm.loop !14 271: ; preds = %237 %272 = load ptr, ptr %20, align 8 %273 = load i32, ptr %16, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds i32, ptr %272, i64 %274 %276 = load i32, ptr %275, align 4 store i32 %276, ptr %15, align 4 br label %277 277: ; preds = %308, %271 %278 = load i32, ptr %15, align 4 %279 = load ptr, ptr %20, align 8 %280 = load i32, ptr %16, align 4 %281 = add nsw i32 %280, 1 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds i32, ptr %279, i64 %282 %284 = load i32, ptr %283, align 4 %285 = icmp slt i32 %278, %284 br i1 %285, label %286, label %311 286: ; preds = %277 %287 = load ptr, ptr %21, align 8 %288 = load i32, ptr %15, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds i32, ptr %287, i64 %289 %291 = load i32, ptr %290, align 4 store i32 %291, ptr %17, align 4 %292 = load ptr, ptr %22, align 8 %293 = load i32, ptr %17, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds i32, ptr %292, i64 %294 %296 = load i32, ptr %295, align 4 %297 = load i32, ptr %16, align 4 %298 = icmp ne i32 %296, %297 br i1 %298, label %299, label %307 299: ; preds = %286 %300 = load i32, ptr %16, align 4 %301 = load ptr, ptr %22, align 8 %302 = load i32, ptr %17, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds i32, ptr %301, i64 %303 store i32 %300, ptr %304, align 4 %305 = load i32, ptr %19, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %19, align 4 br label %307 307: ; preds = %299, %286 br label %308 308: ; preds = %307 %309 = load i32, ptr %15, align 4 %310 = add nsw i32 %309, 1 store i32 %310, ptr %15, align 4 br label %277, !llvm.loop !15 311: ; preds = %277 br label %312 312: ; preds = %311 %313 = load i32, ptr %16, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %16, align 4 br label %222, !llvm.loop !16 315: ; preds = %222 %316 = load i32, ptr %19, align 4 %317 = load ptr, ptr %12, align 8 store i32 %316, ptr %317, align 4 %318 = load i32, ptr %8, align 4 %319 = add nsw i32 %318, 1 %320 = sext i32 %319 to i64 %321 = mul i64 %320, 4 %322 = trunc i64 %321 to i32 %323 = call i64 @superlu_malloc(i32 noundef %322) %324 = inttoptr i64 %323 to ptr %325 = load ptr, ptr %13, align 8 store ptr %324, ptr %325, align 8 %326 = icmp ne ptr %324, null br i1 %326, label %334, label %327 327: ; preds = %315 %328 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %329 = call i32 @sprintf_s(ptr noundef %328, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.4) %330 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %331 = call i32 @WriteSLUErrorMessage(ptr noundef %330) %332 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %333 = call i32 @superlu_abort_and_exit(ptr noundef %332) br label %334 334: ; preds = %327, %315 %335 = load ptr, ptr %12, align 8 %336 = load i32, ptr %335, align 4 %337 = icmp ne i32 %336, 0 br i1 %337, label %338, label %356 338: ; preds = %334 %339 = load ptr, ptr %12, align 8 %340 = load i32, ptr %339, align 4 %341 = sext i32 %340 to i64 %342 = mul i64 %341, 4 %343 = trunc i64 %342 to i32 %344 = call i64 @superlu_malloc(i32 noundef %343) %345 = inttoptr i64 %344 to ptr %346 = load ptr, ptr %14, align 8 store ptr %345, ptr %346, align 8 %347 = icmp ne ptr %345, null br i1 %347, label %355, label %348 348: ; preds = %338 %349 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %350 = call i32 @sprintf_s(ptr noundef %349, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.5) %351 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %352 = call i32 @WriteSLUErrorMessage(ptr noundef %351) %353 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %354 = call i32 @superlu_abort_and_exit(ptr noundef %353) br label %355 355: ; preds = %348, %338 br label %356 356: ; preds = %355, %334 store i32 0, ptr %15, align 4 br label %357 357: ; preds = %366, %356 %358 = load i32, ptr %15, align 4 %359 = load i32, ptr %8, align 4 %360 = icmp slt i32 %358, %359 br i1 %360, label %361, label %369 361: ; preds = %357 %362 = load ptr, ptr %22, align 8 %363 = load i32, ptr %15, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds i32, ptr %362, i64 %364 store i32 -1, ptr %365, align 4 br label %366 366: ; preds = %361 %367 = load i32, ptr %15, align 4 %368 = add nsw i32 %367, 1 store i32 %368, ptr %15, align 4 br label %357, !llvm.loop !17 369: ; preds = %357 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 br label %370 370: ; preds = %476, %369 %371 = load i32, ptr %16, align 4 %372 = load i32, ptr %8, align 4 %373 = icmp slt i32 %371, %372 br i1 %373, label %374, label %479 374: ; preds = %370 %375 = load i32, ptr %19, align 4 %376 = load ptr, ptr %13, align 8 %377 = load ptr, ptr %376, align 8 %378 = load i32, ptr %16, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds i32, ptr %377, i64 %379 store i32 %375, ptr %380, align 4 %381 = load i32, ptr %16, align 4 %382 = load ptr, ptr %22, align 8 %383 = load i32, ptr %16, align 4 %384 = sext i32 %383 to i64 %385 = getelementptr inbounds i32, ptr %382, i64 %384 store i32 %381, ptr %385, align 4 %386 = load ptr, ptr %10, align 8 %387 = load i32, ptr %16, align 4 %388 = sext i32 %387 to i64 %389 = getelementptr inbounds i32, ptr %386, i64 %388 %390 = load i32, ptr %389, align 4 store i32 %390, ptr %15, align 4 br label %391 391: ; preds = %427, %374 %392 = load i32, ptr %15, align 4 %393 = load ptr, ptr %10, align 8 %394 = load i32, ptr %16, align 4 %395 = add nsw i32 %394, 1 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds i32, ptr %393, i64 %396 %398 = load i32, ptr %397, align 4 %399 = icmp slt i32 %392, %398 br i1 %399, label %400, label %430 400: ; preds = %391 %401 = load ptr, ptr %11, align 8 %402 = load i32, ptr %15, align 4 %403 = sext i32 %402 to i64 %404 = getelementptr inbounds i32, ptr %401, i64 %403 %405 = load i32, ptr %404, align 4 store i32 %405, ptr %17, align 4 %406 = load ptr, ptr %22, align 8 %407 = load i32, ptr %17, align 4 %408 = sext i32 %407 to i64 %409 = getelementptr inbounds i32, ptr %406, i64 %408 %410 = load i32, ptr %409, align 4 %411 = load i32, ptr %16, align 4 %412 = icmp ne i32 %410, %411 br i1 %412, label %413, label %426 413: ; preds = %400 %414 = load i32, ptr %16, align 4 %415 = load ptr, ptr %22, align 8 %416 = load i32, ptr %17, align 4 %417 = sext i32 %416 to i64 %418 = getelementptr inbounds i32, ptr %415, i64 %417 store i32 %414, ptr %418, align 4 %419 = load i32, ptr %17, align 4 %420 = load ptr, ptr %14, align 8 %421 = load ptr, ptr %420, align 8 %422 = load i32, ptr %19, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %19, align 4 %424 = sext i32 %422 to i64 %425 = getelementptr inbounds i32, ptr %421, i64 %424 store i32 %419, ptr %425, align 4 br label %426 426: ; preds = %413, %400 br label %427 427: ; preds = %426 %428 = load i32, ptr %15, align 4 %429 = add nsw i32 %428, 1 store i32 %429, ptr %15, align 4 br label %391, !llvm.loop !18 430: ; preds = %391 %431 = load ptr, ptr %20, align 8 %432 = load i32, ptr %16, align 4 %433 = sext i32 %432 to i64 %434 = getelementptr inbounds i32, ptr %431, i64 %433 %435 = load i32, ptr %434, align 4 store i32 %435, ptr %15, align 4 br label %436 436: ; preds = %472, %430 %437 = load i32, ptr %15, align 4 %438 = load ptr, ptr %20, align 8 %439 = load i32, ptr %16, align 4 %440 = add nsw i32 %439, 1 %441 = sext i32 %440 to i64 %442 = getelementptr inbounds i32, ptr %438, i64 %441 %443 = load i32, ptr %442, align 4 %444 = icmp slt i32 %437, %443 br i1 %444, label %445, label %475 445: ; preds = %436 %446 = load ptr, ptr %21, align 8 %447 = load i32, ptr %15, align 4 %448 = sext i32 %447 to i64 %449 = getelementptr inbounds i32, ptr %446, i64 %448 %450 = load i32, ptr %449, align 4 store i32 %450, ptr %17, align 4 %451 = load ptr, ptr %22, align 8 %452 = load i32, ptr %17, align 4 %453 = sext i32 %452 to i64 %454 = getelementptr inbounds i32, ptr %451, i64 %453 %455 = load i32, ptr %454, align 4 %456 = load i32, ptr %16, align 4 %457 = icmp ne i32 %455, %456 br i1 %457, label %458, label %471 458: ; preds = %445 %459 = load i32, ptr %16, align 4 %460 = load ptr, ptr %22, align 8 %461 = load i32, ptr %17, align 4 %462 = sext i32 %461 to i64 %463 = getelementptr inbounds i32, ptr %460, i64 %462 store i32 %459, ptr %463, align 4 %464 = load i32, ptr %17, align 4 %465 = load ptr, ptr %14, align 8 %466 = load ptr, ptr %465, align 8 %467 = load i32, ptr %19, align 4 %468 = add nsw i32 %467, 1 store i32 %468, ptr %19, align 4 %469 = sext i32 %467 to i64 %470 = getelementptr inbounds i32, ptr %466, i64 %469 store i32 %464, ptr %470, align 4 br label %471 471: ; preds = %458, %445 br label %472 472: ; preds = %471 %473 = load i32, ptr %15, align 4 %474 = add nsw i32 %473, 1 store i32 %474, ptr %15, align 4 br label %436, !llvm.loop !19 475: ; preds = %436 br label %476 476: ; preds = %475 %477 = load i32, ptr %16, align 4 %478 = add nsw i32 %477, 1 store i32 %478, ptr %16, align 4 br label %370, !llvm.loop !20 479: ; preds = %370 %480 = load i32, ptr %19, align 4 %481 = load ptr, ptr %13, align 8 %482 = load ptr, ptr %481, align 8 %483 = load i32, ptr %8, align 4 %484 = sext i32 %483 to i64 %485 = getelementptr inbounds i32, ptr %482, i64 %484 store i32 %480, ptr %485, align 4 %486 = load ptr, ptr %22, align 8 %487 = call i32 @superlu_free(ptr noundef %486) %488 = load ptr, ptr %20, align 8 %489 = call i32 @superlu_free(ptr noundef %488) %490 = load ptr, ptr %21, align 8 %491 = call i32 @superlu_free(ptr noundef %490) ret void } declare i64 @superlu_malloc(i32 noundef) #1 declare i32 @sprintf_s(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @WriteSLUErrorMessage(ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i32 @superlu_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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl68qxnq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error: %s\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"SUPERLU_MALLOC fails for marker[]\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for t_colptr[]\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"SUPERLU_MALLOC fails t_rowind[]\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for b_colptr[]\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"SUPERLU_MALLOC fails for b_rowind[]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @at_plus_a(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca [256 x i8], align 16 %24 = alloca [256 x i8], align 16 %25 = alloca [256 x i8], align 16 %26 = alloca [256 x i8], align 16 %27 = alloca [256 x i8], align 16 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 4 %31 = trunc i64 %30 to i32 %32 = call i64 @superlu_malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %22, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %42, label %35 35: ; preds = %7 %36 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %37 = call i32 @sprintf_s(ptr noundef %36, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1) %38 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %39 = call i32 @WriteSLUErrorMessage(ptr noundef %38) %40 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %41 = call i32 @superlu_abort_and_exit(ptr noundef %40) br label %42 42: ; preds = %35, %7 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = trunc i64 %46 to i32 %48 = call i64 @superlu_malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %20, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %58, label %51 51: ; preds = %42 %52 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %53 = call i32 @sprintf_s(ptr noundef %52, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.2) %54 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %55 = call i32 @WriteSLUErrorMessage(ptr noundef %54) %56 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %57 = call i32 @superlu_abort_and_exit(ptr noundef %56) br label %58 58: ; preds = %51, %42 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = trunc i64 %61 to i32 %63 = call i64 @superlu_malloc(i32 noundef %62) %64 = inttoptr i64 %63 to ptr store ptr %64, ptr %21, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %73, label %66 66: ; preds = %58 %67 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %68 = call i32 @sprintf_s(ptr noundef %67, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.3) %69 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %70 = call i32 @WriteSLUErrorMessage(ptr noundef %69) %71 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %72 = call i32 @superlu_abort_and_exit(ptr noundef %71) br label %73 73: ; preds = %66, %58 store i32 0, ptr %15, align 4 %74 = load i32, ptr %15, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %.lr.ph, label %88 .lr.ph: ; preds = %73 br label %77 77: ; preds = %.lr.ph, %82 %78 = load ptr, ptr %22, align 8 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 0, ptr %81, align 4 br label %82 82: ; preds = %77 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %15, align 4 %85 = load i32, ptr %15, align 4 %86 = load i32, ptr %8, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %77, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %82 br label %88 88: ; preds = %._crit_edge, %73 store i32 0, ptr %16, align 4 %89 = load i32, ptr %16, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph5, label %135 .lr.ph5: ; preds = %88 br label %92 92: ; preds = %.lr.ph5, %129 %93 = load ptr, ptr %10, align 8 %94 = load i32, ptr %16, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 store i32 %97, ptr %15, align 4 %98 = load i32, ptr %15, align 4 %99 = load ptr, ptr %10, align 8 %100 = load i32, ptr %16, align 4 %101 = add nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %99, i64 %102 %104 = load i32, ptr %103, align 4 %105 = icmp slt i32 %98, %104 br i1 %105, label %.lr.ph2, label %128 .lr.ph2: ; preds = %92 br label %106 106: ; preds = %.lr.ph2, %117 %107 = load ptr, ptr %22, align 8 %108 = load ptr, ptr %11, align 8 %109 = load i32, ptr %15, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load i32, ptr %111, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %107, i64 %113 %115 = load i32, ptr %114, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %114, align 4 br label %117 117: ; preds = %106 %118 = load i32, ptr %15, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %15, align 4 %120 = load i32, ptr %15, align 4 %121 = load ptr, ptr %10, align 8 %122 = load i32, ptr %16, align 4 %123 = add nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %121, i64 %124 %126 = load i32, ptr %125, align 4 %127 = icmp slt i32 %120, %126 br i1 %127, label %106, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %117 br label %128 128: ; preds = %._crit_edge3, %92 br label %129 129: ; preds = %128 %130 = load i32, ptr %16, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %16, align 4 %132 = load i32, ptr %16, align 4 %133 = load i32, ptr %8, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %92, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %129 br label %135 135: ; preds = %._crit_edge6, %88 %136 = load ptr, ptr %20, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 0 store i32 0, ptr %137, align 4 store i32 0, ptr %15, align 4 %138 = load i32, ptr %15, align 4 %139 = load i32, ptr %8, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %.lr.ph8, label %173 .lr.ph8: ; preds = %135 br label %141 141: ; preds = %.lr.ph8, %167 %142 = load ptr, ptr %20, align 8 %143 = load i32, ptr %15, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i32, ptr %142, i64 %144 %146 = load i32, ptr %145, align 4 %147 = load ptr, ptr %22, align 8 %148 = load i32, ptr %15, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %147, i64 %149 %151 = load i32, ptr %150, align 4 %152 = add nsw i32 %146, %151 %153 = load ptr, ptr %20, align 8 %154 = load i32, ptr %15, align 4 %155 = add nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %153, i64 %156 store i32 %152, ptr %157, align 4 %158 = load ptr, ptr %20, align 8 %159 = load i32, ptr %15, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 %163 = load ptr, ptr %22, align 8 %164 = load i32, ptr %15, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %163, i64 %165 store i32 %162, ptr %166, align 4 br label %167 167: ; preds = %141 %168 = load i32, ptr %15, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %15, align 4 %170 = load i32, ptr %15, align 4 %171 = load i32, ptr %8, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %141, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %167 br label %173 173: ; preds = %._crit_edge9, %135 store i32 0, ptr %16, align 4 %174 = load i32, ptr %16, align 4 %175 = load i32, ptr %8, align 4 %176 = icmp slt i32 %174, %175 br i1 %176, label %.lr.ph14, label %230 .lr.ph14: ; preds = %173 br label %177 177: ; preds = %.lr.ph14, %224 %178 = load ptr, ptr %10, align 8 %179 = load i32, ptr %16, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i32, ptr %178, i64 %180 %182 = load i32, ptr %181, align 4 store i32 %182, ptr %15, align 4 %183 = load i32, ptr %15, align 4 %184 = load ptr, ptr %10, align 8 %185 = load i32, ptr %16, align 4 %186 = add nsw i32 %185, 1 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %184, i64 %187 %189 = load i32, ptr %188, align 4 %190 = icmp slt i32 %183, %189 br i1 %190, label %.lr.ph11, label %223 .lr.ph11: ; preds = %177 br label %191 191: ; preds = %.lr.ph11, %212 %192 = load ptr, ptr %11, align 8 %193 = load i32, ptr %15, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %192, i64 %194 %196 = load i32, ptr %195, align 4 store i32 %196, ptr %18, align 4 %197 = load i32, ptr %16, align 4 %198 = load ptr, ptr %21, align 8 %199 = load ptr, ptr %22, align 8 %200 = load i32, ptr %18, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i32, ptr %199, i64 %201 %203 = load i32, ptr %202, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i32, ptr %198, i64 %204 store i32 %197, ptr %205, align 4 %206 = load ptr, ptr %22, align 8 %207 = load i32, ptr %18, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds i32, ptr %206, i64 %208 %210 = load i32, ptr %209, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %209, align 4 br label %212 212: ; preds = %191 %213 = load i32, ptr %15, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %15, align 4 %215 = load i32, ptr %15, align 4 %216 = load ptr, ptr %10, align 8 %217 = load i32, ptr %16, align 4 %218 = add nsw i32 %217, 1 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i32, ptr %216, i64 %219 %221 = load i32, ptr %220, align 4 %222 = icmp slt i32 %215, %221 br i1 %222, label %191, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %212 br label %223 223: ; preds = %._crit_edge12, %177 br label %224 224: ; preds = %223 %225 = load i32, ptr %16, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %16, align 4 %227 = load i32, ptr %16, align 4 %228 = load i32, ptr %8, align 4 %229 = icmp slt i32 %227, %228 br i1 %229, label %177, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %224 br label %230 230: ; preds = %._crit_edge15, %173 store i32 0, ptr %15, align 4 %231 = load i32, ptr %15, align 4 %232 = load i32, ptr %8, align 4 %233 = icmp slt i32 %231, %232 br i1 %233, label %.lr.ph17, label %245 .lr.ph17: ; preds = %230 br label %234 234: ; preds = %.lr.ph17, %239 %235 = load ptr, ptr %22, align 8 %236 = load i32, ptr %15, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds i32, ptr %235, i64 %237 store i32 -1, ptr %238, align 4 br label %239 239: ; preds = %234 %240 = load i32, ptr %15, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %15, align 4 %242 = load i32, ptr %15, align 4 %243 = load i32, ptr %8, align 4 %244 = icmp slt i32 %242, %243 br i1 %244, label %234, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %239 br label %245 245: ; preds = %._crit_edge18, %230 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 %246 = load i32, ptr %16, align 4 %247 = load i32, ptr %8, align 4 %248 = icmp slt i32 %246, %247 br i1 %248, label %.lr.ph26, label %355 .lr.ph26: ; preds = %245 br label %249 249: ; preds = %.lr.ph26, %349 %250 = load i32, ptr %16, align 4 %251 = load ptr, ptr %22, align 8 %252 = load i32, ptr %16, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds i32, ptr %251, i64 %253 store i32 %250, ptr %254, align 4 %255 = load ptr, ptr %10, align 8 %256 = load i32, ptr %16, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds i32, ptr %255, i64 %257 %259 = load i32, ptr %258, align 4 store i32 %259, ptr %15, align 4 %260 = load i32, ptr %15, align 4 %261 = load ptr, ptr %10, align 8 %262 = load i32, ptr %16, align 4 %263 = add nsw i32 %262, 1 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i32, ptr %261, i64 %264 %266 = load i32, ptr %265, align 4 %267 = icmp slt i32 %260, %266 br i1 %267, label %.lr.ph20, label %301 .lr.ph20: ; preds = %249 br label %268 268: ; preds = %.lr.ph20, %290 %269 = load ptr, ptr %11, align 8 %270 = load i32, ptr %15, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i32, ptr %269, i64 %271 %273 = load i32, ptr %272, align 4 store i32 %273, ptr %17, align 4 %274 = load ptr, ptr %22, align 8 %275 = load i32, ptr %17, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds i32, ptr %274, i64 %276 %278 = load i32, ptr %277, align 4 %279 = load i32, ptr %16, align 4 %280 = icmp ne i32 %278, %279 br i1 %280, label %281, label %289 281: ; preds = %268 %282 = load i32, ptr %16, align 4 %283 = load ptr, ptr %22, align 8 %284 = load i32, ptr %17, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds i32, ptr %283, i64 %285 store i32 %282, ptr %286, align 4 %287 = load i32, ptr %19, align 4 %288 = add nsw i32 %287, 1 store i32 %288, ptr %19, align 4 br label %289 289: ; preds = %281, %268 br label %290 290: ; preds = %289 %291 = load i32, ptr %15, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %15, align 4 %293 = load i32, ptr %15, align 4 %294 = load ptr, ptr %10, align 8 %295 = load i32, ptr %16, align 4 %296 = add nsw i32 %295, 1 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i32, ptr %294, i64 %297 %299 = load i32, ptr %298, align 4 %300 = icmp slt i32 %293, %299 br i1 %300, label %268, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %290 br label %301 301: ; preds = %._crit_edge21, %249 %302 = load ptr, ptr %20, align 8 %303 = load i32, ptr %16, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds i32, ptr %302, i64 %304 %306 = load i32, ptr %305, align 4 store i32 %306, ptr %15, align 4 %307 = load i32, ptr %15, align 4 %308 = load ptr, ptr %20, align 8 %309 = load i32, ptr %16, align 4 %310 = add nsw i32 %309, 1 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds i32, ptr %308, i64 %311 %313 = load i32, ptr %312, align 4 %314 = icmp slt i32 %307, %313 br i1 %314, label %.lr.ph23, label %348 .lr.ph23: ; preds = %301 br label %315 315: ; preds = %.lr.ph23, %337 %316 = load ptr, ptr %21, align 8 %317 = load i32, ptr %15, align 4 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds i32, ptr %316, i64 %318 %320 = load i32, ptr %319, align 4 store i32 %320, ptr %17, align 4 %321 = load ptr, ptr %22, align 8 %322 = load i32, ptr %17, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds i32, ptr %321, i64 %323 %325 = load i32, ptr %324, align 4 %326 = load i32, ptr %16, align 4 %327 = icmp ne i32 %325, %326 br i1 %327, label %328, label %336 328: ; preds = %315 %329 = load i32, ptr %16, align 4 %330 = load ptr, ptr %22, align 8 %331 = load i32, ptr %17, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds i32, ptr %330, i64 %332 store i32 %329, ptr %333, align 4 %334 = load i32, ptr %19, align 4 %335 = add nsw i32 %334, 1 store i32 %335, ptr %19, align 4 br label %336 336: ; preds = %328, %315 br label %337 337: ; preds = %336 %338 = load i32, ptr %15, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %15, align 4 %340 = load i32, ptr %15, align 4 %341 = load ptr, ptr %20, align 8 %342 = load i32, ptr %16, align 4 %343 = add nsw i32 %342, 1 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds i32, ptr %341, i64 %344 %346 = load i32, ptr %345, align 4 %347 = icmp slt i32 %340, %346 br i1 %347, label %315, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %337 br label %348 348: ; preds = %._crit_edge24, %301 br label %349 349: ; preds = %348 %350 = load i32, ptr %16, align 4 %351 = add nsw i32 %350, 1 store i32 %351, ptr %16, align 4 %352 = load i32, ptr %16, align 4 %353 = load i32, ptr %8, align 4 %354 = icmp slt i32 %352, %353 br i1 %354, label %249, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %349 br label %355 355: ; preds = %._crit_edge27, %245 %356 = load i32, ptr %19, align 4 %357 = load ptr, ptr %12, align 8 store i32 %356, ptr %357, align 4 %358 = load i32, ptr %8, align 4 %359 = add nsw i32 %358, 1 %360 = sext i32 %359 to i64 %361 = mul i64 %360, 4 %362 = trunc i64 %361 to i32 %363 = call i64 @superlu_malloc(i32 noundef %362) %364 = inttoptr i64 %363 to ptr %365 = load ptr, ptr %13, align 8 store ptr %364, ptr %365, align 8 %366 = icmp ne ptr %364, null br i1 %366, label %374, label %367 367: ; preds = %355 %368 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %369 = call i32 @sprintf_s(ptr noundef %368, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.4) %370 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %371 = call i32 @WriteSLUErrorMessage(ptr noundef %370) %372 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %373 = call i32 @superlu_abort_and_exit(ptr noundef %372) br label %374 374: ; preds = %367, %355 %375 = load ptr, ptr %12, align 8 %376 = load i32, ptr %375, align 4 %377 = icmp ne i32 %376, 0 br i1 %377, label %378, label %396 378: ; preds = %374 %379 = load ptr, ptr %12, align 8 %380 = load i32, ptr %379, align 4 %381 = sext i32 %380 to i64 %382 = mul i64 %381, 4 %383 = trunc i64 %382 to i32 %384 = call i64 @superlu_malloc(i32 noundef %383) %385 = inttoptr i64 %384 to ptr %386 = load ptr, ptr %14, align 8 store ptr %385, ptr %386, align 8 %387 = icmp ne ptr %385, null br i1 %387, label %395, label %388 388: ; preds = %378 %389 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %390 = call i32 @sprintf_s(ptr noundef %389, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.5) %391 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %392 = call i32 @WriteSLUErrorMessage(ptr noundef %391) %393 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %394 = call i32 @superlu_abort_and_exit(ptr noundef %393) br label %395 395: ; preds = %388, %378 br label %396 396: ; preds = %395, %374 store i32 0, ptr %15, align 4 %397 = load i32, ptr %15, align 4 %398 = load i32, ptr %8, align 4 %399 = icmp slt i32 %397, %398 br i1 %399, label %.lr.ph29, label %411 .lr.ph29: ; preds = %396 br label %400 400: ; preds = %.lr.ph29, %405 %401 = load ptr, ptr %22, align 8 %402 = load i32, ptr %15, align 4 %403 = sext i32 %402 to i64 %404 = getelementptr inbounds i32, ptr %401, i64 %403 store i32 -1, ptr %404, align 4 br label %405 405: ; preds = %400 %406 = load i32, ptr %15, align 4 %407 = add nsw i32 %406, 1 store i32 %407, ptr %15, align 4 %408 = load i32, ptr %15, align 4 %409 = load i32, ptr %8, align 4 %410 = icmp slt i32 %408, %409 br i1 %410, label %400, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %405 br label %411 411: ; preds = %._crit_edge30, %396 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 %412 = load i32, ptr %16, align 4 %413 = load i32, ptr %8, align 4 %414 = icmp slt i32 %412, %413 br i1 %414, label %.lr.ph38, label %537 .lr.ph38: ; preds = %411 br label %415 415: ; preds = %.lr.ph38, %531 %416 = load i32, ptr %19, align 4 %417 = load ptr, ptr %13, align 8 %418 = load ptr, ptr %417, align 8 %419 = load i32, ptr %16, align 4 %420 = sext i32 %419 to i64 %421 = getelementptr inbounds i32, ptr %418, i64 %420 store i32 %416, ptr %421, align 4 %422 = load i32, ptr %16, align 4 %423 = load ptr, ptr %22, align 8 %424 = load i32, ptr %16, align 4 %425 = sext i32 %424 to i64 %426 = getelementptr inbounds i32, ptr %423, i64 %425 store i32 %422, ptr %426, align 4 %427 = load ptr, ptr %10, align 8 %428 = load i32, ptr %16, align 4 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds i32, ptr %427, i64 %429 %431 = load i32, ptr %430, align 4 store i32 %431, ptr %15, align 4 %432 = load i32, ptr %15, align 4 %433 = load ptr, ptr %10, align 8 %434 = load i32, ptr %16, align 4 %435 = add nsw i32 %434, 1 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds i32, ptr %433, i64 %436 %438 = load i32, ptr %437, align 4 %439 = icmp slt i32 %432, %438 br i1 %439, label %.lr.ph32, label %478 .lr.ph32: ; preds = %415 br label %440 440: ; preds = %.lr.ph32, %467 %441 = load ptr, ptr %11, align 8 %442 = load i32, ptr %15, align 4 %443 = sext i32 %442 to i64 %444 = getelementptr inbounds i32, ptr %441, i64 %443 %445 = load i32, ptr %444, align 4 store i32 %445, ptr %17, align 4 %446 = load ptr, ptr %22, align 8 %447 = load i32, ptr %17, align 4 %448 = sext i32 %447 to i64 %449 = getelementptr inbounds i32, ptr %446, i64 %448 %450 = load i32, ptr %449, align 4 %451 = load i32, ptr %16, align 4 %452 = icmp ne i32 %450, %451 br i1 %452, label %453, label %466 453: ; preds = %440 %454 = load i32, ptr %16, align 4 %455 = load ptr, ptr %22, align 8 %456 = load i32, ptr %17, align 4 %457 = sext i32 %456 to i64 %458 = getelementptr inbounds i32, ptr %455, i64 %457 store i32 %454, ptr %458, align 4 %459 = load i32, ptr %17, align 4 %460 = load ptr, ptr %14, align 8 %461 = load ptr, ptr %460, align 8 %462 = load i32, ptr %19, align 4 %463 = add nsw i32 %462, 1 store i32 %463, ptr %19, align 4 %464 = sext i32 %462 to i64 %465 = getelementptr inbounds i32, ptr %461, i64 %464 store i32 %459, ptr %465, align 4 br label %466 466: ; preds = %453, %440 br label %467 467: ; preds = %466 %468 = load i32, ptr %15, align 4 %469 = add nsw i32 %468, 1 store i32 %469, ptr %15, align 4 %470 = load i32, ptr %15, align 4 %471 = load ptr, ptr %10, align 8 %472 = load i32, ptr %16, align 4 %473 = add nsw i32 %472, 1 %474 = sext i32 %473 to i64 %475 = getelementptr inbounds i32, ptr %471, i64 %474 %476 = load i32, ptr %475, align 4 %477 = icmp slt i32 %470, %476 br i1 %477, label %440, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %467 br label %478 478: ; preds = %._crit_edge33, %415 %479 = load ptr, ptr %20, align 8 %480 = load i32, ptr %16, align 4 %481 = sext i32 %480 to i64 %482 = getelementptr inbounds i32, ptr %479, i64 %481 %483 = load i32, ptr %482, align 4 store i32 %483, ptr %15, align 4 %484 = load i32, ptr %15, align 4 %485 = load ptr, ptr %20, align 8 %486 = load i32, ptr %16, align 4 %487 = add nsw i32 %486, 1 %488 = sext i32 %487 to i64 %489 = getelementptr inbounds i32, ptr %485, i64 %488 %490 = load i32, ptr %489, align 4 %491 = icmp slt i32 %484, %490 br i1 %491, label %.lr.ph35, label %530 .lr.ph35: ; preds = %478 br label %492 492: ; preds = %.lr.ph35, %519 %493 = load ptr, ptr %21, align 8 %494 = load i32, ptr %15, align 4 %495 = sext i32 %494 to i64 %496 = getelementptr inbounds i32, ptr %493, i64 %495 %497 = load i32, ptr %496, align 4 store i32 %497, ptr %17, align 4 %498 = load ptr, ptr %22, align 8 %499 = load i32, ptr %17, align 4 %500 = sext i32 %499 to i64 %501 = getelementptr inbounds i32, ptr %498, i64 %500 %502 = load i32, ptr %501, align 4 %503 = load i32, ptr %16, align 4 %504 = icmp ne i32 %502, %503 br i1 %504, label %505, label %518 505: ; preds = %492 %506 = load i32, ptr %16, align 4 %507 = load ptr, ptr %22, align 8 %508 = load i32, ptr %17, align 4 %509 = sext i32 %508 to i64 %510 = getelementptr inbounds i32, ptr %507, i64 %509 store i32 %506, ptr %510, align 4 %511 = load i32, ptr %17, align 4 %512 = load ptr, ptr %14, align 8 %513 = load ptr, ptr %512, align 8 %514 = load i32, ptr %19, align 4 %515 = add nsw i32 %514, 1 store i32 %515, ptr %19, align 4 %516 = sext i32 %514 to i64 %517 = getelementptr inbounds i32, ptr %513, i64 %516 store i32 %511, ptr %517, align 4 br label %518 518: ; preds = %505, %492 br label %519 519: ; preds = %518 %520 = load i32, ptr %15, align 4 %521 = add nsw i32 %520, 1 store i32 %521, ptr %15, align 4 %522 = load i32, ptr %15, align 4 %523 = load ptr, ptr %20, align 8 %524 = load i32, ptr %16, align 4 %525 = add nsw i32 %524, 1 %526 = sext i32 %525 to i64 %527 = getelementptr inbounds i32, ptr %523, i64 %526 %528 = load i32, ptr %527, align 4 %529 = icmp slt i32 %522, %528 br i1 %529, label %492, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %519 br label %530 530: ; preds = %._crit_edge36, %478 br label %531 531: ; preds = %530 %532 = load i32, ptr %16, align 4 %533 = add nsw i32 %532, 1 store i32 %533, ptr %16, align 4 %534 = load i32, ptr %16, align 4 %535 = load i32, ptr %8, align 4 %536 = icmp slt i32 %534, %535 br i1 %536, label %415, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %531 br label %537 537: ; preds = %._crit_edge39, %411 %538 = load i32, ptr %19, align 4 %539 = load ptr, ptr %13, align 8 %540 = load ptr, ptr %539, align 8 %541 = load i32, ptr %8, align 4 %542 = sext i32 %541 to i64 %543 = getelementptr inbounds i32, ptr %540, i64 %542 store i32 %538, ptr %543, align 4 %544 = load ptr, ptr %22, align 8 %545 = call i32 @superlu_free(ptr noundef %544) %546 = load ptr, ptr %20, align 8 %547 = call i32 @superlu_free(ptr noundef %546) %548 = load ptr, ptr %21, align 8 %549 = call i32 @superlu_free(ptr noundef %548) ret void } declare i64 @superlu_malloc(i32 noundef) #1 declare i32 @sprintf_s(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @WriteSLUErrorMessage(ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i32 @superlu_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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '/tmp/tmpe5ggroqs.c' source_filename = "/tmp/tmpe5ggroqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Oops! Index %i is %f, should be %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Success! Your bitonic sort worked.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compare(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %41, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %44 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds float, ptr %14, i64 %16 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds float, ptr %19, i64 %21 %23 = load float, ptr %22, align 4 %24 = fcmp une float %18, %23 br i1 %24, label %25, label %40 25: ; preds = %13 %26 = load i32, ptr %8, align 4 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 %31 = load float, ptr %30, align 4 %32 = fpext float %31 to double %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = load float, ptr %36, align 4 %38 = fpext float %37 to double %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26, double noundef %32, double noundef %38) store i32 1, ptr %7, align 4 br label %40 40: ; preds = %25, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %9, !llvm.loop !6 44: ; preds = %9 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 49: ; preds = %47, %44 %50 = load i32, ptr %7, align 4 ret i32 %50 } 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/tmpe5ggroqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Oops! Index %i is %f, should be %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Success! Your bitonic sort worked.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compare(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %40 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds float, ptr %13, i64 %15 %17 = load float, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %18, i64 %20 %22 = load float, ptr %21, align 4 %23 = fcmp une float %17, %22 br i1 %23, label %24, label %39 24: ; preds = %12 %25 = load i32, ptr %8, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 %30 = load float, ptr %29, align 4 %31 = fpext float %30 to double %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %32, i64 %34 %36 = load float, ptr %35, align 4 %37 = fpext float %36 to double %38 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25, double noundef %31, double noundef %37) store i32 1, ptr %7, align 4 br label %39 39: ; preds = %24, %12 br label %40 40: ; preds = %39 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %3 %47 = load i32, ptr %7, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %51 51: ; preds = %49, %46 %52 = load i32, ptr %7, align 4 ret i32 %52 } 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/tmp9y4mp1c0.c' source_filename = "/tmp/tmp9y4mp1c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"/ \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\\ \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%d%%\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"---Task Complete---\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %59, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 50 br i1 %6, label %7, label %62 7: ; preds = %4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %14, %7 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %14 14: ; preds = %12 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %8, !llvm.loop !6 17: ; preds = %8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %19 19: ; preds = %26, %17 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = sub nsw i32 80, %21 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %19, !llvm.loop !8 29: ; preds = %19 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 %32 = srem i32 %31, 3 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %52 36: ; preds = %29 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 %39 = srem i32 %38, 3 %40 = icmp eq i32 %39, 2 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %51 43: ; preds = %36 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 %46 = srem i32 %45, 3 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %43 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %50 50: ; preds = %48, %43 br label %51 51: ; preds = %50, %41 br label %52 52: ; preds = %51, %34 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 %55 = mul nsw i32 %54, 2 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %58 = call i32 @delay(i32 noundef 100) br label %59 59: ; preds = %52 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %4, !llvm.loop !9 62: ; preds = %4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %2, align 4 br label %64 64: ; preds = %69, %62 %65 = load i32, ptr %2, align 4 %66 = icmp slt i32 %65, 31 br i1 %66, label %67, label %72 67: ; preds = %64 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %69 69: ; preds = %67 %70 = load i32, ptr %2, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %2, align 4 br label %64, !llvm.loop !10 72: ; preds = %64 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %74 = load i32, ptr %1, align 4 ret i32 %74 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9y4mp1c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"/ \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\\ \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%d%%\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0D\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"---Task Complete---\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 50 br i1 %5, label %.lr.ph5, label %68 .lr.ph5: ; preds = %0 br label %6 6: ; preds = %.lr.ph5, %63 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %18 .lr.ph: ; preds = %6 br label %10 10: ; preds = %.lr.ph, %12 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %12 12: ; preds = %10 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %6 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = sub nsw i32 80, %21 %23 = icmp slt i32 %20, %22 br i1 %23, label %.lr.ph2, label %33 .lr.ph2: ; preds = %18 br label %24 24: ; preds = %.lr.ph2, %26 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 80, %30 %32 = icmp slt i32 %29, %31 br i1 %32, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %33 33: ; preds = %._crit_edge3, %18 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 %36 = srem i32 %35, 3 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %40 38: ; preds = %33 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %56 40: ; preds = %33 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 %43 = srem i32 %42, 3 %44 = icmp eq i32 %43, 2 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %55 47: ; preds = %40 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 %50 = srem i32 %49, 3 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %47 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %54 54: ; preds = %52, %47 br label %55 55: ; preds = %54, %45 br label %56 56: ; preds = %55, %38 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 %59 = mul nsw i32 %58, 2 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %59) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %62 = call i32 @delay(i32 noundef 100) br label %63 63: ; preds = %56 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %66, 50 br i1 %67, label %6, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %68 68: ; preds = %._crit_edge6, %0 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %2, align 4 %70 = load i32, ptr %2, align 4 %71 = icmp slt i32 %70, 31 br i1 %71, label %.lr.ph8, label %79 .lr.ph8: ; preds = %68 br label %72 72: ; preds = %.lr.ph8, %74 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %74 74: ; preds = %72 %75 = load i32, ptr %2, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %2, align 4 %78 = icmp slt i32 %77, 31 br i1 %78, label %72, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %74 br label %79 79: ; preds = %._crit_edge9, %68 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %81 = load i32, ptr %1, align 4 ret i32 %81 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmplfzrfm4f.c' source_filename = "/tmp/tmplfzrfm4f.c" target datalayout = "e-m:e-p270: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/tmplfzrfm4f.c" target datalayout = "e-m:e-p270: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/tmpi_470wpx.c' source_filename = "/tmp/tmpi_470wpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s%s.pls.img\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"/data/media/playlist/\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%b%d-%Y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @today_playlist_fname() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr null, ptr %2, align 8 %3 = call i64 @calloc(i32 noundef 300, i32 noundef 1) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store ptr null, ptr %1, align 8 br label %13 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @get_current_datetime(ptr noundef @.str.2) %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 300, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %10) %12 = load ptr, ptr %2, align 8 store ptr %12, ptr %1, align 8 br label %13 13: ; preds = %8, %7 %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_current_datetime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_470wpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s%s.pls.img\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"/data/media/playlist/\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%b%d-%Y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @today_playlist_fname() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr null, ptr %2, align 8 %3 = call i64 @calloc(i32 noundef 300, i32 noundef 1) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store ptr null, ptr %1, align 8 br label %13 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @get_current_datetime(ptr noundef @.str.2) %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 300, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %10) %12 = load ptr, ptr %2, align 8 store ptr %12, ptr %1, align 8 br label %13 13: ; preds = %8, %7 %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_current_datetime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvyxc5bpw.c' source_filename = "/tmp/tmpvyxc5bpw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Goodbye!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 br label %5 5: ; preds = %0, %47 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 46 br i1 %9, label %10, label %11 10: ; preds = %5 br label %50 11: ; preds = %5 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 43 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i64, ptr %4, align 8 %18 = load i64, ptr %3, align 8 %19 = add nsw i64 %18, %17 store i64 %19, ptr %3, align 8 br label %47 20: ; preds = %11 %21 = load i8, ptr %2, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i64, ptr %4, align 8 %26 = load i64, ptr %3, align 8 %27 = sub nsw i64 %26, %25 store i64 %27, ptr %3, align 8 br label %46 28: ; preds = %20 %29 = load i8, ptr %2, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 42 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i64, ptr %4, align 8 %34 = load i64, ptr %3, align 8 %35 = mul nsw i64 %34, %33 store i64 %35, ptr %3, align 8 br label %45 36: ; preds = %28 %37 = load i8, ptr %2, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 47 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %3, align 8 %43 = sdiv i64 %42, %41 store i64 %43, ptr %3, align 8 br label %44 44: ; preds = %40, %36 br label %45 45: ; preds = %44, %32 br label %46 46: ; preds = %45, %24 br label %47 47: ; preds = %46, %16 %48 = load i64, ptr %3, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %48) br label %5 50: ; preds = %10 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(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/tmpvyxc5bpw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Goodbye!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 %5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 46 br i1 %8, label %9, label %.lr.ph .lr.ph: ; preds = %0 br label %10 ._crit_edge: ; preds = %46 br label %9 9: ; preds = %._crit_edge, %0 br label %53 10: ; preds = %.lr.ph, %46 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 43 br i1 %14, label %15, label %19 15: ; preds = %10 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %3, align 8 %18 = add nsw i64 %17, %16 store i64 %18, ptr %3, align 8 br label %46 19: ; preds = %10 %20 = load i8, ptr %2, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 45 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i64, ptr %4, align 8 %25 = load i64, ptr %3, align 8 %26 = sub nsw i64 %25, %24 store i64 %26, ptr %3, align 8 br label %45 27: ; preds = %19 %28 = load i8, ptr %2, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 42 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i64, ptr %4, align 8 %33 = load i64, ptr %3, align 8 %34 = mul nsw i64 %33, %32 store i64 %34, ptr %3, align 8 br label %44 35: ; preds = %27 %36 = load i8, ptr %2, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 47 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load i64, ptr %4, align 8 %41 = load i64, ptr %3, align 8 %42 = sdiv i64 %41, %40 store i64 %42, ptr %3, align 8 br label %43 43: ; preds = %39, %35 br label %44 44: ; preds = %43, %31 br label %45 45: ; preds = %44, %23 br label %46 46: ; preds = %45, %15 %47 = load i64, ptr %3, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %47) %49 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %50 = load i8, ptr %2, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 46 br i1 %52, label %._crit_edge, label %10 53: ; preds = %9 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(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/tmp069t4kwl.c' source_filename = "/tmp/tmp069t4kwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mysort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %53, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %56 12: ; preds = %8 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %35, %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %38 20: ; preds = %16 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %7, 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 ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %25, %30 br i1 %31, label %32, label %34 32: ; preds = %20 %33 = load i32, ptr %6, align 4 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %32, %20 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %16, !llvm.loop !6 38: ; preds = %16 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %52 42: ; preds = %38 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = call i32 @swap(ptr noundef %46, ptr noundef %50) br label %52 52: ; preds = %42, %38 br label %53 53: ; preds = %52 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %8, !llvm.loop !8 56: ; preds = %8 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp069t4kwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mysort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph2, label %60 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %54 %12 = load i32, ptr %5, align 4 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %39 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %33 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp sgt i32 %23, %28 br i1 %29, label %30, label %32 30: ; preds = %18 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %7, align 4 br label %32 32: ; preds = %30, %18 br label %33 33: ; preds = %32 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %11 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %53 43: ; preds = %39 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = call i32 @swap(ptr noundef %47, ptr noundef %51) br label %53 53: ; preds = %43, %39 br label %54 54: ; preds = %53 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %2 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpntgk0km6.c' source_filename = "/tmp/tmpntgk0km6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwise_to_mono(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %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 ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = mul nsw i32 %14, %15 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 1 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef %19) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %53, %4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 %23, %24 %26 = icmp slt i32 %22, %25 br i1 %26, label %27, label %56 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = load i32, ptr %12, align 4 %35 = and i32 %33, %34 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %27 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 -1, ptr %41, align 1 br label %42 42: ; preds = %37, %27 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 %45 = load i32, ptr %12, align 4 %46 = mul nsw i32 %45, 2 store i32 %46, ptr %12, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp sge i32 %47, 8 br i1 %48, label %49, label %52 49: ; preds = %42 store i32 0, ptr %10, align 4 store i32 1, ptr %12, align 4 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %11, align 4 br label %52 52: ; preds = %49, %42 br label %53 53: ; preds = %52 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 br label %21, !llvm.loop !6 56: ; preds = %21 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpntgk0km6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwise_to_mono(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %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 ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = mul nsw i32 %14, %15 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 1 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef %19) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = mul nsw i32 %22, %23 %25 = icmp slt i32 %21, %24 br i1 %25, label %.lr.ph, label %60 .lr.ph: ; preds = %4 br label %26 26: ; preds = %.lr.ph, %52 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load i32, ptr %12, align 4 %34 = and i32 %32, %33 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %26 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 -1, ptr %40, align 1 br label %41 41: ; preds = %36, %26 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %12, align 4 %45 = mul nsw i32 %44, 2 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp sge i32 %46, 8 br i1 %47, label %48, label %51 48: ; preds = %41 store i32 0, ptr %10, align 4 store i32 1, ptr %12, align 4 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %11, align 4 br label %51 51: ; preds = %48, %41 br label %52 52: ; preds = %51 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %7, align 4 %58 = mul nsw i32 %56, %57 %59 = icmp slt i32 %55, %58 br i1 %59, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %60 60: ; preds = %._crit_edge, %4 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpk2606vs3.c' source_filename = "/tmp/tmpk2606vs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @implode_array(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %10, align 4 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %11, align 8 br label %16 16: ; preds = %26, %3 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %21, %22 br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %38 26: ; preds = %24 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %10, align 4 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = add nsw i32 %29, %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %9, align 4 %36 = load ptr, ptr %11, align 8 %37 = getelementptr inbounds ptr, ptr %36, i32 1 store ptr %37, ptr %11, align 8 br label %16, !llvm.loop !6 38: ; preds = %24 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 1 %42 = trunc i64 %41 to i32 %43 = call ptr @malloc(i32 noundef %42) store ptr %43, ptr %12, align 8 %44 = load ptr, ptr %12, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 0 store i8 0, ptr %45, align 1 store i32 0, ptr %8, align 4 br label %46 46: ; preds = %65, %38 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %68 50: ; preds = %46 %51 = load i32, ptr %8, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load ptr, ptr %12, align 8 %55 = load ptr, ptr %6, align 8 %56 = call ptr @strcat(ptr noundef %54, ptr noundef %55) store ptr %56, ptr %12, align 8 br label %57 57: ; preds = %53, %50 %58 = load ptr, ptr %12, align 8 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call ptr @strcat(ptr noundef %58, ptr noundef %63) store ptr %64, ptr %12, align 8 br label %65 65: ; preds = %57 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 br label %46, !llvm.loop !8 68: ; preds = %46 %69 = load ptr, ptr %12, align 8 ret ptr %69 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk2606vs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @implode_array(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %10, align 4 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %11, align 8 br label %16 16: ; preds = %26, %3 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %21, %22 br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %38 26: ; preds = %24 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %10, align 4 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = add nsw i32 %29, %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %9, align 4 %36 = load ptr, ptr %11, align 8 %37 = getelementptr inbounds ptr, ptr %36, i32 1 store ptr %37, ptr %11, align 8 br label %16, !llvm.loop !6 38: ; preds = %24 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 1 %42 = trunc i64 %41 to i32 %43 = call ptr @malloc(i32 noundef %42) store ptr %43, ptr %12, align 8 %44 = load ptr, ptr %12, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 0 store i8 0, ptr %45, align 1 store i32 0, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %70 .lr.ph: ; preds = %38 br label %49 49: ; preds = %.lr.ph, %64 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %49 %53 = load ptr, ptr %12, align 8 %54 = load ptr, ptr %6, align 8 %55 = call ptr @strcat(ptr noundef %53, ptr noundef %54) store ptr %55, ptr %12, align 8 br label %56 56: ; preds = %52, %49 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call ptr @strcat(ptr noundef %57, ptr noundef %62) store ptr %63, ptr %12, align 8 br label %64 64: ; preds = %56 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %49, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %38 %71 = load ptr, ptr %12, align 8 ret ptr %71 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnvzw6a2x.c' source_filename = "/tmp/tmpnvzw6a2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ser_write(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %20, %3 %11 = load i64, ptr %6, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %25 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i8, ptr %15, align 1 %17 = call i32 @ser_putchar(ptr noundef %14, i8 noundef signext %16) %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %13 store i32 -5, ptr %4, align 4 br label %26 20: ; preds = %13 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, -1 store i64 %24, ptr %6, align 8 br label %10, !llvm.loop !6 25: ; preds = %10 store i32 0, ptr %4, align 4 br label %26 26: ; preds = %25, %19 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @ser_putchar(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnvzw6a2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ser_write(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %19 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i8, ptr %14, align 1 %16 = call i32 @ser_putchar(ptr noundef %13, i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %12 store i32 -5, ptr %4, align 4 br label %27 19: ; preds = %12 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %8, align 8 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, -1 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %6, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %26, %18 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i32 @ser_putchar(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu963iay7.c' source_filename = "/tmp/tmpu963iay7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @naivePointInTriangle(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 { %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 double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store double %0, ptr %9, align 8 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %20 = load double, ptr %9, align 8 %21 = load double, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = load double, ptr %15, align 8 %25 = load double, ptr %16, align 8 %26 = call i64 @side(double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25) %27 = icmp sge i64 %26, 0 %28 = zext i1 %27 to i32 %29 = sitofp i32 %28 to double store double %29, ptr %17, align 8 %30 = load double, ptr %11, align 8 %31 = load double, ptr %12, align 8 %32 = load double, ptr %13, align 8 %33 = load double, ptr %14, align 8 %34 = load double, ptr %15, align 8 %35 = load double, ptr %16, align 8 %36 = call i64 @side(double noundef %30, double noundef %31, double noundef %32, double noundef %33, double noundef %34, double noundef %35) %37 = icmp sge i64 %36, 0 %38 = zext i1 %37 to i32 %39 = sitofp i32 %38 to double store double %39, ptr %18, align 8 %40 = load double, ptr %13, align 8 %41 = load double, ptr %14, align 8 %42 = load double, ptr %9, align 8 %43 = load double, ptr %10, align 8 %44 = load double, ptr %15, align 8 %45 = load double, ptr %16, align 8 %46 = call i64 @side(double noundef %40, double noundef %41, double noundef %42, double noundef %43, double noundef %44, double noundef %45) %47 = icmp sge i64 %46, 0 %48 = zext i1 %47 to i32 %49 = sitofp i32 %48 to double store double %49, ptr %19, align 8 %50 = load double, ptr %17, align 8 %51 = fcmp une double %50, 0.000000e+00 br i1 %51, label %52, label %58 52: ; preds = %8 %53 = load double, ptr %18, align 8 %54 = fcmp une double %53, 0.000000e+00 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load double, ptr %19, align 8 %57 = fcmp une double %56, 0.000000e+00 br label %58 58: ; preds = %55, %52, %8 %59 = phi i1 [ false, %52 ], [ false, %8 ], [ %57, %55 ] %60 = zext i1 %59 to i32 ret i32 %60 } declare i64 @side(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu963iay7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @naivePointInTriangle(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 { %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 double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store double %0, ptr %9, align 8 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %20 = load double, ptr %9, align 8 %21 = load double, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = load double, ptr %15, align 8 %25 = load double, ptr %16, align 8 %26 = call i64 @side(double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25) %27 = icmp sge i64 %26, 0 %28 = zext i1 %27 to i32 %29 = sitofp i32 %28 to double store double %29, ptr %17, align 8 %30 = load double, ptr %11, align 8 %31 = load double, ptr %12, align 8 %32 = load double, ptr %13, align 8 %33 = load double, ptr %14, align 8 %34 = load double, ptr %15, align 8 %35 = load double, ptr %16, align 8 %36 = call i64 @side(double noundef %30, double noundef %31, double noundef %32, double noundef %33, double noundef %34, double noundef %35) %37 = icmp sge i64 %36, 0 %38 = zext i1 %37 to i32 %39 = sitofp i32 %38 to double store double %39, ptr %18, align 8 %40 = load double, ptr %13, align 8 %41 = load double, ptr %14, align 8 %42 = load double, ptr %9, align 8 %43 = load double, ptr %10, align 8 %44 = load double, ptr %15, align 8 %45 = load double, ptr %16, align 8 %46 = call i64 @side(double noundef %40, double noundef %41, double noundef %42, double noundef %43, double noundef %44, double noundef %45) %47 = icmp sge i64 %46, 0 %48 = zext i1 %47 to i32 %49 = sitofp i32 %48 to double store double %49, ptr %19, align 8 %50 = load double, ptr %17, align 8 %51 = fcmp une double %50, 0.000000e+00 br i1 %51, label %52, label %58 52: ; preds = %8 %53 = load double, ptr %18, align 8 %54 = fcmp une double %53, 0.000000e+00 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load double, ptr %19, align 8 %57 = fcmp une double %56, 0.000000e+00 br label %58 58: ; preds = %55, %52, %8 %59 = phi i1 [ false, %52 ], [ false, %8 ], [ %57, %55 ] %60 = zext i1 %59 to i32 ret i32 %60 } declare i64 @side(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsyh3rd1s.c' source_filename = "/tmp/tmpsyh3rd1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.the_string = private unnamed_addr constant [18 x i8] c"subdermatoglyphic\00", align 16 @.str = private unnamed_addr constant [33 x i8] c"the_string: %s\0Asliced 3, 10: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"sliced 0,-10: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.the_string, i64 18, i1 false) %4 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %5 = call ptr @pl_slice(ptr noundef %4, i32 noundef 3, i32 noundef 10) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %0 %9 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) br label %14 14: ; preds = %8, %0 %15 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %16 = call ptr @pl_slice(ptr noundef %15, i32 noundef 0, i32 noundef -10) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @free(ptr noundef %22) br label %24 24: ; preds = %19, %14 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @pl_slice(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsyh3rd1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.the_string = private unnamed_addr constant [18 x i8] c"subdermatoglyphic\00", align 16 @.str = private unnamed_addr constant [33 x i8] c"the_string: %s\0Asliced 3, 10: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"sliced 0,-10: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.the_string, i64 18, i1 false) %4 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %5 = call ptr @pl_slice(ptr noundef %4, i32 noundef 3, i32 noundef 10) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %0 %9 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) br label %14 14: ; preds = %8, %0 %15 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %16 = call ptr @pl_slice(ptr noundef %15, i32 noundef 0, i32 noundef -10) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i32 @free(ptr noundef %22) br label %24 24: ; preds = %19, %14 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @pl_slice(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp65658gxu.c' source_filename = "/tmp/tmp65658gxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x01() #0 { %1 = call i64 @isalnum(i32 noundef 1) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 10, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65658gxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x01\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x01() #0 { %1 = call i64 @isalnum(i32 noundef 1) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 10, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5e4jknl5.c' source_filename = "/tmp/tmp5e4jknl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"d:h\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Usage: %s -d [dims] input output\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\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 ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %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 0, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %28, %2 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @getopt(i32 noundef %17, ptr noundef %18, ptr noundef @.str) store i32 %19, ptr %8, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %21, label %29 21: ; preds = %16 %22 = load i32, ptr %8, align 4 switch i32 %22, label %27 [ i32 100, label %23 i32 104, label %26 ] 23: ; preds = %21 %24 = load i32, ptr @optarg, align 4 %25 = call i32 @atoi(i32 noundef %24) store i32 %25, ptr %7, align 4 br label %28 26: ; preds = %21 store i32 1, ptr %9, align 4 br label %28 27: ; preds = %21 store i32 1, ptr %9, align 4 br label %28 28: ; preds = %27, %26, %23 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load i32, ptr %9, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %40, label %32 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = icmp sle i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %32 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr @optind, align 4 %38 = sub nsw i32 %36, %37 %39 = icmp slt i32 %38, 2 br i1 %39, label %40, label %47 40: ; preds = %35, %32, %29 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 0 %44 = load ptr, ptr %43, align 8 %45 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.1, ptr noundef %44) %46 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %46, ptr %3, align 4 br label %150 47: ; preds = %35 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr @optind, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call ptr @fopen(ptr noundef %52, ptr noundef @.str.2) store ptr %53, ptr %10, align 8 %54 = load ptr, ptr %10, align 8 %55 = call i32 @assert(ptr noundef %54) store i32 0, ptr %11, align 4 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = mul i64 %57, 8 %59 = trunc i64 %58 to i32 %60 = call ptr @malloc(i32 noundef %59) store ptr %60, ptr %12, align 8 store i32 0, ptr %6, align 4 br label %61 61: ; preds = %70, %47 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %73 65: ; preds = %61 %66 = load ptr, ptr %12, align 8 %67 = load i32, ptr %6, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double 0.000000e+00, ptr %69, align 8 br label %70 70: ; preds = %65 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 br label %61, !llvm.loop !8 73: ; preds = %61 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = mul i64 %75, 8 %77 = trunc i64 %76 to i32 %78 = call ptr @malloc(i32 noundef %77) store ptr %78, ptr %13, align 8 br label %79 79: ; preds = %107, %73 %80 = load ptr, ptr %13, align 8 %81 = load i32, ptr %7, align 4 %82 = load ptr, ptr %10, align 8 %83 = call i64 @fread(ptr noundef %80, i32 noundef 8, i32 noundef %81, ptr noundef %82) store i64 %83, ptr %14, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = icmp eq i64 %83, %85 br i1 %86, label %87, label %110 87: ; preds = %79 store i32 0, ptr %6, align 4 br label %88 88: ; preds = %104, %87 %89 = load i32, ptr %6, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %107 92: ; preds = %88 %93 = load ptr, ptr %13, align 8 %94 = load i32, ptr %6, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %12, align 8 %99 = load i32, ptr %6, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %98, i64 %100 %102 = load double, ptr %101, align 8 %103 = fadd double %102, %97 store double %103, ptr %101, align 8 br label %104 104: ; preds = %92 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %6, align 4 br label %88, !llvm.loop !9 107: ; preds = %88 %108 = load i32, ptr %11, align 4 %109 = add i32 %108, 1 store i32 %109, ptr %11, align 4 br label %79, !llvm.loop !10 110: ; preds = %79 %111 = load ptr, ptr %10, align 8 %112 = call i32 @fclose(ptr noundef %111) store i32 0, ptr %6, align 4 br label %113 113: ; preds = %126, %110 %114 = load i32, ptr %6, align 4 %115 = load i32, ptr %7, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %117, label %129 117: ; preds = %113 %118 = load i32, ptr %11, align 4 %119 = uitofp i32 %118 to double %120 = load ptr, ptr %12, align 8 %121 = load i32, ptr %6, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 %124 = load double, ptr %123, align 8 %125 = fdiv double %124, %119 store double %125, ptr %123, align 8 br label %126 126: ; preds = %117 %127 = load i32, ptr %6, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %6, align 4 br label %113, !llvm.loop !11 129: ; preds = %113 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr @optind, align 4 %132 = add nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds ptr, ptr %130, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = call ptr @fopen(ptr noundef %135, ptr noundef @.str.3) store ptr %136, ptr %15, align 8 %137 = load ptr, ptr %15, align 8 %138 = call i32 @assert(ptr noundef %137) %139 = load ptr, ptr %12, align 8 %140 = load i32, ptr %7, align 4 %141 = load ptr, ptr %15, align 8 %142 = call i32 @fwrite(ptr noundef %139, i32 noundef 8, i32 noundef %140, ptr noundef %141) %143 = load ptr, ptr %15, align 8 %144 = call i32 @fclose(ptr noundef %143) %145 = load ptr, ptr %13, align 8 %146 = call i32 @free(ptr noundef %145) %147 = load ptr, ptr %12, align 8 %148 = call i32 @free(ptr noundef %147) %149 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %149, ptr %3, align 4 br label %150 150: ; preds = %129, %40 %151 = load i32, ptr %3, align 4 ret i32 %151 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5e4jknl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"d:h\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Usage: %s -d [dims] input output\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\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 ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %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 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str) store i32 %18, ptr %8, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %20 20: ; preds = %.lr.ph, %27 %21 = load i32, ptr %8, align 4 switch i32 %21, label %26 [ i32 100, label %22 i32 104, label %25 ] 22: ; preds = %20 %23 = load i32, ptr @optarg, align 4 %24 = call i32 @atoi(i32 noundef %23) store i32 %24, ptr %7, align 4 br label %27 25: ; preds = %20 store i32 1, ptr %9, align 4 br label %27 26: ; preds = %20 store i32 1, ptr %9, align 4 br label %27 27: ; preds = %26, %25, %22 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 %30 = call i32 @getopt(i32 noundef %28, ptr noundef %29, ptr noundef @.str) store i32 %30, ptr %8, align 4 %31 = icmp ne i32 %30, -1 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i32, ptr %9, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %43, label %35 35: ; preds = %32 %36 = load i32, ptr %7, align 4 %37 = icmp sle i32 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %35 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr @optind, align 4 %41 = sub nsw i32 %39, %40 %42 = icmp slt i32 %41, 2 br i1 %42, label %43, label %50 43: ; preds = %38, %35, %32 %44 = load i32, ptr @stderr, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.1, ptr noundef %47) %49 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %49, ptr %3, align 4 br label %165 50: ; preds = %38 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr @optind, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = call ptr @fopen(ptr noundef %55, ptr noundef @.str.2) store ptr %56, ptr %10, align 8 %57 = load ptr, ptr %10, align 8 %58 = call i32 @assert(ptr noundef %57) store i32 0, ptr %11, align 4 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 8 %62 = trunc i64 %61 to i32 %63 = call ptr @malloc(i32 noundef %62) store ptr %63, ptr %12, align 8 store i32 0, ptr %6, align 4 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %.lr.ph2, label %78 .lr.ph2: ; preds = %50 br label %67 67: ; preds = %.lr.ph2, %72 %68 = load ptr, ptr %12, align 8 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 store double 0.000000e+00, ptr %71, align 8 br label %72 72: ; preds = %67 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %67, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %50 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 %80, 8 %82 = trunc i64 %81 to i32 %83 = call ptr @malloc(i32 noundef %82) store ptr %83, ptr %13, align 8 %84 = load ptr, ptr %13, align 8 %85 = load i32, ptr %7, align 4 %86 = load ptr, ptr %10, align 8 %87 = call i64 @fread(ptr noundef %84, i32 noundef 8, i32 noundef %85, ptr noundef %86) store i64 %87, ptr %14, align 8 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = icmp eq i64 %87, %89 br i1 %90, label %.lr.ph8, label %123 .lr.ph8: ; preds = %78 br label %91 91: ; preds = %.lr.ph8, %113 store i32 0, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %.lr.ph5, label %113 .lr.ph5: ; preds = %91 br label %95 95: ; preds = %.lr.ph5, %107 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = load ptr, ptr %12, align 8 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 %105 = load double, ptr %104, align 8 %106 = fadd double %105, %100 store double %106, ptr %104, align 8 br label %107 107: ; preds = %95 %108 = load i32, ptr %6, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %6, align 4 %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %7, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %95, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %107 br label %113 113: ; preds = %._crit_edge6, %91 %114 = load i32, ptr %11, align 4 %115 = add i32 %114, 1 store i32 %115, ptr %11, align 4 %116 = load ptr, ptr %13, align 8 %117 = load i32, ptr %7, align 4 %118 = load ptr, ptr %10, align 8 %119 = call i64 @fread(ptr noundef %116, i32 noundef 8, i32 noundef %117, ptr noundef %118) store i64 %119, ptr %14, align 8 %120 = load i32, ptr %7, align 4 %121 = sext i32 %120 to i64 %122 = icmp eq i64 %119, %121 br i1 %122, label %91, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %113 br label %123 123: ; preds = %._crit_edge9, %78 %124 = load ptr, ptr %10, align 8 %125 = call i32 @fclose(ptr noundef %124) store i32 0, ptr %6, align 4 %126 = load i32, ptr %6, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %.lr.ph11, label %144 .lr.ph11: ; preds = %123 br label %129 129: ; preds = %.lr.ph11, %138 %130 = load i32, ptr %11, align 4 %131 = uitofp i32 %130 to double %132 = load ptr, ptr %12, align 8 %133 = load i32, ptr %6, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %132, i64 %134 %136 = load double, ptr %135, align 8 %137 = fdiv double %136, %131 store double %137, ptr %135, align 8 br label %138 138: ; preds = %129 %139 = load i32, ptr %6, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %6, align 4 %141 = load i32, ptr %6, align 4 %142 = load i32, ptr %7, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %129, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %138 br label %144 144: ; preds = %._crit_edge12, %123 %145 = load ptr, ptr %5, align 8 %146 = load i32, ptr @optind, align 4 %147 = add nsw i32 %146, 1 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds ptr, ptr %145, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = call ptr @fopen(ptr noundef %150, ptr noundef @.str.3) store ptr %151, ptr %15, align 8 %152 = load ptr, ptr %15, align 8 %153 = call i32 @assert(ptr noundef %152) %154 = load ptr, ptr %12, align 8 %155 = load i32, ptr %7, align 4 %156 = load ptr, ptr %15, align 8 %157 = call i32 @fwrite(ptr noundef %154, i32 noundef 8, i32 noundef %155, ptr noundef %156) %158 = load ptr, ptr %15, align 8 %159 = call i32 @fclose(ptr noundef %158) %160 = load ptr, ptr %13, align 8 %161 = call i32 @free(ptr noundef %160) %162 = load ptr, ptr %12, align 8 %163 = call i32 @free(ptr noundef %162) %164 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %164, ptr %3, align 4 br label %165 165: ; preds = %144, %43 %166 = load i32, ptr %3, align 4 ret i32 %166 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpughvwyil.c' source_filename = "/tmp/tmpughvwyil.c" target datalayout = "e-m:e-p270: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/tmpughvwyil.c" target datalayout = "e-m:e-p270: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/tmphdnh_8r6.c' source_filename = "/tmp/tmphdnh_8r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler35() #0 { br label %1 1: ; preds = %0, %1 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphdnh_8r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler35() #0 { br label %1 1: ; preds = %1, %0 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_9ptge3.c' source_filename = "/tmp/tmpg_9ptge3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccache_item_set_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 br label %10 10: ; preds = %27, %2 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %10 %19 = phi i1 [ false, %10 ], [ %17, %13 ] br i1 %19, label %20, label %30 20: ; preds = %18 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %21, align 1 %23 = call i32 @isdigit(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %20 store i32 -1, ptr %3, align 4 br label %34 26: ; preds = %20 br label %27 27: ; preds = %26 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %7, align 8 br label %10, !llvm.loop !6 30: ; preds = %18 %31 = load ptr, ptr %5, align 8 %32 = call i32 @atoi(ptr noundef %31) %33 = load ptr, ptr %6, align 8 store i32 %32, ptr %33, align 4 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %30, %25 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @isdigit(i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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_9ptge3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccache_item_set_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 br label %10 10: ; preds = %27, %2 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %10 %19 = phi i1 [ false, %10 ], [ %17, %13 ] br i1 %19, label %20, label %30 20: ; preds = %18 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %21, align 1 %23 = call i32 @isdigit(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %20 store i32 -1, ptr %3, align 4 br label %34 26: ; preds = %20 br label %27 27: ; preds = %26 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %7, align 8 br label %10, !llvm.loop !6 30: ; preds = %18 %31 = load ptr, ptr %5, align 8 %32 = call i32 @atoi(ptr noundef %31) %33 = load ptr, ptr %6, align 8 store i32 %32, ptr %33, align 4 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %30, %25 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @isdigit(i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0hvmv37e.c' source_filename = "/tmp/tmp0hvmv37e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hasYearafterTheOffset(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = call ptr (...) @getPcontent() store ptr %9, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %7, i32 noundef %10) %12 = load i32, ptr %4, align 4 store i32 %12, ptr %6, align 4 br label %13 13: ; preds = %92, %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = sub nsw i32 %15, 3 %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %95 18: ; preds = %13 %19 = load ptr, ptr %8, 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, 49 br i1 %25, label %26, label %35 26: ; preds = %18 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 57 br i1 %34, label %69, label %35 35: ; preds = %26, %18 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 50 br i1 %42, label %43, label %52 43: ; preds = %35 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 48 br i1 %51, label %69, label %52 52: ; preds = %43, %35 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 126 br i1 %59, label %60, label %91 60: ; preds = %52 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 57 br i1 %68, label %69, label %91 69: ; preds = %60, %43, %26 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 2 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 %75 = load i8, ptr %74, align 1 %76 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %90 78: ; preds = %69 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, 3 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %79, i64 %82 %84 = load i8, ptr %83, align 1 %85 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %84) %86 = icmp ne i64 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %78 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 4 store i32 %89, ptr %3, align 4 br label %96 90: ; preds = %78, %69 br label %91 91: ; preds = %90, %60, %52 br label %92 92: ; preds = %91 %93 = load i32, ptr %6, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %6, align 4 br label %13, !llvm.loop !6 95: ; preds = %13 store i32 0, ptr %3, align 4 br label %96 96: ; preds = %95, %87 %97 = load i32, ptr %3, align 4 ret i32 %97 } declare ptr @getPcontent(...) #1 declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @fitPattern(i8 noundef signext, 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/tmp0hvmv37e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hasYearafterTheOffset(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = call ptr (...) @getPcontent() store ptr %9, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %7, i32 noundef %10) %12 = load i32, ptr %4, align 4 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 %14, 3 %16 = icmp slt i32 %13, %15 br i1 %16, label %.lr.ph, label %98 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %91 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 49 br i1 %24, label %25, label %34 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 57 br i1 %33, label %68, label %34 34: ; preds = %25, %17 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 50 br i1 %41, label %42, label %51 42: ; preds = %34 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 48 br i1 %50, label %68, label %51 51: ; preds = %42, %34 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 126 br i1 %58, label %59, label %90 59: ; preds = %51 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 57 br i1 %67, label %68, label %90 68: ; preds = %59, %42, %25 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 2 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 %74 = load i8, ptr %73, align 1 %75 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %89 77: ; preds = %68 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, 3 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = load i8, ptr %82, align 1 %84 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %83) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %89 86: ; preds = %77 %87 = load i32, ptr %6, align 4 %88 = add nsw i32 %87, 4 store i32 %88, ptr %3, align 4 br label %99 89: ; preds = %77, %68 br label %90 90: ; preds = %89, %59, %51 br label %91 91: ; preds = %90 %92 = load i32, ptr %6, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = load i32, ptr %7, align 4 %96 = sub nsw i32 %95, 3 %97 = icmp slt i32 %94, %96 br i1 %97, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %91 br label %98 98: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %99 99: ; preds = %98, %86 %100 = load i32, ptr %3, align 4 ret i32 %100 } declare ptr @getPcontent(...) #1 declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @fitPattern(i8 noundef signext, 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/tmptioiz1wb.c' source_filename = "/tmp/tmptioiz1wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test_enum\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @sprintf(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) %17 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) %21 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 4 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23) %25 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef 0) %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef 5) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptioiz1wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test_enum\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @sprintf(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) %17 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) %21 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 4 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23) %25 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef 0) %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef 5) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_20sc98m.c' source_filename = "/tmp/tmp_20sc98m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Enter Your Basic Salary In Taka:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0A\0AYour Gross Salary Is : %f\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"\0A\0AYou Are Getting Extra %.2f Taka BDT For House Rent \00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c"\0A\0AYou Are Getting Extra %.2f Taka BDT For Transportation\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = sitofp i32 %7 to double %9 = fmul double 4.000000e-01, %8 %10 = fptrunc double %9 to float store float %10, ptr %2, align 4 %11 = load i32, ptr %1, align 4 %12 = sitofp i32 %11 to double %13 = fmul double 2.000000e-01, %12 %14 = fptrunc double %13 to float store float %14, ptr %3, align 4 %15 = load i32, ptr %1, align 4 %16 = sitofp i32 %15 to float %17 = load float, ptr %2, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %3, align 4 %20 = fadd float %18, %19 store float %20, ptr %4, align 4 %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22) %24 = load float, ptr %2, align 4 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %25) %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_20sc98m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Enter Your Basic Salary In Taka:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0A\0AYour Gross Salary Is : %f\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"\0A\0AYou Are Getting Extra %.2f Taka BDT For House Rent \00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c"\0A\0AYou Are Getting Extra %.2f Taka BDT For Transportation\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = sitofp i32 %7 to double %9 = fmul double 4.000000e-01, %8 %10 = fptrunc double %9 to float store float %10, ptr %2, align 4 %11 = load i32, ptr %1, align 4 %12 = sitofp i32 %11 to double %13 = fmul double 2.000000e-01, %12 %14 = fptrunc double %13 to float store float %14, ptr %3, align 4 %15 = load i32, ptr %1, align 4 %16 = sitofp i32 %15 to float %17 = load float, ptr %2, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %3, align 4 %20 = fadd float %18, %19 store float %20, ptr %4, align 4 %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22) %24 = load float, ptr %2, align 4 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %25) %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcfl3i3k_.c' source_filename = "/tmp/tmpcfl3i3k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"invalid arguments.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = icmp sge i32 %5, 3 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %2 ret void } 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/tmpcfl3i3k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"invalid arguments.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = icmp sge i32 %5, 3 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %2 ret void } 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/tmpftjpqxhl.c' source_filename = "/tmp/tmpftjpqxhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnKernelMixtureArch_C(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %24, align 4 br label %26 26: ; preds = %165, %6 %27 = load i32, ptr %24, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %168 31: ; preds = %26 %32 = load i32, ptr %24, align 4 %33 = mul nsw i32 4, %32 store i32 %33, ptr %22, align 4 %34 = load i32, ptr %24, align 4 %35 = mul nsw i32 2, %34 store i32 %35, ptr %23, align 4 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %22, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 store double %40, ptr %13, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %22, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 %46 = load double, ptr %45, align 8 store double %46, ptr %14, align 8 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %22, align 4 %49 = add nsw i32 %48, 2 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %47, i64 %50 %52 = load double, ptr %51, align 8 store double %52, ptr %15, align 8 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %22, align 4 %55 = add nsw i32 %54, 3 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %53, i64 %56 %58 = load double, ptr %57, align 8 store double %58, ptr %16, align 8 %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %23, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 %63 = load double, ptr %62, align 8 %64 = fcmp oeq double %63, 1.000000e+00 br i1 %64, label %65, label %153 65: ; preds = %31 store double 0.000000e+00, ptr %21, align 8 store i32 1, ptr %25, align 4 br label %66 66: ; preds = %137, %65 %67 = load i32, ptr %25, align 4 %68 = load ptr, ptr %10, align 8 %69 = load i32, ptr %68, align 4 %70 = icmp slt i32 %67, %69 br i1 %70, label %71, label %140 71: ; preds = %66 %72 = load double, ptr %13, align 8 %73 = load double, ptr %15, align 8 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %25, align 4 %76 = sub nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %74, i64 %77 %79 = load double, ptr %78, align 8 %80 = call double @pow(double noundef %79, i32 noundef 2) %81 = call double @llvm.fmuladd.f64(double %73, double %80, double %72) %82 = call double @sqrt(double noundef %81) #4 store double %82, ptr %17, align 8 %83 = load double, ptr %14, align 8 %84 = load double, ptr %15, align 8 %85 = load ptr, ptr %9, align 8 %86 = load i32, ptr %25, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %85, i64 %88 %90 = load double, ptr %89, align 8 %91 = call double @pow(double noundef %90, i32 noundef 2) %92 = call double @llvm.fmuladd.f64(double %84, double %91, double %83) %93 = call double @sqrt(double noundef %92) #4 store double %93, ptr %18, align 8 %94 = load ptr, ptr %9, align 8 %95 = load i32, ptr %25, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %17, align 8 %100 = fdiv double %98, %99 %101 = call double @pow(double noundef %100, i32 noundef 2) %102 = load double, ptr %17, align 8 %103 = fptosi double %102 to i32 %104 = call double @log(i32 noundef %103) %105 = fneg double %104 %106 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %101, double %105) store double %106, ptr %19, align 8 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %25, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load double, ptr %18, align 8 %113 = fdiv double %111, %112 %114 = call double @pow(double noundef %113, i32 noundef 2) %115 = load double, ptr %18, align 8 %116 = fptosi double %115 to i32 %117 = call double @log(i32 noundef %116) %118 = fneg double %117 %119 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %114, double %118) store double %119, ptr %20, align 8 %120 = load double, ptr %21, align 8 %121 = load double, ptr %16, align 8 %122 = fptosi double %121 to i32 %123 = call double @log(i32 noundef %122) %124 = load double, ptr %19, align 8 %125 = fadd double %123, %124 %126 = call i32 @exp(double noundef %125) %127 = load double, ptr %16, align 8 %128 = fsub double 1.000000e+00, %127 %129 = fptosi double %128 to i32 %130 = call double @log(i32 noundef %129) %131 = load double, ptr %20, align 8 %132 = fadd double %130, %131 %133 = call i32 @exp(double noundef %132) %134 = add nsw i32 %126, %133 %135 = call double @log(i32 noundef %134) %136 = fadd double %120, %135 store double %136, ptr %21, align 8 br label %137 137: ; preds = %71 %138 = load i32, ptr %25, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %25, align 4 br label %66, !llvm.loop !6 140: ; preds = %66 %141 = load double, ptr %21, align 8 %142 = load ptr, ptr %11, align 8 %143 = load i32, ptr %23, align 4 %144 = add nsw i32 %143, 1 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %142, i64 %145 %147 = load double, ptr %146, align 8 %148 = fadd double %141, %147 %149 = load ptr, ptr %12, align 8 %150 = load i32, ptr %24, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %149, i64 %151 store double %148, ptr %152, align 8 br label %164 153: ; preds = %31 %154 = load ptr, ptr %11, align 8 %155 = load i32, ptr %23, align 4 %156 = add nsw i32 %155, 1 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds double, ptr %154, i64 %157 %159 = load double, ptr %158, align 8 %160 = load ptr, ptr %12, align 8 %161 = load i32, ptr %24, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 store double %159, ptr %163, align 8 br label %164 164: ; preds = %153, %140 br label %165 165: ; preds = %164 %166 = load i32, ptr %24, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %24, align 4 br label %26, !llvm.loop !8 168: ; preds = %26 ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 declare double @pow(double noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @log(i32 noundef) #2 declare i32 @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftjpqxhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnKernelMixtureArch_C(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %24, align 4 %26 = load i32, ptr %24, align 4 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %27, align 4 %29 = icmp slt i32 %26, %28 br i1 %29, label %.lr.ph2, label %174 .lr.ph2: ; preds = %6 br label %30 30: ; preds = %.lr.ph2, %167 %31 = load i32, ptr %24, align 4 %32 = mul nsw i32 4, %31 store i32 %32, ptr %22, align 4 %33 = load i32, ptr %24, align 4 %34 = mul nsw i32 2, %33 store i32 %34, ptr %23, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %22, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %35, i64 %37 %39 = load double, ptr %38, align 8 store double %39, ptr %13, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %22, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %40, i64 %43 %45 = load double, ptr %44, align 8 store double %45, ptr %14, align 8 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %22, align 4 %48 = add nsw i32 %47, 2 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %46, i64 %49 %51 = load double, ptr %50, align 8 store double %51, ptr %15, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %22, align 4 %54 = add nsw i32 %53, 3 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %52, i64 %55 %57 = load double, ptr %56, align 8 store double %57, ptr %16, align 8 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %23, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 %63 = fcmp oeq double %62, 1.000000e+00 br i1 %63, label %64, label %155 64: ; preds = %30 store double 0.000000e+00, ptr %21, align 8 store i32 1, ptr %25, align 4 %65 = load i32, ptr %25, align 4 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %66, align 4 %68 = icmp slt i32 %65, %67 br i1 %68, label %.lr.ph, label %142 .lr.ph: ; preds = %64 br label %69 69: ; preds = %.lr.ph, %135 %70 = load double, ptr %13, align 8 %71 = load double, ptr %15, align 8 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %25, align 4 %74 = sub nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %72, i64 %75 %77 = load double, ptr %76, align 8 %78 = call double @pow(double noundef %77, i32 noundef 2) %79 = call double @llvm.fmuladd.f64(double %71, double %78, double %70) %80 = call double @sqrt(double noundef %79) #4 store double %80, ptr %17, align 8 %81 = load double, ptr %14, align 8 %82 = load double, ptr %15, align 8 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %25, align 4 %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %83, i64 %86 %88 = load double, ptr %87, align 8 %89 = call double @pow(double noundef %88, i32 noundef 2) %90 = call double @llvm.fmuladd.f64(double %82, double %89, double %81) %91 = call double @sqrt(double noundef %90) #4 store double %91, ptr %18, align 8 %92 = load ptr, ptr %9, align 8 %93 = load i32, ptr %25, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = load double, ptr %17, align 8 %98 = fdiv double %96, %97 %99 = call double @pow(double noundef %98, i32 noundef 2) %100 = load double, ptr %17, align 8 %101 = fptosi double %100 to i32 %102 = call double @log(i32 noundef %101) %103 = fneg double %102 %104 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %99, double %103) store double %104, ptr %19, align 8 %105 = load ptr, ptr %9, align 8 %106 = load i32, ptr %25, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 %109 = load double, ptr %108, align 8 %110 = load double, ptr %18, align 8 %111 = fdiv double %109, %110 %112 = call double @pow(double noundef %111, i32 noundef 2) %113 = load double, ptr %18, align 8 %114 = fptosi double %113 to i32 %115 = call double @log(i32 noundef %114) %116 = fneg double %115 %117 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %112, double %116) store double %117, ptr %20, align 8 %118 = load double, ptr %21, align 8 %119 = load double, ptr %16, align 8 %120 = fptosi double %119 to i32 %121 = call double @log(i32 noundef %120) %122 = load double, ptr %19, align 8 %123 = fadd double %121, %122 %124 = call i32 @exp(double noundef %123) %125 = load double, ptr %16, align 8 %126 = fsub double 1.000000e+00, %125 %127 = fptosi double %126 to i32 %128 = call double @log(i32 noundef %127) %129 = load double, ptr %20, align 8 %130 = fadd double %128, %129 %131 = call i32 @exp(double noundef %130) %132 = add nsw i32 %124, %131 %133 = call double @log(i32 noundef %132) %134 = fadd double %118, %133 store double %134, ptr %21, align 8 br label %135 135: ; preds = %69 %136 = load i32, ptr %25, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %25, align 4 %138 = load i32, ptr %25, align 4 %139 = load ptr, ptr %10, align 8 %140 = load i32, ptr %139, align 4 %141 = icmp slt i32 %138, %140 br i1 %141, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %135 br label %142 142: ; preds = %._crit_edge, %64 %143 = load double, ptr %21, align 8 %144 = load ptr, ptr %11, align 8 %145 = load i32, ptr %23, align 4 %146 = add nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %144, i64 %147 %149 = load double, ptr %148, align 8 %150 = fadd double %143, %149 %151 = load ptr, ptr %12, align 8 %152 = load i32, ptr %24, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 store double %150, ptr %154, align 8 br label %166 155: ; preds = %30 %156 = load ptr, ptr %11, align 8 %157 = load i32, ptr %23, align 4 %158 = add nsw i32 %157, 1 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %156, i64 %159 %161 = load double, ptr %160, align 8 %162 = load ptr, ptr %12, align 8 %163 = load i32, ptr %24, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 store double %161, ptr %165, align 8 br label %166 166: ; preds = %155, %142 br label %167 167: ; preds = %166 %168 = load i32, ptr %24, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %24, align 4 %170 = load i32, ptr %24, align 4 %171 = load ptr, ptr %8, align 8 %172 = load i32, ptr %171, align 4 %173 = icmp slt i32 %170, %172 br i1 %173, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %167 br label %174 174: ; preds = %._crit_edge3, %6 ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 declare double @pow(double noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @log(i32 noundef) #2 declare i32 @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpglx9vrsc.c' source_filename = "/tmp/tmpglx9vrsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\09\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_matrix(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 br label %9 9: ; preds = %33, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %36 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %28, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [6 x i32], ptr %19, i64 %21 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [6 x i32], ptr %22, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %18 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %33 33: ; preds = %31 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %9, !llvm.loop !8 36: ; preds = %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpglx9vrsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\09\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_matrix(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 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %40 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %34 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %26 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [6 x i32], ptr %17, i64 %19 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [6 x i32], ptr %20, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24) br label %26 26: ; preds = %16 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %12 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %34 34: ; preds = %32 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %40 40: ; preds = %._crit_edge3, %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphvt_u1p8.c' source_filename = "/tmp/tmphvt_u1p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Unable to get content length.\00", align 1 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [46 x i8] c"Unable to convert Content-Length to integer.\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"./output\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Unable to open output!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"Content-Type: text/plain\0D\0A\0D\0ADone.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = call ptr @getenv(ptr noundef @.str) store ptr %15, ptr %14, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %87 20: ; preds = %3 %21 = load ptr, ptr %14, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) store i32 %22, ptr %9, align 4 %23 = load i64, ptr @errno, align 8 %24 = load i64, ptr @ERANGE, align 8 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2) store i32 -1, ptr %4, align 4 br label %87 29: ; preds = %20 store i64 0, ptr %10, align 8 store i32 0, ptr %12, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %13, align 8 %34 = load ptr, ptr %13, align 8 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef %36) br label %38 38: ; preds = %70, %29 %39 = load ptr, ptr %13, align 8 %40 = load i32, ptr %12, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %12, align 4 %45 = sub nsw i32 %43, %44 %46 = load i32, ptr @stdin, align 4 %47 = call i64 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %45, i32 noundef %46) store i64 %47, ptr %10, align 8 %48 = load i32, ptr @stdin, align 4 %49 = call i64 @ferror(i32 noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %38 store i32 -1, ptr %4, align 4 br label %87 52: ; preds = %38 %53 = load i64, ptr %10, align 8 %54 = icmp ule i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %52 br label %63 56: ; preds = %52 br label %57 57: ; preds = %56 %58 = load i64, ptr %10, align 8 %59 = load i32, ptr %12, align 4 %60 = sext i32 %59 to i64 %61 = add i64 %60, %58 %62 = trunc i64 %61 to i32 store i32 %62, ptr %12, align 4 br label %63 63: ; preds = %57, %55 %64 = load i32, ptr %12, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i64, ptr %10, align 8 %69 = icmp ugt i64 %68, 0 br label %70 70: ; preds = %67, %63 %71 = phi i1 [ false, %63 ], [ %69, %67 ] br i1 %71, label %38, label %72, !llvm.loop !6 72: ; preds = %70 %73 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %73, ptr %8, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load i32, ptr @stderr, align 4 %77 = call i32 @fprintf(i32 noundef %76, ptr noundef @.str.5) br label %78 78: ; preds = %75, %72 %79 = load ptr, ptr %13, align 8 %80 = load i32, ptr %9, align 4 %81 = load ptr, ptr %8, align 8 %82 = call i64 @fwrite(ptr noundef %79, i32 noundef 1, i32 noundef %80, ptr noundef %81) store i64 %82, ptr %11, align 8 %83 = load ptr, ptr %8, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load i32, ptr @stdout, align 4 %86 = call i32 @fprintf(i32 noundef %85, ptr noundef @.str.6) store i32 0, ptr %4, align 4 br label %87 87: ; preds = %78, %51, %26, %17 %88 = load i32, ptr %4, align 4 ret i32 %88 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphvt_u1p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Unable to get content length.\00", align 1 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [46 x i8] c"Unable to convert Content-Length to integer.\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"./output\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Unable to open output!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"Content-Type: text/plain\0D\0A\0D\0ADone.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = call ptr @getenv(ptr noundef @.str) store ptr %15, ptr %14, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %87 20: ; preds = %3 %21 = load ptr, ptr %14, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) store i32 %22, ptr %9, align 4 %23 = load i64, ptr @errno, align 8 %24 = load i64, ptr @ERANGE, align 8 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2) store i32 -1, ptr %4, align 4 br label %87 29: ; preds = %20 store i64 0, ptr %10, align 8 store i32 0, ptr %12, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %13, align 8 %34 = load ptr, ptr %13, align 8 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef %36) br label %38 38: ; preds = %70, %29 %39 = load ptr, ptr %13, align 8 %40 = load i32, ptr %12, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %12, align 4 %45 = sub nsw i32 %43, %44 %46 = load i32, ptr @stdin, align 4 %47 = call i64 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %45, i32 noundef %46) store i64 %47, ptr %10, align 8 %48 = load i32, ptr @stdin, align 4 %49 = call i64 @ferror(i32 noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %38 store i32 -1, ptr %4, align 4 br label %87 52: ; preds = %38 %53 = load i64, ptr %10, align 8 %54 = icmp ule i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %52 br label %63 56: ; preds = %52 br label %57 57: ; preds = %56 %58 = load i64, ptr %10, align 8 %59 = load i32, ptr %12, align 4 %60 = sext i32 %59 to i64 %61 = add i64 %60, %58 %62 = trunc i64 %61 to i32 store i32 %62, ptr %12, align 4 br label %63 63: ; preds = %57, %55 %64 = load i32, ptr %12, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i64, ptr %10, align 8 %69 = icmp ugt i64 %68, 0 br label %70 70: ; preds = %67, %63 %71 = phi i1 [ false, %63 ], [ %69, %67 ] br i1 %71, label %38, label %72, !llvm.loop !6 72: ; preds = %70 %73 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %73, ptr %8, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load i32, ptr @stderr, align 4 %77 = call i32 @fprintf(i32 noundef %76, ptr noundef @.str.5) br label %78 78: ; preds = %75, %72 %79 = load ptr, ptr %13, align 8 %80 = load i32, ptr %9, align 4 %81 = load ptr, ptr %8, align 8 %82 = call i64 @fwrite(ptr noundef %79, i32 noundef 1, i32 noundef %80, ptr noundef %81) store i64 %82, ptr %11, align 8 %83 = load ptr, ptr %8, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load i32, ptr @stdout, align 4 %86 = call i32 @fprintf(i32 noundef %85, ptr noundef @.str.6) store i32 0, ptr %4, align 4 br label %87 87: ; preds = %78, %51, %26, %17 %88 = load i32, ptr %4, align 4 ret i32 %88 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr8a6nxl8.c' source_filename = "/tmp/tmpr8a6nxl8.c" target datalayout = "e-m:e-p270: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/tmpr8a6nxl8.c" target datalayout = "e-m:e-p270: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/tmpgeakr0ry.c' source_filename = "/tmp/tmpgeakr0ry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"There is no box\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A ,.-\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"and\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"the\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"of\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"but\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4000 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 4000, i32 noundef %7) %9 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %73 14: ; preds = %0 %15 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %16 = call ptr @strtok(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %17 17: ; preds = %68, %14 %18 = load ptr, ptr %3, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %72 20: ; preds = %17 %21 = load ptr, ptr %3, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.3) %23 = icmp eq i64 %22, 0 br i1 %23, label %36, label %24 24: ; preds = %20 %25 = load ptr, ptr %3, align 8 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4) %27 = icmp eq i64 %26, 0 br i1 %27, label %36, label %28 28: ; preds = %24 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load ptr, ptr %3, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %59 36: ; preds = %32, %28, %24, %20 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strlen(ptr noundef %37) store i32 %38, ptr %5, align 4 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 10 br i1 %45, label %49, label %46 46: ; preds = %36 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %56 49: ; preds = %46, %36 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 0 %52 = load i8, ptr %51, align 1 %53 = call signext i8 @toupper(i8 noundef signext %52) %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 store i8 %53, ptr %55, align 1 br label %56 56: ; preds = %49, %46 %57 = load ptr, ptr %3, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %57) br label %68 59: ; preds = %32 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 0 %62 = load i8, ptr %61, align 1 %63 = call signext i8 @toupper(i8 noundef signext %62) %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 0 store i8 %63, ptr %65, align 1 %66 = load ptr, ptr %3, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %66) br label %68 68: ; preds = %59, %56 %69 = call ptr @strtok(ptr noundef null, ptr noundef @.str.8) store ptr %69, ptr %3, align 8 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %4, align 4 br label %17, !llvm.loop !6 72: ; preds = %17 store i32 0, ptr %1, align 4 br label %73 73: ; preds = %72, %12 %74 = load i32, ptr %1, align 4 ret i32 %74 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(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/tmpgeakr0ry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"There is no box\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A ,.-\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"and\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"the\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"of\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"but\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4000 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 4000, i32 noundef %7) %9 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %74 14: ; preds = %0 %15 = getelementptr inbounds [4000 x i8], ptr %2, i64 0, i64 0 %16 = call ptr @strtok(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %3, align 8 store i32 0, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph, label %73 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %67 %20 = load ptr, ptr %3, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp eq i64 %21, 0 br i1 %22, label %35, label %23 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %35, label %27 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.5) %30 = icmp eq i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %58 35: ; preds = %31, %27, %23, %19 %36 = load ptr, ptr %3, align 8 %37 = call i32 @strlen(ptr noundef %36) store i32 %37, ptr %5, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 10 br i1 %44, label %48, label %45 45: ; preds = %35 %46 = load i32, ptr %4, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %55 48: ; preds = %45, %35 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = call signext i8 @toupper(i8 noundef signext %51) %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 store i8 %52, ptr %54, align 1 br label %55 55: ; preds = %48, %45 %56 = load ptr, ptr %3, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %56) br label %67 58: ; preds = %31 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 0 %61 = load i8, ptr %60, align 1 %62 = call signext i8 @toupper(i8 noundef signext %61) %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 0 store i8 %62, ptr %64, align 1 %65 = load ptr, ptr %3, align 8 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %65) br label %67 67: ; preds = %58, %55 %68 = call ptr @strtok(ptr noundef null, ptr noundef @.str.8) store ptr %68, ptr %3, align 8 %69 = load i32, ptr %4, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %4, align 4 %71 = load ptr, ptr %3, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %14 store i32 0, ptr %1, align 4 br label %74 74: ; preds = %73, %12 %75 = load i32, ptr %1, align 4 ret i32 %75 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(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/tmps9ep680c.c' source_filename = "/tmp/tmps9ep680c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/block/\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"'%s' is not a device path\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"size\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"cannot open '%s'\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"unknown file format for '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getsize(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 20 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %5, align 8 %18 = alloca i8, i64 %16, align 16 store i64 %16, ptr %6, align 8 %19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str) %20 = load ptr, ptr %3, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %1 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = icmp slt i32 %26, 5 br i1 %27, label %28, label %31 28: ; preds = %24, %1 %29 = load ptr, ptr %3, align 8 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 31: ; preds = %24 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = call i32 @strncat(ptr noundef %18, ptr noundef %34, i32 noundef 3) %36 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %37 = load ptr, ptr %7, align 8 %38 = call i32 @strcat(ptr noundef %18, ptr noundef %37) %39 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %40 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.3) %41 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.4) store ptr %41, ptr %9, align 8 %42 = load ptr, ptr %9, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %46, label %44 44: ; preds = %31 %45 = call i32 @printf(ptr noundef @.str.5, ptr noundef %18) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 46: ; preds = %31 %47 = load ptr, ptr %9, align 8 %48 = call i32 @fscanf(ptr noundef %47, ptr noundef @.str.6, ptr noundef %10) store i32 %48, ptr %11, align 4 %49 = load ptr, ptr %9, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load i32, ptr %11, align 4 %52 = icmp ne i32 %51, 1 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str.7, ptr noundef %18) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 55: ; preds = %46 %56 = load i64, ptr %10, align 8 store i64 %56, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 57: ; preds = %55, %53, %44, %28 %58 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %58) %59 = load i64, ptr %2, align 8 ret i64 %59 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps9ep680c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/block/\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"'%s' is not a device path\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"size\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"cannot open '%s'\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"unknown file format for '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getsize(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 20 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %5, align 8 %18 = alloca i8, i64 %16, align 16 store i64 %16, ptr %6, align 8 %19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str) %20 = load ptr, ptr %3, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %1 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = icmp slt i32 %26, 5 br i1 %27, label %28, label %31 28: ; preds = %24, %1 %29 = load ptr, ptr %3, align 8 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 31: ; preds = %24 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = call i32 @strncat(ptr noundef %18, ptr noundef %34, i32 noundef 3) %36 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %37 = load ptr, ptr %7, align 8 %38 = call i32 @strcat(ptr noundef %18, ptr noundef %37) %39 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %40 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.3) %41 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.4) store ptr %41, ptr %9, align 8 %42 = load ptr, ptr %9, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %46, label %44 44: ; preds = %31 %45 = call i32 @printf(ptr noundef @.str.5, ptr noundef %18) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 46: ; preds = %31 %47 = load ptr, ptr %9, align 8 %48 = call i32 @fscanf(ptr noundef %47, ptr noundef @.str.6, ptr noundef %10) store i32 %48, ptr %11, align 4 %49 = load ptr, ptr %9, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load i32, ptr %11, align 4 %52 = icmp ne i32 %51, 1 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str.7, ptr noundef %18) store i64 0, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 55: ; preds = %46 %56 = load i64, ptr %10, align 8 store i64 %56, ptr %2, align 8 store i32 1, ptr %8, align 4 br label %57 57: ; preds = %55, %53, %44, %28 %58 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %58) %59 = load i64, ptr %2, align 8 ret i64 %59 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm1eos_sy.c' source_filename = "/tmp/tmpm1eos_sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eq2_free(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 @free(ptr noundef %3) ret void } 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/tmpm1eos_sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eq2_free(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 @free(ptr noundef %3) ret void } 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/tmpy8x78fzs.c' source_filename = "/tmp/tmpy8x78fzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"Usage: %s <input> <output>\0ACurrently only 4-to-2-bit supported\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Could not open input file\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Could not open output file\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"Could not reserve memory\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%lX\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca ptr, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %31 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) br label %31 31: ; preds = %26, %2 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.1) store ptr %35, ptr %6, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %31 %38 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %199 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %47 45: ; preds = %39 %46 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %199 47: ; preds = %39 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr @SEEK_END, align 4 %50 = call i32 @fseek(ptr noundef %48, i32 noundef 0, i32 noundef %49) %51 = load ptr, ptr %6, align 8 %52 = call i64 @ftell(ptr noundef %51) store i64 %52, ptr %19, align 8 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr @SEEK_SET, align 4 %55 = call i32 @fseek(ptr noundef %53, i32 noundef 0, i32 noundef %54) store i64 1, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 255, ptr %12, align 8 store i64 8, ptr %13, align 8 %56 = load i64, ptr %19, align 8 %57 = load i64, ptr %13, align 8 %58 = mul i64 %56, %57 %59 = load i64, ptr %10, align 8 %60 = udiv i64 8, %59 %61 = udiv i64 %58, %60 store i64 %61, ptr %20, align 8 %62 = load i64, ptr %20, align 8 %63 = call ptr @malloc(i64 noundef %62) store ptr %63, ptr %21, align 8 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %71 65: ; preds = %47 %66 = call i32 @perror(ptr noundef @.str.5) %67 = load ptr, ptr %7, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load ptr, ptr %6, align 8 %70 = call i32 @fclose(ptr noundef %69) store i32 1, ptr %3, align 4 br label %199 71: ; preds = %47 %72 = load ptr, ptr %21, align 8 %73 = load i64, ptr %20, align 8 %74 = call i32 @memset(ptr noundef %72, i32 noundef 0, i64 noundef %73) br label %75 75: ; preds = %185, %71 %76 = load ptr, ptr %6, align 8 %77 = call i32 @feof(ptr noundef %76) %78 = icmp ne i32 %77, 0 %79 = xor i1 %78, true br i1 %79, label %80, label %188 80: ; preds = %75 %81 = load ptr, ptr %6, align 8 %82 = call i64 @fgetc(ptr noundef %81) store i64 %82, ptr %22, align 8 %83 = load i64, ptr %9, align 8 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %83) store i32 0, ptr %17, align 4 br label %85 85: ; preds = %182, %80 %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = load i64, ptr %10, align 8 %89 = icmp ult i64 %87, %88 br i1 %89, label %90, label %185 90: ; preds = %85 %91 = load i64, ptr %8, align 8 %92 = load i64, ptr %10, align 8 %93 = mul i64 %91, %92 %94 = load i32, ptr %17, align 4 %95 = sext i32 %94 to i64 %96 = add i64 %93, %95 %97 = urem i64 %96, 8 store i64 %97, ptr %15, align 8 %98 = load i64, ptr %8, align 8 %99 = load i64, ptr %10, align 8 %100 = mul i64 %98, %99 %101 = load i32, ptr %17, align 4 %102 = sext i32 %101 to i64 %103 = add i64 %100, %102 %104 = urem i64 %103, 64 store i64 %104, ptr %16, align 8 %105 = load i64, ptr %15, align 8 %106 = icmp ne i64 %105, 0 br i1 %106, label %113, label %107 107: ; preds = %90 %108 = load i64, ptr %8, align 8 %109 = icmp ne i64 %108, 0 br i1 %109, label %110, label %113 110: ; preds = %107 %111 = load i64, ptr %9, align 8 %112 = add i64 %111, 1 store i64 %112, ptr %9, align 8 br label %113 113: ; preds = %110, %107, %90 %114 = load i64, ptr %16, align 8 %115 = icmp ne i64 %114, 0 br i1 %115, label %126, label %116 116: ; preds = %113 %117 = load i64, ptr %8, align 8 %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %126 119: ; preds = %116 %120 = load i64, ptr %13, align 8 %121 = udiv i64 %120, 2 %122 = sub i64 %121, 1 %123 = mul i64 %122, 8 %124 = load i64, ptr %9, align 8 %125 = add i64 %124, %123 store i64 %125, ptr %9, align 8 br label %126 126: ; preds = %119, %116, %113 %127 = load i64, ptr %22, align 8 %128 = load i64, ptr %12, align 8 %129 = and i64 %127, %128 store i64 %129, ptr %23, align 8 %130 = load i64, ptr %11, align 8 %131 = load i64, ptr %22, align 8 %132 = lshr i64 %131, %130 store i64 %132, ptr %22, align 8 store i64 0, ptr %14, align 8 br label %133 133: ; preds = %178, %126 %134 = load i64, ptr %14, align 8 %135 = load i64, ptr %13, align 8 %136 = udiv i64 %135, 2 %137 = icmp ult i64 %134, %136 br i1 %137, label %138, label %181 138: ; preds = %133 store i32 0, ptr %18, align 4 br label %139 139: ; preds = %174, %138 %140 = load i32, ptr %18, align 4 %141 = icmp slt i32 %140, 2 br i1 %141, label %142, label %177 142: ; preds = %139 %143 = load i64, ptr %23, align 8 %144 = load i32, ptr %18, align 4 %145 = sext i32 %144 to i64 %146 = load i64, ptr %14, align 8 %147 = mul i64 2, %146 %148 = add i64 %145, %147 %149 = trunc i64 %148 to i32 %150 = shl i32 1, %149 %151 = sext i32 %150 to i64 %152 = and i64 %143, %151 %153 = load i32, ptr %18, align 4 %154 = sext i32 %153 to i64 %155 = load i64, ptr %14, align 8 %156 = mul i64 2, %155 %157 = add i64 %154, %156 %158 = lshr i64 %152, %157 %159 = load i32, ptr %18, align 4 %160 = mul nsw i32 8, %159 %161 = add nsw i32 %160, 7 %162 = sext i32 %161 to i64 %163 = load i64, ptr %15, align 8 %164 = sub i64 %162, %163 %165 = shl i64 %158, %164 %166 = load ptr, ptr %21, align 8 %167 = load i64, ptr %9, align 8 %168 = load i64, ptr %14, align 8 %169 = mul i64 %168, 8 %170 = add i64 %167, %169 %171 = getelementptr inbounds i64, ptr %166, i64 %170 %172 = load i64, ptr %171, align 8 %173 = or i64 %172, %165 store i64 %173, ptr %171, align 8 br label %174 174: ; preds = %142 %175 = load i32, ptr %18, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %18, align 4 br label %139, !llvm.loop !6 177: ; preds = %139 br label %178 178: ; preds = %177 %179 = load i64, ptr %14, align 8 %180 = add i64 %179, 1 store i64 %180, ptr %14, align 8 br label %133, !llvm.loop !8 181: ; preds = %133 br label %182 182: ; preds = %181 %183 = load i32, ptr %17, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %17, align 4 br label %85, !llvm.loop !9 185: ; preds = %85 %186 = load i64, ptr %8, align 8 %187 = add i64 %186, 1 store i64 %187, ptr %8, align 8 br label %75, !llvm.loop !10 188: ; preds = %75 %189 = load ptr, ptr %21, align 8 %190 = call i32 @free(ptr noundef %189) %191 = load ptr, ptr %21, align 8 %192 = load i64, ptr %20, align 8 %193 = load ptr, ptr %7, align 8 %194 = call i32 @fwrite(ptr noundef %191, i64 noundef %192, i32 noundef 1, ptr noundef %193) %195 = load ptr, ptr %7, align 8 %196 = call i32 @fclose(ptr noundef %195) %197 = load ptr, ptr %6, align 8 %198 = call i32 @fclose(ptr noundef %197) br label %199 199: ; preds = %188, %65, %45, %37 %200 = load i32, ptr %3, align 4 ret i32 %200 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fgetc(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8x78fzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"Usage: %s <input> <output>\0ACurrently only 4-to-2-bit supported\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Could not open input file\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Could not open output file\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"Could not reserve memory\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"%lX\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca ptr, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %31 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) br label %31 31: ; preds = %26, %2 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.1) store ptr %35, ptr %6, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %31 %38 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %209 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %47 45: ; preds = %39 %46 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %209 47: ; preds = %39 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr @SEEK_END, align 4 %50 = call i32 @fseek(ptr noundef %48, i32 noundef 0, i32 noundef %49) %51 = load ptr, ptr %6, align 8 %52 = call i64 @ftell(ptr noundef %51) store i64 %52, ptr %19, align 8 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr @SEEK_SET, align 4 %55 = call i32 @fseek(ptr noundef %53, i32 noundef 0, i32 noundef %54) store i64 1, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 255, ptr %12, align 8 store i64 8, ptr %13, align 8 %56 = load i64, ptr %19, align 8 %57 = load i64, ptr %13, align 8 %58 = mul i64 %56, %57 %59 = load i64, ptr %10, align 8 %60 = udiv i64 8, %59 %61 = udiv i64 %58, %60 store i64 %61, ptr %20, align 8 %62 = load i64, ptr %20, align 8 %63 = call ptr @malloc(i64 noundef %62) store ptr %63, ptr %21, align 8 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %71 65: ; preds = %47 %66 = call i32 @perror(ptr noundef @.str.5) %67 = load ptr, ptr %7, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load ptr, ptr %6, align 8 %70 = call i32 @fclose(ptr noundef %69) store i32 1, ptr %3, align 4 br label %209 71: ; preds = %47 %72 = load ptr, ptr %21, align 8 %73 = load i64, ptr %20, align 8 %74 = call i32 @memset(ptr noundef %72, i32 noundef 0, i64 noundef %73) %75 = load ptr, ptr %6, align 8 %76 = call i32 @feof(ptr noundef %75) %77 = icmp ne i32 %76, 0 %78 = xor i1 %77, true br i1 %78, label %.lr.ph8, label %198 .lr.ph8: ; preds = %71 br label %79 79: ; preds = %.lr.ph8, %191 %80 = load ptr, ptr %6, align 8 %81 = call i64 @fgetc(ptr noundef %80) store i64 %81, ptr %22, align 8 %82 = load i64, ptr %9, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %82) store i32 0, ptr %17, align 4 %84 = load i32, ptr %17, align 4 %85 = sext i32 %84 to i64 %86 = load i64, ptr %10, align 8 %87 = icmp ult i64 %85, %86 br i1 %87, label %.lr.ph5, label %191 .lr.ph5: ; preds = %79 br label %88 88: ; preds = %.lr.ph5, %184 %89 = load i64, ptr %8, align 8 %90 = load i64, ptr %10, align 8 %91 = mul i64 %89, %90 %92 = load i32, ptr %17, align 4 %93 = sext i32 %92 to i64 %94 = add i64 %91, %93 %95 = urem i64 %94, 8 store i64 %95, ptr %15, align 8 %96 = load i64, ptr %8, align 8 %97 = load i64, ptr %10, align 8 %98 = mul i64 %96, %97 %99 = load i32, ptr %17, align 4 %100 = sext i32 %99 to i64 %101 = add i64 %98, %100 %102 = urem i64 %101, 64 store i64 %102, ptr %16, align 8 %103 = load i64, ptr %15, align 8 %104 = icmp ne i64 %103, 0 br i1 %104, label %111, label %105 105: ; preds = %88 %106 = load i64, ptr %8, align 8 %107 = icmp ne i64 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %105 %109 = load i64, ptr %9, align 8 %110 = add i64 %109, 1 store i64 %110, ptr %9, align 8 br label %111 111: ; preds = %108, %105, %88 %112 = load i64, ptr %16, align 8 %113 = icmp ne i64 %112, 0 br i1 %113, label %124, label %114 114: ; preds = %111 %115 = load i64, ptr %8, align 8 %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %124 117: ; preds = %114 %118 = load i64, ptr %13, align 8 %119 = udiv i64 %118, 2 %120 = sub i64 %119, 1 %121 = mul i64 %120, 8 %122 = load i64, ptr %9, align 8 %123 = add i64 %122, %121 store i64 %123, ptr %9, align 8 br label %124 124: ; preds = %117, %114, %111 %125 = load i64, ptr %22, align 8 %126 = load i64, ptr %12, align 8 %127 = and i64 %125, %126 store i64 %127, ptr %23, align 8 %128 = load i64, ptr %11, align 8 %129 = load i64, ptr %22, align 8 %130 = lshr i64 %129, %128 store i64 %130, ptr %22, align 8 store i64 0, ptr %14, align 8 %131 = load i64, ptr %14, align 8 %132 = load i64, ptr %13, align 8 %133 = udiv i64 %132, 2 %134 = icmp ult i64 %131, %133 br i1 %134, label %.lr.ph2, label %183 .lr.ph2: ; preds = %124 br label %135 135: ; preds = %.lr.ph2, %176 store i32 0, ptr %18, align 4 %136 = load i32, ptr %18, align 4 %137 = icmp slt i32 %136, 2 br i1 %137, label %.lr.ph, label %175 .lr.ph: ; preds = %135 br label %138 138: ; preds = %.lr.ph, %170 %139 = load i64, ptr %23, align 8 %140 = load i32, ptr %18, align 4 %141 = sext i32 %140 to i64 %142 = load i64, ptr %14, align 8 %143 = mul i64 2, %142 %144 = add i64 %141, %143 %145 = trunc i64 %144 to i32 %146 = shl i32 1, %145 %147 = sext i32 %146 to i64 %148 = and i64 %139, %147 %149 = load i32, ptr %18, align 4 %150 = sext i32 %149 to i64 %151 = load i64, ptr %14, align 8 %152 = mul i64 2, %151 %153 = add i64 %150, %152 %154 = lshr i64 %148, %153 %155 = load i32, ptr %18, align 4 %156 = mul nsw i32 8, %155 %157 = add nsw i32 %156, 7 %158 = sext i32 %157 to i64 %159 = load i64, ptr %15, align 8 %160 = sub i64 %158, %159 %161 = shl i64 %154, %160 %162 = load ptr, ptr %21, align 8 %163 = load i64, ptr %9, align 8 %164 = load i64, ptr %14, align 8 %165 = mul i64 %164, 8 %166 = add i64 %163, %165 %167 = getelementptr inbounds i64, ptr %162, i64 %166 %168 = load i64, ptr %167, align 8 %169 = or i64 %168, %161 store i64 %169, ptr %167, align 8 br label %170 170: ; preds = %138 %171 = load i32, ptr %18, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %18, align 4 %173 = load i32, ptr %18, align 4 %174 = icmp slt i32 %173, 2 br i1 %174, label %138, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %170 br label %175 175: ; preds = %._crit_edge, %135 br label %176 176: ; preds = %175 %177 = load i64, ptr %14, align 8 %178 = add i64 %177, 1 store i64 %178, ptr %14, align 8 %179 = load i64, ptr %14, align 8 %180 = load i64, ptr %13, align 8 %181 = udiv i64 %180, 2 %182 = icmp ult i64 %179, %181 br i1 %182, label %135, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %176 br label %183 183: ; preds = %._crit_edge3, %124 br label %184 184: ; preds = %183 %185 = load i32, ptr %17, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %17, align 4 %187 = load i32, ptr %17, align 4 %188 = sext i32 %187 to i64 %189 = load i64, ptr %10, align 8 %190 = icmp ult i64 %188, %189 br i1 %190, label %88, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %184 br label %191 191: ; preds = %._crit_edge6, %79 %192 = load i64, ptr %8, align 8 %193 = add i64 %192, 1 store i64 %193, ptr %8, align 8 %194 = load ptr, ptr %6, align 8 %195 = call i32 @feof(ptr noundef %194) %196 = icmp ne i32 %195, 0 %197 = xor i1 %196, true br i1 %197, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %191 br label %198 198: ; preds = %._crit_edge9, %71 %199 = load ptr, ptr %21, align 8 %200 = call i32 @free(ptr noundef %199) %201 = load ptr, ptr %21, align 8 %202 = load i64, ptr %20, align 8 %203 = load ptr, ptr %7, align 8 %204 = call i32 @fwrite(ptr noundef %201, i64 noundef %202, i32 noundef 1, ptr noundef %203) %205 = load ptr, ptr %7, align 8 %206 = call i32 @fclose(ptr noundef %205) %207 = load ptr, ptr %6, align 8 %208 = call i32 @fclose(ptr noundef %207) br label %209 209: ; preds = %198, %65, %45, %37 %210 = load i32, ptr %3, align 4 ret i32 %210 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fgetc(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpjczqmfx5.c' source_filename = "/tmp/tmpjczqmfx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SVC_Handler() #0 { 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/tmpjczqmfx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SVC_Handler() #0 { 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/tmpzu2cvlhw.c' source_filename = "/tmp/tmpzu2cvlhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#ifndef __DSPTABLES_H__\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"#define __DSPTABLES_H__\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"////// THIS FILE IS AUTOMATICALLY GENENERATED DO NOT EDIT\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"////// 'make dsptables' to build this file\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_headers(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzu2cvlhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#ifndef __DSPTABLES_H__\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"#define __DSPTABLES_H__\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"////// THIS FILE IS AUTOMATICALLY GENENERATED DO NOT EDIT\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"////// 'make dsptables' to build this file\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_headers(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6idpzd37.c' source_filename = "/tmp/tmp6idpzd37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x [10 x double]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 0 store ptr %7, ptr %3, align 8 br label %8 8: ; preds = %26, %0 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 9 %11 = getelementptr inbounds [10 x double], ptr %10, i64 0, i64 9 %12 = icmp ult ptr %9, %11 br i1 %12, label %13, label %29 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = srem i32 %14, 10 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 store double 1.000000e+00, ptr %18, align 8 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %25 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 store double 0.000000e+00, ptr %22, align 8 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %21, %17 br label %26 26: ; preds = %25 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds double, ptr %27, i32 1 store ptr %28, ptr %3, align 8 br label %8, !llvm.loop !6 29: ; preds = %8 %30 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 0 %31 = getelementptr inbounds [10 x double], ptr %30, i64 0, i64 0 store ptr %31, ptr %3, align 8 br label %32 32: ; preds = %54, %29 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 9 %35 = getelementptr inbounds [10 x double], ptr %34, i64 0, i64 9 %36 = icmp ult ptr %33, %35 br i1 %36, label %37, label %57 37: ; preds = %32 %38 = load i32, ptr %5, align 4 %39 = srem i32 %38, 9 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %37 %42 = load ptr, ptr %3, align 8 %43 = load double, ptr %42, align 8 %44 = call i32 @printf(ptr noundef @.str, double noundef %43) %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %53 47: ; preds = %37 %48 = load ptr, ptr %3, align 8 %49 = load double, ptr %48, align 8 %50 = call i32 @printf(ptr noundef @.str.1, double noundef %49) %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %47, %41 br label %54 54: ; preds = %53 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds double, ptr %55, i32 1 store ptr %56, ptr %3, align 8 br label %32, !llvm.loop !8 57: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6idpzd37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x [10 x double]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 0 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 9 %10 = getelementptr inbounds [10 x double], ptr %9, i64 0, i64 9 %11 = icmp ult ptr %8, %10 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %25 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 10 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 store double 1.000000e+00, ptr %17, align 8 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %24 20: ; preds = %12 %21 = load ptr, ptr %3, align 8 store double 0.000000e+00, ptr %21, align 8 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %20, %16 br label %25 25: ; preds = %24 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds double, ptr %26, i32 1 store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %3, align 8 %29 = icmp ult ptr %28, %10 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %0 %31 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 0 %32 = getelementptr inbounds [10 x double], ptr %31, i64 0, i64 0 store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds [10 x [10 x double]], ptr %2, i64 0, i64 9 %35 = getelementptr inbounds [10 x double], ptr %34, i64 0, i64 9 %36 = icmp ult ptr %33, %35 br i1 %36, label %.lr.ph2, label %59 .lr.ph2: ; preds = %30 br label %37 37: ; preds = %.lr.ph2, %54 %38 = load i32, ptr %5, align 4 %39 = srem i32 %38, 9 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %37 %42 = load ptr, ptr %3, align 8 %43 = load double, ptr %42, align 8 %44 = call i32 @printf(ptr noundef @.str, double noundef %43) %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %53 47: ; preds = %37 %48 = load ptr, ptr %3, align 8 %49 = load double, ptr %48, align 8 %50 = call i32 @printf(ptr noundef @.str.1, double noundef %49) %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %47, %41 br label %54 54: ; preds = %53 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds double, ptr %55, i32 1 store ptr %56, ptr %3, align 8 %57 = load ptr, ptr %3, align 8 %58 = icmp ult ptr %57, %35 br i1 %58, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %30 ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptj2c0ymz.c' source_filename = "/tmp/tmptj2c0ymz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_ageing(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 ptr, ptr %4, align 8 %7 = call i32 @ccnl_do_ageing(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @ccnl_set_timer(i32 noundef 1000000, ptr noundef @ccnl_ageing, ptr noundef %8, i32 noundef 0) ret void } declare i32 @ccnl_do_ageing(ptr noundef, ptr noundef) #1 declare i32 @ccnl_set_timer(i32 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/tmptj2c0ymz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_ageing(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 ptr, ptr %4, align 8 %7 = call i32 @ccnl_do_ageing(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @ccnl_set_timer(i32 noundef 1000000, ptr noundef @ccnl_ageing, ptr noundef %8, i32 noundef 0) ret void } declare i32 @ccnl_do_ageing(ptr noundef, ptr noundef) #1 declare i32 @ccnl_set_timer(i32 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/tmpt5tx_gqn.c' source_filename = "/tmp/tmpt5tx_gqn.c" target datalayout = "e-m:e-p270: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 [241 x i8] c"Stash v%s - by: Peter Kieltyka\0Ausage: stash [<infile> <outfile> <datafile> <key>] | [<infile> <datafile> <key>]\0A\0Aexamples:\0A to hide: %s image1.bmp image2.bmp secret.doc 'hello 123'\0A to extract: %s image2.bmp secret2.doc 'hello 123'\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0.3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %7 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt5tx_gqn.c" target datalayout = "e-m:e-p270: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 [241 x i8] c"Stash v%s - by: Peter Kieltyka\0Ausage: stash [<infile> <outfile> <datafile> <key>] | [<infile> <datafile> <key>]\0A\0Aexamples:\0A to hide: %s image1.bmp image2.bmp secret.doc 'hello 123'\0A to extract: %s image2.bmp secret2.doc 'hello 123'\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0.3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %7 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjvlk9pl4.c' source_filename = "/tmp/tmpjvlk9pl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_mmclient_fini() #0 { %1 = call i32 (...) @mm_free_pages_close() ret void } declare i32 @mm_free_pages_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjvlk9pl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_mmclient_fini() #0 { %1 = call i32 (...) @mm_free_pages_close() ret void } declare i32 @mm_free_pages_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr1wpmwoq.c' source_filename = "/tmp/tmpr1wpmwoq.c" target datalayout = "e-m:e-p270: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 @O_APPEND = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @createTargetFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_WRONLY, align 4 %6 = load i32, ptr @O_CREAT, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @O_APPEND, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @S_IRWXU, align 4 %11 = call i32 @open(ptr noundef %4, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr1wpmwoq.c" target datalayout = "e-m:e-p270: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 @O_APPEND = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @createTargetFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_WRONLY, align 4 %6 = load i32, ptr @O_CREAT, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @O_APPEND, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @S_IRWXU, align 4 %11 = call i32 @open(ptr noundef %4, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx931rdru.c' source_filename = "/tmp/tmpx931rdru.c" target datalayout = "e-m:e-p270: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/tmpx931rdru.c" target datalayout = "e-m:e-p270: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/tmpwozl5pr0.c' source_filename = "/tmp/tmpwozl5pr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tui_getk() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @tui_kbhit() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @getch() store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %4, %0 %7 = load i32, ptr %1, align 4 ret i32 %7 } declare i64 @tui_kbhit(...) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwozl5pr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tui_getk() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @tui_kbhit() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @getch() store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %4, %0 %7 = load i32, ptr %1, align 4 ret i32 %7 } declare i64 @tui_kbhit(...) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr0ai98hn.c' source_filename = "/tmp/tmpr0ai98hn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ft_atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca [2 x i32], align 4 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 45 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 store float -1.000000e+00, ptr %4, align 4 br label %14 14: ; preds = %11, %1 br label %15 15: ; preds = %28, %24, %14 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %34 19: ; preds = %15 %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 46 br i1 %23, label %24, label %28 24: ; preds = %19 %25 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 1, ptr %25, align 4 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %2, align 8 br label %15, !llvm.loop !6 28: ; preds = %19 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %31 = call i32 @ft_25_lines(ptr noundef %29, ptr noundef %4, ptr noundef %3, ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %2, align 8 br label %15, !llvm.loop !6 34: ; preds = %15 %35 = load float, ptr %3, align 4 %36 = load float, ptr %4, align 4 %37 = fmul float %35, %36 ret float %37 } declare i32 @ft_25_lines(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0ai98hn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ft_atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca [2 x i32], align 4 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 45 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 store float -1.000000e+00, ptr %4, align 4 br label %14 14: ; preds = %11, %1 %15 = load ptr, ptr %2, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %36 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %.backedge %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 46 br i1 %22, label %23, label %30 23: ; preds = %18 %24 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 1, ptr %24, align 4 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %2, align 8 br label %.backedge .backedge: ; preds = %23, %30 %27 = load ptr, ptr %2, align 8 %28 = load i8, ptr %27, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 30: ; preds = %18 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %33 = call i32 @ft_25_lines(ptr noundef %31, ptr noundef %4, ptr noundef %3, ptr noundef %32) %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %2, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %36 36: ; preds = %._crit_edge, %14 %37 = load float, ptr %3, align 4 %38 = load float, ptr %4, align 4 %39 = fmul float %37, %38 ret float %39 } declare i32 @ft_25_lines(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoj4e858c.c' source_filename = "/tmp/tmpoj4e858c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createRefCost(i32 noundef %0) #0 { %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 eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @clz(i32 noundef %8) %10 = sub nsw i32 16, %9 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = shl i32 %11, 1 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %7, %6 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @clz(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/tmpoj4e858c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createRefCost(i32 noundef %0) #0 { %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 eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @clz(i32 noundef %8) %10 = sub nsw i32 16, %9 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = shl i32 %11, 1 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %7, %6 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @clz(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/tmptrz9yly0.c' source_filename = "/tmp/tmptrz9yly0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input is not consistent\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Larger nmax needed\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Step size too small\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Problem became stiff\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dp_err(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %12 [ i32 -1, label %4 i32 -2, label %6 i32 -3, label %8 i32 -4, label %10 ] 4: ; preds = %1 %5 = call i32 @err_msg(ptr noundef @.str) br label %12 6: ; preds = %1 %7 = call i32 @err_msg(ptr noundef @.str.1) br label %12 8: ; preds = %1 %9 = call i32 @err_msg(ptr noundef @.str.2) br label %12 10: ; preds = %1 %11 = call i32 @err_msg(ptr noundef @.str.3) br label %12 12: ; preds = %1, %10, %8, %6, %4 ret void } declare i32 @err_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptrz9yly0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input is not consistent\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Larger nmax needed\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Step size too small\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Problem became stiff\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dp_err(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %12 [ i32 -1, label %4 i32 -2, label %6 i32 -3, label %8 i32 -4, label %10 ] 4: ; preds = %1 %5 = call i32 @err_msg(ptr noundef @.str) br label %12 6: ; preds = %1 %7 = call i32 @err_msg(ptr noundef @.str.1) br label %12 8: ; preds = %1 %9 = call i32 @err_msg(ptr noundef @.str.2) br label %12 10: ; preds = %1 %11 = call i32 @err_msg(ptr noundef @.str.3) br label %12 12: ; preds = %10, %8, %6, %4, %1 ret void } declare i32 @err_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatjqsmev.c' source_filename = "/tmp/tmpatjqsmev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Liza\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [20 x i8] c"%s tiene %d anios.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %20, i32 noundef %24) br label %26 26: ; preds = %16 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %31 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %31, ptr %10, align 8 %32 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %32, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %33 33: ; preds = %49, %29 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42, i32 noundef %47) br label %49 49: ; preds = %37 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %33, !llvm.loop !8 52: ; preds = %33 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 br label %54 54: ; preds = %70, %52 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %73 58: ; preds = %54 %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %63, i32 noundef %68) br label %70 70: ; preds = %58 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 br label %54, !llvm.loop !9 73: ; preds = %54 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %75 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %75, ptr %11, align 8 %76 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %76, ptr %10, align 8 br label %77 77: ; preds = %93, %73 %78 = load ptr, ptr %10, align 8 %79 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %80 = ptrtoint ptr %78 to i64 %81 = ptrtoint ptr %79 to i64 %82 = sub i64 %80, %81 %83 = sdiv exact i64 %82, 4 %84 = load i32, ptr %8, align 4 %85 = sext i32 %84 to i64 %86 = icmp slt i64 %83, %85 br i1 %86, label %87, label %98 87: ; preds = %77 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %88, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i32, ptr %90, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %89, i32 noundef %91) br label %93 93: ; preds = %87 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds ptr, ptr %94, i32 1 store ptr %95, ptr %11, align 8 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds i32, ptr %96, i32 1 store ptr %97, ptr %10, align 8 br label %77, !llvm.loop !10 98: ; preds = %77 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpatjqsmev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Liza\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [20 x i8] c"%s tiene %d anios.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %19, i32 noundef %23) br label %25 25: ; preds = %15 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %33 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %33, ptr %10, align 8 %34 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %34, ptr %11, align 8 store i32 0, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %56 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %50 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %43, i32 noundef %48) br label %50 50: ; preds = %38 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %56 56: ; preds = %._crit_edge3, %31 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph5, label %79 .lr.ph5: ; preds = %56 br label %61 61: ; preds = %.lr.ph5, %73 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %66, i32 noundef %71) br label %73 73: ; preds = %61 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %79 79: ; preds = %._crit_edge6, %56 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %81 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %81, ptr %11, align 8 %82 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %10, align 8 %84 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %85 = ptrtoint ptr %83 to i64 %86 = ptrtoint ptr %84 to i64 %87 = sub i64 %85, %86 %88 = sdiv exact i64 %87, 4 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = icmp slt i64 %88, %90 br i1 %91, label %.lr.ph8, label %110 .lr.ph8: ; preds = %79 br label %92 92: ; preds = %.lr.ph8, %98 %93 = load ptr, ptr %11, align 8 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %95, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %94, i32 noundef %96) br label %98 98: ; preds = %92 %99 = load ptr, ptr %11, align 8 %100 = getelementptr inbounds ptr, ptr %99, i32 1 store ptr %100, ptr %11, align 8 %101 = load ptr, ptr %10, align 8 %102 = getelementptr inbounds i32, ptr %101, i32 1 store ptr %102, ptr %10, align 8 %103 = load ptr, ptr %10, align 8 %104 = ptrtoint ptr %103 to i64 %105 = sub i64 %104, %86 %106 = sdiv exact i64 %105, 4 %107 = load i32, ptr %8, align 4 %108 = sext i32 %107 to i64 %109 = icmp slt i64 %106, %108 br i1 %109, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %98 br label %110 110: ; preds = %._crit_edge9, %79 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp2yioaeiu.c' source_filename = "/tmp/tmp2yioaeiu.c" target datalayout = "e-m:e-p270: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/tmp2yioaeiu.c" target datalayout = "e-m:e-p270: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/tmpe8ty9jdp.c' source_filename = "/tmp/tmpe8ty9jdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i32], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds i32, ptr %4, i64 4096 %6 = getelementptr inbounds i32, ptr %5, i64 -1 store ptr %6, ptr %3, align 8 %7 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef -1, i32 noundef 1024) %9 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 @ber_vlint_test(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef -1, i32 noundef 1024) %14 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @ber_int_test(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef -1, i32 noundef 1024) %19 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %20 = load ptr, ptr %3, align 8 %21 = call i32 @ber_length_test(ptr noundef %19, ptr noundef %20) %22 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef -1, i32 noundef 1024) %24 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %25 = load ptr, ptr %3, align 8 %26 = call i32 @ber_string_test(ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %28 = call i32 @memset(ptr noundef %27, i32 noundef -1, i32 noundef 1024) %29 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %30 = load ptr, ptr %3, align 8 %31 = call i32 @ber_fprintf_test(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %33 = call i32 @memset(ptr noundef %32, i32 noundef -1, i32 noundef 1024) %34 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %35 = load ptr, ptr %3, align 8 %36 = call i32 @snmp_oid_test(ptr noundef %34, ptr noundef %35) %37 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %38 = call i32 @memset(ptr noundef %37, i32 noundef -1, i32 noundef 1024) %39 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %40 = load ptr, ptr %3, align 8 %41 = call i32 @snmp_msg_test(ptr noundef %39, ptr noundef %40) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ber_vlint_test(ptr noundef, ptr noundef) #1 declare i32 @ber_int_test(ptr noundef, ptr noundef) #1 declare i32 @ber_length_test(ptr noundef, ptr noundef) #1 declare i32 @ber_string_test(ptr noundef, ptr noundef) #1 declare i32 @ber_fprintf_test(ptr noundef, ptr noundef) #1 declare i32 @snmp_oid_test(ptr noundef, ptr noundef) #1 declare i32 @snmp_msg_test(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/tmpe8ty9jdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i32], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds i32, ptr %4, i64 4096 %6 = getelementptr inbounds i32, ptr %5, i64 -1 store ptr %6, ptr %3, align 8 %7 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef -1, i32 noundef 1024) %9 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 @ber_vlint_test(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef -1, i32 noundef 1024) %14 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @ber_int_test(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef -1, i32 noundef 1024) %19 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %20 = load ptr, ptr %3, align 8 %21 = call i32 @ber_length_test(ptr noundef %19, ptr noundef %20) %22 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef -1, i32 noundef 1024) %24 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %25 = load ptr, ptr %3, align 8 %26 = call i32 @ber_string_test(ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %28 = call i32 @memset(ptr noundef %27, i32 noundef -1, i32 noundef 1024) %29 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %30 = load ptr, ptr %3, align 8 %31 = call i32 @ber_fprintf_test(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %33 = call i32 @memset(ptr noundef %32, i32 noundef -1, i32 noundef 1024) %34 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %35 = load ptr, ptr %3, align 8 %36 = call i32 @snmp_oid_test(ptr noundef %34, ptr noundef %35) %37 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %38 = call i32 @memset(ptr noundef %37, i32 noundef -1, i32 noundef 1024) %39 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 0 %40 = load ptr, ptr %3, align 8 %41 = call i32 @snmp_msg_test(ptr noundef %39, ptr noundef %40) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ber_vlint_test(ptr noundef, ptr noundef) #1 declare i32 @ber_int_test(ptr noundef, ptr noundef) #1 declare i32 @ber_length_test(ptr noundef, ptr noundef) #1 declare i32 @ber_string_test(ptr noundef, ptr noundef) #1 declare i32 @ber_fprintf_test(ptr noundef, ptr noundef) #1 declare i32 @snmp_oid_test(ptr noundef, ptr noundef) #1 declare i32 @snmp_msg_test(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/tmpiv3xnv3m.c' source_filename = "/tmp/tmpiv3xnv3m.c" target datalayout = "e-m:e-p270: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/tmpiv3xnv3m.c" target datalayout = "e-m:e-p270: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/tmpi9dksfl3.c' source_filename = "/tmp/tmpi9dksfl3.c" target datalayout = "e-m:e-p270: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/tmpi9dksfl3.c" target datalayout = "e-m:e-p270: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/tmp1_3uaojo.c' source_filename = "/tmp/tmp1_3uaojo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 2], [2 x i32] [i32 2, i32 4], [2 x i32] [i32 3, i32 6], [2 x i32] [i32 4, i32 8]], align 16 @.str = private unnamed_addr constant [16 x i8] c"a[%d][%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 [5 x [2 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %27, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %30 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %23, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [5 x [2 x i32]], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %5, !llvm.loop !8 30: ; preds = %5 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1_3uaojo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 2], [2 x i32] [i32 2, i32 4], [2 x i32] [i32 3, i32 6], [2 x i32] [i32 4, i32 8]], align 16 @.str = private unnamed_addr constant [16 x i8] c"a[%d][%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 [5 x [2 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph2, label %32 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %21 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [5 x [2 x i32]], ptr %2, i64 0, i64 %14 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [2 x i32], ptr %15, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %19) br label %21 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %7 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd8tcdxhs.c' source_filename = "/tmp/tmpd8tcdxhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @harf_sayisi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd8tcdxhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @harf_sayisi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb3aud2ek.c' source_filename = "/tmp/tmpb3aud2ek.c" target datalayout = "e-m:e-p270: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/tmpb3aud2ek.c" target datalayout = "e-m:e-p270: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/tmp429hpy3u.c' source_filename = "/tmp/tmp429hpy3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AComandos disponibles\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"conectar <usuario> -- Conecta al servidor con el nombre de usuario ingresado\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"pass -- Cambiar clave\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"descargar <pelicula> -- Descarga una pelicula\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"comprar <pelicula> -- Comprar una pelicula\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"lsgen -- Listar generos\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"lsfilm -- Listar peliculas\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"desconectar -- Desconectar usuario del servidor\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"salir -- Cierra el cliente\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prntHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp429hpy3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AComandos disponibles\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"conectar <usuario> -- Conecta al servidor con el nombre de usuario ingresado\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"pass -- Cambiar clave\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"descargar <pelicula> -- Descarga una pelicula\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"comprar <pelicula> -- Comprar una pelicula\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"lsgen -- Listar generos\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"lsfilm -- Listar peliculas\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"desconectar -- Desconectar usuario del servidor\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"salir -- Cierra el cliente\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prntHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxq191eo2.c' source_filename = "/tmp/tmpxq191eo2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cir3pts(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, i32 noundef %6) #0 { %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 double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i32, align 4 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 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 store i32 %6, ptr %14, align 4 %26 = load double, ptr %10, align 8 %27 = load double, ptr %8, align 8 %28 = fsub double %26, %27 store double %28, ptr %15, align 8 %29 = load double, ptr %11, align 8 %30 = load double, ptr %9, align 8 %31 = fsub double %29, %30 store double %31, ptr %16, align 8 %32 = load double, ptr %12, align 8 %33 = load double, ptr %8, align 8 %34 = fsub double %32, %33 store double %34, ptr %17, align 8 %35 = load double, ptr %13, align 8 %36 = load double, ptr %9, align 8 %37 = fsub double %35, %36 store double %37, ptr %18, align 8 %38 = load double, ptr %15, align 8 %39 = load double, ptr %8, align 8 %40 = load double, ptr %10, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %16, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %11, align 8 %45 = fadd double %43, %44 %46 = fmul double %42, %45 %47 = call double @llvm.fmuladd.f64(double %38, double %41, double %46) store double %47, ptr %19, align 8 %48 = load double, ptr %17, align 8 %49 = load double, ptr %8, align 8 %50 = load double, ptr %12, align 8 %51 = fadd double %49, %50 %52 = load double, ptr %18, align 8 %53 = load double, ptr %9, align 8 %54 = load double, ptr %13, align 8 %55 = fadd double %53, %54 %56 = fmul double %52, %55 %57 = call double @llvm.fmuladd.f64(double %48, double %51, double %56) store double %57, ptr %20, align 8 %58 = load double, ptr %15, align 8 %59 = load double, ptr %13, align 8 %60 = load double, ptr %11, align 8 %61 = fsub double %59, %60 %62 = load double, ptr %16, align 8 %63 = load double, ptr %12, align 8 %64 = load double, ptr %10, align 8 %65 = fsub double %63, %64 %66 = fmul double %62, %65 %67 = fneg double %66 %68 = call double @llvm.fmuladd.f64(double %58, double %61, double %67) %69 = fmul double 2.000000e+00, %68 store double %69, ptr %21, align 8 %70 = load double, ptr %21, align 8 %71 = fcmp une double %70, 0.000000e+00 br i1 %71, label %72, label %106 72: ; preds = %7 %73 = load double, ptr %18, align 8 %74 = load double, ptr %19, align 8 %75 = load double, ptr %16, align 8 %76 = load double, ptr %20, align 8 %77 = fmul double %75, %76 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double %73, double %74, double %78) %80 = load double, ptr %21, align 8 %81 = fdiv double %79, %80 store double %81, ptr %22, align 8 %82 = load double, ptr %15, align 8 %83 = load double, ptr %20, align 8 %84 = load double, ptr %17, align 8 %85 = load double, ptr %19, align 8 %86 = fmul double %84, %85 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double %82, double %83, double %87) %89 = load double, ptr %21, align 8 %90 = fdiv double %88, %89 store double %90, ptr %23, align 8 %91 = load double, ptr %8, align 8 %92 = load double, ptr %22, align 8 %93 = fsub double %91, %92 %94 = load double, ptr %8, align 8 %95 = load double, ptr %22, align 8 %96 = fsub double %94, %95 %97 = load double, ptr %9, align 8 %98 = load double, ptr %23, align 8 %99 = fsub double %97, %98 %100 = load double, ptr %9, align 8 %101 = load double, ptr %23, align 8 %102 = fsub double %100, %101 %103 = fmul double %99, %102 %104 = call double @llvm.fmuladd.f64(double %93, double %96, double %103) %105 = call double @sqrt(double noundef %104) #4 store double %105, ptr %24, align 8 br label %107 106: ; preds = %7 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 br label %107 107: ; preds = %106, %72 %108 = load double, ptr %24, align 8 %109 = fcmp oeq double %108, 0.000000e+00 br i1 %109, label %110, label %111 110: ; preds = %107 br label %124 111: ; preds = %107 %112 = load double, ptr %22, align 8 %113 = load double, ptr %23, align 8 %114 = load double, ptr %8, align 8 %115 = load double, ptr %9, align 8 %116 = load double, ptr %10, align 8 %117 = load double, ptr %11, align 8 %118 = load double, ptr %12, align 8 %119 = load double, ptr %13, align 8 %120 = call i32 @point_in_triangle(double noundef %112, double noundef %113, i32 noundef 0, double noundef %114, double noundef %115, i32 noundef 0, double noundef %116, double noundef %117, i32 noundef 0, double noundef %118, double noundef %119, i32 noundef 0) %121 = icmp ne i32 %120, 0 br i1 %121, label %123, label %122 122: ; preds = %111 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 br label %123 123: ; preds = %122, %111 br label %124 124: ; preds = %123, %110 store i32 0, ptr %25, align 4 %125 = load i32, ptr %14, align 4 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %130 127: ; preds = %124 %128 = load double, ptr %22, align 8 %129 = fptosi double %128 to i32 store i32 %129, ptr %25, align 4 br label %130 130: ; preds = %127, %124 %131 = load i32, ptr %14, align 4 %132 = icmp eq i32 %131, 1 br i1 %132, label %133, label %136 133: ; preds = %130 %134 = load double, ptr %23, align 8 %135 = fptosi double %134 to i32 store i32 %135, ptr %25, align 4 br label %136 136: ; preds = %133, %130 %137 = load i32, ptr %14, align 4 %138 = icmp eq i32 %137, 2 br i1 %138, label %139, label %143 139: ; preds = %136 %140 = load double, ptr %24, align 8 %141 = fmul double %140, 1.000000e+03 %142 = fptosi double %141 to i32 store i32 %142, ptr %25, align 4 br label %143 143: ; preds = %139, %136 %144 = load i32, ptr %25, align 4 %145 = sitofp i32 %144 to double ret double %145 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @point_in_triangle(double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { 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 #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxq191eo2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cir3pts(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, i32 noundef %6) #0 { %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 double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i32, align 4 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 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 store i32 %6, ptr %14, align 4 %26 = load double, ptr %10, align 8 %27 = load double, ptr %8, align 8 %28 = fsub double %26, %27 store double %28, ptr %15, align 8 %29 = load double, ptr %11, align 8 %30 = load double, ptr %9, align 8 %31 = fsub double %29, %30 store double %31, ptr %16, align 8 %32 = load double, ptr %12, align 8 %33 = load double, ptr %8, align 8 %34 = fsub double %32, %33 store double %34, ptr %17, align 8 %35 = load double, ptr %13, align 8 %36 = load double, ptr %9, align 8 %37 = fsub double %35, %36 store double %37, ptr %18, align 8 %38 = load double, ptr %15, align 8 %39 = load double, ptr %8, align 8 %40 = load double, ptr %10, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %16, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %11, align 8 %45 = fadd double %43, %44 %46 = fmul double %42, %45 %47 = call double @llvm.fmuladd.f64(double %38, double %41, double %46) store double %47, ptr %19, align 8 %48 = load double, ptr %17, align 8 %49 = load double, ptr %8, align 8 %50 = load double, ptr %12, align 8 %51 = fadd double %49, %50 %52 = load double, ptr %18, align 8 %53 = load double, ptr %9, align 8 %54 = load double, ptr %13, align 8 %55 = fadd double %53, %54 %56 = fmul double %52, %55 %57 = call double @llvm.fmuladd.f64(double %48, double %51, double %56) store double %57, ptr %20, align 8 %58 = load double, ptr %15, align 8 %59 = load double, ptr %13, align 8 %60 = load double, ptr %11, align 8 %61 = fsub double %59, %60 %62 = load double, ptr %16, align 8 %63 = load double, ptr %12, align 8 %64 = load double, ptr %10, align 8 %65 = fsub double %63, %64 %66 = fmul double %62, %65 %67 = fneg double %66 %68 = call double @llvm.fmuladd.f64(double %58, double %61, double %67) %69 = fmul double 2.000000e+00, %68 store double %69, ptr %21, align 8 %70 = load double, ptr %21, align 8 %71 = fcmp une double %70, 0.000000e+00 br i1 %71, label %72, label %106 72: ; preds = %7 %73 = load double, ptr %18, align 8 %74 = load double, ptr %19, align 8 %75 = load double, ptr %16, align 8 %76 = load double, ptr %20, align 8 %77 = fmul double %75, %76 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double %73, double %74, double %78) %80 = load double, ptr %21, align 8 %81 = fdiv double %79, %80 store double %81, ptr %22, align 8 %82 = load double, ptr %15, align 8 %83 = load double, ptr %20, align 8 %84 = load double, ptr %17, align 8 %85 = load double, ptr %19, align 8 %86 = fmul double %84, %85 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double %82, double %83, double %87) %89 = load double, ptr %21, align 8 %90 = fdiv double %88, %89 store double %90, ptr %23, align 8 %91 = load double, ptr %8, align 8 %92 = load double, ptr %22, align 8 %93 = fsub double %91, %92 %94 = load double, ptr %8, align 8 %95 = load double, ptr %22, align 8 %96 = fsub double %94, %95 %97 = load double, ptr %9, align 8 %98 = load double, ptr %23, align 8 %99 = fsub double %97, %98 %100 = load double, ptr %9, align 8 %101 = load double, ptr %23, align 8 %102 = fsub double %100, %101 %103 = fmul double %99, %102 %104 = call double @llvm.fmuladd.f64(double %93, double %96, double %103) %105 = call double @sqrt(double noundef %104) #4 store double %105, ptr %24, align 8 br label %107 106: ; preds = %7 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 br label %107 107: ; preds = %106, %72 %108 = load double, ptr %24, align 8 %109 = fcmp oeq double %108, 0.000000e+00 br i1 %109, label %110, label %111 110: ; preds = %107 br label %124 111: ; preds = %107 %112 = load double, ptr %22, align 8 %113 = load double, ptr %23, align 8 %114 = load double, ptr %8, align 8 %115 = load double, ptr %9, align 8 %116 = load double, ptr %10, align 8 %117 = load double, ptr %11, align 8 %118 = load double, ptr %12, align 8 %119 = load double, ptr %13, align 8 %120 = call i32 @point_in_triangle(double noundef %112, double noundef %113, i32 noundef 0, double noundef %114, double noundef %115, i32 noundef 0, double noundef %116, double noundef %117, i32 noundef 0, double noundef %118, double noundef %119, i32 noundef 0) %121 = icmp ne i32 %120, 0 br i1 %121, label %123, label %122 122: ; preds = %111 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 br label %123 123: ; preds = %122, %111 br label %124 124: ; preds = %123, %110 store i32 0, ptr %25, align 4 %125 = load i32, ptr %14, align 4 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %130 127: ; preds = %124 %128 = load double, ptr %22, align 8 %129 = fptosi double %128 to i32 store i32 %129, ptr %25, align 4 br label %130 130: ; preds = %127, %124 %131 = load i32, ptr %14, align 4 %132 = icmp eq i32 %131, 1 br i1 %132, label %133, label %136 133: ; preds = %130 %134 = load double, ptr %23, align 8 %135 = fptosi double %134 to i32 store i32 %135, ptr %25, align 4 br label %136 136: ; preds = %133, %130 %137 = load i32, ptr %14, align 4 %138 = icmp eq i32 %137, 2 br i1 %138, label %139, label %143 139: ; preds = %136 %140 = load double, ptr %24, align 8 %141 = fmul double %140, 1.000000e+03 %142 = fptosi double %141 to i32 store i32 %142, ptr %25, align 4 br label %143 143: ; preds = %139, %136 %144 = load i32, ptr %25, align 4 %145 = sitofp i32 %144 to double ret double %145 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @point_in_triangle(double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { 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 #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmo0d3qlh.c' source_filename = "/tmp/tmpmo0d3qlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 store i32 0, ptr %7, align 4 %8 = call i64 @time(ptr noundef %7) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) store i32 0, ptr %6, align 4 br label %11 11: ; preds = %17, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 6 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = call i32 (...) @foo() %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %11, !llvm.loop !6 20: ; preds = %11 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmo0d3qlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 store i32 0, ptr %7, align 4 %8 = call i64 @time(ptr noundef %7) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 6 br i1 %12, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %16 %14 = call i32 (...) @foo() %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %13 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 6 br i1 %20, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpikz5a00r.c' source_filename = "/tmp/tmpikz5a00r.c" target datalayout = "e-m:e-p270: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/tmpikz5a00r.c" target datalayout = "e-m:e-p270: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/tmpjyknsru1.c' source_filename = "/tmp/tmpjyknsru1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"<UL>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @html_itemize() #0 { %1 = call i32 (...) @write_break() %2 = call i32 @write_line(ptr noundef @.str) %3 = call i32 (...) @write_nl() ret void } declare i32 @write_break(...) #1 declare i32 @write_line(ptr noundef) #1 declare i32 @write_nl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjyknsru1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"<UL>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @html_itemize() #0 { %1 = call i32 (...) @write_break() %2 = call i32 @write_line(ptr noundef @.str) %3 = call i32 (...) @write_nl() ret void } declare i32 @write_break(...) #1 declare i32 @write_line(ptr noundef) #1 declare i32 @write_nl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp71v6qjgg.c' source_filename = "/tmp/tmp71v6qjgg.c" target datalayout = "e-m:e-p270: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/tmp71v6qjgg.c" target datalayout = "e-m:e-p270: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/tmppocm6o_z.c' source_filename = "/tmp/tmppocm6o_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ulz77_error_description_cpy.err_msg = internal global [14 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, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13], align 16 @.str = private unnamed_addr constant [14 x i8] c"Unknown error\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Null Pointer\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Invalid argument\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Memory allocation failed\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"File opening failed\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"File reading failed\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Buffer full\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Undefined operation\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"Unknown reader\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"Invalid reader\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Unknown writter\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"Invalid writter\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"Narrow buffer size\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"Undefined error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ulz77_error_description_cpy(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = sub nsw i32 0, %11 %13 = zext i32 %12 to i64 %14 = icmp uge i64 %13, 14 br i1 %14, label %15, label %16 15: ; preds = %10, %3 store i32 0, ptr %4, align 4 br label %24 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [14 x ptr], ptr @ulz77_error_description_cpy.err_msg, i64 0, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i64, ptr %6, align 8 %23 = call i32 @strncpy(ptr noundef %17, ptr noundef %21, i64 noundef %22) store i32 0, ptr %4, align 4 br label %24 24: ; preds = %16, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @strncpy(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/tmppocm6o_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ulz77_error_description_cpy.err_msg = internal global [14 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, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13], align 16 @.str = private unnamed_addr constant [14 x i8] c"Unknown error\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Null Pointer\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Invalid argument\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Memory allocation failed\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"File opening failed\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"File reading failed\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Buffer full\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Undefined operation\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"Unknown reader\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"Invalid reader\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Unknown writter\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"Invalid writter\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"Narrow buffer size\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"Undefined error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ulz77_error_description_cpy(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = sub nsw i32 0, %11 %13 = zext i32 %12 to i64 %14 = icmp uge i64 %13, 14 br i1 %14, label %15, label %16 15: ; preds = %10, %3 store i32 0, ptr %4, align 4 br label %24 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [14 x ptr], ptr @ulz77_error_description_cpy.err_msg, i64 0, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i64, ptr %6, align 8 %23 = call i32 @strncpy(ptr noundef %17, ptr noundef %21, i64 noundef %22) store i32 0, ptr %4, align 4 br label %24 24: ; preds = %16, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @strncpy(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/tmpawq3p453.c' source_filename = "/tmp/tmpawq3p453.c" target datalayout = "e-m:e-p270: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/tmpawq3p453.c" target datalayout = "e-m:e-p270: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/tmpzoyi7wbl.c' source_filename = "/tmp/tmpzoyi7wbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_basepath(ptr noalias noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @strrchr(ptr noundef %6, i8 noundef signext 47) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ugt ptr %8, null br i1 %9, label %10, label %20 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = ptrtoint ptr %11 to i64 %14 = ptrtoint ptr %12 to i64 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = call ptr @substring(ptr noundef %17, i32 noundef 0, i32 noundef %18) store ptr %19, ptr %5, align 8 br label %24 20: ; preds = %1 %21 = call ptr @malloc(i32 noundef 2) store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 store i8 46, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 store i8 10, ptr %23, align 1 br label %24 24: ; preds = %20, %10 %25 = load ptr, ptr %5, align 8 ret ptr %25 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @substring(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzoyi7wbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_basepath(ptr noalias noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @strrchr(ptr noundef %6, i8 noundef signext 47) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ugt ptr %8, null br i1 %9, label %10, label %20 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = ptrtoint ptr %11 to i64 %14 = ptrtoint ptr %12 to i64 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = call ptr @substring(ptr noundef %17, i32 noundef 0, i32 noundef %18) store ptr %19, ptr %5, align 8 br label %24 20: ; preds = %1 %21 = call ptr @malloc(i32 noundef 2) store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 store i8 46, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 store i8 10, ptr %23, align 1 br label %24 24: ; preds = %20, %10 %25 = load ptr, ptr %5, align 8 ret ptr %25 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @substring(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0gaa3142.c' source_filename = "/tmp/tmp0gaa3142.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"1size too small, lower limit is %ld\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"1size too big, upper limit is %ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @size_screen(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 %7 = 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 br label %8 8: ; preds = %33, %3 %9 = load ptr, ptr %4, align 8 %10 = call i64 @num_input(ptr noundef %9) store i64 %10, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i64, ptr %5, align 8 %16 = call i32 @logprintf(ptr noundef @.str, i64 noundef %15) br label %17 17: ; preds = %14, %8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp sgt i64 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i64, ptr %6, align 8 %23 = call i32 @logprintf(ptr noundef @.str.1, i64 noundef %22) br label %24 24: ; preds = %21, %17 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = load i64, ptr %5, align 8 %28 = icmp slt i64 %26, %27 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %6, align 8 %32 = icmp sgt i64 %30, %31 br label %33 33: ; preds = %29, %25 %34 = phi i1 [ true, %25 ], [ %32, %29 ] br i1 %34, label %8, label %35, !llvm.loop !6 35: ; preds = %33 %36 = load i64, ptr %7, align 8 ret i64 %36 } declare i64 @num_input(ptr noundef) #1 declare i32 @logprintf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gaa3142.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"1size too small, lower limit is %ld\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"1size too big, upper limit is %ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @size_screen(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 %7 = 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 br label %8 8: ; preds = %33, %3 %9 = load ptr, ptr %4, align 8 %10 = call i64 @num_input(ptr noundef %9) store i64 %10, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i64, ptr %5, align 8 %16 = call i32 @logprintf(ptr noundef @.str, i64 noundef %15) br label %17 17: ; preds = %14, %8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp sgt i64 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i64, ptr %6, align 8 %23 = call i32 @logprintf(ptr noundef @.str.1, i64 noundef %22) br label %24 24: ; preds = %21, %17 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = load i64, ptr %5, align 8 %28 = icmp slt i64 %26, %27 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %6, align 8 %32 = icmp sgt i64 %30, %31 br label %33 33: ; preds = %29, %25 %34 = phi i1 [ true, %25 ], [ %32, %29 ] br i1 %34, label %8, label %35, !llvm.loop !6 35: ; preds = %33 %36 = load i64, ptr %7, align 8 ret i64 %36 } declare i64 @num_input(ptr noundef) #1 declare i32 @logprintf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpugs06b6p.c' source_filename = "/tmp/tmpugs06b6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"cd ~/.mozilla/ && ls\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"plugins\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PLUGINS() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [1000 x i8], align 16 store ptr null, ptr %2, align 8 %4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, ptr noundef %6) br label %8 8: ; preds = %18, %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @feof(ptr noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br i1 %12, label %13, label %22 13: ; preds = %8 %14 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.2) %16 = icmp ne ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %1, align 4 br label %25 18: ; preds = %13 %19 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %20 = load ptr, ptr %2, align 8 %21 = call i32 @fgets(ptr noundef %19, i32 noundef 1000, ptr noundef %20) br label %8, !llvm.loop !6 22: ; preds = %8 %23 = load ptr, ptr %2, align 8 %24 = call i32 @pclose(ptr noundef %23) store i32 0, ptr %1, align 4 br label %25 25: ; preds = %22, %17 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpugs06b6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"cd ~/.mozilla/ && ls\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"plugins\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PLUGINS() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [1000 x i8], align 16 store ptr null, ptr %2, align 8 %4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @feof(ptr noundef %8) %10 = icmp ne i32 %9, 0 %11 = xor i1 %10, true br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 %13 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %14 = call ptr @strstr(ptr noundef %13, ptr noundef @.str.2) %15 = icmp ne ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %12 store i32 1, ptr %1, align 4 br label %28 17: ; preds = %12 %18 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %19 = load ptr, ptr %2, align 8 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call i32 @feof(ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %0 %26 = load ptr, ptr %2, align 8 %27 = call i32 @pclose(ptr noundef %26) store i32 0, ptr %1, align 4 br label %28 28: ; preds = %25, %16 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpelev0kp8.c' source_filename = "/tmp/tmpelev0kp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Incorrect command\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PrintUserError(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 @PrintError(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @PrintError(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/tmpelev0kp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Incorrect command\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PrintUserError(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 @PrintError(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @PrintError(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/tmpcz_l99ak.c' source_filename = "/tmp/tmpcz_l99ak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"stop.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"ENDING\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"itEnded.txt\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"The Function Has Ended\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @changeSpeed(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %8 8: ; preds = %15, %3 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = call signext i8 @fgetc(ptr noundef %10) %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 115 br i1 %13, label %14, label %15 14: ; preds = %8 br label %18 15: ; preds = %8 %16 = load ptr, ptr %7, align 8 %17 = call i32 @fclose(ptr noundef %16) br label %8 18: ; preds = %14 %19 = call i32 @printf(ptr noundef @.str.2) %20 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %20, ptr %7, align 8 %21 = load ptr, ptr %7, align 8 %22 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %21) %23 = load ptr, ptr %7, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = call i32 @pthread_exit(i32 noundef 0) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @pthread_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcz_l99ak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"stop.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"ENDING\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"itEnded.txt\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"The Function Has Ended\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @changeSpeed(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = call signext i8 @fgetc(ptr noundef %9) %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 115 br i1 %12, label %13, label %.lr.ph .lr.ph: ; preds = %3 br label %14 ._crit_edge: ; preds = %14 br label %13 13: ; preds = %._crit_edge, %3 br label %22 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %7, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = call signext i8 @fgetc(ptr noundef %18) %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 115 br i1 %21, label %._crit_edge, label %14 22: ; preds = %13 %23 = call i32 @printf(ptr noundef @.str.2) %24 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %25) %27 = load ptr, ptr %7, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = call i32 @pthread_exit(i32 noundef 0) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @pthread_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdg6e9ck5.c' source_filename = "/tmp/tmpdg6e9ck5.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"Please provide some arguments and we'll shuffle them\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @__const.main.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 4, i32 6, i32 8, i32 10], align 16 @.str.2 = private unnamed_addr constant [43 x i8] c"The array should sum to 30 but sums to %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Comparing %d to %d resulted in %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 [5 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @shuffle(i32 noundef %18, ptr noundef %19) store i32 0, ptr %6, align 4 br label %21 21: ; preds = %32, %17 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %21, !llvm.loop !6 35: ; preds = %21 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arr, i64 20, i1 false) %36 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %37 = call i32 @sum(i32 noundef 5, ptr noundef %36) store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = icmp ne i32 %38, 30 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load i32, ptr %8, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41) br label %43 43: ; preds = %40, %35 store i32 3, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %44 44: ; preds = %52, %43 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %45, 6 br i1 %46, label %47, label %55 47: ; preds = %44 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %10, align 4 %50 = call i32 @compareints(ptr noundef %9, ptr noundef %10) %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48, i32 noundef %49, i32 noundef %50) br label %52 52: ; preds = %47 %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 br label %44, !llvm.loop !8 55: ; preds = %44 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shuffle(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @sum(i32 noundef, ptr noundef) #1 declare i32 @compareints(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdg6e9ck5.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"Please provide some arguments and we'll shuffle them\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @__const.main.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 4, i32 6, i32 8, i32 10], align 16 @.str.2 = private unnamed_addr constant [43 x i8] c"The array should sum to 30 but sums to %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Comparing %d to %d resulted in %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 [5 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @shuffle(i32 noundef %18, ptr noundef %19) store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %37 .lr.ph: ; preds = %17 br label %24 24: ; preds = %.lr.ph, %31 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %17 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arr, i64 20, i1 false) %38 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %39 = call i32 @sum(i32 noundef 5, ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp ne i32 %40, 30 br i1 %41, label %42, label %45 42: ; preds = %37 %43 = load i32, ptr %8, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) br label %45 45: ; preds = %42, %37 store i32 3, ptr %9, align 4 store i32 1, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %46, 6 br i1 %47, label %.lr.ph2, label %58 .lr.ph2: ; preds = %45 br label %48 48: ; preds = %.lr.ph2, %53 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %10, align 4 %51 = call i32 @compareints(ptr noundef %9, ptr noundef %10) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49, i32 noundef %50, i32 noundef %51) br label %53 53: ; preds = %48 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %56, 6 br i1 %57, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %58 58: ; preds = %._crit_edge3, %45 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shuffle(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @sum(i32 noundef, ptr noundef) #1 declare i32 @compareints(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpma7q80sd.c' source_filename = "/tmp/tmpma7q80sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranged_random_mult_lazy(i32 noundef %0) #0 { %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 store i32 %0, ptr %3, align 4 %9 = call i32 (...) @pcg32_random() store i32 %9, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ugt i32 %10, -2147483648 br i1 %11, label %12, label %21 12: ; preds = %1 br label %13 13: ; preds = %17, %12 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 (...) @pcg32_random() store i32 %18, ptr %4, align 4 br label %13, !llvm.loop !6 19: ; preds = %13 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %2, align 4 br label %57 21: ; preds = %1 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 %25 = xor i32 %24, -1 %26 = and i32 %22, %25 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = mul nsw i32 %27, %28 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %3, align 4 %34 = sub nsw i32 %32, %33 %35 = sub nsw i32 %34, 1 %36 = icmp sgt i32 %31, %35 br i1 %36, label %37, label %54 37: ; preds = %21 %38 = load i32, ptr %3, align 4 %39 = udiv i32 -1, %38 %40 = load i32, ptr %3, align 4 %41 = mul i32 %39, %40 %42 = sub i32 %41, 1 store i32 %42, ptr %7, align 4 br label %43 43: ; preds = %47, %37 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp sgt i32 %44, %45 br i1 %46, label %47, label %53 47: ; preds = %43 %48 = call i32 (...) @pcg32_random() store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %3, align 4 %51 = mul nsw i32 %49, %50 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %5, align 4 store i32 %52, ptr %6, align 4 br label %43, !llvm.loop !8 53: ; preds = %43 br label %54 54: ; preds = %53, %21 %55 = load i32, ptr %5, align 4 %56 = ashr i32 %55, 32 store i32 %56, ptr %2, align 4 br label %57 57: ; preds = %54, %19 %58 = load i32, ptr %2, align 4 ret i32 %58 } declare i32 @pcg32_random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpma7q80sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranged_random_mult_lazy(i32 noundef %0) #0 { %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 store i32 %0, ptr %3, align 4 %9 = call i32 (...) @pcg32_random() store i32 %9, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ugt i32 %10, -2147483648 br i1 %11, label %12, label %23 12: ; preds = %1 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sge i32 %13, %14 br i1 %15, label %.lr.ph2, label %21 .lr.ph2: ; preds = %12 br label %16 16: ; preds = %.lr.ph2, %16 %17 = call i32 (...) @pcg32_random() store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sge i32 %18, %19 br i1 %20, label %16, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %16 br label %21 21: ; preds = %._crit_edge3, %12 %22 = load i32, ptr %4, align 4 store i32 %22, ptr %2, align 4 br label %61 23: ; preds = %1 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = xor i32 %26, -1 %28 = and i32 %24, %27 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = mul nsw i32 %29, %30 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %3, align 4 %36 = sub nsw i32 %34, %35 %37 = sub nsw i32 %36, 1 %38 = icmp sgt i32 %33, %37 br i1 %38, label %39, label %58 39: ; preds = %23 %40 = load i32, ptr %3, align 4 %41 = udiv i32 -1, %40 %42 = load i32, ptr %3, align 4 %43 = mul i32 %41, %42 %44 = sub i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp sgt i32 %45, %46 br i1 %47, label %.lr.ph, label %57 .lr.ph: ; preds = %39 br label %48 48: ; preds = %.lr.ph, %48 %49 = call i32 (...) @pcg32_random() store i32 %49, ptr %4, align 4 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %3, align 4 %52 = mul nsw i32 %50, %51 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %5, align 4 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp sgt i32 %54, %55 br i1 %56, label %48, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %48 br label %57 57: ; preds = %._crit_edge, %39 br label %58 58: ; preds = %57, %23 %59 = load i32, ptr %5, align 4 %60 = ashr i32 %59, 32 store i32 %60, ptr %2, align 4 br label %61 61: ; preds = %58, %21 %62 = load i32, ptr %2, align 4 ret i32 %62 } declare i32 @pcg32_random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9bgnqaez.c' source_filename = "/tmp/tmp9bgnqaez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @f(ptr noundef %5, i32 noundef %6) ret void } declare i32 @f(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/tmp9bgnqaez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @f(ptr noundef %5, i32 noundef %6) ret void } declare i32 @f(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/tmp5h4_esna.c' source_filename = "/tmp/tmp5h4_esna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_unpack_bin(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @minipack_is_bin8(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @minipack_unpack_bin8(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %3, align 4 br label %31 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @minipack_is_bin16(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @minipack_unpack_bin16(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %3, align 4 br label %31 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = call i64 @minipack_is_bin32(ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @minipack_unpack_bin32(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 store i64 0, ptr %30, align 8 store i32 0, ptr %3, align 4 br label %31 31: ; preds = %29, %25, %17, %9 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i64 @minipack_is_bin8(ptr noundef) #1 declare i32 @minipack_unpack_bin8(ptr noundef, ptr noundef) #1 declare i64 @minipack_is_bin16(ptr noundef) #1 declare i32 @minipack_unpack_bin16(ptr noundef, ptr noundef) #1 declare i64 @minipack_is_bin32(ptr noundef) #1 declare i32 @minipack_unpack_bin32(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/tmp5h4_esna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_unpack_bin(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @minipack_is_bin8(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @minipack_unpack_bin8(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %3, align 4 br label %31 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @minipack_is_bin16(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @minipack_unpack_bin16(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %3, align 4 br label %31 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = call i64 @minipack_is_bin32(ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @minipack_unpack_bin32(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 store i64 0, ptr %30, align 8 store i32 0, ptr %3, align 4 br label %31 31: ; preds = %29, %25, %17, %9 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i64 @minipack_is_bin8(ptr noundef) #1 declare i32 @minipack_unpack_bin8(ptr noundef, ptr noundef) #1 declare i64 @minipack_is_bin16(ptr noundef) #1 declare i32 @minipack_unpack_bin16(ptr noundef, ptr noundef) #1 declare i64 @minipack_is_bin32(ptr noundef) #1 declare i32 @minipack_unpack_bin32(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/tmp6nkkztv4.c' source_filename = "/tmp/tmp6nkkztv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ignnbn.ignnbn = internal global i64 0, align 8 @ignnbn.y = internal global float 0.000000e+00, align 4 @ignnbn.a = internal global float 0.000000e+00, align 4 @ignnbn.r = internal global float 0.000000e+00, align 4 @.str = private unnamed_addr constant [17 x i8] c"N <= 0 in IGNNBN\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"P <= 0.0 in IGNNBN\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"P >= 1.0 in IGNNBN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ignnbn(i64 noundef %0, float noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca float, align 4 store i64 %0, ptr %3, align 8 store float %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = icmp sle i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @ftnstop(ptr noundef @.str) br label %9 9: ; preds = %7, %2 %10 = load float, ptr %4, align 4 %11 = fcmp ole float %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @ftnstop(ptr noundef @.str.1) br label %14 14: ; preds = %12, %9 %15 = load float, ptr %4, align 4 %16 = fcmp oge float %15, 1.000000e+00 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @ftnstop(ptr noundef @.str.2) br label %19 19: ; preds = %17, %14 %20 = load i64, ptr %3, align 8 %21 = sitofp i64 %20 to float store float %21, ptr @ignnbn.r, align 4 %22 = load float, ptr %4, align 4 %23 = load float, ptr %4, align 4 %24 = fsub float 1.000000e+00, %23 %25 = fdiv float %22, %24 store float %25, ptr @ignnbn.a, align 4 %26 = load float, ptr @ignnbn.r, align 4 %27 = call float @sgamma(float noundef %26) %28 = load float, ptr @ignnbn.a, align 4 %29 = fdiv float %27, %28 store float %29, ptr @ignnbn.y, align 4 %30 = load float, ptr @ignnbn.y, align 4 %31 = call i64 @ignpoi(float noundef %30) store i64 %31, ptr @ignnbn.ignnbn, align 8 %32 = load i64, ptr @ignnbn.ignnbn, align 8 ret i64 %32 } declare i32 @ftnstop(ptr noundef) #1 declare float @sgamma(float noundef) #1 declare i64 @ignpoi(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nkkztv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ignnbn.ignnbn = internal global i64 0, align 8 @ignnbn.y = internal global float 0.000000e+00, align 4 @ignnbn.a = internal global float 0.000000e+00, align 4 @ignnbn.r = internal global float 0.000000e+00, align 4 @.str = private unnamed_addr constant [17 x i8] c"N <= 0 in IGNNBN\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"P <= 0.0 in IGNNBN\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"P >= 1.0 in IGNNBN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ignnbn(i64 noundef %0, float noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca float, align 4 store i64 %0, ptr %3, align 8 store float %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = icmp sle i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @ftnstop(ptr noundef @.str) br label %9 9: ; preds = %7, %2 %10 = load float, ptr %4, align 4 %11 = fcmp ole float %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @ftnstop(ptr noundef @.str.1) br label %14 14: ; preds = %12, %9 %15 = load float, ptr %4, align 4 %16 = fcmp oge float %15, 1.000000e+00 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @ftnstop(ptr noundef @.str.2) br label %19 19: ; preds = %17, %14 %20 = load i64, ptr %3, align 8 %21 = sitofp i64 %20 to float store float %21, ptr @ignnbn.r, align 4 %22 = load float, ptr %4, align 4 %23 = load float, ptr %4, align 4 %24 = fsub float 1.000000e+00, %23 %25 = fdiv float %22, %24 store float %25, ptr @ignnbn.a, align 4 %26 = load float, ptr @ignnbn.r, align 4 %27 = call float @sgamma(float noundef %26) %28 = load float, ptr @ignnbn.a, align 4 %29 = fdiv float %27, %28 store float %29, ptr @ignnbn.y, align 4 %30 = load float, ptr @ignnbn.y, align 4 %31 = call i64 @ignpoi(float noundef %30) store i64 %31, ptr @ignnbn.ignnbn, align 8 %32 = load i64, ptr @ignnbn.ignnbn, align 8 ret i64 %32 } declare i32 @ftnstop(ptr noundef) #1 declare float @sgamma(float noundef) #1 declare i64 @ignpoi(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp30jy1mgr.c' source_filename = "/tmp/tmp30jy1mgr.c" target datalayout = "e-m:e-p270: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/tmp30jy1mgr.c" target datalayout = "e-m:e-p270: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/tmpqpy8iupd.c' source_filename = "/tmp/tmpqpy8iupd.c" target datalayout = "e-m:e-p270: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/tmpqpy8iupd.c" target datalayout = "e-m:e-p270: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/tmpqzh8a8r9.c' source_filename = "/tmp/tmpqzh8a8r9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_init_user() #0 { 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/tmpqzh8a8r9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_init_user() #0 { 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/tmpn8xkxiv7.c' source_filename = "/tmp/tmpn8xkxiv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fd_uart=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"AT+CMGS=\22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"./login_num_log\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%s:%d\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d\1A\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"===over===\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gprs_login_num_send(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %10 = call i32 (...) @Uart_Init() store i32 %10, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @GPRS_init(i32 noundef %13) %15 = call i32 @usleep(i32 noundef 200000) %16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %3, align 8 %18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %4, align 4 %20 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %21 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) %23 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef %22) %24 = call i32 @usleep(i32 noundef 100000) %25 = call i64 @time(i32 noundef 0) %26 = trunc i64 %25 to i32 %27 = call i32 @srand(i32 noundef %26) %28 = call i32 (...) @rand() %29 = srem i32 %28, 1000000 store i32 %29, ptr %8, align 4 %30 = load i32, ptr @O_CREAT, align 4 %31 = load i32, ptr @O_RDWR, align 4 %32 = or i32 %30, %31 %33 = call i32 @open(ptr noundef @.str.2, i32 noundef %32) store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %1 %37 = call i32 @perror(ptr noundef @.str.3) store i32 0, ptr %2, align 4 br label %59 38: ; preds = %1 %39 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %8, align 4 %42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %40, i32 noundef %41) %43 = load i32, ptr %9, align 4 %44 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %45 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %46 = call i32 @strlen(ptr noundef %45) %47 = call i32 @write(i32 noundef %43, ptr noundef %44, i32 noundef %46) %48 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %49 = load i32, ptr %8, align 4 %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.5, i32 noundef %49) %51 = load i32, ptr %4, align 4 %52 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %53 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %54 = call i32 @strlen(ptr noundef %53) %55 = call i32 @write(i32 noundef %51, ptr noundef %52, i32 noundef %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %57 = load i32, ptr %4, align 4 %58 = call i32 @close(i32 noundef %57) store i32 0, ptr %2, align 4 br label %59 59: ; preds = %38, %36 %60 = load i32, ptr %2, align 4 ret i32 %60 } declare i32 @Uart_Init(...) #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 i32 @printf(ptr noundef, ...) #1 declare i32 @GPRS_init(i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn8xkxiv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fd_uart=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"AT+CMGS=\22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"./login_num_log\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%s:%d\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d\1A\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"===over===\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gprs_login_num_send(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %10 = call i32 (...) @Uart_Init() store i32 %10, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @GPRS_init(i32 noundef %13) %15 = call i32 @usleep(i32 noundef 200000) %16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %3, align 8 %18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %4, align 4 %20 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %21 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) %23 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef %22) %24 = call i32 @usleep(i32 noundef 100000) %25 = call i64 @time(i32 noundef 0) %26 = trunc i64 %25 to i32 %27 = call i32 @srand(i32 noundef %26) %28 = call i32 (...) @rand() %29 = srem i32 %28, 1000000 store i32 %29, ptr %8, align 4 %30 = load i32, ptr @O_CREAT, align 4 %31 = load i32, ptr @O_RDWR, align 4 %32 = or i32 %30, %31 %33 = call i32 @open(ptr noundef @.str.2, i32 noundef %32) store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %1 %37 = call i32 @perror(ptr noundef @.str.3) store i32 0, ptr %2, align 4 br label %59 38: ; preds = %1 %39 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %8, align 4 %42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %40, i32 noundef %41) %43 = load i32, ptr %9, align 4 %44 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %45 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %46 = call i32 @strlen(ptr noundef %45) %47 = call i32 @write(i32 noundef %43, ptr noundef %44, i32 noundef %46) %48 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %49 = load i32, ptr %8, align 4 %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.5, i32 noundef %49) %51 = load i32, ptr %4, align 4 %52 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %53 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %54 = call i32 @strlen(ptr noundef %53) %55 = call i32 @write(i32 noundef %51, ptr noundef %52, i32 noundef %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %57 = load i32, ptr %4, align 4 %58 = call i32 @close(i32 noundef %57) store i32 0, ptr %2, align 4 br label %59 59: ; preds = %38, %36 %60 = load i32, ptr %2, align 4 ret i32 %60 } declare i32 @Uart_Init(...) #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 i32 @printf(ptr noundef, ...) #1 declare i32 @GPRS_init(i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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"}
; ModuleID = '/tmp/tmpamspur5c.c' source_filename = "/tmp/tmpamspur5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Enter 0 for Y to Delta or 1 for Delta to Y!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Enter value of R1, R2 and R3:\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Enter value of Ra, Rb and Rc:\0A\00", align 1 @.str.5 = private unnamed_addr constant [69 x i8] c"The equivalent of a Y network of resistors R1 = %d, R2 = %d, R3 = %d\00", align 1 @.str.6 = private unnamed_addr constant [59 x i8] c" is a delta network of resistors Ra = %d, Rb = %d, Rc = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %55 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3, ptr noundef %4, ptr noundef %5) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 %22 = add nsw i32 %18, %21 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = mul nsw i32 %23, %24 %26 = add nsw i32 %22, %25 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %26, %27 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %29, %30 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = mul nsw i32 %32, %33 %35 = add nsw i32 %31, %34 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %3, align 4 %38 = mul nsw i32 %36, %37 %39 = add nsw i32 %35, %38 %40 = load i32, ptr %4, align 4 %41 = sdiv i32 %39, %40 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = mul nsw i32 %42, %43 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = mul nsw i32 %45, %46 %48 = add nsw i32 %44, %47 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %3, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 %53 = load i32, ptr %5, align 4 %54 = sdiv i32 %52, %53 store i32 %54, ptr %8, align 4 br label %89 55: ; preds = %0 %56 = load i32, ptr %2, align 4 %57 = icmp eq i32 %56, 1 br i1 %57, label %58, label %88 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %60 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6, ptr noundef %7, ptr noundef %8) %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %64, %65 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %66, %67 %69 = sdiv i32 %63, %68 store i32 %69, ptr %3, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %8, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %73, %74 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %75, %76 %78 = sdiv i32 %72, %77 store i32 %78, ptr %4, align 4 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %7, align 4 %81 = mul nsw i32 %79, %80 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %82, %83 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %84, %85 %87 = sdiv i32 %81, %86 store i32 %87, ptr %5, align 4 br label %88 88: ; preds = %58, %55 br label %89 89: ; preds = %88, %13 %90 = load i32, ptr %3, align 4 %91 = load i32, ptr %4, align 4 %92 = load i32, ptr %5, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %90, i32 noundef %91, i32 noundef %92) %94 = load i32, ptr %6, align 4 %95 = load i32, ptr %7, align 4 %96 = load i32, ptr %8, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %94, i32 noundef %95, i32 noundef %96) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpamspur5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Enter 0 for Y to Delta or 1 for Delta to Y!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Enter value of R1, R2 and R3:\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Enter value of Ra, Rb and Rc:\0A\00", align 1 @.str.5 = private unnamed_addr constant [69 x i8] c"The equivalent of a Y network of resistors R1 = %d, R2 = %d, R3 = %d\00", align 1 @.str.6 = private unnamed_addr constant [59 x i8] c" is a delta network of resistors Ra = %d, Rb = %d, Rc = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %55 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3, ptr noundef %4, ptr noundef %5) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 %22 = add nsw i32 %18, %21 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = mul nsw i32 %23, %24 %26 = add nsw i32 %22, %25 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %26, %27 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %29, %30 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = mul nsw i32 %32, %33 %35 = add nsw i32 %31, %34 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %3, align 4 %38 = mul nsw i32 %36, %37 %39 = add nsw i32 %35, %38 %40 = load i32, ptr %4, align 4 %41 = sdiv i32 %39, %40 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = mul nsw i32 %42, %43 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = mul nsw i32 %45, %46 %48 = add nsw i32 %44, %47 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %3, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 %53 = load i32, ptr %5, align 4 %54 = sdiv i32 %52, %53 store i32 %54, ptr %8, align 4 br label %89 55: ; preds = %0 %56 = load i32, ptr %2, align 4 %57 = icmp eq i32 %56, 1 br i1 %57, label %58, label %88 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %60 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6, ptr noundef %7, ptr noundef %8) %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %64, %65 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %66, %67 %69 = sdiv i32 %63, %68 store i32 %69, ptr %3, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %8, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %73, %74 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %75, %76 %78 = sdiv i32 %72, %77 store i32 %78, ptr %4, align 4 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %7, align 4 %81 = mul nsw i32 %79, %80 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %82, %83 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %84, %85 %87 = sdiv i32 %81, %86 store i32 %87, ptr %5, align 4 br label %88 88: ; preds = %58, %55 br label %89 89: ; preds = %88, %13 %90 = load i32, ptr %3, align 4 %91 = load i32, ptr %4, align 4 %92 = load i32, ptr %5, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %90, i32 noundef %91, i32 noundef %92) %94 = load i32, ptr %6, align 4 %95 = load i32, ptr %7, align 4 %96 = load i32, ptr %8, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %94, i32 noundef %95, i32 noundef %96) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvspde2vo.c' source_filename = "/tmp/tmpvspde2vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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/stdout\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_pairs(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 ptr, ptr %4, align 8 %7 = call i32 @fprintf_pairs(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @fprintf_pairs(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvspde2vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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/stdout\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_pairs(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 ptr, ptr %4, align 8 %7 = call i32 @fprintf_pairs(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @fprintf_pairs(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgkluni9c.c' source_filename = "/tmp/tmpgkluni9c.c" target datalayout = "e-m:e-p270: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/tmpgkluni9c.c" target datalayout = "e-m:e-p270: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/tmpmg4edsen.c' source_filename = "/tmp/tmpmg4edsen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [75 x i8] c"Grid (C) 2004 Panayotis Katsaloulis http://www.panayotis.com under GNU GPL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getInfo() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = call i64 @strlen(ptr noundef @.str) store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = add i64 %4, 1 %6 = call ptr @malloc(i64 noundef %5) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = load i64, ptr %2, align 8 %9 = add i64 %8, 1 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i64 noundef %9) %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(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/tmpmg4edsen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [75 x i8] c"Grid (C) 2004 Panayotis Katsaloulis http://www.panayotis.com under GNU GPL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getInfo() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = call i64 @strlen(ptr noundef @.str) store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = add i64 %4, 1 %6 = call ptr @malloc(i64 noundef %5) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = load i64, ptr %2, align 8 %9 = add i64 %8, 1 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i64 noundef %9) %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(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/tmp0ytl4kow.c' source_filename = "/tmp/tmp0ytl4kow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"say_hello_thread_routine_cleanup: Cleanup (index=%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello_thread_routine_cleanup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ytl4kow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"say_hello_thread_routine_cleanup: Cleanup (index=%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello_thread_routine_cleanup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ghs_cl9.c' source_filename = "/tmp/tmp7ghs_cl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basetodec(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %17, %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %5, align 4 %12 = sext i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %8 br label %8, !llvm.loop !6 18: ; preds = %8 %19 = load i32, ptr %5, align 4 %20 = sub nsw i32 %19, 2 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %40, %18 %23 = load i32, ptr %5, align 4 %24 = icmp sge i32 %23, 0 br i1 %24, label %25, label %43 25: ; preds = %22 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i32 @ctoi(i8 noundef signext %32) %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = call i32 @power(i32 noundef %34, i32 noundef %35) %37 = mul nsw i32 %33, %36 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %6, align 4 br label %40 40: ; preds = %25 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %5, align 4 br label %22, !llvm.loop !8 43: ; preds = %22 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @ctoi(i8 noundef signext) #1 declare i32 @power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ghs_cl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basetodec(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %8, %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %5, align 4 %12 = sext i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %8, label %17, !llvm.loop !6 17: ; preds = %8 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %18, 2 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %.lr.ph, label %43 .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %38 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i32 @ctoi(i8 noundef signext %30) %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = call i32 @power(i32 noundef %32, i32 noundef %33) %35 = mul nsw i32 %31, %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %23 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sge i32 %41, 0 br i1 %42, label %23, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %17 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @ctoi(i8 noundef signext) #1 declare i32 @power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1_ejuip5.c' source_filename = "/tmp/tmp1_ejuip5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"related_cpus\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cpufreq_get_related_cpus(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @sysfs_get_cpu_list(i32 noundef %3, ptr noundef @.str) ret ptr %4 } declare ptr @sysfs_get_cpu_list(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/tmp1_ejuip5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"related_cpus\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cpufreq_get_related_cpus(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @sysfs_get_cpu_list(i32 noundef %3, ptr noundef @.str) ret ptr %4 } declare ptr @sysfs_get_cpu_list(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/tmpzn35w0ls.c' source_filename = "/tmp/tmpzn35w0ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @AtoLL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i64, ptr %3, align 8 ret i64 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzn35w0ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @AtoLL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i64, ptr %3, align 8 ret i64 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgjv1tjvw.c' source_filename = "/tmp/tmpgjv1tjvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NI_MAXHOST = dso_local global i32 0, align 4 @NI_MAXSERV = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"(%s, %s)\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"(?UNKNOWN?)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inetAddressStr(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %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 i32 %3, ptr %8, align 4 %12 = load i32, ptr @NI_MAXHOST, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %9, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %10, align 8 %16 = load i32, ptr @NI_MAXSERV, align 4 %17 = zext i32 %16 to i64 %18 = alloca i8, i64 %17, align 16 store i64 %17, ptr %11, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr @NI_MAXHOST, align 4 %22 = load i32, ptr @NI_MAXSERV, align 4 %23 = load i32, ptr @NI_NUMERICSERV, align 4 %24 = call i64 @getnameinfo(ptr noundef %19, i32 noundef %20, ptr noundef %15, i32 noundef %21, ptr noundef %18, i32 noundef %22, i32 noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %4 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef %28, ptr noundef @.str, ptr noundef %15, ptr noundef %18) br label %34 30: ; preds = %4 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %31, i32 noundef %32, ptr noundef @.str.1) br label %34 34: ; preds = %30, %26 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %41) ret ptr %40 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgjv1tjvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NI_MAXHOST = dso_local global i32 0, align 4 @NI_MAXSERV = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"(%s, %s)\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"(?UNKNOWN?)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inetAddressStr(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %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 i32 %3, ptr %8, align 4 %12 = load i32, ptr @NI_MAXHOST, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %9, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %10, align 8 %16 = load i32, ptr @NI_MAXSERV, align 4 %17 = zext i32 %16 to i64 %18 = alloca i8, i64 %17, align 16 store i64 %17, ptr %11, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr @NI_MAXHOST, align 4 %22 = load i32, ptr @NI_MAXSERV, align 4 %23 = load i32, ptr @NI_NUMERICSERV, align 4 %24 = call i64 @getnameinfo(ptr noundef %19, i32 noundef %20, ptr noundef %15, i32 noundef %21, ptr noundef %18, i32 noundef %22, i32 noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %4 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef %28, ptr noundef @.str, ptr noundef %15, ptr noundef %18) br label %34 30: ; preds = %4 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %31, i32 noundef %32, ptr noundef @.str.1) br label %34 34: ; preds = %30, %26 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %41) ret ptr %40 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc3xcas6v.c' source_filename = "/tmp/tmpc3xcas6v.c" target datalayout = "e-m:e-p270: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/tmpc3xcas6v.c" target datalayout = "e-m:e-p270: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/tmpylwd4z38.c' source_filename = "/tmp/tmpylwd4z38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show2d(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 br label %9 9: ; preds = %33, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %36 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %28, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [10 x i32], ptr %19, i64 %21 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %22, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %18 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %33 33: ; preds = %31 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %9, !llvm.loop !8 36: ; preds = %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpylwd4z38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show2d(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 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %40 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %34 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %26 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i32], ptr %17, i64 %19 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i32], ptr %20, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24) br label %26 26: ; preds = %16 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %12 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %34 34: ; preds = %32 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %40 40: ; preds = %._crit_edge3, %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpny5jkrj1.c' source_filename = "/tmp/tmpny5jkrj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memdup(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = call ptr @malloc(i64 noundef %7) #3 %9 = load ptr, ptr %4, align 8 store ptr %8, ptr %9, align 8 %10 = icmp ne ptr %8, null br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) br label %17 17: ; preds = %11, %3 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %18, align 8 ret ptr %19 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpny5jkrj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memdup(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = call ptr @malloc(i64 noundef %7) #3 %9 = load ptr, ptr %4, align 8 store ptr %8, ptr %9, align 8 %10 = icmp ne ptr %8, null br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) br label %17 17: ; preds = %11, %3 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %18, align 8 ret ptr %19 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnxj7i7_b.c' source_filename = "/tmp/tmpnxj7i7_b.c" target datalayout = "e-m:e-p270: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/tmpnxj7i7_b.c" target datalayout = "e-m:e-p270: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/tmpzdze61he.c' source_filename = "/tmp/tmpzdze61he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c" Size: %d, FromDS: %d, ToDS: %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" (WEP)\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c" (WPA)\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0A --- CUT ---\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"\0A 0x%04x: \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 2 %13 = ashr i32 %12, 1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %13, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 12 %25 = icmp eq i32 %24, 8 br i1 %25, label %26, label %45 26: ; preds = %2 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = and i32 %30, 64 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %45 33: ; preds = %26 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 27 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = and i32 %37, 32 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %44 42: ; preds = %33 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %44 44: ; preds = %42, %40 br label %45 45: ; preds = %44, %26, %2 store i32 0, ptr %5, align 4 br label %46 46: ; preds = %206, %45 %47 = load i32, ptr %5, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %209 50: ; preds = %46 %51 = load i32, ptr %5, align 4 %52 = and i32 %51, 15 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %62 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = icmp eq i32 %55, 224 br i1 %56, label %57, label %59 57: ; preds = %54 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %209 59: ; preds = %54 %60 = load i32, ptr %5, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %60) br label %62 62: ; preds = %59, %50 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68) %70 = load i32, ptr %5, align 4 %71 = and i32 %70, 1 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %62 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %75 75: ; preds = %73, %62 %76 = load i32, ptr %5, align 4 %77 = load i32, ptr %4, align 4 %78 = sub nsw i32 %77, 1 %79 = icmp eq i32 %76, %78 br i1 %79, label %80, label %152 80: ; preds = %75 %81 = load i32, ptr %5, align 4 %82 = add nsw i32 %81, 1 %83 = and i32 %82, 15 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %152 85: ; preds = %80 %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, 1 %88 = and i32 %87, 15 store i32 %88, ptr %6, align 4 br label %89 89: ; preds = %100, %85 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %90, 16 br i1 %91, label %92, label %103 92: ; preds = %89 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %94 = load i32, ptr %6, align 4 %95 = and i32 %94, 1 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %92 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %99 99: ; preds = %97, %92 br label %100 100: ; preds = %99 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 br label %89, !llvm.loop !6 103: ; preds = %89 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 %107 = and i32 %106, 15 %108 = sub nsw i32 16, %107 store i32 %108, ptr %6, align 4 br label %109 109: ; preds = %148, %103 %110 = load i32, ptr %6, align 4 %111 = icmp slt i32 %110, 16 br i1 %111, label %112, label %151 112: ; preds = %109 %113 = load ptr, ptr %3, align 8 %114 = load i32, ptr %5, align 4 %115 = sub nsw i32 %114, 15 %116 = load i32, ptr %6, align 4 %117 = add nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %113, i64 %118 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = icmp slt i32 %121, 32 br i1 %122, label %134, label %123 123: ; preds = %112 %124 = load ptr, ptr %3, align 8 %125 = load i32, ptr %5, align 4 %126 = sub nsw i32 %125, 15 %127 = load i32, ptr %6, align 4 %128 = add nsw i32 %126, %127 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i8, ptr %124, i64 %129 %131 = load i8, ptr %130, align 1 %132 = zext i8 %131 to i32 %133 = icmp sgt i32 %132, 126 br i1 %133, label %134, label %135 134: ; preds = %123, %112 br label %145 135: ; preds = %123 %136 = load ptr, ptr %3, align 8 %137 = load i32, ptr %5, align 4 %138 = sub nsw i32 %137, 15 %139 = load i32, ptr %6, align 4 %140 = add nsw i32 %138, %139 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %136, i64 %141 %143 = load i8, ptr %142, align 1 %144 = zext i8 %143 to i32 br label %145 145: ; preds = %135, %134 %146 = phi i32 [ 46, %134 ], [ %144, %135 ] %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %146) br label %148 148: ; preds = %145 %149 = load i32, ptr %6, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %6, align 4 br label %109, !llvm.loop !8 151: ; preds = %109 br label %152 152: ; preds = %151, %80, %75 %153 = load i32, ptr %5, align 4 %154 = icmp sgt i32 %153, 0 br i1 %154, label %155, label %205 155: ; preds = %152 %156 = load i32, ptr %5, align 4 %157 = add nsw i32 %156, 1 %158 = and i32 %157, 15 %159 = icmp eq i32 %158, 0 br i1 %159, label %160, label %205 160: ; preds = %155 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %6, align 4 br label %162 162: ; preds = %201, %160 %163 = load i32, ptr %6, align 4 %164 = icmp slt i32 %163, 16 br i1 %164, label %165, label %204 165: ; preds = %162 %166 = load ptr, ptr %3, align 8 %167 = load i32, ptr %5, align 4 %168 = sub nsw i32 %167, 15 %169 = load i32, ptr %6, align 4 %170 = add nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %166, i64 %171 %173 = load i8, ptr %172, align 1 %174 = zext i8 %173 to i32 %175 = icmp slt i32 %174, 32 br i1 %175, label %187, label %176 176: ; preds = %165 %177 = load ptr, ptr %3, align 8 %178 = load i32, ptr %5, align 4 %179 = sub nsw i32 %178, 15 %180 = load i32, ptr %6, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %177, i64 %182 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = icmp sgt i32 %185, 127 br i1 %186, label %187, label %188 187: ; preds = %176, %165 br label %198 188: ; preds = %176 %189 = load ptr, ptr %3, align 8 %190 = load i32, ptr %5, align 4 %191 = sub nsw i32 %190, 15 %192 = load i32, ptr %6, align 4 %193 = add nsw i32 %191, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %189, i64 %194 %196 = load i8, ptr %195, align 1 %197 = zext i8 %196 to i32 br label %198 198: ; preds = %188, %187 %199 = phi i32 [ 46, %187 ], [ %197, %188 ] %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %199) br label %201 201: ; preds = %198 %202 = load i32, ptr %6, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %6, align 4 br label %162, !llvm.loop !9 204: ; preds = %162 br label %205 205: ; preds = %204, %155, %152 br label %206 206: ; preds = %205 %207 = load i32, ptr %5, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %5, align 4 br label %46, !llvm.loop !10 209: ; preds = %57, %46 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdze61he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c" Size: %d, FromDS: %d, ToDS: %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" (WEP)\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c" (WPA)\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0A --- CUT ---\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"\0A 0x%04x: \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 2 %13 = ashr i32 %12, 1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %13, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 12 %25 = icmp eq i32 %24, 8 br i1 %25, label %26, label %45 26: ; preds = %2 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = and i32 %30, 64 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %45 33: ; preds = %26 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 27 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = and i32 %37, 32 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %44 42: ; preds = %33 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %44 44: ; preds = %42, %40 br label %45 45: ; preds = %44, %26, %2 store i32 0, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %45 br label %49 49: ; preds = %.lr.ph8, %208 %50 = load i32, ptr %5, align 4 %51 = and i32 %50, 15 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %61 53: ; preds = %49 %54 = load i32, ptr %5, align 4 %55 = icmp eq i32 %54, 224 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %214 58: ; preds = %53 %59 = load i32, ptr %5, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59) br label %61 61: ; preds = %58, %49 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67) %69 = load i32, ptr %5, align 4 %70 = and i32 %69, 1 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %61 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %74 74: ; preds = %72, %61 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %4, align 4 %77 = sub nsw i32 %76, 1 %78 = icmp eq i32 %75, %77 br i1 %78, label %79, label %153 79: ; preds = %74 %80 = load i32, ptr %5, align 4 %81 = add nsw i32 %80, 1 %82 = and i32 %81, 15 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %153 84: ; preds = %79 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 %87 = and i32 %86, 15 store i32 %87, ptr %6, align 4 %88 = load i32, ptr %6, align 4 %89 = icmp slt i32 %88, 16 br i1 %89, label %.lr.ph, label %103 .lr.ph: ; preds = %84 br label %90 90: ; preds = %.lr.ph, %98 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %92 = load i32, ptr %6, align 4 %93 = and i32 %92, 1 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %90 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %97 97: ; preds = %95, %90 br label %98 98: ; preds = %97 %99 = load i32, ptr %6, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %6, align 4 %101 = load i32, ptr %6, align 4 %102 = icmp slt i32 %101, 16 br i1 %102, label %90, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %98 br label %103 103: ; preds = %._crit_edge, %84 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 %107 = and i32 %106, 15 %108 = sub nsw i32 16, %107 store i32 %108, ptr %6, align 4 %109 = load i32, ptr %6, align 4 %110 = icmp slt i32 %109, 16 br i1 %110, label %.lr.ph2, label %152 .lr.ph2: ; preds = %103 br label %111 111: ; preds = %.lr.ph2, %147 %112 = load ptr, ptr %3, align 8 %113 = load i32, ptr %5, align 4 %114 = sub nsw i32 %113, 15 %115 = load i32, ptr %6, align 4 %116 = add nsw i32 %114, %115 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %112, i64 %117 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = icmp slt i32 %120, 32 br i1 %121, label %133, label %122 122: ; preds = %111 %123 = load ptr, ptr %3, align 8 %124 = load i32, ptr %5, align 4 %125 = sub nsw i32 %124, 15 %126 = load i32, ptr %6, align 4 %127 = add nsw i32 %125, %126 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %123, i64 %128 %130 = load i8, ptr %129, align 1 %131 = zext i8 %130 to i32 %132 = icmp sgt i32 %131, 126 br i1 %132, label %133, label %134 133: ; preds = %122, %111 br label %144 134: ; preds = %122 %135 = load ptr, ptr %3, align 8 %136 = load i32, ptr %5, align 4 %137 = sub nsw i32 %136, 15 %138 = load i32, ptr %6, align 4 %139 = add nsw i32 %137, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %135, i64 %140 %142 = load i8, ptr %141, align 1 %143 = zext i8 %142 to i32 br label %144 144: ; preds = %134, %133 %145 = phi i32 [ 46, %133 ], [ %143, %134 ] %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %145) br label %147 147: ; preds = %144 %148 = load i32, ptr %6, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %6, align 4 %150 = load i32, ptr %6, align 4 %151 = icmp slt i32 %150, 16 br i1 %151, label %111, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %147 br label %152 152: ; preds = %._crit_edge3, %103 br label %153 153: ; preds = %152, %79, %74 %154 = load i32, ptr %5, align 4 %155 = icmp sgt i32 %154, 0 br i1 %155, label %156, label %207 156: ; preds = %153 %157 = load i32, ptr %5, align 4 %158 = add nsw i32 %157, 1 %159 = and i32 %158, 15 %160 = icmp eq i32 %159, 0 br i1 %160, label %161, label %207 161: ; preds = %156 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %6, align 4 %163 = load i32, ptr %6, align 4 %164 = icmp slt i32 %163, 16 br i1 %164, label %.lr.ph5, label %206 .lr.ph5: ; preds = %161 br label %165 165: ; preds = %.lr.ph5, %201 %166 = load ptr, ptr %3, align 8 %167 = load i32, ptr %5, align 4 %168 = sub nsw i32 %167, 15 %169 = load i32, ptr %6, align 4 %170 = add nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %166, i64 %171 %173 = load i8, ptr %172, align 1 %174 = zext i8 %173 to i32 %175 = icmp slt i32 %174, 32 br i1 %175, label %187, label %176 176: ; preds = %165 %177 = load ptr, ptr %3, align 8 %178 = load i32, ptr %5, align 4 %179 = sub nsw i32 %178, 15 %180 = load i32, ptr %6, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %177, i64 %182 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = icmp sgt i32 %185, 127 br i1 %186, label %187, label %188 187: ; preds = %176, %165 br label %198 188: ; preds = %176 %189 = load ptr, ptr %3, align 8 %190 = load i32, ptr %5, align 4 %191 = sub nsw i32 %190, 15 %192 = load i32, ptr %6, align 4 %193 = add nsw i32 %191, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %189, i64 %194 %196 = load i8, ptr %195, align 1 %197 = zext i8 %196 to i32 br label %198 198: ; preds = %188, %187 %199 = phi i32 [ 46, %187 ], [ %197, %188 ] %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %199) br label %201 201: ; preds = %198 %202 = load i32, ptr %6, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %6, align 4 %204 = load i32, ptr %6, align 4 %205 = icmp slt i32 %204, 16 br i1 %205, label %165, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %201 br label %206 206: ; preds = %._crit_edge6, %161 br label %207 207: ; preds = %206, %156, %153 br label %208 208: ; preds = %207 %209 = load i32, ptr %5, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %5, align 4 %211 = load i32, ptr %5, align 4 %212 = load i32, ptr %4, align 4 %213 = icmp slt i32 %211, %212 br i1 %213, label %49, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %208 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %45 br label %214 214: ; preds = %.loopexit, %56 %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpq645us00.c' source_filename = "/tmp/tmpq645us00.c" target datalayout = "e-m:e-p270: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.i2c_smbus_data = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2c_smbus_read_byte(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %union.i2c_smbus_data, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i64 @i2c_smbus_access(i32 noundef %5, i32 noundef 1, i32 noundef 0, i32 noundef 1, ptr noundef %4) %7 = icmp sle i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = and i32 255, %10 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %9, %8 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @i2c_smbus_access(i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq645us00.c" target datalayout = "e-m:e-p270: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.i2c_smbus_data = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2c_smbus_read_byte(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %union.i2c_smbus_data, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i64 @i2c_smbus_access(i32 noundef %5, i32 noundef 1, i32 noundef 0, i32 noundef 1, ptr noundef %4) %7 = icmp sle i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr %4, align 4 %11 = and i32 255, %10 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %9, %8 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @i2c_smbus_access(i32 noundef, i32 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"}
; ModuleID = '/tmp/tmpsulfutdc.c' source_filename = "/tmp/tmpsulfutdc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 @preload_seq(i32 noundef 175) ret void } declare i32 @preload_seq(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/tmpsulfutdc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 @preload_seq(i32 noundef 175) ret void } declare i32 @preload_seq(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/tmp4_65el67.c' source_filename = "/tmp/tmp4_65el67.c" target datalayout = "e-m:e-p270: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/tmp4_65el67.c" target datalayout = "e-m:e-p270: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_t135bk5.c' source_filename = "/tmp/tmp_t135bk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_t135bk5.c" target datalayout = "e-m:e-p270: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/tmpm90rd0cw.c' source_filename = "/tmp/tmpm90rd0cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadDoubleLe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ReadUint64Le(ptr noundef %7, ptr noundef %5) store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @memcpy(ptr noundef %9, ptr noundef %5, i32 noundef 8) %11 = load i32, ptr %6, align 4 ret i32 %11 } declare i32 @ReadUint64Le(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm90rd0cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadDoubleLe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ReadUint64Le(ptr noundef %7, ptr noundef %5) store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @memcpy(ptr noundef %9, ptr noundef %5, i32 noundef 8) %11 = load i32, ptr %6, align 4 ret i32 %11 } declare i32 @ReadUint64Le(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn8pa3pew.c' source_filename = "/tmp/tmpn8pa3pew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_output_subtract() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @output_subtract(ptr noundef %3, i32 noundef 128, ptr noundef %2) %5 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %2, align 4 %7 = call i32 (...) @get_subl_ops() %8 = call i32 (...) @get_subl_ops_len() %9 = call i32 @check_byte_array(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) ret void } declare i32 @output_subtract(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @check_byte_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @get_subl_ops(...) #1 declare i32 @get_subl_ops_len(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn8pa3pew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_output_subtract() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @output_subtract(ptr noundef %3, i32 noundef 128, ptr noundef %2) %5 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %2, align 4 %7 = call i32 (...) @get_subl_ops() %8 = call i32 (...) @get_subl_ops_len() %9 = call i32 @check_byte_array(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) ret void } declare i32 @output_subtract(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @check_byte_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @get_subl_ops(...) #1 declare i32 @get_subl_ops_len(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3reooub0.c' source_filename = "/tmp/tmp3reooub0.c" target datalayout = "e-m:e-p270: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/tmp3reooub0.c" target datalayout = "e-m:e-p270: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/tmplmeq891u.c' source_filename = "/tmp/tmplmeq891u.c" target datalayout = "e-m:e-p270: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.itimerspec = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i64 } %struct.TYPE_3__ = type { i32, i64 } %struct.timespec = type { i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"timerfd_test <secs> <iters>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SIGINT = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"signalfd:\00", align 1 @SIG_BLOCK = dso_local global i32 0, align 4 @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"timerfd_create:\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"select:\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"iter = %d ts_delta = %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"quiting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.itimerspec, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca %struct.timespec, align 4 %18 = alloca %struct.timespec, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %15, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 3 br i1 %20, label %21, label %23 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %146 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %13) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @sscanf(ptr noundef %30, ptr noundef @.str.1, ptr noundef %14) %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 8, %33 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %16, align 8 %38 = call i32 @sigemptyset(ptr noundef %10) %39 = load i32, ptr @SIGINT, align 4 %40 = call i32 @sigaddset(ptr noundef %10, i32 noundef %39) %41 = load i32, ptr @SIGTERM, align 4 %42 = call i32 @sigaddset(ptr noundef %10, i32 noundef %41) %43 = call i32 @signalfd(i32 noundef -1, ptr noundef %10, i32 noundef 0) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %23 %47 = call i32 @perror(ptr noundef @.str.2) store i32 2, ptr %3, align 4 br label %146 48: ; preds = %23 %49 = load i32, ptr @SIG_BLOCK, align 4 %50 = call i32 @sigprocmask(i32 noundef %49, ptr noundef %10, ptr noundef null) %51 = load i32, ptr @CLOCK_MONOTONIC, align 4 %52 = call i32 @timerfd_create(i32 noundef %51, i32 noundef 0) store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %48 %56 = call i32 @perror(ptr noundef @.str.3) store i32 3, ptr %3, align 4 br label %146 57: ; preds = %48 %58 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32) %59 = load i32, ptr %13, align 4 %60 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 1 %61 = getelementptr inbounds %struct.TYPE_3__, ptr %60, i32 0, i32 0 store i32 %59, ptr %61, align 8 %62 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 1 %63 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i32 0, i32 1 store i64 0, ptr %63, align 8 %64 = load i32, ptr %13, align 4 %65 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 0 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i32 0, i32 0 store i32 %64, ptr %66, align 8 %67 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 0 %68 = getelementptr inbounds %struct.TYPE_4__, ptr %67, i32 0, i32 1 store i64 0, ptr %68, align 8 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp sgt i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %57 %73 = load i32, ptr %6, align 4 br label %76 74: ; preds = %57 %75 = load i32, ptr %7, align 4 br label %76 76: ; preds = %74, %72 %77 = phi i32 [ %73, %72 ], [ %75, %74 ] store i32 %77, ptr %8, align 4 br label %78 78: ; preds = %110, %76 %79 = load i32, ptr %15, align 4 %80 = load i32, ptr %14, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %140 82: ; preds = %78 %83 = call i32 @FD_ZERO(ptr noundef %9) %84 = load i32, ptr %6, align 4 %85 = call i32 @FD_SET(i32 noundef %84, ptr noundef %9) %86 = load i32, ptr %7, align 4 %87 = call i32 @FD_SET(i32 noundef %86, ptr noundef %9) %88 = load i32, ptr %6, align 4 %89 = call i32 @timerfd_settime(i32 noundef %88, i32 noundef 0, ptr noundef %12, ptr noundef null) %90 = load i32, ptr @CLOCK_MONOTONIC, align 4 %91 = call i32 @clock_gettime(i32 noundef %90, ptr noundef %17) %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 %94 = call i64 @select(i32 noundef %93, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) %95 = icmp slt i64 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %82 %97 = call i32 @perror(ptr noundef @.str.4) br label %140 98: ; preds = %82 %99 = load i32, ptr %7, align 4 %100 = call i64 @FD_ISSET(i32 noundef %99, ptr noundef %9) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %98 br label %140 103: ; preds = %98 %104 = load i32, ptr %6, align 4 %105 = call i64 @FD_ISSET(i32 noundef %104, ptr noundef %9) %106 = icmp ne i64 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %103 %108 = load i32, ptr %6, align 4 %109 = call i32 @read(i32 noundef %108, ptr noundef %11, i32 noundef 4) br label %110 110: ; preds = %107, %103 %111 = load i32, ptr @CLOCK_MONOTONIC, align 4 %112 = call i32 @clock_gettime(i32 noundef %111, ptr noundef %18) %113 = getelementptr inbounds %struct.timespec, ptr %18, i32 0, i32 0 %114 = load i32, ptr %113, align 4 %115 = mul nsw i32 %114, 1000000000 %116 = getelementptr inbounds %struct.timespec, ptr %18, i32 0, i32 1 %117 = load i32, ptr %116, align 4 %118 = add nsw i32 %115, %117 %119 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %120 = load i32, ptr %119, align 4 %121 = mul nsw i32 %120, 1000000000 %122 = sub nsw i32 %118, %121 %123 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 1 %124 = load i32, ptr %123, align 4 %125 = sub nsw i32 %122, %124 %126 = sext i32 %125 to i64 %127 = load ptr, ptr %16, align 8 %128 = load i32, ptr %15, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i64, ptr %127, i64 %129 store i64 %126, ptr %130, align 8 %131 = load i32, ptr %15, align 4 %132 = load ptr, ptr %16, align 8 %133 = load i32, ptr %15, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i64, ptr %132, i64 %134 %136 = load i64, ptr %135, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %131, i64 noundef %136) %138 = load i32, ptr %15, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %15, align 4 br label %78, !llvm.loop !6 140: ; preds = %102, %96, %78 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %142 = load i32, ptr %6, align 4 %143 = call i32 @close(i32 noundef %142) %144 = load i32, ptr %7, align 4 %145 = call i32 @close(i32 noundef %144) store i32 0, ptr %3, align 4 br label %146 146: ; preds = %140, %55, %46, %21 %147 = load i32, ptr %3, align 4 ret i32 %147 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @signalfd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @timerfd_create(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @timerfd_settime(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplmeq891u.c" target datalayout = "e-m:e-p270: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.itimerspec = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i64 } %struct.TYPE_3__ = type { i32, i64 } %struct.timespec = type { i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"timerfd_test <secs> <iters>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SIGINT = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"signalfd:\00", align 1 @SIG_BLOCK = dso_local global i32 0, align 4 @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"timerfd_create:\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"select:\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"iter = %d ts_delta = %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"quiting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.itimerspec, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca %struct.timespec, align 4 %18 = alloca %struct.timespec, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %15, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 3 br i1 %20, label %21, label %23 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %148 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %13) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @sscanf(ptr noundef %30, ptr noundef @.str.1, ptr noundef %14) %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 8, %33 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %16, align 8 %38 = call i32 @sigemptyset(ptr noundef %10) %39 = load i32, ptr @SIGINT, align 4 %40 = call i32 @sigaddset(ptr noundef %10, i32 noundef %39) %41 = load i32, ptr @SIGTERM, align 4 %42 = call i32 @sigaddset(ptr noundef %10, i32 noundef %41) %43 = call i32 @signalfd(i32 noundef -1, ptr noundef %10, i32 noundef 0) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %23 %47 = call i32 @perror(ptr noundef @.str.2) store i32 2, ptr %3, align 4 br label %148 48: ; preds = %23 %49 = load i32, ptr @SIG_BLOCK, align 4 %50 = call i32 @sigprocmask(i32 noundef %49, ptr noundef %10, ptr noundef null) %51 = load i32, ptr @CLOCK_MONOTONIC, align 4 %52 = call i32 @timerfd_create(i32 noundef %51, i32 noundef 0) store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %48 %56 = call i32 @perror(ptr noundef @.str.3) store i32 3, ptr %3, align 4 br label %148 57: ; preds = %48 %58 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32) %59 = load i32, ptr %13, align 4 %60 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 1 %61 = getelementptr inbounds %struct.TYPE_3__, ptr %60, i32 0, i32 0 store i32 %59, ptr %61, align 8 %62 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 1 %63 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i32 0, i32 1 store i64 0, ptr %63, align 8 %64 = load i32, ptr %13, align 4 %65 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 0 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i32 0, i32 0 store i32 %64, ptr %66, align 8 %67 = getelementptr inbounds %struct.itimerspec, ptr %12, i32 0, i32 0 %68 = getelementptr inbounds %struct.TYPE_4__, ptr %67, i32 0, i32 1 store i64 0, ptr %68, align 8 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp sgt i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %57 %73 = load i32, ptr %6, align 4 br label %76 74: ; preds = %57 %75 = load i32, ptr %7, align 4 br label %76 76: ; preds = %74, %72 %77 = phi i32 [ %73, %72 ], [ %75, %74 ] store i32 %77, ptr %8, align 4 %78 = load i32, ptr %15, align 4 %79 = load i32, ptr %14, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %76 br label %81 81: ; preds = %.lr.ph, %109 %82 = call i32 @FD_ZERO(ptr noundef %9) %83 = load i32, ptr %6, align 4 %84 = call i32 @FD_SET(i32 noundef %83, ptr noundef %9) %85 = load i32, ptr %7, align 4 %86 = call i32 @FD_SET(i32 noundef %85, ptr noundef %9) %87 = load i32, ptr %6, align 4 %88 = call i32 @timerfd_settime(i32 noundef %87, i32 noundef 0, ptr noundef %12, ptr noundef null) %89 = load i32, ptr @CLOCK_MONOTONIC, align 4 %90 = call i32 @clock_gettime(i32 noundef %89, ptr noundef %17) %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 %93 = call i64 @select(i32 noundef %92, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) %94 = icmp slt i64 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %81 %96 = call i32 @perror(ptr noundef @.str.4) br label %142 97: ; preds = %81 %98 = load i32, ptr %7, align 4 %99 = call i64 @FD_ISSET(i32 noundef %98, ptr noundef %9) %100 = icmp ne i64 %99, 0 br i1 %100, label %101, label %102 101: ; preds = %97 br label %142 102: ; preds = %97 %103 = load i32, ptr %6, align 4 %104 = call i64 @FD_ISSET(i32 noundef %103, ptr noundef %9) %105 = icmp ne i64 %104, 0 br i1 %105, label %106, label %109 106: ; preds = %102 %107 = load i32, ptr %6, align 4 %108 = call i32 @read(i32 noundef %107, ptr noundef %11, i32 noundef 4) br label %109 109: ; preds = %106, %102 %110 = load i32, ptr @CLOCK_MONOTONIC, align 4 %111 = call i32 @clock_gettime(i32 noundef %110, ptr noundef %18) %112 = getelementptr inbounds %struct.timespec, ptr %18, i32 0, i32 0 %113 = load i32, ptr %112, align 4 %114 = mul nsw i32 %113, 1000000000 %115 = getelementptr inbounds %struct.timespec, ptr %18, i32 0, i32 1 %116 = load i32, ptr %115, align 4 %117 = add nsw i32 %114, %116 %118 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %119 = load i32, ptr %118, align 4 %120 = mul nsw i32 %119, 1000000000 %121 = sub nsw i32 %117, %120 %122 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 1 %123 = load i32, ptr %122, align 4 %124 = sub nsw i32 %121, %123 %125 = sext i32 %124 to i64 %126 = load ptr, ptr %16, align 8 %127 = load i32, ptr %15, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i64, ptr %126, i64 %128 store i64 %125, ptr %129, align 8 %130 = load i32, ptr %15, align 4 %131 = load ptr, ptr %16, align 8 %132 = load i32, ptr %15, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i64, ptr %131, i64 %133 %135 = load i64, ptr %134, align 8 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %130, i64 noundef %135) %137 = load i32, ptr %15, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %15, align 4 %139 = load i32, ptr %15, align 4 %140 = load i32, ptr %14, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %81, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %109 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %76 br label %142 142: ; preds = %.loopexit, %101, %95 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %144 = load i32, ptr %6, align 4 %145 = call i32 @close(i32 noundef %144) %146 = load i32, ptr %7, align 4 %147 = call i32 @close(i32 noundef %146) store i32 0, ptr %3, align 4 br label %148 148: ; preds = %142, %55, %46, %21 %149 = load i32, ptr %3, align 4 ret i32 %149 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @signalfd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @timerfd_create(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @timerfd_settime(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuqgase_f.c' source_filename = "/tmp/tmpuqgase_f.c" target datalayout = "e-m:e-p270: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/tmpuqgase_f.c" target datalayout = "e-m:e-p270: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/tmp2mo0aw4h.c' source_filename = "/tmp/tmp2mo0aw4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"numero: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; 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 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 %7, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %11 = load i32, ptr %6, align 4 store i32 %11, ptr %8, align 4 br label %12 12: ; preds = %19, %2 %13 = load i32, ptr %8, align 4 %14 = icmp sge i32 %13, 1 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %15 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %8, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2mo0aw4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"numero: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; 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 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 %7, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %11 = load i32, ptr %6, align 4 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp sge i32 %12, 1 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %18 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp sge i32 %21, 1 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %2 %24 = load i32, ptr %7, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpod9srdhw.c' source_filename = "/tmp/tmpod9srdhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_pseudo_random_canary_value() #0 { %1 = alloca i32, align 4 %2 = call i64 @time(ptr noundef %1) %3 = trunc i64 %2 to i32 ret i32 %3 } declare i64 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod9srdhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_pseudo_random_canary_value() #0 { %1 = alloca i32, align 4 %2 = call i64 @time(ptr noundef %1) %3 = trunc i64 %2 to i32 ret i32 %3 } declare i64 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}