llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9d48n2lq.c' source_filename = "/tmp/tmp9d48n2lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9d48n2lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1wpcwi7l.c' source_filename = "/tmp/tmp1wpcwi7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EBADF = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @EBADF, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wpcwi7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EBADF = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @EBADF, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplf5bmheo.c' source_filename = "/tmp/tmplf5bmheo.c" target datalayout = "e-m:e-p270: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, i32 } @.str = private unnamed_addr constant [25 x i8] c"Setting baud rate to %d\0A\00", align 1 @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 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = call i32 @tcgetattr(i32 noundef %10, ptr noundef %7) %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = load i32, ptr @B1200, align 4 %16 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %15) %17 = load i32, ptr @B1200, align 4 %18 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %17) br label %46 19: ; preds = %3 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load i32, ptr @B2400, align 4 %24 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %23) %25 = load i32, ptr @B2400, align 4 %26 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %25) br label %45 27: ; preds = %19 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 4 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load i32, ptr @B4800, align 4 %32 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %31) %33 = load i32, ptr @B4800, align 4 %34 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %33) br label %44 35: ; preds = %27 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 5 br i1 %37, label %38, label %43 38: ; preds = %35 %39 = load i32, ptr @B9600, align 4 %40 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %39) %41 = load i32, ptr @B9600, align 4 %42 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %41) br label %43 43: ; preds = %38, %35 br label %44 44: ; preds = %43, %30 br label %45 45: ; preds = %44, %22 br label %46 46: ; preds = %45, %14 %47 = load i32, ptr @CLOCAL, align 4 %48 = load i32, ptr @CREAD, align 4 %49 = or i32 %47, %48 %50 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %51 = load i32, ptr %50, align 8 %52 = or i32 %51, %49 store i32 %52, ptr %50, align 8 %53 = load i32, ptr @PARENB, align 4 %54 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %55 = load i32, ptr %54, align 8 %56 = or i32 %55, %53 store i32 %56, ptr %54, align 8 %57 = load i32, ptr @PARODD, align 4 %58 = xor i32 %57, -1 %59 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %60 = load i32, ptr %59, align 8 %61 = and i32 %60, %58 store i32 %61, ptr %59, align 8 %62 = load i32, ptr @CSTOPB, align 4 %63 = xor i32 %62, -1 %64 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %65 = load i32, ptr %64, align 8 %66 = and i32 %65, %63 store i32 %66, ptr %64, align 8 %67 = load i32, ptr @CSIZE, align 4 %68 = xor i32 %67, -1 %69 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = and i32 %70, %68 store i32 %71, ptr %69, align 8 %72 = load i32, ptr @CS7, align 4 %73 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %74 = load i32, ptr %73, align 8 %75 = or i32 %74, %72 store i32 %75, ptr %73, align 8 %76 = load i32, ptr @CRTSCTS, align 4 %77 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %78 = load i32, ptr %77, align 8 %79 = or i32 %78, %76 store i32 %79, ptr %77, align 8 %80 = load i32, ptr @ICANON, align 4 %81 = load i32, ptr @ECHO, align 4 %82 = or i32 %80, %81 %83 = load i32, ptr @ECHOE, align 4 %84 = or i32 %82, %83 %85 = load i32, ptr @ISIG, align 4 %86 = or i32 %84, %85 %87 = xor i32 %86, -1 %88 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 1 %89 = load i32, ptr %88, align 4 %90 = and i32 %89, %87 store i32 %90, ptr %88, align 4 %91 = load i32, ptr @OPOST, align 4 %92 = xor i32 %91, -1 %93 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 3 %94 = load i32, ptr %93, align 8 %95 = and i32 %94, %92 store i32 %95, ptr %93, align 8 %96 = load i32, ptr %6, align 4 %97 = icmp eq i32 %96, 1 br i1 %97, label %98, label %107 98: ; preds = %46 %99 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %100 = load ptr, ptr %99, align 8 %101 = load i64, ptr @VMIN, align 8 %102 = getelementptr inbounds i32, ptr %100, i64 %101 store i32 0, ptr %102, align 4 %103 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %104 = load ptr, ptr %103, align 8 %105 = load i64, ptr @VTIME, align 8 %106 = getelementptr inbounds i32, ptr %104, i64 %105 store i32 10, ptr %106, align 4 br label %116 107: ; preds = %46 %108 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %109 = load ptr, ptr %108, align 8 %110 = load i64, ptr @VMIN, align 8 %111 = getelementptr inbounds i32, ptr %109, i64 %110 store i32 1, ptr %111, align 4 %112 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %113 = load ptr, ptr %112, align 8 %114 = load i64, ptr @VTIME, align 8 %115 = getelementptr inbounds i32, ptr %113, i64 %114 store i32 0, ptr %115, align 4 br label %116 116: ; preds = %107, %98 %117 = load i32, ptr %4, align 4 %118 = load i32, ptr @TCSANOW, align 4 %119 = call i32 @tcsetattr(i32 noundef %117, i32 noundef %118, ptr noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplf5bmheo.c" target datalayout = "e-m:e-p270: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, i32 } @.str = private unnamed_addr constant [25 x i8] c"Setting baud rate to %d\0A\00", align 1 @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 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = call i32 @tcgetattr(i32 noundef %10, ptr noundef %7) %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = load i32, ptr @B1200, align 4 %16 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %15) %17 = load i32, ptr @B1200, align 4 %18 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %17) br label %46 19: ; preds = %3 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load i32, ptr @B2400, align 4 %24 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %23) %25 = load i32, ptr @B2400, align 4 %26 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %25) br label %45 27: ; preds = %19 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 4 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load i32, ptr @B4800, align 4 %32 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %31) %33 = load i32, ptr @B4800, align 4 %34 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %33) br label %44 35: ; preds = %27 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 5 br i1 %37, label %38, label %43 38: ; preds = %35 %39 = load i32, ptr @B9600, align 4 %40 = call i32 @cfsetispeed(ptr noundef %7, i32 noundef %39) %41 = load i32, ptr @B9600, align 4 %42 = call i32 @cfsetospeed(ptr noundef %7, i32 noundef %41) br label %43 43: ; preds = %38, %35 br label %44 44: ; preds = %43, %30 br label %45 45: ; preds = %44, %22 br label %46 46: ; preds = %45, %14 %47 = load i32, ptr @CLOCAL, align 4 %48 = load i32, ptr @CREAD, align 4 %49 = or i32 %47, %48 %50 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %51 = load i32, ptr %50, align 8 %52 = or i32 %51, %49 store i32 %52, ptr %50, align 8 %53 = load i32, ptr @PARENB, align 4 %54 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %55 = load i32, ptr %54, align 8 %56 = or i32 %55, %53 store i32 %56, ptr %54, align 8 %57 = load i32, ptr @PARODD, align 4 %58 = xor i32 %57, -1 %59 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %60 = load i32, ptr %59, align 8 %61 = and i32 %60, %58 store i32 %61, ptr %59, align 8 %62 = load i32, ptr @CSTOPB, align 4 %63 = xor i32 %62, -1 %64 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %65 = load i32, ptr %64, align 8 %66 = and i32 %65, %63 store i32 %66, ptr %64, align 8 %67 = load i32, ptr @CSIZE, align 4 %68 = xor i32 %67, -1 %69 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = and i32 %70, %68 store i32 %71, ptr %69, align 8 %72 = load i32, ptr @CS7, align 4 %73 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %74 = load i32, ptr %73, align 8 %75 = or i32 %74, %72 store i32 %75, ptr %73, align 8 %76 = load i32, ptr @CRTSCTS, align 4 %77 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 0 %78 = load i32, ptr %77, align 8 %79 = or i32 %78, %76 store i32 %79, ptr %77, align 8 %80 = load i32, ptr @ICANON, align 4 %81 = load i32, ptr @ECHO, align 4 %82 = or i32 %80, %81 %83 = load i32, ptr @ECHOE, align 4 %84 = or i32 %82, %83 %85 = load i32, ptr @ISIG, align 4 %86 = or i32 %84, %85 %87 = xor i32 %86, -1 %88 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 1 %89 = load i32, ptr %88, align 4 %90 = and i32 %89, %87 store i32 %90, ptr %88, align 4 %91 = load i32, ptr @OPOST, align 4 %92 = xor i32 %91, -1 %93 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 3 %94 = load i32, ptr %93, align 8 %95 = and i32 %94, %92 store i32 %95, ptr %93, align 8 %96 = load i32, ptr %6, align 4 %97 = icmp eq i32 %96, 1 br i1 %97, label %98, label %107 98: ; preds = %46 %99 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %100 = load ptr, ptr %99, align 8 %101 = load i64, ptr @VMIN, align 8 %102 = getelementptr inbounds i32, ptr %100, i64 %101 store i32 0, ptr %102, align 4 %103 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %104 = load ptr, ptr %103, align 8 %105 = load i64, ptr @VTIME, align 8 %106 = getelementptr inbounds i32, ptr %104, i64 %105 store i32 10, ptr %106, align 4 br label %116 107: ; preds = %46 %108 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %109 = load ptr, ptr %108, align 8 %110 = load i64, ptr @VMIN, align 8 %111 = getelementptr inbounds i32, ptr %109, i64 %110 store i32 1, ptr %111, align 4 %112 = getelementptr inbounds %struct.termios, ptr %7, i32 0, i32 2 %113 = load ptr, ptr %112, align 8 %114 = load i64, ptr @VTIME, align 8 %115 = getelementptr inbounds i32, ptr %113, i64 %114 store i32 0, ptr %115, align 4 br label %116 116: ; preds = %107, %98 %117 = load i32, ptr %4, align 4 %118 = load i32, ptr @TCSANOW, align 4 %119 = call i32 @tcsetattr(i32 noundef %117, i32 noundef %118, ptr noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_2t207vi.c' source_filename = "/tmp/tmp_2t207vi.c" target datalayout = "e-m:e-p270: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_2t207vi.c" target datalayout = "e-m:e-p270: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/tmp3q8yu2oc.c' source_filename = "/tmp/tmp3q8yu2oc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abvsport\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr @.str, ptr %1, align 8 ret i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3q8yu2oc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abvsport\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr @.str, ptr %1, align 8 ret i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp327wg9_i.c' source_filename = "/tmp/tmp327wg9_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = fcmp une float %5, 2.500000e+00 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load float, ptr %4, align 4 %9 = fcmp une float %8, 3.500000e+00 br i1 %9, label %10, label %12 10: ; preds = %7, %2 %11 = call i32 (...) @abort() #2 unreachable 12: ; preds = %7 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp327wg9_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = fcmp une float %5, 2.500000e+00 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load float, ptr %4, align 4 %9 = fcmp une float %8, 3.500000e+00 br i1 %9, label %10, label %12 10: ; preds = %7, %2 %11 = call i32 (...) @abort() #2 unreachable 12: ; preds = %7 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplfcm0v6q.c' source_filename = "/tmp/tmplfcm0v6q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @HLine(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %10, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 @printf(ptr noundef @.str.1) %15 = load i32, ptr %3, align 4 ret i32 %15 } 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/tmplfcm0v6q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @HLine(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %4, %5 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 @printf(ptr noundef @.str) br label %9 9: ; preds = %7 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 %16 = call i32 @printf(ptr noundef @.str.1) %17 = load i32, ptr %3, align 4 ret i32 %17 } 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/tmpwu7goj9c.c' source_filename = "/tmp/tmpwu7goj9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage: cat file | prune <varname>\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\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 [8192 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [8192 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %12 = call i32 (...) @init_keywords() %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %67 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @addvariable(ptr noundef %20) br label %22 22: ; preds = %65, %46, %17 %23 = getelementptr inbounds [8192 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr @stdin, align 4 %25 = call ptr @fgets(ptr noundef %23, i32 noundef 8192, i32 noundef %24) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %66 27: ; preds = %22 %28 = getelementptr inbounds [8192 x i8], ptr %6, i64 0, i64 0 store ptr %28, ptr %7, align 8 br label %29 29: ; preds = %34, %27 %30 = load ptr, ptr %7, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @isspace(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %29 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %7, align 8 br label %29, !llvm.loop !6 37: ; preds = %29 %38 = load ptr, ptr %7, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label %46, label %42 42: ; preds = %37 %43 = load ptr, ptr %7, align 8 %44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.1, i32 noundef 3) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %42, %37 br label %22, !llvm.loop !8 47: ; preds = %42 %48 = load ptr, ptr %7, align 8 %49 = call ptr @strchr(ptr noundef %48, i8 noundef signext 10) %50 = icmp ne ptr %49, null %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) %53 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %54 = load ptr, ptr %7, align 8 %55 = call i32 @strncpy(ptr noundef %53, ptr noundef %54, i32 noundef 8192) %56 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 store ptr %56, ptr %8, align 8 %57 = load ptr, ptr %7, align 8 %58 = call i64 @matchline(ptr noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %47 %61 = load ptr, ptr %8, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61) %63 = load ptr, ptr %8, align 8 %64 = call i32 @parseline(ptr noundef %63) br label %65 65: ; preds = %60, %47 br label %22, !llvm.loop !8 66: ; preds = %22 store i32 0, ptr %3, align 4 br label %67 67: ; preds = %66, %15 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @init_keywords(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @addvariable(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @matchline(ptr noundef) #1 declare i32 @parseline(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwu7goj9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage: cat file | prune <varname>\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\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 [8192 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [8192 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %12 = call i32 (...) @init_keywords() %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %72 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @addvariable(ptr noundef %20) %22 = getelementptr inbounds [8192 x i8], ptr %6, i64 0, i64 0 %23 = load i32, ptr @stdin, align 4 %24 = call ptr @fgets(ptr noundef %22, i32 noundef 8192, i32 noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %.lr.ph2, label %71 .lr.ph2: ; preds = %17 br label %26 26: ; preds = %.lr.ph2, %.backedge %27 = getelementptr inbounds [8192 x i8], ptr %6, i64 0, i64 0 store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i8, ptr %28, align 1 %30 = call i64 @isspace(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %.lr.ph, label %39 .lr.ph: ; preds = %26 br label %32 32: ; preds = %.lr.ph, %32 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = call i64 @isspace(i8 noundef signext %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %26 %40 = load ptr, ptr %7, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %39 %45 = load ptr, ptr %7, align 8 %46 = call i64 @strncmp(ptr noundef %45, ptr noundef @.str.1, i32 noundef 3) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %44, %39 br label %.backedge .backedge: ; preds = %48, %70 %49 = load i32, ptr @stdin, align 4 %50 = call ptr @fgets(ptr noundef %22, i32 noundef 8192, i32 noundef %49) %51 = icmp ne ptr %50, null br i1 %51, label %26, label %._crit_edge3, !llvm.loop !8 52: ; preds = %44 %53 = load ptr, ptr %7, align 8 %54 = call ptr @strchr(ptr noundef %53, i8 noundef signext 10) %55 = icmp ne ptr %54, null %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) %58 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %59 = load ptr, ptr %7, align 8 %60 = call i32 @strncpy(ptr noundef %58, ptr noundef %59, i32 noundef 8192) %61 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 store ptr %61, ptr %8, align 8 %62 = load ptr, ptr %7, align 8 %63 = call i64 @matchline(ptr noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %70 65: ; preds = %52 %66 = load ptr, ptr %8, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %66) %68 = load ptr, ptr %8, align 8 %69 = call i32 @parseline(ptr noundef %68) br label %70 70: ; preds = %65, %52 br label %.backedge ._crit_edge3: ; preds = %.backedge br label %71 71: ; preds = %._crit_edge3, %17 store i32 0, ptr %3, align 4 br label %72 72: ; preds = %71, %15 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @init_keywords(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @addvariable(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @matchline(ptr noundef) #1 declare i32 @parseline(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpviqqq7wo.c' source_filename = "/tmp/tmpviqqq7wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argument_pass_through(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = call i32 @arg3(i32 noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %13, align 4 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %15, align 4 %29 = load i32, ptr %16, align 4 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %18, align 4 %32 = call i32 @arg9(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %10, align 4 ret i32 %33 } declare i32 @arg3(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @arg9(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpviqqq7wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argument_pass_through(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = call i32 @arg3(i32 noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %13, align 4 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %15, align 4 %29 = load i32, ptr %16, align 4 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %18, align 4 %32 = call i32 @arg9(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %10, align 4 ret i32 %33 } declare i32 @arg3(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @arg9(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpym1j41ri.c' source_filename = "/tmp/tmpym1j41ri.c" target datalayout = "e-m:e-p270: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/tmpym1j41ri.c" target datalayout = "e-m:e-p270: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/tmp1k3auxwl.c' source_filename = "/tmp/tmp1k3auxwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter number of elements\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Enter %d integers\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Sorted list in ascending order:\0A\00", align 1 @.str.4 = 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 [100 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) store i32 0, ptr %4, align 4 br label %12 12: ; preds = %21, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %75, %24 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %27, 1 %29 = icmp slt i32 %26, %28 br i1 %29, label %30, label %78 30: ; preds = %25 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %34 34: ; preds = %51, %30 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %54 38: ; preds = %34 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp sgt i32 %42, %46 br i1 %47, label %48, label %50 48: ; preds = %38 %49 = load i32, ptr %5, align 4 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %48, %38 br label %51 51: ; preds = %50 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %34, !llvm.loop !8 54: ; preds = %34 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %74 58: ; preds = %54 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 store i32 %62, ptr %7, align 4 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %68 store i32 %66, ptr %69, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %72 store i32 %70, ptr %73, align 4 br label %74 74: ; preds = %58, %54 br label %75 75: ; preds = %74 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %4, align 4 br label %25, !llvm.loop !9 78: ; preds = %25 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %4, align 4 br label %80 80: ; preds = %90, %78 %81 = load i32, ptr %4, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %93 84: ; preds = %80 %85 = load i32, ptr %4, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %88) br label %90 90: ; preds = %84 %91 = load i32, ptr %4, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %4, align 4 br label %80, !llvm.loop !10 93: ; preds = %80 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k3auxwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter number of elements\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Enter %d integers\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Sorted list in ascending order:\0A\00", align 1 @.str.4 = 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 [100 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %20 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %17 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = sub nsw i32 %28, 1 %30 = icmp slt i32 %27, %29 br i1 %30, label %.lr.ph5, label %85 .lr.ph5: ; preds = %26 br label %31 31: ; preds = %.lr.ph5, %78 %32 = load i32, ptr %4, align 4 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %57 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %51 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp sgt i32 %42, %46 br i1 %47, label %48, label %50 48: ; preds = %38 %49 = load i32, ptr %5, align 4 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %48, %38 br label %51 51: ; preds = %50 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %31 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %77 61: ; preds = %57 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %6, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %71 store i32 %69, ptr %72, align 4 %73 = load i32, ptr %7, align 4 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %75 store i32 %73, ptr %76, align 4 br label %77 77: ; preds = %61, %57 br label %78 78: ; preds = %77 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %4, align 4 %81 = load i32, ptr %4, align 4 %82 = load i32, ptr %3, align 4 %83 = sub nsw i32 %82, 1 %84 = icmp slt i32 %81, %83 br i1 %84, label %31, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %85 85: ; preds = %._crit_edge6, %26 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = load i32, ptr %3, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %.lr.ph8, label %102 .lr.ph8: ; preds = %85 br label %90 90: ; preds = %.lr.ph8, %96 %91 = load i32, ptr %4, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %94) br label %96 96: ; preds = %90 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 %99 = load i32, ptr %4, align 4 %100 = load i32, ptr %3, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %90, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %96 br label %102 102: ; preds = %._crit_edge9, %85 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp0veczthl.c' source_filename = "/tmp/tmp0veczthl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"port:[%d], cmdline:[%s]\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"over======PORT_MAX:%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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @prg_cache_load() store i32 1, ptr %6, align 4 br label %9 9: ; preds = %24, %2 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 65535 br i1 %11, label %12, label %27 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = call ptr @prg_cache_get(i32 noundef %13) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 45 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %7, align 8 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %20, ptr noundef %21) br label %23 23: ; preds = %19, %12 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 65535) %29 = call i32 (...) @prg_cache_clear() ret i32 0 } declare i32 @prg_cache_load(...) #1 declare ptr @prg_cache_get(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @prg_cache_clear(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0veczthl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"port:[%d], cmdline:[%s]\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"over======PORT_MAX:%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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @prg_cache_load() store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 65535 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %23 %12 = load i32, ptr %6, align 4 %13 = call ptr @prg_cache_get(i32 noundef %12) store ptr %13, ptr %7, align 8 %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, 45 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = load ptr, ptr %7, align 8 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %19, ptr noundef %20) br label %22 22: ; preds = %18, %11 br label %23 23: ; preds = %22 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 65535 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 65535) %30 = call i32 (...) @prg_cache_clear() ret i32 0 } declare i32 @prg_cache_load(...) #1 declare ptr @prg_cache_get(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @prg_cache_clear(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj6hocer_.c' source_filename = "/tmp/tmpj6hocer_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ft_strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) ret void } declare i32 @ft_strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6hocer_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ft_strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) ret void } declare i32 @ft_strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1uu6v2h9.c' source_filename = "/tmp/tmp1uu6v2h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @android_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 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 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/tmp1uu6v2h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @android_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 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 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/tmpbf1ky42c.c' source_filename = "/tmp/tmpbf1ky42c.c" target datalayout = "e-m:e-p270: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/tmpbf1ky42c.c" target datalayout = "e-m:e-p270: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/tmpqoqhsfdz.c' source_filename = "/tmp/tmpqoqhsfdz.c" target datalayout = "e-m:e-p270: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.cdrom_tocentry = type { i32 } @CDROM_DATA_TRACK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd_is_audio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.cdrom_tocentry, align 4 store i32 %0, ptr %3, align 4 %5 = call i64 @cd_get_tracks(i32 noundef 0, i32 noundef 0) %6 = icmp slt i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i64 @get_tocentry(i32 noundef %8, ptr noundef %4) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %20 12: ; preds = %7 %13 = getelementptr inbounds %struct.cdrom_tocentry, ptr %4, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr @CDROM_DATA_TRACK, align 4 %16 = and i32 %14, %15 %17 = icmp ne i32 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 0, i32 1 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %12, %11 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @cd_get_tracks(i32 noundef, i32 noundef) #1 declare i64 @get_tocentry(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/tmpqoqhsfdz.c" target datalayout = "e-m:e-p270: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.cdrom_tocentry = type { i32 } @CDROM_DATA_TRACK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd_is_audio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.cdrom_tocentry, align 4 store i32 %0, ptr %3, align 4 %5 = call i64 @cd_get_tracks(i32 noundef 0, i32 noundef 0) %6 = icmp slt i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i64 @get_tocentry(i32 noundef %8, ptr noundef %4) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %20 12: ; preds = %7 %13 = getelementptr inbounds %struct.cdrom_tocentry, ptr %4, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr @CDROM_DATA_TRACK, align 4 %16 = and i32 %14, %15 %17 = icmp ne i32 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 0, i32 1 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %12, %11 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @cd_get_tracks(i32 noundef, i32 noundef) #1 declare i64 @get_tocentry(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/tmpvn3px1ub.c' source_filename = "/tmp/tmpvn3px1ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"blip!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @blip() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fflush(i32 noundef %1) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvn3px1ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"blip!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @blip() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fflush(i32 noundef %1) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqvzt8hm.c' source_filename = "/tmp/tmpcqvzt8hm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @realft(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, 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 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 double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store double 5.000000e-01, ptr %13, align 8 %25 = load double, ptr @M_PI, align 8 %26 = load i64, ptr %5, align 8 %27 = lshr i64 %26, 1 %28 = uitofp i64 %27 to double %29 = fdiv double %25, %28 store double %29, ptr %24, align 8 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %37 32: ; preds = %3 store double -5.000000e-01, ptr %14, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %5, align 8 %35 = lshr i64 %34, 1 %36 = call i32 @four1(ptr noundef %33, i64 noundef %35, i32 noundef 1) br label %40 37: ; preds = %3 store double 5.000000e-01, ptr %14, align 8 %38 = load double, ptr %24, align 8 %39 = fneg double %38 store double %39, ptr %24, align 8 br label %40 40: ; preds = %37, %32 %41 = load double, ptr %24, align 8 %42 = fmul double 5.000000e-01, %41 %43 = call double @sin(double noundef %42) #4 store double %43, ptr %23, align 8 %44 = load double, ptr %23, align 8 %45 = fmul double -2.000000e+00, %44 %46 = load double, ptr %23, align 8 %47 = fmul double %45, %46 store double %47, ptr %21, align 8 %48 = load double, ptr %24, align 8 %49 = call double @sin(double noundef %48) #4 store double %49, ptr %22, align 8 %50 = load double, ptr %21, align 8 %51 = fadd double 1.000000e+00, %50 store double %51, ptr %19, align 8 %52 = load double, ptr %22, align 8 store double %52, ptr %20, align 8 %53 = load i64, ptr %5, align 8 %54 = add i64 %53, 3 store i64 %54, ptr %12, align 8 store i64 2, ptr %7, align 8 br label %55 55: ; preds = %174, %40 %56 = load i64, ptr %7, align 8 %57 = load i64, ptr %5, align 8 %58 = lshr i64 %57, 2 %59 = icmp ule i64 %56, %58 br i1 %59, label %60, label %177 60: ; preds = %55 %61 = load i64, ptr %12, align 8 %62 = load i64, ptr %7, align 8 %63 = load i64, ptr %7, align 8 %64 = add i64 %62, %63 %65 = sub i64 %64, 1 store i64 %65, ptr %8, align 8 %66 = add i64 1, %65 store i64 %66, ptr %9, align 8 %67 = sub i64 %61, %66 store i64 %67, ptr %10, align 8 %68 = add i64 1, %67 store i64 %68, ptr %11, align 8 %69 = load double, ptr %13, align 8 %70 = load ptr, ptr %4, align 8 %71 = load i64, ptr %8, align 8 %72 = getelementptr inbounds double, ptr %70, i64 %71 %73 = load double, ptr %72, align 8 %74 = load ptr, ptr %4, align 8 %75 = load i64, ptr %10, align 8 %76 = getelementptr inbounds double, ptr %74, i64 %75 %77 = load double, ptr %76, align 8 %78 = fadd double %73, %77 %79 = fmul double %69, %78 store double %79, ptr %15, align 8 %80 = load double, ptr %13, align 8 %81 = load ptr, ptr %4, align 8 %82 = load i64, ptr %9, align 8 %83 = getelementptr inbounds double, ptr %81, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %4, align 8 %86 = load i64, ptr %11, align 8 %87 = getelementptr inbounds double, ptr %85, i64 %86 %88 = load double, ptr %87, align 8 %89 = fsub double %84, %88 %90 = fmul double %80, %89 store double %90, ptr %16, align 8 %91 = load double, ptr %14, align 8 %92 = fneg double %91 %93 = load ptr, ptr %4, align 8 %94 = load i64, ptr %9, align 8 %95 = getelementptr inbounds double, ptr %93, i64 %94 %96 = load double, ptr %95, align 8 %97 = load ptr, ptr %4, align 8 %98 = load i64, ptr %11, align 8 %99 = getelementptr inbounds double, ptr %97, i64 %98 %100 = load double, ptr %99, align 8 %101 = fadd double %96, %100 %102 = fmul double %92, %101 store double %102, ptr %17, align 8 %103 = load double, ptr %14, align 8 %104 = load ptr, ptr %4, align 8 %105 = load i64, ptr %8, align 8 %106 = getelementptr inbounds double, ptr %104, i64 %105 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %4, align 8 %109 = load i64, ptr %10, align 8 %110 = getelementptr inbounds double, ptr %108, i64 %109 %111 = load double, ptr %110, align 8 %112 = fsub double %107, %111 %113 = fmul double %103, %112 store double %113, ptr %18, align 8 %114 = load double, ptr %15, align 8 %115 = load double, ptr %19, align 8 %116 = load double, ptr %17, align 8 %117 = call double @llvm.fmuladd.f64(double %115, double %116, double %114) %118 = load double, ptr %20, align 8 %119 = load double, ptr %18, align 8 %120 = fneg double %118 %121 = call double @llvm.fmuladd.f64(double %120, double %119, double %117) %122 = load ptr, ptr %4, align 8 %123 = load i64, ptr %8, align 8 %124 = getelementptr inbounds double, ptr %122, i64 %123 store double %121, ptr %124, align 8 %125 = load double, ptr %16, align 8 %126 = load double, ptr %19, align 8 %127 = load double, ptr %18, align 8 %128 = call double @llvm.fmuladd.f64(double %126, double %127, double %125) %129 = load double, ptr %20, align 8 %130 = load double, ptr %17, align 8 %131 = call double @llvm.fmuladd.f64(double %129, double %130, double %128) %132 = load ptr, ptr %4, align 8 %133 = load i64, ptr %9, align 8 %134 = getelementptr inbounds double, ptr %132, i64 %133 store double %131, ptr %134, align 8 %135 = load double, ptr %15, align 8 %136 = load double, ptr %19, align 8 %137 = load double, ptr %17, align 8 %138 = fneg double %136 %139 = call double @llvm.fmuladd.f64(double %138, double %137, double %135) %140 = load double, ptr %20, align 8 %141 = load double, ptr %18, align 8 %142 = call double @llvm.fmuladd.f64(double %140, double %141, double %139) %143 = load ptr, ptr %4, align 8 %144 = load i64, ptr %10, align 8 %145 = getelementptr inbounds double, ptr %143, i64 %144 store double %142, ptr %145, align 8 %146 = load double, ptr %16, align 8 %147 = fneg double %146 %148 = load double, ptr %19, align 8 %149 = load double, ptr %18, align 8 %150 = call double @llvm.fmuladd.f64(double %148, double %149, double %147) %151 = load double, ptr %20, align 8 %152 = load double, ptr %17, align 8 %153 = call double @llvm.fmuladd.f64(double %151, double %152, double %150) %154 = load ptr, ptr %4, align 8 %155 = load i64, ptr %11, align 8 %156 = getelementptr inbounds double, ptr %154, i64 %155 store double %153, ptr %156, align 8 %157 = load double, ptr %19, align 8 store double %157, ptr %23, align 8 %158 = load double, ptr %21, align 8 %159 = load double, ptr %20, align 8 %160 = load double, ptr %22, align 8 %161 = fmul double %159, %160 %162 = fneg double %161 %163 = call double @llvm.fmuladd.f64(double %157, double %158, double %162) %164 = load double, ptr %19, align 8 %165 = fadd double %163, %164 store double %165, ptr %19, align 8 %166 = load double, ptr %20, align 8 %167 = load double, ptr %21, align 8 %168 = load double, ptr %23, align 8 %169 = load double, ptr %22, align 8 %170 = fmul double %168, %169 %171 = call double @llvm.fmuladd.f64(double %166, double %167, double %170) %172 = load double, ptr %20, align 8 %173 = fadd double %171, %172 store double %173, ptr %20, align 8 br label %174 174: ; preds = %60 %175 = load i64, ptr %7, align 8 %176 = add i64 %175, 1 store i64 %176, ptr %7, align 8 br label %55, !llvm.loop !6 177: ; preds = %55 %178 = load i32, ptr %6, align 4 %179 = icmp eq i32 %178, 1 br i1 %179, label %180, label %197 180: ; preds = %177 %181 = load ptr, ptr %4, align 8 %182 = getelementptr inbounds double, ptr %181, i64 1 %183 = load double, ptr %182, align 8 store double %183, ptr %15, align 8 %184 = load ptr, ptr %4, align 8 %185 = getelementptr inbounds double, ptr %184, i64 2 %186 = load double, ptr %185, align 8 %187 = fadd double %183, %186 %188 = load ptr, ptr %4, align 8 %189 = getelementptr inbounds double, ptr %188, i64 1 store double %187, ptr %189, align 8 %190 = load double, ptr %15, align 8 %191 = load ptr, ptr %4, align 8 %192 = getelementptr inbounds double, ptr %191, i64 2 %193 = load double, ptr %192, align 8 %194 = fsub double %190, %193 %195 = load ptr, ptr %4, align 8 %196 = getelementptr inbounds double, ptr %195, i64 2 store double %194, ptr %196, align 8 br label %222 197: ; preds = %177 %198 = load double, ptr %13, align 8 %199 = load ptr, ptr %4, align 8 %200 = getelementptr inbounds double, ptr %199, i64 1 %201 = load double, ptr %200, align 8 store double %201, ptr %15, align 8 %202 = load ptr, ptr %4, align 8 %203 = getelementptr inbounds double, ptr %202, i64 2 %204 = load double, ptr %203, align 8 %205 = fadd double %201, %204 %206 = fmul double %198, %205 %207 = load ptr, ptr %4, align 8 %208 = getelementptr inbounds double, ptr %207, i64 1 store double %206, ptr %208, align 8 %209 = load double, ptr %13, align 8 %210 = load double, ptr %15, align 8 %211 = load ptr, ptr %4, align 8 %212 = getelementptr inbounds double, ptr %211, i64 2 %213 = load double, ptr %212, align 8 %214 = fsub double %210, %213 %215 = fmul double %209, %214 %216 = load ptr, ptr %4, align 8 %217 = getelementptr inbounds double, ptr %216, i64 2 store double %215, ptr %217, align 8 %218 = load ptr, ptr %4, align 8 %219 = load i64, ptr %5, align 8 %220 = lshr i64 %219, 1 %221 = call i32 @four1(ptr noundef %218, i64 noundef %220, i32 noundef -1) br label %222 222: ; preds = %197, %180 ret void } declare i32 @four1(ptr noundef, i64 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqvzt8hm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @realft(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, 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 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 double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store double 5.000000e-01, ptr %13, align 8 %25 = load double, ptr @M_PI, align 8 %26 = load i64, ptr %5, align 8 %27 = lshr i64 %26, 1 %28 = uitofp i64 %27 to double %29 = fdiv double %25, %28 store double %29, ptr %24, align 8 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %37 32: ; preds = %3 store double -5.000000e-01, ptr %14, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %5, align 8 %35 = lshr i64 %34, 1 %36 = call i32 @four1(ptr noundef %33, i64 noundef %35, i32 noundef 1) br label %40 37: ; preds = %3 store double 5.000000e-01, ptr %14, align 8 %38 = load double, ptr %24, align 8 %39 = fneg double %38 store double %39, ptr %24, align 8 br label %40 40: ; preds = %37, %32 %41 = load double, ptr %24, align 8 %42 = fmul double 5.000000e-01, %41 %43 = call double @sin(double noundef %42) #4 store double %43, ptr %23, align 8 %44 = load double, ptr %23, align 8 %45 = fmul double -2.000000e+00, %44 %46 = load double, ptr %23, align 8 %47 = fmul double %45, %46 store double %47, ptr %21, align 8 %48 = load double, ptr %24, align 8 %49 = call double @sin(double noundef %48) #4 store double %49, ptr %22, align 8 %50 = load double, ptr %21, align 8 %51 = fadd double 1.000000e+00, %50 store double %51, ptr %19, align 8 %52 = load double, ptr %22, align 8 store double %52, ptr %20, align 8 %53 = load i64, ptr %5, align 8 %54 = add i64 %53, 3 store i64 %54, ptr %12, align 8 store i64 2, ptr %7, align 8 %55 = load i64, ptr %7, align 8 %56 = load i64, ptr %5, align 8 %57 = lshr i64 %56, 2 %58 = icmp ule i64 %55, %57 br i1 %58, label %.lr.ph, label %180 .lr.ph: ; preds = %40 br label %59 59: ; preds = %.lr.ph, %173 %60 = load i64, ptr %12, align 8 %61 = load i64, ptr %7, align 8 %62 = load i64, ptr %7, align 8 %63 = add i64 %61, %62 %64 = sub i64 %63, 1 store i64 %64, ptr %8, align 8 %65 = add i64 1, %64 store i64 %65, ptr %9, align 8 %66 = sub i64 %60, %65 store i64 %66, ptr %10, align 8 %67 = add i64 1, %66 store i64 %67, ptr %11, align 8 %68 = load double, ptr %13, align 8 %69 = load ptr, ptr %4, align 8 %70 = load i64, ptr %8, align 8 %71 = getelementptr inbounds double, ptr %69, i64 %70 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %4, align 8 %74 = load i64, ptr %10, align 8 %75 = getelementptr inbounds double, ptr %73, i64 %74 %76 = load double, ptr %75, align 8 %77 = fadd double %72, %76 %78 = fmul double %68, %77 store double %78, ptr %15, align 8 %79 = load double, ptr %13, align 8 %80 = load ptr, ptr %4, align 8 %81 = load i64, ptr %9, align 8 %82 = getelementptr inbounds double, ptr %80, i64 %81 %83 = load double, ptr %82, align 8 %84 = load ptr, ptr %4, align 8 %85 = load i64, ptr %11, align 8 %86 = getelementptr inbounds double, ptr %84, i64 %85 %87 = load double, ptr %86, align 8 %88 = fsub double %83, %87 %89 = fmul double %79, %88 store double %89, ptr %16, align 8 %90 = load double, ptr %14, align 8 %91 = fneg double %90 %92 = load ptr, ptr %4, align 8 %93 = load i64, ptr %9, align 8 %94 = getelementptr inbounds double, ptr %92, i64 %93 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %4, align 8 %97 = load i64, ptr %11, align 8 %98 = getelementptr inbounds double, ptr %96, i64 %97 %99 = load double, ptr %98, align 8 %100 = fadd double %95, %99 %101 = fmul double %91, %100 store double %101, ptr %17, align 8 %102 = load double, ptr %14, align 8 %103 = load ptr, ptr %4, align 8 %104 = load i64, ptr %8, align 8 %105 = getelementptr inbounds double, ptr %103, i64 %104 %106 = load double, ptr %105, align 8 %107 = load ptr, ptr %4, align 8 %108 = load i64, ptr %10, align 8 %109 = getelementptr inbounds double, ptr %107, i64 %108 %110 = load double, ptr %109, align 8 %111 = fsub double %106, %110 %112 = fmul double %102, %111 store double %112, ptr %18, align 8 %113 = load double, ptr %15, align 8 %114 = load double, ptr %19, align 8 %115 = load double, ptr %17, align 8 %116 = call double @llvm.fmuladd.f64(double %114, double %115, double %113) %117 = load double, ptr %20, align 8 %118 = load double, ptr %18, align 8 %119 = fneg double %117 %120 = call double @llvm.fmuladd.f64(double %119, double %118, double %116) %121 = load ptr, ptr %4, align 8 %122 = load i64, ptr %8, align 8 %123 = getelementptr inbounds double, ptr %121, i64 %122 store double %120, ptr %123, align 8 %124 = load double, ptr %16, align 8 %125 = load double, ptr %19, align 8 %126 = load double, ptr %18, align 8 %127 = call double @llvm.fmuladd.f64(double %125, double %126, double %124) %128 = load double, ptr %20, align 8 %129 = load double, ptr %17, align 8 %130 = call double @llvm.fmuladd.f64(double %128, double %129, double %127) %131 = load ptr, ptr %4, align 8 %132 = load i64, ptr %9, align 8 %133 = getelementptr inbounds double, ptr %131, i64 %132 store double %130, ptr %133, align 8 %134 = load double, ptr %15, align 8 %135 = load double, ptr %19, align 8 %136 = load double, ptr %17, align 8 %137 = fneg double %135 %138 = call double @llvm.fmuladd.f64(double %137, double %136, double %134) %139 = load double, ptr %20, align 8 %140 = load double, ptr %18, align 8 %141 = call double @llvm.fmuladd.f64(double %139, double %140, double %138) %142 = load ptr, ptr %4, align 8 %143 = load i64, ptr %10, align 8 %144 = getelementptr inbounds double, ptr %142, i64 %143 store double %141, ptr %144, align 8 %145 = load double, ptr %16, align 8 %146 = fneg double %145 %147 = load double, ptr %19, align 8 %148 = load double, ptr %18, align 8 %149 = call double @llvm.fmuladd.f64(double %147, double %148, double %146) %150 = load double, ptr %20, align 8 %151 = load double, ptr %17, align 8 %152 = call double @llvm.fmuladd.f64(double %150, double %151, double %149) %153 = load ptr, ptr %4, align 8 %154 = load i64, ptr %11, align 8 %155 = getelementptr inbounds double, ptr %153, i64 %154 store double %152, ptr %155, align 8 %156 = load double, ptr %19, align 8 store double %156, ptr %23, align 8 %157 = load double, ptr %21, align 8 %158 = load double, ptr %20, align 8 %159 = load double, ptr %22, align 8 %160 = fmul double %158, %159 %161 = fneg double %160 %162 = call double @llvm.fmuladd.f64(double %156, double %157, double %161) %163 = load double, ptr %19, align 8 %164 = fadd double %162, %163 store double %164, ptr %19, align 8 %165 = load double, ptr %20, align 8 %166 = load double, ptr %21, align 8 %167 = load double, ptr %23, align 8 %168 = load double, ptr %22, align 8 %169 = fmul double %167, %168 %170 = call double @llvm.fmuladd.f64(double %165, double %166, double %169) %171 = load double, ptr %20, align 8 %172 = fadd double %170, %171 store double %172, ptr %20, align 8 br label %173 173: ; preds = %59 %174 = load i64, ptr %7, align 8 %175 = add i64 %174, 1 store i64 %175, ptr %7, align 8 %176 = load i64, ptr %7, align 8 %177 = load i64, ptr %5, align 8 %178 = lshr i64 %177, 2 %179 = icmp ule i64 %176, %178 br i1 %179, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %173 br label %180 180: ; preds = %._crit_edge, %40 %181 = load i32, ptr %6, align 4 %182 = icmp eq i32 %181, 1 br i1 %182, label %183, label %200 183: ; preds = %180 %184 = load ptr, ptr %4, align 8 %185 = getelementptr inbounds double, ptr %184, i64 1 %186 = load double, ptr %185, align 8 store double %186, ptr %15, align 8 %187 = load ptr, ptr %4, align 8 %188 = getelementptr inbounds double, ptr %187, i64 2 %189 = load double, ptr %188, align 8 %190 = fadd double %186, %189 %191 = load ptr, ptr %4, align 8 %192 = getelementptr inbounds double, ptr %191, i64 1 store double %190, ptr %192, align 8 %193 = load double, ptr %15, align 8 %194 = load ptr, ptr %4, align 8 %195 = getelementptr inbounds double, ptr %194, i64 2 %196 = load double, ptr %195, align 8 %197 = fsub double %193, %196 %198 = load ptr, ptr %4, align 8 %199 = getelementptr inbounds double, ptr %198, i64 2 store double %197, ptr %199, align 8 br label %225 200: ; preds = %180 %201 = load double, ptr %13, align 8 %202 = load ptr, ptr %4, align 8 %203 = getelementptr inbounds double, ptr %202, i64 1 %204 = load double, ptr %203, align 8 store double %204, ptr %15, align 8 %205 = load ptr, ptr %4, align 8 %206 = getelementptr inbounds double, ptr %205, i64 2 %207 = load double, ptr %206, align 8 %208 = fadd double %204, %207 %209 = fmul double %201, %208 %210 = load ptr, ptr %4, align 8 %211 = getelementptr inbounds double, ptr %210, i64 1 store double %209, ptr %211, align 8 %212 = load double, ptr %13, align 8 %213 = load double, ptr %15, align 8 %214 = load ptr, ptr %4, align 8 %215 = getelementptr inbounds double, ptr %214, i64 2 %216 = load double, ptr %215, align 8 %217 = fsub double %213, %216 %218 = fmul double %212, %217 %219 = load ptr, ptr %4, align 8 %220 = getelementptr inbounds double, ptr %219, i64 2 store double %218, ptr %220, align 8 %221 = load ptr, ptr %4, align 8 %222 = load i64, ptr %5, align 8 %223 = lshr i64 %222, 1 %224 = call i32 @four1(ptr noundef %221, i64 noundef %223, i32 noundef -1) br label %225 225: ; preds = %200, %183 ret void } declare i32 @four1(ptr noundef, i64 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-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"}
; ModuleID = '/tmp/tmph8pqi_s8.c' source_filename = "/tmp/tmph8pqi_s8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ref_int16_t(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 store i32 %5, ptr %6, align 4 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/tmph8pqi_s8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ref_int16_t(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 store i32 %5, ptr %6, align 4 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/tmp7sqfojj8.c' source_filename = "/tmp/tmp7sqfojj8.c" target datalayout = "e-m:e-p270: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.wavWriteHeader.riff = private unnamed_addr constant [4 x i8] c"RIFF", align 1 @__const.wavWriteHeader.wave = private unnamed_addr constant [4 x i8] c"WAVE", align 1 @__const.wavWriteHeader.fmt = private unnamed_addr constant [4 x i8] c"fmt ", align 1 @__const.wavWriteHeader.data = private unnamed_addr constant [4 x i8] c"data", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wavWriteHeader(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [4 x i8], align 1 %6 = alloca [4 x i8], align 1 %7 = alloca [4 x i8], align 1 %8 = alloca [4 x i8], align 1 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.wavWriteHeader.riff, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.wavWriteHeader.wave, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.wavWriteHeader.fmt, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.wavWriteHeader.data, i64 4, i1 false) %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 1 %12 = mul nsw i32 %11, 2 %13 = add nsw i32 36, %12 store i32 %13, ptr %9, align 4 %14 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fwrite(ptr noundef %14, i32 noundef 4, i32 noundef 1, ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %9, align 4 %19 = call i32 @writeLeInt32(ptr noundef %17, i32 noundef %18) %20 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %21 = load ptr, ptr %3, align 8 %22 = call i32 @fwrite(ptr noundef %20, i32 noundef 4, i32 noundef 1, ptr noundef %21) %23 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = call i32 @fwrite(ptr noundef %23, i32 noundef 4, i32 noundef 1, ptr noundef %24) %26 = load ptr, ptr %3, align 8 %27 = call i32 @writeLeInt32(ptr noundef %26, i32 noundef 16) %28 = load ptr, ptr %3, align 8 %29 = call i32 @writeLeInt16(ptr noundef %28, i32 noundef 1) %30 = load ptr, ptr %3, align 8 %31 = call i32 @writeLeInt16(ptr noundef %30, i32 noundef 1) %32 = load ptr, ptr %3, align 8 %33 = call i32 @writeLeInt32(ptr noundef %32, i32 noundef 96000) %34 = load ptr, ptr %3, align 8 %35 = call i32 @writeLeInt32(ptr noundef %34, i32 noundef 192000) %36 = load ptr, ptr %3, align 8 %37 = call i32 @writeLeInt16(ptr noundef %36, i32 noundef 2) %38 = load ptr, ptr %3, align 8 %39 = call i32 @writeLeInt16(ptr noundef %38, i32 noundef 16) %40 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %41 = load ptr, ptr %3, align 8 %42 = call i32 @fwrite(ptr noundef %40, i32 noundef 4, i32 noundef 1, ptr noundef %41) %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %4, align 4 %45 = mul nsw i32 %44, 1 %46 = mul nsw i32 %45, 2 %47 = call i32 @writeLeInt32(ptr noundef %43, i32 noundef %46) ret void } ; 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 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @writeLeInt32(ptr noundef, i32 noundef) #2 declare i32 @writeLeInt16(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7sqfojj8.c" target datalayout = "e-m:e-p270: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.wavWriteHeader.riff = private unnamed_addr constant [4 x i8] c"RIFF", align 1 @__const.wavWriteHeader.wave = private unnamed_addr constant [4 x i8] c"WAVE", align 1 @__const.wavWriteHeader.fmt = private unnamed_addr constant [4 x i8] c"fmt ", align 1 @__const.wavWriteHeader.data = private unnamed_addr constant [4 x i8] c"data", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wavWriteHeader(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [4 x i8], align 1 %6 = alloca [4 x i8], align 1 %7 = alloca [4 x i8], align 1 %8 = alloca [4 x i8], align 1 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.wavWriteHeader.riff, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.wavWriteHeader.wave, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.wavWriteHeader.fmt, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.wavWriteHeader.data, i64 4, i1 false) %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 1 %12 = mul nsw i32 %11, 2 %13 = add nsw i32 36, %12 store i32 %13, ptr %9, align 4 %14 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fwrite(ptr noundef %14, i32 noundef 4, i32 noundef 1, ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %9, align 4 %19 = call i32 @writeLeInt32(ptr noundef %17, i32 noundef %18) %20 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %21 = load ptr, ptr %3, align 8 %22 = call i32 @fwrite(ptr noundef %20, i32 noundef 4, i32 noundef 1, ptr noundef %21) %23 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = call i32 @fwrite(ptr noundef %23, i32 noundef 4, i32 noundef 1, ptr noundef %24) %26 = load ptr, ptr %3, align 8 %27 = call i32 @writeLeInt32(ptr noundef %26, i32 noundef 16) %28 = load ptr, ptr %3, align 8 %29 = call i32 @writeLeInt16(ptr noundef %28, i32 noundef 1) %30 = load ptr, ptr %3, align 8 %31 = call i32 @writeLeInt16(ptr noundef %30, i32 noundef 1) %32 = load ptr, ptr %3, align 8 %33 = call i32 @writeLeInt32(ptr noundef %32, i32 noundef 96000) %34 = load ptr, ptr %3, align 8 %35 = call i32 @writeLeInt32(ptr noundef %34, i32 noundef 192000) %36 = load ptr, ptr %3, align 8 %37 = call i32 @writeLeInt16(ptr noundef %36, i32 noundef 2) %38 = load ptr, ptr %3, align 8 %39 = call i32 @writeLeInt16(ptr noundef %38, i32 noundef 16) %40 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %41 = load ptr, ptr %3, align 8 %42 = call i32 @fwrite(ptr noundef %40, i32 noundef 4, i32 noundef 1, ptr noundef %41) %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %4, align 4 %45 = mul nsw i32 %44, 1 %46 = mul nsw i32 %45, 2 %47 = call i32 @writeLeInt32(ptr noundef %43, i32 noundef %46) ret void } ; 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 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @writeLeInt32(ptr noundef, i32 noundef) #2 declare i32 @writeLeInt16(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyvkyyh8g.c' source_filename = "/tmp/tmpyvkyyh8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @first_non_repeat(ptr noundef %0) #0 { %2 = alloca i8, align 1 %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 %7 = call i64 @calloc(i32 noundef 256, i32 noundef 4) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %28, %1 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, 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 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %17, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %25, align 4 br label %28 28: ; preds = %16 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %9, !llvm.loop !6 31: ; preds = %9 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %33 33: ; preds = %58, %31 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %61 37: ; preds = %33 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %6, 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 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %38, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %57 49: ; preds = %37 %50 = load ptr, ptr %4, align 8 %51 = call i32 @free(ptr noundef %50) %52 = load ptr, ptr %3, 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 store i8 %56, ptr %2, align 1 br label %64 57: ; preds = %37 br label %58 58: ; preds = %57 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 br label %33, !llvm.loop !8 61: ; preds = %33 %62 = load ptr, ptr %4, align 8 %63 = call i32 @free(ptr noundef %62) store i8 0, ptr %2, align 1 br label %64 64: ; preds = %61, %49 %65 = load i8, ptr %2, align 1 ret i8 %65 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyvkyyh8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @first_non_repeat(ptr noundef %0) #0 { %2 = alloca i8, align 1 %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 %7 = call i64 @calloc(i32 noundef 256, i32 noundef 4) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 store i32 0, ptr %6, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %27 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %16, i64 %23 %25 = load i32, ptr %24, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %24, align 4 br label %27 27: ; preds = %15 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %36 36: ; preds = %._crit_edge, %1 %37 = load i32, ptr %6, align 4 store i32 %37, ptr %5, align 4 store i32 0, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %68 .lr.ph2: ; preds = %36 br label %41 41: ; preds = %.lr.ph2, %62 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %42, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp eq i32 %51, 1 br i1 %52, label %53, label %61 53: ; preds = %41 %54 = load ptr, ptr %4, align 8 %55 = call i32 @free(ptr noundef %54) %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 store i8 %60, ptr %2, align 1 br label %71 61: ; preds = %41 br label %62 62: ; preds = %61 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %5, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %36 %69 = load ptr, ptr %4, align 8 %70 = call i32 @free(ptr noundef %69) store i8 0, ptr %2, align 1 br label %71 71: ; preds = %68, %53 %72 = load i8, ptr %2, align 1 ret i8 %72 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpuyarihi1.c' source_filename = "/tmp/tmpuyarihi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partial_hash(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 5381, ptr %5, align 4 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %21, %2 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 5 %14 = load i32, ptr %5, align 4 %15 = add i32 %13, %14 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 %18 = load i8, ptr %16, align 1 %19 = sext i8 %18 to i32 %20 = add i32 %15, %19 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %11 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %6, align 8 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = load i32, ptr %5, align 4 %26 = shl i32 %25, 5 %27 = load i32, ptr %5, align 4 %28 = add i32 %26, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 ret i32 %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpuyarihi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partial_hash(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 5381, ptr %5, align 4 store i64 0, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %20 %11 = load i32, ptr %5, align 4 %12 = shl i32 %11, 5 %13 = load i32, ptr %5, align 4 %14 = add i32 %12, %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load i8, ptr %15, align 1 %18 = sext i8 %17 to i32 %19 = add i32 %14, %18 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %10 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = load i64, ptr %4, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i32, ptr %5, align 4 %28 = shl i32 %27, 5 %29 = load i32, ptr %5, align 4 %30 = add i32 %28, %29 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2nhyiun8.c' source_filename = "/tmp/tmp2nhyiun8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn10() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @foo() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 1732984, ptr %1, align 4 br label %11 5: ; preds = %0 %6 = call i64 (...) @foo() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 18409, ptr %1, align 4 br label %11 9: ; preds = %5 br label %10 10: ; preds = %9 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %8, %4 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2nhyiun8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn10() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @foo() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 1732984, ptr %1, align 4 br label %11 5: ; preds = %0 %6 = call i64 (...) @foo() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 18409, ptr %1, align 4 br label %11 9: ; preds = %5 br label %10 10: ; preds = %9 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %8, %4 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @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"}
; ModuleID = '/tmp/tmp5go1mhun.c' source_filename = "/tmp/tmp5go1mhun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_uint8_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %6 6: ; preds = %10, %2 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ult ptr %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 store i32 %12, ptr %5, align 4 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i32, ptr %13, i32 -1 store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %3, align 8 store i32 %16, ptr %17, align 4 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %4, align 8 store i32 %19, ptr %20, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5go1mhun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_uint8_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ult ptr %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i32, ptr %12, i32 -1 store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %3, align 8 store i32 %15, ptr %16, align 4 %18 = load i32, ptr %5, align 4 %19 = load ptr, ptr %4, align 8 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = icmp ult ptr %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %23 23: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu7qp3o57.c' source_filename = "/tmp/tmpu7qp3o57.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"Trouble opening <%s> mode <%s>\0A,error %d : %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %20 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @errno, align 4 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14, i32 noundef %15, ptr noundef %17) %19 = call i32 @exit(i32 noundef 2) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu7qp3o57.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"Trouble opening <%s> mode <%s>\0A,error %d : %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %20 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @errno, align 4 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14, i32 noundef %15, ptr noundef %17) %19 = call i32 @exit(i32 noundef 2) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp32wx2x0q.c' source_filename = "/tmp/tmp32wx2x0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 8, i32 4, i32 6, i32 9, i32 0, i32 -1, i32 5, i32 -7, i32 10, i32 -3], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.arr, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @print_arr(ptr noundef %2, i32 noundef 10) %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @merge_sort(ptr noundef %4, i32 noundef 0, i32 noundef 9) %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = call i32 @print_arr(ptr noundef %6, i32 noundef 10) 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 @print_arr(ptr noundef, i32 noundef) #2 declare i32 @merge_sort(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp32wx2x0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 8, i32 4, i32 6, i32 9, i32 0, i32 -1, i32 5, i32 -7, i32 10, i32 -3], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.arr, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @print_arr(ptr noundef %2, i32 noundef 10) %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @merge_sort(ptr noundef %4, i32 noundef 0, i32 noundef 9) %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = call i32 @print_arr(ptr noundef %6, i32 noundef 10) 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 @print_arr(ptr noundef, i32 noundef) #2 declare i32 @merge_sort(ptr 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"}
; ModuleID = '/tmp/tmpb52nxjs9.c' source_filename = "/tmp/tmpb52nxjs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_empty() %7 = call i32 (...) @test_add_single() %8 = call i32 (...) @test_add_nocopy() %9 = call i32 (...) @test_add_1() %10 = call i32 (...) @test_add_2() %11 = call i32 (...) @test_add_3() %12 = call i32 (...) @test_add_4() %13 = call i32 (...) @test_find() %14 = call i32 (...) @test_first() %15 = call i32 (...) @test_remove_find() %16 = call i32 (...) @test_remove_1() %17 = call i32 (...) @test_remove_2() %18 = call i32 (...) @test_remove_3() %19 = call i32 (...) @test_remove_4() %20 = call i32 (...) @test_remove_5() ret i32 0 } declare i32 @test_empty(...) #1 declare i32 @test_add_single(...) #1 declare i32 @test_add_nocopy(...) #1 declare i32 @test_add_1(...) #1 declare i32 @test_add_2(...) #1 declare i32 @test_add_3(...) #1 declare i32 @test_add_4(...) #1 declare i32 @test_find(...) #1 declare i32 @test_first(...) #1 declare i32 @test_remove_find(...) #1 declare i32 @test_remove_1(...) #1 declare i32 @test_remove_2(...) #1 declare i32 @test_remove_3(...) #1 declare i32 @test_remove_4(...) #1 declare i32 @test_remove_5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb52nxjs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_empty() %7 = call i32 (...) @test_add_single() %8 = call i32 (...) @test_add_nocopy() %9 = call i32 (...) @test_add_1() %10 = call i32 (...) @test_add_2() %11 = call i32 (...) @test_add_3() %12 = call i32 (...) @test_add_4() %13 = call i32 (...) @test_find() %14 = call i32 (...) @test_first() %15 = call i32 (...) @test_remove_find() %16 = call i32 (...) @test_remove_1() %17 = call i32 (...) @test_remove_2() %18 = call i32 (...) @test_remove_3() %19 = call i32 (...) @test_remove_4() %20 = call i32 (...) @test_remove_5() ret i32 0 } declare i32 @test_empty(...) #1 declare i32 @test_add_single(...) #1 declare i32 @test_add_nocopy(...) #1 declare i32 @test_add_1(...) #1 declare i32 @test_add_2(...) #1 declare i32 @test_add_3(...) #1 declare i32 @test_add_4(...) #1 declare i32 @test_find(...) #1 declare i32 @test_first(...) #1 declare i32 @test_remove_find(...) #1 declare i32 @test_remove_1(...) #1 declare i32 @test_remove_2(...) #1 declare i32 @test_remove_3(...) #1 declare i32 @test_remove_4(...) #1 declare i32 @test_remove_5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzxkj7ih5.c' source_filename = "/tmp/tmpzxkj7ih5.c" target datalayout = "e-m:e-p270: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/tmpzxkj7ih5.c" target datalayout = "e-m:e-p270: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/tmptcupwnk2.c' source_filename = "/tmp/tmptcupwnk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrixScalarProduct(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 %8, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %27, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %30 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %5, 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 = mul nsw i32 %18, %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %8, align 4 br label %27 27: ; preds = %13 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 %31 = load i32, ptr %8, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptcupwnk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrixScalarProduct(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 %8, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %26 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = mul nsw i32 %17, %22 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, %23 store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %12 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %3 %33 = load i32, ptr %8, align 4 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw116_icn.c' source_filename = "/tmp/tmpw116_icn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oth_keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 %9 = icmp eq i32 %8, 27 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @exit(i32 noundef 0) #2 unreachable 12: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw116_icn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oth_keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 %9 = icmp eq i32 %8, 27 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @exit(i32 noundef 0) #2 unreachable 12: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8vve70jr.c' source_filename = "/tmp/tmp8vve70jr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strregerror.oe = internal global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strregerror(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr @strregerror.oe, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr @strregerror.oe, align 8 %10 = call i32 @free(ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load i32, ptr %3, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i64 @regerror(i32 noundef %12, ptr noundef %13, ptr noundef null, i64 noundef 0) store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr @strregerror.oe, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %11 %19 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %20 20: ; preds = %18, %11 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr @strregerror.oe, align 8 %24 = load i64, ptr %5, align 8 %25 = call i64 @regerror(i32 noundef %21, ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = load ptr, ptr @strregerror.oe, align 8 ret ptr %26 } declare i32 @free(ptr noundef) #1 declare i64 @regerror(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @err(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/tmp8vve70jr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strregerror.oe = internal global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strregerror(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr @strregerror.oe, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr @strregerror.oe, align 8 %10 = call i32 @free(ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load i32, ptr %3, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i64 @regerror(i32 noundef %12, ptr noundef %13, ptr noundef null, i64 noundef 0) store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr @strregerror.oe, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %11 %19 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %20 20: ; preds = %18, %11 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr @strregerror.oe, align 8 %24 = load i64, ptr %5, align 8 %25 = call i64 @regerror(i32 noundef %21, ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = load ptr, ptr @strregerror.oe, align 8 ret ptr %26 } declare i32 @free(ptr noundef) #1 declare i64 @regerror(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @err(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/tmpdwfom2f9.c' source_filename = "/tmp/tmpdwfom2f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %10, %2 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ule ptr %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = call i32 @validptr(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %3, align 8 br label %6, !llvm.loop !6 19: ; preds = %6 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @validptr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdwfom2f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ule ptr %6, %7 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %3, align 8 %11 = call i32 @validptr(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %5, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %3, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ule ptr %18, %19 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i32, ptr %5, align 4 ret i32 %22 } declare i32 @validptr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6oqi8wr0.c' source_filename = "/tmp/tmp6oqi8wr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @play_beep(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @play_beep_sys(i32 noundef %5, i32 noundef %6) ret void } declare i32 @play_beep_sys(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/tmp6oqi8wr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @play_beep(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @play_beep_sys(i32 noundef %5, i32 noundef %6) ret void } declare i32 @play_beep_sys(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/tmpppbyra5a.c' source_filename = "/tmp/tmpppbyra5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"train-labels.idx1-ubyte\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"train-images.idx3-ubyte\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"4/9:%d\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MNIST49() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 11791, ptr %3, align 4 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 8, i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @SEEK_SET, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 16, i32 noundef %17) store i32 0, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 8 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %9, align 8 store i32 0, ptr %1, align 4 br label %24 24: ; preds = %34, %0 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = call ptr @malloc(i32 noundef 6288) %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %1, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 store ptr %29, ptr %33, align 8 br label %34 34: ; preds = %28 %35 = load i32, ptr %1, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %1, align 4 br label %24, !llvm.loop !6 37: ; preds = %24 store i32 0, ptr %1, align 4 br label %38 38: ; preds = %123, %37 %39 = load i32, ptr %1, align 4 %40 = icmp slt i32 %39, 60000 br i1 %40, label %41, label %126 41: ; preds = %38 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %42) %44 = load i8, ptr %7, align 1 %45 = zext i8 %44 to i32 %46 = icmp eq i32 %45, 4 br i1 %46, label %47, label %82 47: ; preds = %41 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %1, align 4 %50 = mul nsw i32 784, %49 %51 = add nsw i32 16, %50 %52 = load i32, ptr @SEEK_SET, align 4 %53 = call i32 @fseek(ptr noundef %48, i32 noundef %51, i32 noundef %52) store i32 0, ptr %2, align 4 br label %54 54: ; preds = %70, %47 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %55, 784 br i1 %56, label %57, label %73 57: ; preds = %54 %58 = load ptr, ptr %5, align 8 %59 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %58) %60 = load i8, ptr %8, align 1 %61 = uitofp i8 %60 to double %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %6, 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 i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double %61, ptr %69, align 8 br label %70 70: ; preds = %57 %71 = load i32, ptr %2, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %2, align 4 br label %54, !llvm.loop !8 73: ; preds = %54 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = getelementptr inbounds double, ptr %78, i64 784 store double 1.000000e+00, ptr %79, align 8 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %6, align 4 br label %122 82: ; preds = %41 %83 = load i8, ptr %7, align 1 %84 = zext i8 %83 to i32 %85 = icmp eq i32 %84, 9 br i1 %85, label %86, label %121 86: ; preds = %82 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %1, align 4 %89 = mul nsw i32 784, %88 %90 = add nsw i32 16, %89 %91 = load i32, ptr @SEEK_SET, align 4 %92 = call i32 @fseek(ptr noundef %87, i32 noundef %90, i32 noundef %91) store i32 0, ptr %2, align 4 br label %93 93: ; preds = %109, %86 %94 = load i32, ptr %2, align 4 %95 = icmp slt i32 %94, 784 br i1 %95, label %96, label %112 96: ; preds = %93 %97 = load ptr, ptr %5, align 8 %98 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %97) %99 = load i8, ptr %8, align 1 %100 = uitofp i8 %99 to double %101 = load ptr, ptr %9, align 8 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %101, i64 %103 %105 = load ptr, ptr %104, align 8 %106 = load i32, ptr %2, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 store double %100, ptr %108, align 8 br label %109 109: ; preds = %96 %110 = load i32, ptr %2, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %2, align 4 br label %93, !llvm.loop !9 112: ; preds = %93 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %6, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds ptr, ptr %113, i64 %115 %117 = load ptr, ptr %116, align 8 %118 = getelementptr inbounds double, ptr %117, i64 784 store double -1.000000e+00, ptr %118, align 8 %119 = load i32, ptr %6, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %6, align 4 br label %121 121: ; preds = %112, %82 br label %122 122: ; preds = %121, %73 br label %123 123: ; preds = %122 %124 = load i32, ptr %1, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %1, align 4 br label %38, !llvm.loop !10 126: ; preds = %38 %127 = load i32, ptr %6, align 4 %128 = call i32 @printf(ptr noundef @.str.3, i32 noundef %127) %129 = load ptr, ptr %5, align 8 %130 = load i32, ptr @SEEK_END, align 4 %131 = call i32 @fseek(ptr noundef %129, i32 noundef 0, i32 noundef %130) %132 = load ptr, ptr %5, align 8 %133 = call i64 @ftell(ptr noundef %132) store i64 %133, ptr %10, align 8 %134 = load ptr, ptr %9, align 8 ret ptr %134 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpppbyra5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"train-labels.idx1-ubyte\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"train-images.idx3-ubyte\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"4/9:%d\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MNIST49() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 11791, ptr %3, align 4 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 8, i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @SEEK_SET, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 16, i32 noundef %17) store i32 0, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 8 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %9, align 8 store i32 0, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %27 27: ; preds = %.lr.ph, %33 %28 = call ptr @malloc(i32 noundef 6288) %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 store ptr %28, ptr %32, align 8 br label %33 33: ; preds = %27 %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %0 store i32 0, ptr %1, align 4 %40 = load i32, ptr %1, align 4 %41 = icmp slt i32 %40, 60000 br i1 %41, label %.lr.ph8, label %131 .lr.ph8: ; preds = %39 br label %42 42: ; preds = %.lr.ph8, %126 %43 = load ptr, ptr %4, align 8 %44 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %43) %45 = load i8, ptr %7, align 1 %46 = zext i8 %45 to i32 %47 = icmp eq i32 %46, 4 br i1 %47, label %48, label %84 48: ; preds = %42 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %1, align 4 %51 = mul nsw i32 784, %50 %52 = add nsw i32 16, %51 %53 = load i32, ptr @SEEK_SET, align 4 %54 = call i32 @fseek(ptr noundef %49, i32 noundef %52, i32 noundef %53) store i32 0, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %55, 784 br i1 %56, label %.lr.ph5, label %75 .lr.ph5: ; preds = %48 br label %57 57: ; preds = %.lr.ph5, %70 %58 = load ptr, ptr %5, align 8 %59 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %58) %60 = load i8, ptr %8, align 1 %61 = uitofp i8 %60 to double %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %6, 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 i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double %61, ptr %69, align 8 br label %70 70: ; preds = %57 %71 = load i32, ptr %2, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %2, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp slt i32 %73, 784 br i1 %74, label %57, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %70 br label %75 75: ; preds = %._crit_edge6, %48 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = getelementptr inbounds double, ptr %80, i64 784 store double 1.000000e+00, ptr %81, align 8 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 br label %125 84: ; preds = %42 %85 = load i8, ptr %7, align 1 %86 = zext i8 %85 to i32 %87 = icmp eq i32 %86, 9 br i1 %87, label %88, label %124 88: ; preds = %84 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %1, align 4 %91 = mul nsw i32 784, %90 %92 = add nsw i32 16, %91 %93 = load i32, ptr @SEEK_SET, align 4 %94 = call i32 @fseek(ptr noundef %89, i32 noundef %92, i32 noundef %93) store i32 0, ptr %2, align 4 %95 = load i32, ptr %2, align 4 %96 = icmp slt i32 %95, 784 br i1 %96, label %.lr.ph2, label %115 .lr.ph2: ; preds = %88 br label %97 97: ; preds = %.lr.ph2, %110 %98 = load ptr, ptr %5, align 8 %99 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %98) %100 = load i8, ptr %8, align 1 %101 = uitofp i8 %100 to double %102 = load ptr, ptr %9, align 8 %103 = load i32, ptr %6, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds ptr, ptr %102, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr %2, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 store double %101, ptr %109, align 8 br label %110 110: ; preds = %97 %111 = load i32, ptr %2, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %2, align 4 %113 = load i32, ptr %2, align 4 %114 = icmp slt i32 %113, 784 br i1 %114, label %97, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %110 br label %115 115: ; preds = %._crit_edge3, %88 %116 = load ptr, ptr %9, align 8 %117 = load i32, ptr %6, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds ptr, ptr %116, i64 %118 %120 = load ptr, ptr %119, align 8 %121 = getelementptr inbounds double, ptr %120, i64 784 store double -1.000000e+00, ptr %121, align 8 %122 = load i32, ptr %6, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %6, align 4 br label %124 124: ; preds = %115, %84 br label %125 125: ; preds = %124, %75 br label %126 126: ; preds = %125 %127 = load i32, ptr %1, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %1, align 4 %129 = load i32, ptr %1, align 4 %130 = icmp slt i32 %129, 60000 br i1 %130, label %42, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %126 br label %131 131: ; preds = %._crit_edge9, %39 %132 = load i32, ptr %6, align 4 %133 = call i32 @printf(ptr noundef @.str.3, i32 noundef %132) %134 = load ptr, ptr %5, align 8 %135 = load i32, ptr @SEEK_END, align 4 %136 = call i32 @fseek(ptr noundef %134, i32 noundef 0, i32 noundef %135) %137 = load ptr, ptr %5, align 8 %138 = call i64 @ftell(ptr noundef %137) store i64 %138, ptr %10, align 8 %139 = load ptr, ptr %9, align 8 ret ptr %139 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnux8cmxy.c' source_filename = "/tmp/tmpnux8cmxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A Enter Number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\0A %d is met %d times in the number. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [100 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %10 10: ; preds = %13, %0 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = srem i32 %14, 10 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %17 store i32 %15, ptr %18, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = sdiv i32 %21, 10 store i32 %22, ptr %2, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 br label %24 24: ; preds = %52, %23 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %25, 9 br i1 %26, label %27, label %55 27: ; preds = %24 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %28 28: ; preds = %42, %27 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %32, label %45 32: ; preds = %28 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %32 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %39, %32 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %28, !llvm.loop !8 45: ; preds = %28 %46 = load i32, ptr %6, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49, i32 noundef %50) br label %52 52: ; preds = %48, %45 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 br label %24, !llvm.loop !9 55: ; preds = %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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnux8cmxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A Enter Number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\0A %d is met %d times in the number. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [100 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 10 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %16 store i32 %14, ptr %17, align 4 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = sdiv i32 %20, 10 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %25, 9 br i1 %26, label %.lr.ph5, label %59 .lr.ph5: ; preds = %24 br label %27 27: ; preds = %.lr.ph5, %54 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %.lr.ph2, label %47 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %41 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %41 38: ; preds = %31 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %41 41: ; preds = %38, %31 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %27 %48 = load i32, ptr %6, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %47 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %6, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51, i32 noundef %52) br label %54 54: ; preds = %50, %47 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp sle i32 %57, 9 br i1 %58, label %27, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %54 br label %59 59: ; preds = %._crit_edge6, %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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmptb82vd5w.c' source_filename = "/tmp/tmptb82vd5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"b:c:r:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: invalid option -%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"Usage: %s [-b base] [-c count] [-r delay] file\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"could not open %s, %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [7 x i8] c"%08x: \00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"s %x\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"Read error on %s, offset %d len %d, %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"sum %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hd_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 [4096 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 -1, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 br label %19 19: ; preds = %47, %2 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %19 br label %48 27: ; preds = %19 %28 = load i32, ptr %6, align 4 switch i32 %28, label %46 [ i32 98, label %29 i32 99, label %32 i32 114, label %35 i32 63, label %38 ] 29: ; preds = %27 %30 = load i32, ptr @optarg, align 4 %31 = call i32 @strtol(i32 noundef %30, ptr noundef null, i32 noundef 0) store i32 %31, ptr %16, align 4 br label %46 32: ; preds = %27 %33 = load i32, ptr @optarg, align 4 %34 = call i32 @strtol(i32 noundef %33, ptr noundef null, i32 noundef 0) store i32 %34, ptr %17, align 4 br label %46 35: ; preds = %27 %36 = load i32, ptr @optarg, align 4 %37 = call i32 @strtol(i32 noundef %36, ptr noundef null, i32 noundef 0) store i32 %37, ptr %18, align 4 br label %46 38: ; preds = %27 %39 = load i32, ptr @stderr, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 0 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr @optopt, align 4 %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1, ptr noundef %42, i32 noundef %43) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %27, %35, %32, %29 br label %47 47: ; preds = %46 br i1 true, label %19, label %48 48: ; preds = %47, %26 %49 = load i32, ptr @optind, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %48 %54 = load i32, ptr @stderr, align 4 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 0 %57 = load ptr, ptr %56, align 8 %58 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2, ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %48 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr @optind, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = load i32, ptr @O_RDONLY, align 4 %67 = call i32 @open(ptr noundef %65, i32 noundef %66) store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %60 %71 = load i32, ptr @stderr, align 4 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr @optind, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr @errno, align 4 %78 = call ptr @strerror(i32 noundef %77) %79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.3, ptr noundef %76, ptr noundef %78) store i32 1, ptr %3, align 4 br label %199 80: ; preds = %60 br label %81 81: ; preds = %195, %80 %82 = load i32, ptr %16, align 4 %83 = icmp sge i32 %82, 0 br i1 %83, label %84, label %90 84: ; preds = %81 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %16, align 4 %87 = load i32, ptr @SEEK_SET, align 4 %88 = call i32 @lseek(i32 noundef %85, i32 noundef %86, i32 noundef %87) %89 = load i32, ptr %16, align 4 store i32 %89, ptr %13, align 4 br label %90 90: ; preds = %84, %81 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %91 91: ; preds = %90, %185 store i32 4096, ptr %10, align 4 %92 = load i32, ptr %17, align 4 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %108 94: ; preds = %91 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %17, align 4 %97 = add nsw i32 %95, %96 %98 = load i32, ptr %13, align 4 %99 = sub nsw i32 %97, %98 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %108 102: ; preds = %94 %103 = load i32, ptr %16, align 4 %104 = load i32, ptr %17, align 4 %105 = add nsw i32 %103, %104 %106 = load i32, ptr %13, align 4 %107 = sub nsw i32 %105, %106 store i32 %107, ptr %10, align 4 br label %108 108: ; preds = %102, %94, %91 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %10, align 4 %111 = call i32 @read(i32 noundef %109, ptr noundef %8, i32 noundef %110) store i32 %111, ptr %9, align 4 store i32 0, ptr %12, align 4 br label %112 112: ; preds = %158, %108 %113 = load i32, ptr %12, align 4 %114 = load i32, ptr %9, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %116, label %161 116: ; preds = %112 %117 = load i32, ptr %12, align 4 %118 = and i32 %117, 15 %119 = icmp eq i32 %118, 0 br i1 %119, label %120, label %125 120: ; preds = %116 %121 = load i32, ptr %13, align 4 %122 = load i32, ptr %12, align 4 %123 = add nsw i32 %121, %122 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %123) br label %125 125: ; preds = %120, %116 %126 = load i32, ptr %12, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %127 %129 = load i8, ptr %128, align 1 %130 = zext i8 %129 to i32 %131 = load i32, ptr %15, align 4 %132 = add nsw i32 %131, %130 store i32 %132, ptr %15, align 4 %133 = load i32, ptr %12, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %134 %136 = load i8, ptr %135, align 1 %137 = zext i8 %136 to i32 %138 = load i32, ptr %14, align 4 %139 = add nsw i32 %138, %137 store i32 %139, ptr %14, align 4 %140 = load i32, ptr %12, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %141 %143 = load i8, ptr %142, align 1 %144 = zext i8 %143 to i32 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %144) %146 = load i32, ptr %12, align 4 %147 = and i32 %146, 15 %148 = icmp eq i32 %147, 15 br i1 %148, label %154, label %149 149: ; preds = %125 %150 = load i32, ptr %12, align 4 %151 = load i32, ptr %9, align 4 %152 = sub nsw i32 %151, 1 %153 = icmp eq i32 %150, %152 br i1 %153, label %154, label %157 154: ; preds = %149, %125 %155 = load i32, ptr %15, align 4 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %155) store i32 0, ptr %15, align 4 br label %157 157: ; preds = %154, %149 br label %158 158: ; preds = %157 %159 = load i32, ptr %12, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %12, align 4 br label %112, !llvm.loop !6 161: ; preds = %112 %162 = load i32, ptr %9, align 4 %163 = icmp sle i32 %162, 0 br i1 %163, label %164, label %175 164: ; preds = %161 %165 = load ptr, ptr %5, align 8 %166 = load i32, ptr @optind, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds ptr, ptr %165, i64 %167 %169 = load ptr, ptr %168, align 8 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr %10, align 4 %172 = load i32, ptr @errno, align 4 %173 = call ptr @strerror(i32 noundef %172) %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %169, i32 noundef %170, i32 noundef %171, ptr noundef %173) store i32 1, ptr %3, align 4 br label %199 175: ; preds = %161 %176 = load i32, ptr %9, align 4 %177 = load i32, ptr %13, align 4 %178 = add nsw i32 %177, %176 store i32 %178, ptr %13, align 4 %179 = load i32, ptr %13, align 4 %180 = load i32, ptr %16, align 4 %181 = load i32, ptr %17, align 4 %182 = add nsw i32 %180, %181 %183 = icmp eq i32 %179, %182 br i1 %183, label %184, label %185 184: ; preds = %175 br label %186 185: ; preds = %175 br label %91 186: ; preds = %184 %187 = load i32, ptr %14, align 4 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %187) %189 = load i32, ptr %18, align 4 %190 = icmp ne i32 %189, 0 br i1 %190, label %191, label %194 191: ; preds = %186 %192 = load i32, ptr %18, align 4 %193 = call i32 @sleep(i32 noundef %192) br label %194 194: ; preds = %191, %186 br label %195 195: ; preds = %194 %196 = load i32, ptr %18, align 4 %197 = icmp ne i32 %196, 0 br i1 %197, label %81, label %198, !llvm.loop !8 198: ; preds = %195 store i32 0, ptr %3, align 4 br label %199 199: ; preds = %198, %164, %70 %200 = load i32, ptr %3, align 4 ret i32 %200 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptb82vd5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"b:c:r:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: invalid option -%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"Usage: %s [-b base] [-c count] [-r delay] file\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"could not open %s, %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [7 x i8] c"%08x: \00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"s %x\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"Read error on %s, offset %d len %d, %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"sum %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hd_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 [4096 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 -1, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 br label %19 19: ; preds = %47, %2 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %19 br label %48 27: ; preds = %19 %28 = load i32, ptr %6, align 4 switch i32 %28, label %46 [ i32 98, label %29 i32 99, label %32 i32 114, label %35 i32 63, label %38 ] 29: ; preds = %27 %30 = load i32, ptr @optarg, align 4 %31 = call i32 @strtol(i32 noundef %30, ptr noundef null, i32 noundef 0) store i32 %31, ptr %16, align 4 br label %46 32: ; preds = %27 %33 = load i32, ptr @optarg, align 4 %34 = call i32 @strtol(i32 noundef %33, ptr noundef null, i32 noundef 0) store i32 %34, ptr %17, align 4 br label %46 35: ; preds = %27 %36 = load i32, ptr @optarg, align 4 %37 = call i32 @strtol(i32 noundef %36, ptr noundef null, i32 noundef 0) store i32 %37, ptr %18, align 4 br label %46 38: ; preds = %27 %39 = load i32, ptr @stderr, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 0 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr @optopt, align 4 %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1, ptr noundef %42, i32 noundef %43) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %35, %32, %29, %27 br label %47 47: ; preds = %46 br i1 true, label %19, label %.loopexit .loopexit: ; preds = %47 br label %48 48: ; preds = %.loopexit, %26 %49 = load i32, ptr @optind, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %48 %54 = load i32, ptr @stderr, align 4 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 0 %57 = load ptr, ptr %56, align 8 %58 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2, ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %48 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr @optind, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = load i32, ptr @O_RDONLY, align 4 %67 = call i32 @open(ptr noundef %65, i32 noundef %66) store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %60 %71 = load i32, ptr @stderr, align 4 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr @optind, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr @errno, align 4 %78 = call ptr @strerror(i32 noundef %77) %79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.3, ptr noundef %76, ptr noundef %78) store i32 1, ptr %3, align 4 br label %200 80: ; preds = %60 br label %81 81: ; preds = %196, %80 %82 = load i32, ptr %16, align 4 %83 = icmp sge i32 %82, 0 br i1 %83, label %84, label %90 84: ; preds = %81 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %16, align 4 %87 = load i32, ptr @SEEK_SET, align 4 %88 = call i32 @lseek(i32 noundef %85, i32 noundef %86, i32 noundef %87) %89 = load i32, ptr %16, align 4 store i32 %89, ptr %13, align 4 br label %90 90: ; preds = %84, %81 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %91 91: ; preds = %177, %90 store i32 4096, ptr %10, align 4 %92 = load i32, ptr %17, align 4 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %108 94: ; preds = %91 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %17, align 4 %97 = add nsw i32 %95, %96 %98 = load i32, ptr %13, align 4 %99 = sub nsw i32 %97, %98 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %108 102: ; preds = %94 %103 = load i32, ptr %16, align 4 %104 = load i32, ptr %17, align 4 %105 = add nsw i32 %103, %104 %106 = load i32, ptr %13, align 4 %107 = sub nsw i32 %105, %106 store i32 %107, ptr %10, align 4 br label %108 108: ; preds = %102, %94, %91 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %10, align 4 %111 = call i32 @read(i32 noundef %109, ptr noundef %8, i32 noundef %110) store i32 %111, ptr %9, align 4 store i32 0, ptr %12, align 4 %112 = load i32, ptr %12, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph, label %163 .lr.ph: ; preds = %108 br label %115 115: ; preds = %.lr.ph, %157 %116 = load i32, ptr %12, align 4 %117 = and i32 %116, 15 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load i32, ptr %13, align 4 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %120, %121 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %122) br label %124 124: ; preds = %119, %115 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = load i32, ptr %15, align 4 %131 = add nsw i32 %130, %129 store i32 %131, ptr %15, align 4 %132 = load i32, ptr %12, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %133 %135 = load i8, ptr %134, align 1 %136 = zext i8 %135 to i32 %137 = load i32, ptr %14, align 4 %138 = add nsw i32 %137, %136 store i32 %138, ptr %14, align 4 %139 = load i32, ptr %12, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %140 %142 = load i8, ptr %141, align 1 %143 = zext i8 %142 to i32 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %143) %145 = load i32, ptr %12, align 4 %146 = and i32 %145, 15 %147 = icmp eq i32 %146, 15 br i1 %147, label %153, label %148 148: ; preds = %124 %149 = load i32, ptr %12, align 4 %150 = load i32, ptr %9, align 4 %151 = sub nsw i32 %150, 1 %152 = icmp eq i32 %149, %151 br i1 %152, label %153, label %156 153: ; preds = %148, %124 %154 = load i32, ptr %15, align 4 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %154) store i32 0, ptr %15, align 4 br label %156 156: ; preds = %153, %148 br label %157 157: ; preds = %156 %158 = load i32, ptr %12, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %12, align 4 %160 = load i32, ptr %12, align 4 %161 = load i32, ptr %9, align 4 %162 = icmp slt i32 %160, %161 br i1 %162, label %115, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %157 br label %163 163: ; preds = %._crit_edge, %108 %164 = load i32, ptr %9, align 4 %165 = icmp sle i32 %164, 0 br i1 %165, label %166, label %177 166: ; preds = %163 %167 = load ptr, ptr %5, align 8 %168 = load i32, ptr @optind, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds ptr, ptr %167, i64 %169 %171 = load ptr, ptr %170, align 8 %172 = load i32, ptr %13, align 4 %173 = load i32, ptr %10, align 4 %174 = load i32, ptr @errno, align 4 %175 = call ptr @strerror(i32 noundef %174) %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %171, i32 noundef %172, i32 noundef %173, ptr noundef %175) store i32 1, ptr %3, align 4 br label %200 177: ; preds = %163 %178 = load i32, ptr %9, align 4 %179 = load i32, ptr %13, align 4 %180 = add nsw i32 %179, %178 store i32 %180, ptr %13, align 4 %181 = load i32, ptr %13, align 4 %182 = load i32, ptr %16, align 4 %183 = load i32, ptr %17, align 4 %184 = add nsw i32 %182, %183 %185 = icmp eq i32 %181, %184 br i1 %185, label %186, label %91 186: ; preds = %177 br label %187 187: ; preds = %186 %188 = load i32, ptr %14, align 4 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %188) %190 = load i32, ptr %18, align 4 %191 = icmp ne i32 %190, 0 br i1 %191, label %192, label %195 192: ; preds = %187 %193 = load i32, ptr %18, align 4 %194 = call i32 @sleep(i32 noundef %193) br label %195 195: ; preds = %192, %187 br label %196 196: ; preds = %195 %197 = load i32, ptr %18, align 4 %198 = icmp ne i32 %197, 0 br i1 %198, label %81, label %199, !llvm.loop !8 199: ; preds = %196 store i32 0, ptr %3, align 4 br label %200 200: ; preds = %199, %166, %70 %201 = load i32, ptr %3, align 4 ret i32 %201 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp7_7833f.c' source_filename = "/tmp/tmpp7_7833f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter ISBN: \00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%d-%d-%d-%d-%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"GS1 prefix: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Group identifier: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Publisher code: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Item number: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Check digit: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15) %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp7_7833f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter ISBN: \00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%d-%d-%d-%d-%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"GS1 prefix: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Group identifier: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Publisher code: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Item number: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Check digit: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15) %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpypc3yw5y.c' source_filename = "/tmp/tmpypc3yw5y.c" target datalayout = "e-m:e-p270: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.intToRoman.ROMAN_SYMBOL = private unnamed_addr constant [5 x [2 x i8]] [[2 x i8] c"IV", [2 x i8] c"XL", [2 x i8] c"CD", [2 x i8] c"M\00", [2 x i8] zeroinitializer], align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @intToRoman(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [5 x [2 x i8]], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %10 = call ptr @malloc(i32 noundef 20) store ptr %10, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.intToRoman.ROMAN_SYMBOL, i64 10, i1 false) store i32 0, ptr %9, align 4 store i32 1000, ptr %5, align 4 store i32 3, ptr %6, align 4 br label %11 11: ; preds = %125, %1 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %130 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %16, 10 %18 = srem i32 %15, %17 %19 = load i32, ptr %5, align 4 %20 = sdiv i32 %18, %19 store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp sge i32 %21, 5 br i1 %22, label %23, label %79 23: ; preds = %14 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 9 br i1 %25, label %26, label %48 26: ; preds = %23 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %28 %30 = getelementptr inbounds [2 x i8], ptr %29, i64 0, i64 0 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 %31, ptr %36, align 1 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %39 %41 = getelementptr inbounds [2 x i8], ptr %40, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 %42, ptr %47, align 1 br label %78 48: ; preds = %23 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %50 %52 = getelementptr inbounds [2 x i8], ptr %51, i64 0, i64 1 %53 = load i8, ptr %52, align 1 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 %53, ptr %58, align 1 store i32 6, ptr %7, align 4 br label %59 59: ; preds = %74, %48 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %63, label %77 63: ; preds = %59 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %65 %67 = getelementptr inbounds [2 x i8], ptr %66, i64 0, i64 0 %68 = load i8, ptr %67, align 1 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 %72 = sext i32 %70 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 store i8 %68, ptr %73, align 1 br label %74 74: ; preds = %63 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %59, !llvm.loop !6 77: ; preds = %59 br label %78 78: ; preds = %77, %26 br label %124 79: ; preds = %14 %80 = load i32, ptr %8, align 4 %81 = icmp eq i32 %80, 4 br i1 %81, label %82, label %103 82: ; preds = %79 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %84 %86 = getelementptr inbounds [2 x i8], ptr %85, i64 0, i64 0 %87 = load i8, ptr %86, align 1 %88 = load ptr, ptr %3, align 8 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = sext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 store i8 %87, ptr %92, align 1 %93 = load i32, ptr %6, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %94 %96 = getelementptr inbounds [2 x i8], ptr %95, i64 0, i64 1 %97 = load i8, ptr %96, align 1 %98 = load ptr, ptr %3, align 8 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 %101 = sext i32 %99 to i64 %102 = getelementptr inbounds i8, ptr %98, i64 %101 store i8 %97, ptr %102, align 1 br label %123 103: ; preds = %79 store i32 1, ptr %7, align 4 br label %104 104: ; preds = %119, %103 %105 = load i32, ptr %7, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp sle i32 %105, %106 br i1 %107, label %108, label %122 108: ; preds = %104 %109 = load i32, ptr %6, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %110 %112 = getelementptr inbounds [2 x i8], ptr %111, i64 0, i64 0 %113 = load i8, ptr %112, align 1 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %9, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4 %117 = sext i32 %115 to i64 %118 = getelementptr inbounds i8, ptr %114, i64 %117 store i8 %113, ptr %118, align 1 br label %119 119: ; preds = %108 %120 = load i32, ptr %7, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %7, align 4 br label %104, !llvm.loop !8 122: ; preds = %104 br label %123 123: ; preds = %122, %82 br label %124 124: ; preds = %123, %78 br label %125 125: ; preds = %124 %126 = load i32, ptr %5, align 4 %127 = sdiv i32 %126, 10 store i32 %127, ptr %5, align 4 %128 = load i32, ptr %6, align 4 %129 = add nsw i32 %128, -1 store i32 %129, ptr %6, align 4 br label %11, !llvm.loop !9 130: ; preds = %11 %131 = load ptr, ptr %3, align 8 %132 = load i32, ptr %9, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %131, i64 %133 store i8 0, ptr %134, align 1 %135 = load ptr, ptr %3, align 8 ret ptr %135 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypc3yw5y.c" target datalayout = "e-m:e-p270: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.intToRoman.ROMAN_SYMBOL = private unnamed_addr constant [5 x [2 x i8]] [[2 x i8] c"IV", [2 x i8] c"XL", [2 x i8] c"CD", [2 x i8] c"M\00", [2 x i8] zeroinitializer], align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @intToRoman(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [5 x [2 x i8]], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %10 = call ptr @malloc(i32 noundef 20) store ptr %10, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.intToRoman.ROMAN_SYMBOL, i64 10, i1 false) store i32 0, ptr %9, align 4 store i32 1000, ptr %5, align 4 store i32 3, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph5, label %135 .lr.ph5: ; preds = %1 br label %13 13: ; preds = %.lr.ph5, %128 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %5, align 4 %16 = mul nsw i32 %15, 10 %17 = srem i32 %14, %16 %18 = load i32, ptr %5, align 4 %19 = sdiv i32 %17, %18 store i32 %19, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sge i32 %20, 5 br i1 %21, label %22, label %80 22: ; preds = %13 %23 = load i32, ptr %8, align 4 %24 = icmp eq i32 %23, 9 br i1 %24, label %25, label %47 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %27 %29 = getelementptr inbounds [2 x i8], ptr %28, i64 0, i64 0 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store i8 %30, ptr %35, align 1 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %38 %40 = getelementptr inbounds [2 x i8], ptr %39, i64 0, i64 0 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 %41, ptr %46, align 1 br label %79 47: ; preds = %22 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %49 %51 = getelementptr inbounds [2 x i8], ptr %50, i64 0, i64 1 %52 = load i8, ptr %51, align 1 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 %52, ptr %57, align 1 store i32 6, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp sle i32 %58, %59 br i1 %60, label %.lr.ph2, label %78 .lr.ph2: ; preds = %47 br label %61 61: ; preds = %.lr.ph2, %72 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %63 %65 = getelementptr inbounds [2 x i8], ptr %64, i64 0, i64 0 %66 = load i8, ptr %65, align 1 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds i8, ptr %67, i64 %70 store i8 %66, ptr %71, align 1 br label %72 72: ; preds = %61 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %8, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %61, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %47 br label %79 79: ; preds = %78, %25 br label %127 80: ; preds = %13 %81 = load i32, ptr %8, align 4 %82 = icmp eq i32 %81, 4 br i1 %82, label %83, label %104 83: ; preds = %80 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %85 %87 = getelementptr inbounds [2 x i8], ptr %86, i64 0, i64 0 %88 = load i8, ptr %87, align 1 %89 = load ptr, ptr %3, align 8 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 %92 = sext i32 %90 to i64 %93 = getelementptr inbounds i8, ptr %89, i64 %92 store i8 %88, ptr %93, align 1 %94 = load i32, ptr %6, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %95 %97 = getelementptr inbounds [2 x i8], ptr %96, i64 0, i64 1 %98 = load i8, ptr %97, align 1 %99 = load ptr, ptr %3, align 8 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = sext i32 %100 to i64 %103 = getelementptr inbounds i8, ptr %99, i64 %102 store i8 %98, ptr %103, align 1 br label %126 104: ; preds = %80 store i32 1, ptr %7, align 4 %105 = load i32, ptr %7, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp sle i32 %105, %106 br i1 %107, label %.lr.ph, label %125 .lr.ph: ; preds = %104 br label %108 108: ; preds = %.lr.ph, %119 %109 = load i32, ptr %6, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [5 x [2 x i8]], ptr %4, i64 0, i64 %110 %112 = getelementptr inbounds [2 x i8], ptr %111, i64 0, i64 0 %113 = load i8, ptr %112, align 1 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %9, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4 %117 = sext i32 %115 to i64 %118 = getelementptr inbounds i8, ptr %114, i64 %117 store i8 %113, ptr %118, align 1 br label %119 119: ; preds = %108 %120 = load i32, ptr %7, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %7, align 4 %122 = load i32, ptr %7, align 4 %123 = load i32, ptr %8, align 4 %124 = icmp sle i32 %122, %123 br i1 %124, label %108, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %119 br label %125 125: ; preds = %._crit_edge, %104 br label %126 126: ; preds = %125, %83 br label %127 127: ; preds = %126, %79 br label %128 128: ; preds = %127 %129 = load i32, ptr %5, align 4 %130 = sdiv i32 %129, 10 store i32 %130, ptr %5, align 4 %131 = load i32, ptr %6, align 4 %132 = add nsw i32 %131, -1 store i32 %132, ptr %6, align 4 %133 = load i32, ptr %5, align 4 %134 = icmp sgt i32 %133, 0 br i1 %134, label %13, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %128 br label %135 135: ; preds = %._crit_edge6, %1 %136 = load ptr, ptr %3, align 8 %137 = load i32, ptr %9, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %136, i64 %138 store i8 0, ptr %139, align 1 %140 = load ptr, ptr %3, align 8 ret ptr %140 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqgm2p0q4.c' source_filename = "/tmp/tmpqgm2p0q4.c" target datalayout = "e-m:e-p270: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/tmpqgm2p0q4.c" target datalayout = "e-m:e-p270: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/tmp14c53rez.c' source_filename = "/tmp/tmp14c53rez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0A\0A%d tests complete, %d failed\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @runTestsDiagonal() store i32 %7, ptr %6, align 4 %8 = call i32 (...) @testCountDiagonal() %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %11 } declare i32 @runTestsDiagonal(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @testCountDiagonal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14c53rez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0A\0A%d tests complete, %d failed\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @runTestsDiagonal() store i32 %7, ptr %6, align 4 %8 = call i32 (...) @testCountDiagonal() %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %11 } declare i32 @runTestsDiagonal(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @testCountDiagonal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcrwtem_i.c' source_filename = "/tmp/tmpcrwtem_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_keymatch_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strcmp(ptr noundef %8, ptr noundef %9) %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcrwtem_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_keymatch_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strcmp(ptr noundef %8, ptr noundef %9) %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdlfgrd_p.c' source_filename = "/tmp/tmpdlfgrd_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not jolly\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Jolly\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @IsJolly(ptr noundef %0, i32 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 %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %45, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %48 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 %23 = load i32, ptr %22, align 4 %24 = sub nsw i32 %17, %23 %25 = call i32 @abs(i32 noundef %24) #2 %26 = icmp sle i32 %25, 0 br i1 %26, label %43, label %27 27: ; preds = %12 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %33, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sub nsw i32 %32, %38 %40 = call i32 @abs(i32 noundef %39) #2 %41 = load i32, ptr %5, align 4 %42 = icmp sge i32 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %27, %12 store ptr @.str, ptr %3, align 8 br label %49 44: ; preds = %27 br label %45 45: ; preds = %44 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %7, !llvm.loop !6 48: ; preds = %7 store ptr @.str.1, ptr %3, align 8 br label %49 49: ; preds = %48, %43 %50 = load ptr, ptr %3, align 8 ret ptr %50 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdlfgrd_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not jolly\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Jolly\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @IsJolly(ptr noundef %0, i32 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 %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 1 %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph, label %51 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %44 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load i32, ptr %21, align 4 %23 = sub nsw i32 %16, %22 %24 = call i32 @abs(i32 noundef %23) #2 %25 = icmp sle i32 %24, 0 br i1 %25, label %42, label %26 26: ; preds = %11 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %32, i64 %35 %37 = load i32, ptr %36, align 4 %38 = sub nsw i32 %31, %37 %39 = call i32 @abs(i32 noundef %38) #2 %40 = load i32, ptr %5, align 4 %41 = icmp sge i32 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %26, %11 store ptr @.str, ptr %3, align 8 br label %52 43: ; preds = %26 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = sub nsw i32 %48, 1 %50 = icmp slt i32 %47, %49 br i1 %50, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %51 51: ; preds = %._crit_edge, %2 store ptr @.str.1, ptr %3, align 8 br label %52 52: ; preds = %51, %42 %53 = load ptr, ptr %3, align 8 ret ptr %53 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdml36ibi.c' source_filename = "/tmp/tmpdml36ibi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"kmeans usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [94 x i8] c"./kmeans -f [int] -k [int] -m [int] -n [int] -e [double] -d [string] -p [string] -o [string]\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" -f dim\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" -k max cluster\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c" -m thread count\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c" -n iteration\0A\00", align 1 @.str.6 = private unnamed_addr constant [56 x i8] c" -e min value for instance to be a new cluster\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c" -d input embeddings\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" -p init centers\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c" -o output dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdml36ibi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"kmeans usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [94 x i8] c"./kmeans -f [int] -k [int] -m [int] -n [int] -e [double] -d [string] -p [string] -o [string]\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" -f dim\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" -k max cluster\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c" -m thread count\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c" -n iteration\0A\00", align 1 @.str.6 = private unnamed_addr constant [56 x i8] c" -e min value for instance to be a new cluster\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c" -d input embeddings\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" -p init centers\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c" -o output dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpto9d25fi.c' source_filename = "/tmp/tmpto9d25fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x97() #0 { %1 = call i64 @isalpha(i32 noundef 151) %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 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpto9d25fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x97() #0 { %1 = call i64 @isalpha(i32 noundef 151) %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 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpuer4_lh2.c' source_filename = "/tmp/tmpuer4_lh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getDistance(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds double, ptr %9, i64 1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds double, ptr %11, i64 2 %13 = call i32 @fscanf(ptr noundef %6, ptr noundef @.str, ptr noundef %8, ptr noundef %10, ptr noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 3 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 0, i32 1 ret i32 %17 } declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuer4_lh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getDistance(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds double, ptr %9, i64 1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds double, ptr %11, i64 2 %13 = call i32 @fscanf(ptr noundef %6, ptr noundef @.str, ptr noundef %8, ptr noundef %10, ptr noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 3 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 0, i32 1 ret i32 %17 } declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6oc03vlq.c' source_filename = "/tmp/tmp6oc03vlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"0x%02x \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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %11, %2 %9 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) store i32 %9, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i8, ptr %7, align 1 %13 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %12) br label %8, !llvm.loop !6 14: ; preds = %8 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6oc03vlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"0x%02x \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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %6, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %15 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i8, ptr %7, align 1 %12 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %11) %13 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) store i32 %13, ptr %6, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1ryofchd.c' source_filename = "/tmp/tmp1ryofchd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_HCO3CO3_pH(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %12, align 8 %16 = call double @pow(double noundef %15, i32 noundef 2) %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %12, align 8 %20 = call double @pow(double noundef %19, i32 noundef 4) %21 = fdiv double %18, %20 store double %21, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = call double @pow(double noundef %23, i32 noundef 2) %25 = fdiv double %22, %24 store double %25, ptr %11, align 8 %26 = load double, ptr %10, align 8 %27 = load double, ptr %7, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %8, align 8 %30 = fdiv double %28, %29 store double %30, ptr %13, align 8 %31 = load double, ptr %13, align 8 %32 = load double, ptr %12, align 8 %33 = fmul double %31, %32 %34 = call double @log10(double noundef %33) #3 %35 = fsub double 3.000000e+00, %34 ret double %35 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @log10(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ryofchd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_HCO3CO3_pH(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %12, align 8 %16 = call double @pow(double noundef %15, i32 noundef 2) %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %12, align 8 %20 = call double @pow(double noundef %19, i32 noundef 4) %21 = fdiv double %18, %20 store double %21, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = call double @pow(double noundef %23, i32 noundef 2) %25 = fdiv double %22, %24 store double %25, ptr %11, align 8 %26 = load double, ptr %10, align 8 %27 = load double, ptr %7, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %8, align 8 %30 = fdiv double %28, %29 store double %30, ptr %13, align 8 %31 = load double, ptr %13, align 8 %32 = load double, ptr %12, align 8 %33 = fmul double %31, %32 %34 = call double @log10(double noundef %33) #3 %35 = fsub double 3.000000e+00, %34 ret double %35 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @log10(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx961kec_.c' source_filename = "/tmp/tmpx961kec_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateRandomVector2d(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = call double @glmRandomNumberd(i32 noundef 0, double noundef 0x401921FB54442D18) store double %4, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = call double @sin(double noundef %5) #3 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = call double @cos(double noundef %9) #3 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 store double %10, ptr %12, align 8 ret void } declare double @glmRandomNumberd(i32 noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx961kec_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateRandomVector2d(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = call double @glmRandomNumberd(i32 noundef 0, double noundef 0x401921FB54442D18) store double %4, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = call double @sin(double noundef %5) #3 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = call double @cos(double noundef %9) #3 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 store double %10, ptr %12, align 8 ret void } declare double @glmRandomNumberd(i32 noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphlu46v1m.c' source_filename = "/tmp/tmphlu46v1m.c" target datalayout = "e-m:e-p270: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/tmphlu46v1m.c" target datalayout = "e-m:e-p270: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/tmp9_1jk42y.c' source_filename = "/tmp/tmp9_1jk42y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter the first value:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Enter the second value:\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %9, %10 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %13, i32 noundef %14) 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/tmp9_1jk42y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter the first value:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Enter the second value:\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %9, %10 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %13, i32 noundef %14) 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/tmpkqzvr8op.c' source_filename = "/tmp/tmpkqzvr8op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @board_final_init() #0 { %1 = call i32 (...) @ui_init_cpu1cmds() %2 = call i32 (...) @ui_init_swarmcmds() %3 = call i32 (...) @ui_init_corecmds() %4 = call i32 (...) @ui_init_soccmds() %5 = call i32 (...) @ui_init_testcmds() %6 = call i32 (...) @ui_init_resetcmds() %7 = call i32 (...) @ui_init_tempsensorcmds() %8 = call i32 (...) @ui_init_memtestcmds() %9 = call i32 (...) @ui_init_toyclockcmds() %10 = call i32 (...) @ui_init_phycmds() ret void } declare i32 @ui_init_cpu1cmds(...) #1 declare i32 @ui_init_swarmcmds(...) #1 declare i32 @ui_init_corecmds(...) #1 declare i32 @ui_init_soccmds(...) #1 declare i32 @ui_init_testcmds(...) #1 declare i32 @ui_init_resetcmds(...) #1 declare i32 @ui_init_tempsensorcmds(...) #1 declare i32 @ui_init_memtestcmds(...) #1 declare i32 @ui_init_toyclockcmds(...) #1 declare i32 @ui_init_phycmds(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkqzvr8op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @board_final_init() #0 { %1 = call i32 (...) @ui_init_cpu1cmds() %2 = call i32 (...) @ui_init_swarmcmds() %3 = call i32 (...) @ui_init_corecmds() %4 = call i32 (...) @ui_init_soccmds() %5 = call i32 (...) @ui_init_testcmds() %6 = call i32 (...) @ui_init_resetcmds() %7 = call i32 (...) @ui_init_tempsensorcmds() %8 = call i32 (...) @ui_init_memtestcmds() %9 = call i32 (...) @ui_init_toyclockcmds() %10 = call i32 (...) @ui_init_phycmds() ret void } declare i32 @ui_init_cpu1cmds(...) #1 declare i32 @ui_init_swarmcmds(...) #1 declare i32 @ui_init_corecmds(...) #1 declare i32 @ui_init_soccmds(...) #1 declare i32 @ui_init_testcmds(...) #1 declare i32 @ui_init_resetcmds(...) #1 declare i32 @ui_init_tempsensorcmds(...) #1 declare i32 @ui_init_memtestcmds(...) #1 declare i32 @ui_init_toyclockcmds(...) #1 declare i32 @ui_init_phycmds(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpew6ilco4.c' source_filename = "/tmp/tmpew6ilco4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genscale2() #0 { %1 = call i32 (...) @gentext() %2 = call i32 (...) @commit() %3 = call i32 (...) @cgscale2() ret void } declare i32 @gentext(...) #1 declare i32 @commit(...) #1 declare i32 @cgscale2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpew6ilco4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genscale2() #0 { %1 = call i32 (...) @gentext() %2 = call i32 (...) @commit() %3 = call i32 (...) @cgscale2() ret void } declare i32 @gentext(...) #1 declare i32 @commit(...) #1 declare i32 @cgscale2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5zpmk7bo.c' source_filename = "/tmp/tmp5zpmk7bo.c" target datalayout = "e-m:e-p270: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/tmp5zpmk7bo.c" target datalayout = "e-m:e-p270: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/tmpa0d2nnd2.c' source_filename = "/tmp/tmpa0d2nnd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Who is buried in Grant's tomb?\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Grant\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"No, that's wrong. Try again.\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"That's right!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) br label %6 6: ; preds = %9, %0 %7 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %8 = icmp ne ptr %7, @.str.1 br i1 %8, label %9, label %13 9: ; preds = %6 %10 = call i32 @puts(ptr noundef @.str.2) %11 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @gets(ptr noundef %11) br label %6, !llvm.loop !6 13: ; preds = %6 %14 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpa0d2nnd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Who is buried in Grant's tomb?\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Grant\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"No, that's wrong. Try again.\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"That's right!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %7 = icmp ne ptr %6, @.str.1 br i1 %7, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = call i32 @puts(ptr noundef @.str.2) %10 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @gets(ptr noundef %10) br i1 %7, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %12 12: ; preds = %._crit_edge, %0 %13 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpab1g2b8f.c' source_filename = "/tmp/tmpab1g2b8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or255_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = or i32 %15, 255 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpab1g2b8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or255_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = or i32 %14, 255 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_sp7so1y.c' source_filename = "/tmp/tmp_sp7so1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetBlockNum(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = trunc i16 %3 to i8 %5 = call i32 @VIM_HIF_SetReg8(i32 noundef 41, i8 noundef zeroext %4) %6 = load i16, ptr %2, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @VIM_HIF_SetReg8(i32 noundef 40, i8 noundef zeroext %9) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_sp7so1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetBlockNum(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = trunc i16 %3 to i8 %5 = call i32 @VIM_HIF_SetReg8(i32 noundef 41, i8 noundef zeroext %4) %6 = load i16, ptr %2, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @VIM_HIF_SetReg8(i32 noundef 40, i8 noundef zeroext %9) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi5gebzdy.c' source_filename = "/tmp/tmpi5gebzdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Making directory: %s mode: %o\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mkdir_verbose(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %9, %3 ret void } declare i32 @printf(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/tmpi5gebzdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Making directory: %s mode: %o\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mkdir_verbose(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %9, %3 ret void } declare i32 @printf(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/tmpu3bms4hi.c' source_filename = "/tmp/tmpu3bms4hi.c" target datalayout = "e-m:e-p270: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/tmpu3bms4hi.c" target datalayout = "e-m:e-p270: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/tmp9gco7out.c' source_filename = "/tmp/tmp9gco7out.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d12() #0 { %1 = call i32 @tirar(i32 noundef 12) ret i32 %1 } declare i32 @tirar(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/tmp9gco7out.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d12() #0 { %1 = call i32 @tirar(i32 noundef 12) ret i32 %1 } declare i32 @tirar(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/tmp2xkt7hjb.c' source_filename = "/tmp/tmp2xkt7hjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 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 void @print_result(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 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 %8 = load i32, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) br label %10 10: ; preds = %15, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %31) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2xkt7hjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 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 void @print_result(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 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 %8 = load i32, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %28 28: ; preds = %._crit_edge, %3 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %34) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi9uoj_zs.c' source_filename = "/tmp/tmpi9uoj_zs.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3905 x i8] c"perftcpdns [-huvX0] [-4|-6] [-r<rate>] [-t<report>] [-p<test-period>]\0A [-n<num-request>]* [-d<lost-time>]* [-D<max-loss>]* [-T<template-file>]\0A [-l<local-addr>] [-L<local-port>]* [-a<aggressiveness>] [-s<seed>]\0A [-M<memory>] [-x<diagnostic-selector>] [-P<port>] server\0A\0C\0AThe server argument is the name/address of the DNS server to contact.\0A\0AOptions:\0A-0: Add EDNS0 option with DO flag.\0A-4: TCP/IPv4 operation (default). This is incompatible with the -6 option.\0A-6: TCP/IPv6 operation. This is incompatible with the -4 option.\0A-a<aggressiveness>: When the target sending rate is not yet reached,\0A control how many connections are initiated before the next pause.\0A-d<lost-time>: Specify the time after which a connection or a query is\0A treated as having been lost. The value is given in seconds and\0A may contain a fractional component. The default is 1 second.\0A-h: Print this help.\0A-l<local-addr>: Specify the local hostname/address to use when\0A communicating with the server.\0A-L<local-port>: Specify the (minimal and maximal) local port number\0A-M<memory>: Size of the tables (default 60000)\0A-P<port>: Specify an alternate (i.e., not 53) port\0A-r<rate>: Initiate <rate> TCP DNS connections per second. A periodic\0A report is generated showing the number of exchanges which were not\0A completed, as well as the average response latency. The program\0A continues until interrupted, at which point a final report is\0A generated.\0A-s<seed>: Specify the seed for randomization, making it repeatable.\0A-t<report>: Delay in seconds between two periodic reports.\0A-T<template-file>: The name of a file containing the template to use\0A as a stream of hexadecimal digits.\0A-u: Use UDP in place of TCP.\0A-v: Report the version number of this program.\0A-X: change default template to get NXDOMAIN responses.\0A-x<diagnostic-selector>: Include extended diagnostics in the output.\0A <diagnostic-selector> is a string of single-keywords specifying\0A the operations for which verbose output is desired. The selector\0A keyletters are:\0A * 'a': print the decoded command line arguments\0A * 'e': print the exit reason\0A * 'i': print rate processing details\0A * 'T': when finished, print templates\0A\0AStopping conditions:\0A-D<max-loss>: Abort the test if more than <max-loss> connections or\0A queries have been lost. If <max-loss> includes the suffix '%', it\0A specifies a maximum percentage of losses before stopping.\0A In this case, testing of the threshold begins after 10\0A connections/responses have been expected to be accepted/received.\0A-n<num-request>: Initiate <num-request> transactions. No report is\0A generated until all transactions have been initiated/waited-for,\0A after which a report is generated and the program terminates.\0A-p<test-period>: Send requests for the given test period, which is\0A specified in the same manner as -d. This can be used as an\0A alternative to -n, or both options can be given, in which case the\0A testing is completed when either limit is reached.\0A\0AErrors:\0A- locallimit: reached to local system limits when sending a message.\0A- badconn: connection failed (from getsockopt(SO_ERROR))\0A- collconn: connect() timed out\0A- badsent: send() failed\0A- callsent: timed out waiting from a response\0A- recverr: recv() system call failed\0A- tooshort: received a too short message\0A- badid: the id mismatches between the query and the response\0A- notresp: doesn't receive a response\0ARate stats:\0A- loops: number of thread loop iterations\0A- shortwait: no direct activity in a thread iteration\0A- compconn: computed number of connect() calls\0A- lateconn: connect() already dued when computing delay to the next one\0A\0AExit status:\0AThe exit status is:\0A0 on complete success.\0A1 for a general error.\0A2 if an error is found in the command line arguments.\0A3 if there are no general failures in operation, but one or more\0A exchanges are not successfully completed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9uoj_zs.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3905 x i8] c"perftcpdns [-huvX0] [-4|-6] [-r<rate>] [-t<report>] [-p<test-period>]\0A [-n<num-request>]* [-d<lost-time>]* [-D<max-loss>]* [-T<template-file>]\0A [-l<local-addr>] [-L<local-port>]* [-a<aggressiveness>] [-s<seed>]\0A [-M<memory>] [-x<diagnostic-selector>] [-P<port>] server\0A\0C\0AThe server argument is the name/address of the DNS server to contact.\0A\0AOptions:\0A-0: Add EDNS0 option with DO flag.\0A-4: TCP/IPv4 operation (default). This is incompatible with the -6 option.\0A-6: TCP/IPv6 operation. This is incompatible with the -4 option.\0A-a<aggressiveness>: When the target sending rate is not yet reached,\0A control how many connections are initiated before the next pause.\0A-d<lost-time>: Specify the time after which a connection or a query is\0A treated as having been lost. The value is given in seconds and\0A may contain a fractional component. The default is 1 second.\0A-h: Print this help.\0A-l<local-addr>: Specify the local hostname/address to use when\0A communicating with the server.\0A-L<local-port>: Specify the (minimal and maximal) local port number\0A-M<memory>: Size of the tables (default 60000)\0A-P<port>: Specify an alternate (i.e., not 53) port\0A-r<rate>: Initiate <rate> TCP DNS connections per second. A periodic\0A report is generated showing the number of exchanges which were not\0A completed, as well as the average response latency. The program\0A continues until interrupted, at which point a final report is\0A generated.\0A-s<seed>: Specify the seed for randomization, making it repeatable.\0A-t<report>: Delay in seconds between two periodic reports.\0A-T<template-file>: The name of a file containing the template to use\0A as a stream of hexadecimal digits.\0A-u: Use UDP in place of TCP.\0A-v: Report the version number of this program.\0A-X: change default template to get NXDOMAIN responses.\0A-x<diagnostic-selector>: Include extended diagnostics in the output.\0A <diagnostic-selector> is a string of single-keywords specifying\0A the operations for which verbose output is desired. The selector\0A keyletters are:\0A * 'a': print the decoded command line arguments\0A * 'e': print the exit reason\0A * 'i': print rate processing details\0A * 'T': when finished, print templates\0A\0AStopping conditions:\0A-D<max-loss>: Abort the test if more than <max-loss> connections or\0A queries have been lost. If <max-loss> includes the suffix '%', it\0A specifies a maximum percentage of losses before stopping.\0A In this case, testing of the threshold begins after 10\0A connections/responses have been expected to be accepted/received.\0A-n<num-request>: Initiate <num-request> transactions. No report is\0A generated until all transactions have been initiated/waited-for,\0A after which a report is generated and the program terminates.\0A-p<test-period>: Send requests for the given test period, which is\0A specified in the same manner as -d. This can be used as an\0A alternative to -n, or both options can be given, in which case the\0A testing is completed when either limit is reached.\0A\0AErrors:\0A- locallimit: reached to local system limits when sending a message.\0A- badconn: connection failed (from getsockopt(SO_ERROR))\0A- collconn: connect() timed out\0A- badsent: send() failed\0A- callsent: timed out waiting from a response\0A- recverr: recv() system call failed\0A- tooshort: received a too short message\0A- badid: the id mismatches between the query and the response\0A- notresp: doesn't receive a response\0ARate stats:\0A- loops: number of thread loop iterations\0A- shortwait: no direct activity in a thread iteration\0A- compconn: computed number of connect() calls\0A- lateconn: connect() already dued when computing delay to the next one\0A\0AExit status:\0AThe exit status is:\0A0 on complete success.\0A1 for a general error.\0A2 if an error is found in the command line arguments.\0A3 if there are no general failures in operation, but one or more\0A exchanges are not successfully completed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpypachc4j.c' source_filename = "/tmp/tmpypachc4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \0A\0D\09\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Couldn't allocate memory for newline\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @firstword(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcspn(ptr noundef %5, ptr noundef @.str) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = add i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = call i32 @strncpy(ptr noundef %20, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpypachc4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \0A\0D\09\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Couldn't allocate memory for newline\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @firstword(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcspn(ptr noundef %5, ptr noundef @.str) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = add i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = call i32 @strncpy(ptr noundef %20, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpgu0vmyvn.c' source_filename = "/tmp/tmpgu0vmyvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COMPILE_STATUS = dso_local global i32 0, align 4 @GL_FALSE = dso_local global i64 0, align 8 @GL_INFO_LOG_LENGTH = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgu0vmyvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COMPILE_STATUS = dso_local global i32 0, align 4 @GL_FALSE = dso_local global i64 0, align 8 @GL_INFO_LOG_LENGTH = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_rsk9ies.c' source_filename = "/tmp/tmp_rsk9ies.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_rsk9ies.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwnk_p4ni.c' source_filename = "/tmp/tmpwnk_p4ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwnk_p4ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgcywp_q1.c' source_filename = "/tmp/tmpgcywp_q1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mqc_Replace_String(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @mqc_FINDstrINline(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %59 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = trunc i64 %19 to i32 store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %7, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = add i64 %22, %24 %26 = add i64 %25, 80 %27 = call ptr @malloc(i64 noundef %26) store ptr %27, ptr %11, align 8 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %10, align 4 %31 = call i32 @strncpy(ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @strncpy(ptr noundef %35, ptr noundef %36, i32 noundef %37) %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %39, i64 %43 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = load ptr, ptr %5, align 8 %49 = call i64 @strlen(ptr noundef %48) %50 = add i64 %47, %49 %51 = getelementptr inbounds i8, ptr %45, i64 %50 %52 = call i32 @strcpy(ptr noundef %44, ptr noundef %51) %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load ptr, ptr %6, align 8 %57 = load ptr, ptr %11, align 8 %58 = call ptr @mqc_Replace_String(ptr noundef %55, ptr noundef %56, ptr noundef %57) store ptr %58, ptr %4, align 8 br label %61 59: ; preds = %3 %60 = load ptr, ptr %7, align 8 store ptr %60, ptr %4, align 8 br label %61 61: ; preds = %59, %17 %62 = load ptr, ptr %4, align 8 ret ptr %62 } declare i32 @mqc_FINDstrINline(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgcywp_q1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mqc_Replace_String(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @mqc_FINDstrINline(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %59 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = trunc i64 %19 to i32 store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %7, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = add i64 %22, %24 %26 = add i64 %25, 80 %27 = call ptr @malloc(i64 noundef %26) store ptr %27, ptr %11, align 8 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %10, align 4 %31 = call i32 @strncpy(ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @strncpy(ptr noundef %35, ptr noundef %36, i32 noundef %37) %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %39, i64 %43 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = load ptr, ptr %5, align 8 %49 = call i64 @strlen(ptr noundef %48) %50 = add i64 %47, %49 %51 = getelementptr inbounds i8, ptr %45, i64 %50 %52 = call i32 @strcpy(ptr noundef %44, ptr noundef %51) %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load ptr, ptr %6, align 8 %57 = load ptr, ptr %11, align 8 %58 = call ptr @mqc_Replace_String(ptr noundef %55, ptr noundef %56, ptr noundef %57) store ptr %58, ptr %4, align 8 br label %61 59: ; preds = %3 %60 = load ptr, ptr %7, align 8 store ptr %60, ptr %4, align 8 br label %61 61: ; preds = %59, %17 %62 = load ptr, ptr %4, align 8 ret ptr %62 } declare i32 @mqc_FINDstrINline(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcbx49z_l.c' source_filename = "/tmp/tmpcbx49z_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcbx49z_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps6wjinfm.c' source_filename = "/tmp/tmps6wjinfm.c" target datalayout = "e-m:e-p270: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/tmps6wjinfm.c" target datalayout = "e-m:e-p270: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/tmpty9z42hw.c' source_filename = "/tmp/tmpty9z42hw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"Poszukiwanie liczb pierwszych w przedziale 0 - \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i64, ptr %4, align 8 %8 = call ptr @create_matrix(i64 noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %0 store i32 0, ptr %1, align 4 br label %24 12: ; preds = %0 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %4, align 8 %15 = call i32 @fill_matrix(ptr noundef %13, i64 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = load i64, ptr %4, align 8 %18 = call i32 @sieve(ptr noundef %16, i64 noundef %17) %19 = load ptr, ptr %2, align 8 %20 = load i64, ptr %4, align 8 %21 = call i32 @write_out(ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @free(ptr noundef %22) store i32 0, ptr %1, align 4 br label %24 24: ; preds = %12, %11 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @create_matrix(i64 noundef) #1 declare i32 @fill_matrix(ptr noundef, i64 noundef) #1 declare i32 @sieve(ptr noundef, i64 noundef) #1 declare i32 @write_out(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpty9z42hw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"Poszukiwanie liczb pierwszych w przedziale 0 - \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i64, ptr %4, align 8 %8 = call ptr @create_matrix(i64 noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %0 store i32 0, ptr %1, align 4 br label %24 12: ; preds = %0 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %4, align 8 %15 = call i32 @fill_matrix(ptr noundef %13, i64 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = load i64, ptr %4, align 8 %18 = call i32 @sieve(ptr noundef %16, i64 noundef %17) %19 = load ptr, ptr %2, align 8 %20 = load i64, ptr %4, align 8 %21 = call i32 @write_out(ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @free(ptr noundef %22) store i32 0, ptr %1, align 4 br label %24 24: ; preds = %12, %11 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @create_matrix(i64 noundef) #1 declare i32 @fill_matrix(ptr noundef, i64 noundef) #1 declare i32 @sieve(ptr noundef, i64 noundef) #1 declare i32 @write_out(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm_ohnqdh.c' source_filename = "/tmp/tmpm_ohnqdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 store i32 1, ptr %3, align 4 %7 = call i32 (...) @foobar() br label %11 8: ; preds = %1 %9 = call i32 (...) @bar() store i32 %9, ptr %3, align 4 %10 = call i32 (...) @foobar() br label %11 11: ; preds = %8, %6 ret void } declare i32 @foobar(...) #1 declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_ohnqdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 store i32 1, ptr %3, align 4 %7 = call i32 (...) @foobar() br label %11 8: ; preds = %1 %9 = call i32 (...) @bar() store i32 %9, ptr %3, align 4 %10 = call i32 (...) @foobar() br label %11 11: ; preds = %8, %6 ret void } declare i32 @foobar(...) #1 declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpep3c3bo3.c' source_filename = "/tmp/tmpep3c3bo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"execvp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %2 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = load i32, ptr @EINVAL, align 4 store i32 %10, ptr @errno, align 4 br label %23 11: ; preds = %6 %12 = call i64 (...) @diminuto_core_enable() %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11 br label %23 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = call i32 @execvp(ptr noundef %18, ptr noundef %20) %22 = call i32 @perror(ptr noundef @.str) br label %23 23: ; preds = %15, %14, %9 ret i32 1 } declare i64 @diminuto_core_enable(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpep3c3bo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"execvp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %2 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = load i32, ptr @EINVAL, align 4 store i32 %10, ptr @errno, align 4 br label %23 11: ; preds = %6 %12 = call i64 (...) @diminuto_core_enable() %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11 br label %23 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = call i32 @execvp(ptr noundef %18, ptr noundef %20) %22 = call i32 @perror(ptr noundef @.str) br label %23 23: ; preds = %15, %14, %9 ret i32 1 } declare i64 @diminuto_core_enable(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfs25bqq4.c' source_filename = "/tmp/tmpfs25bqq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-p\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @c2_init() %7 = call i32 (...) @identify() %8 = load i32, ptr %4, align 4 switch i32 %8, label %85 [ i32 1, label %9 i32 2, label %10 i32 3, label %46 ] 9: ; preds = %2 br label %89 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp ne i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = call i32 @dump_flash(i32 noundef 16384) br label %45 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18 %25 = call i32 (...) @erase_flash() br label %44 26: ; preds = %18 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 45 br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %34, align 8 %36 = call i32 @usage(ptr noundef %35) br label %43 37: ; preds = %26 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 @do_flash(ptr noundef %40) %42 = call i32 (...) @identify() br label %43 43: ; preds = %37, %33 br label %44 44: ; preds = %43, %24 br label %45 45: ; preds = %44, %16 br label %89 46: ; preds = %2 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.2) %51 = icmp ne i32 %50, 0 br i1 %51, label %70, label %52 52: ; preds = %46 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 2 %55 = load ptr, ptr %54, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 45 br i1 %58, label %59, label %63 59: ; preds = %52 %60 = load ptr, ptr %5, align 8 %61 = load ptr, ptr %60, align 8 %62 = call i32 @usage(ptr noundef %61) br label %63 63: ; preds = %59, %52 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 2 %66 = load ptr, ptr %65, align 8 %67 = call i32 @do_flash(ptr noundef %66) %68 = call i32 (...) @protect() %69 = call i32 (...) @identify() br label %89 70: ; preds = %46 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 1 %73 = load ptr, ptr %72, align 8 %74 = call i32 @strcmp(ptr noundef %73, ptr noundef @.str.3) %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %70 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %77, align 8 %79 = call i32 @usage(ptr noundef %78) br label %80 80: ; preds = %76, %70 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds ptr, ptr %81, i64 2 %83 = load ptr, ptr %82, align 8 %84 = call i32 @boundary(ptr noundef %83) br label %89 85: ; preds = %2 %86 = load ptr, ptr %5, align 8 %87 = load ptr, ptr %86, align 8 %88 = call i32 @usage(ptr noundef %87) br label %89 89: ; preds = %85, %80, %63, %45, %9 %90 = call i32 (...) @c2_reset() ret i32 0 } declare i32 @c2_init(...) #1 declare i32 @identify(...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @dump_flash(i32 noundef) #1 declare i32 @erase_flash(...) #1 declare i32 @usage(ptr noundef) #1 declare i32 @do_flash(ptr noundef) #1 declare i32 @protect(...) #1 declare i32 @boundary(ptr noundef) #1 declare i32 @c2_reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfs25bqq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-p\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @c2_init() %7 = call i32 (...) @identify() %8 = load i32, ptr %4, align 4 switch i32 %8, label %85 [ i32 1, label %9 i32 2, label %10 i32 3, label %46 ] 9: ; preds = %2 br label %89 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp ne i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = call i32 @dump_flash(i32 noundef 16384) br label %45 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18 %25 = call i32 (...) @erase_flash() br label %44 26: ; preds = %18 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 45 br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %34, align 8 %36 = call i32 @usage(ptr noundef %35) br label %43 37: ; preds = %26 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 @do_flash(ptr noundef %40) %42 = call i32 (...) @identify() br label %43 43: ; preds = %37, %33 br label %44 44: ; preds = %43, %24 br label %45 45: ; preds = %44, %16 br label %89 46: ; preds = %2 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.2) %51 = icmp ne i32 %50, 0 br i1 %51, label %70, label %52 52: ; preds = %46 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 2 %55 = load ptr, ptr %54, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 45 br i1 %58, label %59, label %63 59: ; preds = %52 %60 = load ptr, ptr %5, align 8 %61 = load ptr, ptr %60, align 8 %62 = call i32 @usage(ptr noundef %61) br label %63 63: ; preds = %59, %52 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 2 %66 = load ptr, ptr %65, align 8 %67 = call i32 @do_flash(ptr noundef %66) %68 = call i32 (...) @protect() %69 = call i32 (...) @identify() br label %89 70: ; preds = %46 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 1 %73 = load ptr, ptr %72, align 8 %74 = call i32 @strcmp(ptr noundef %73, ptr noundef @.str.3) %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %70 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %77, align 8 %79 = call i32 @usage(ptr noundef %78) br label %80 80: ; preds = %76, %70 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds ptr, ptr %81, i64 2 %83 = load ptr, ptr %82, align 8 %84 = call i32 @boundary(ptr noundef %83) br label %89 85: ; preds = %2 %86 = load ptr, ptr %5, align 8 %87 = load ptr, ptr %86, align 8 %88 = call i32 @usage(ptr noundef %87) br label %89 89: ; preds = %85, %80, %63, %45, %9 %90 = call i32 (...) @c2_reset() ret i32 0 } declare i32 @c2_init(...) #1 declare i32 @identify(...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @dump_flash(i32 noundef) #1 declare i32 @erase_flash(...) #1 declare i32 @usage(ptr noundef) #1 declare i32 @do_flash(ptr noundef) #1 declare i32 @protect(...) #1 declare i32 @boundary(ptr noundef) #1 declare i32 @c2_reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3bk1a8xg.c' source_filename = "/tmp/tmp3bk1a8xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_unsigned_long_long_destroy(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/tmp3bk1a8xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_unsigned_long_long_destroy(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/tmpcxdy59z4.c' source_filename = "/tmp/tmpcxdy59z4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"m1, %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"m2, %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"m3, %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"m4, %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"m5, %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @malloc(i32 noundef 500) store ptr %7, ptr %2, align 8 %8 = call ptr @malloc(i32 noundef 40) store ptr %8, ptr %3, align 8 %9 = call ptr @malloc(i32 noundef 1) %10 = call ptr @malloc(i32 noundef 80) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) %15 = call ptr @malloc(i32 noundef 40) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = call ptr @malloc(i32 noundef 80) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %2, align 8 %20 = call i32 @printf(ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %3, align 8 %22 = call i32 @printf(ptr noundef @.str.1, ptr noundef %21) %23 = load ptr, ptr %4, align 8 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = call i32 @printf(ptr noundef @.str.4, ptr noundef %27) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcxdy59z4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"m1, %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"m2, %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"m3, %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"m4, %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"m5, %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @malloc(i32 noundef 500) store ptr %7, ptr %2, align 8 %8 = call ptr @malloc(i32 noundef 40) store ptr %8, ptr %3, align 8 %9 = call ptr @malloc(i32 noundef 1) %10 = call ptr @malloc(i32 noundef 80) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) %15 = call ptr @malloc(i32 noundef 40) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = call ptr @malloc(i32 noundef 80) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %2, align 8 %20 = call i32 @printf(ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %3, align 8 %22 = call i32 @printf(ptr noundef @.str.1, ptr noundef %21) %23 = load ptr, ptr %4, align 8 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = call i32 @printf(ptr noundef @.str.4, ptr noundef %27) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoibf5o3e.c' source_filename = "/tmp/tmpoibf5o3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread1_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1, %3 %4 = call i32 (...) @print_greetings1() %5 = call i32 @sleep(i32 noundef 1) br label %3 } declare i32 @print_greetings1(...) #1 declare i32 @sleep(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/tmpoibf5o3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread1_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %3, %1 %4 = call i32 (...) @print_greetings1() %5 = call i32 @sleep(i32 noundef 1) br label %3 } declare i32 @print_greetings1(...) #1 declare i32 @sleep(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/tmpm12ptn82.c' source_filename = "/tmp/tmpm12ptn82.c" target datalayout = "e-m:e-p270: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/tmpm12ptn82.c" target datalayout = "e-m:e-p270: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/tmprfcxj0hm.c' source_filename = "/tmp/tmprfcxj0hm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @search.table = internal global [10 x i32] [i32 -8, i32 -512, i32 -32768, i32 -2097152, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @search0a(i32 noundef 12, ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef @search.table) ret i32 %13 } declare i32 @search0a(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprfcxj0hm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @search.table = internal global [10 x i32] [i32 -8, i32 -512, i32 -32768, i32 -2097152, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647, i32 -2147483647], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @search0a(i32 noundef 12, ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef @search.table) ret i32 %13 } declare i32 @search0a(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ktqek84.c' source_filename = "/tmp/tmp9ktqek84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @foo_smp() ret i32 0 } declare i32 @foo_smp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ktqek84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @foo_smp() ret i32 0 } declare i32 @foo_smp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3dq9uuya.c' source_filename = "/tmp/tmp3dq9uuya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = 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 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %0 %5 = call i64 (...) @unknown() %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 br label %13 13: ; preds = %17, %12 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr %1, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %1, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %2, align 4 br label %13, !llvm.loop !8 22: ; preds = %13 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp eq i32 %23, %24 %26 = zext i1 %25 to i32 %27 = call i32 @static_assert(i32 noundef %26) ret void } declare i64 @unknown(...) #1 declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dq9uuya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = 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 store i32 0, ptr %3, align 4 %4 = call i64 (...) @unknown() %5 = icmp ne i64 %4, 0 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = call i64 (...) @unknown() %12 = icmp ne i64 %11, 0 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %0 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %.lr.ph2, label %25 .lr.ph2: ; preds = %13 br label %17 17: ; preds = %.lr.ph2, %17 %18 = load i32, ptr %1, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %1, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %1, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %17 br label %25 25: ; preds = %._crit_edge3, %13 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 %30 = call i32 @static_assert(i32 noundef %29) ret void } declare i64 @unknown(...) #1 declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcup_6nm3.c' source_filename = "/tmp/tmpcup_6nm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_array(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 4, %14 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %15, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 store ptr %21, ptr %23, align 8 store i32 1, ptr %6, align 4 br label %24 24: ; preds = %42, %2 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp ne i32 %25, %26 br i1 %27, label %28, label %45 28: ; preds = %24 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %29, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %34, i64 %36 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 store ptr %37, ptr %41, align 8 br label %42 42: ; preds = %28 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %24, !llvm.loop !6 45: ; preds = %24 %46 = load ptr, ptr %5, align 8 ret ptr %46 } declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcup_6nm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_array(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 4, %14 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %15, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 store ptr %21, ptr %23, align 8 store i32 1, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %.lr.ph, label %47 .lr.ph: ; preds = %2 br label %27 27: ; preds = %.lr.ph, %41 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %28, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 store ptr %36, ptr %40, align 8 br label %41 41: ; preds = %27 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %3, align 4 %46 = icmp ne i32 %44, %45 br i1 %46, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %2 %48 = load ptr, ptr %5, align 8 ret ptr %48 } declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp01hzm7lh.c' source_filename = "/tmp/tmp01hzm7lh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inc(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 = call i32 @add(ptr noundef %4, ptr noundef %3) ret void } declare i32 @add(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/tmp01hzm7lh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inc(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 = call i32 @add(ptr noundef %4, ptr noundef %3) ret void } declare i32 @add(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/tmphj2ck8vg.c' source_filename = "/tmp/tmphj2ck8vg.c" target datalayout = "e-m:e-p270: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/tmphj2ck8vg.c" target datalayout = "e-m:e-p270: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/tmp1l0o4ipz.c' source_filename = "/tmp/tmp1l0o4ipz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @gpio_init() br label %3 3: ; preds = %3, %0 %4 = call i32 @gpio_backlight_upper(i32 noundef 1) %5 = call i32 @usleep(i32 noundef 500000) %6 = call i32 @gpio_backlight_upper(i32 noundef 0) %7 = call i32 @gpio_backlight_lower(i32 noundef 1) %8 = call i32 @usleep(i32 noundef 500000) %9 = call i32 @gpio_backlight_lower(i32 noundef 0) %10 = call i32 @printf(ptr noundef @.str) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fflush(i32 noundef %11) br label %3 } declare i32 @gpio_init(...) #1 declare i32 @gpio_backlight_upper(i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @gpio_backlight_lower(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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/tmp1l0o4ipz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @gpio_init() br label %3 3: ; preds = %3, %0 %4 = call i32 @gpio_backlight_upper(i32 noundef 1) %5 = call i32 @usleep(i32 noundef 500000) %6 = call i32 @gpio_backlight_upper(i32 noundef 0) %7 = call i32 @gpio_backlight_lower(i32 noundef 1) %8 = call i32 @usleep(i32 noundef 500000) %9 = call i32 @gpio_backlight_lower(i32 noundef 0) %10 = call i32 @printf(ptr noundef @.str) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fflush(i32 noundef %11) br label %3 } declare i32 @gpio_init(...) #1 declare i32 @gpio_backlight_upper(i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @gpio_backlight_lower(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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_a56eeln.c' source_filename = "/tmp/tmp_a56eeln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xor\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgsynxor() #0 { %1 = call i32 @cgsynth(ptr noundef @.str) ret void } declare i32 @cgsynth(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_a56eeln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xor\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgsynxor() #0 { %1 = call i32 @cgsynth(ptr noundef @.str) ret void } declare i32 @cgsynth(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp480trq26.c' source_filename = "/tmp/tmp480trq26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %20, %2 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load ptr, ptr %6, 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, %9 %19 = phi i1 [ false, %9 ], [ %17, %13 ] br i1 %19, label %20, label %25 20: ; preds = %18 %21 = load i64, ptr %5, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %6, align 8 br label %9, !llvm.loop !6 25: ; preds = %18 %26 = load i64, ptr %5, align 8 %27 = add i64 %26, 1 %28 = call i64 @xmalloc(i64 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %3, align 8 %32 = load i64, ptr %5, align 8 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i64 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 ret ptr %37 } declare i64 @xmalloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp480trq26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %20, %2 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load ptr, ptr %6, 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, %9 %19 = phi i1 [ false, %9 ], [ %17, %13 ] br i1 %19, label %20, label %25 20: ; preds = %18 %21 = load i64, ptr %5, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %6, align 8 br label %9, !llvm.loop !6 25: ; preds = %18 %26 = load i64, ptr %5, align 8 %27 = add i64 %26, 1 %28 = call i64 @xmalloc(i64 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %3, align 8 %32 = load i64, ptr %5, align 8 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i64 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 ret ptr %37 } declare i64 @xmalloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpijje1s5d.c' source_filename = "/tmp/tmpijje1s5d.c" target datalayout = "e-m:e-p270: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.do_drive_sync.args = private unnamed_addr constant [4 x i32] [i32 231, i32 0, i32 0, i32 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_drive_sync(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.do_drive_sync.args, i64 16, i1 false) %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @do_drive_cmd(i32 noundef %5, ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 ret i32 %8 } ; 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 @do_drive_cmd(i32 noundef, 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/tmpijje1s5d.c" target datalayout = "e-m:e-p270: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.do_drive_sync.args = private unnamed_addr constant [4 x i32] [i32 231, i32 0, i32 0, i32 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_drive_sync(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.do_drive_sync.args, i64 16, i1 false) %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @do_drive_cmd(i32 noundef %5, ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 ret i32 %8 } ; 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 @do_drive_cmd(i32 noundef, 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/tmpveke_hbu.c' source_filename = "/tmp/tmpveke_hbu.c" target datalayout = "e-m:e-p270: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/tmpveke_hbu.c" target datalayout = "e-m:e-p270: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/tmpv8mvsprj.c' source_filename = "/tmp/tmpv8mvsprj.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"target4: argc != 2\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @foo(ptr noundef %16) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @foo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpv8mvsprj.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"target4: argc != 2\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @foo(ptr noundef %16) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @foo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp75g44g20.c' source_filename = "/tmp/tmp75g44g20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_str_intersect(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = call i64 @malloc(i32 noundef 1) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 br label %16 16: ; preds = %72, %2 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %73 26: ; preds = %24 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp slt i32 %32, %38 br i1 %39, label %40, label %43 40: ; preds = %26 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %72 43: ; preds = %26 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp slt i32 %49, %55 br i1 %56, label %57, label %60 57: ; preds = %43 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 br label %71 60: ; preds = %43 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = call i32 @strcat(ptr noundef %61, ptr noundef %65) %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %71 71: ; preds = %60, %57 br label %72 72: ; preds = %71, %40 br label %16, !llvm.loop !6 73: ; preds = %24 %74 = load ptr, ptr %9, align 8 ret ptr %74 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp75g44g20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_str_intersect(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = call i64 @malloc(i32 noundef 1) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 br label %16 16: ; preds = %72, %2 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %73 26: ; preds = %24 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp slt i32 %32, %38 br i1 %39, label %40, label %43 40: ; preds = %26 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %72 43: ; preds = %26 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp slt i32 %49, %55 br i1 %56, label %57, label %60 57: ; preds = %43 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 br label %71 60: ; preds = %43 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = call i32 @strcat(ptr noundef %61, ptr noundef %65) %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %71 71: ; preds = %60, %57 br label %72 72: ; preds = %71, %40 br label %16, !llvm.loop !6 73: ; preds = %24 %74 = load ptr, ptr %9, align 8 ret ptr %74 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl8z1vw4b.c' source_filename = "/tmp/tmpl8z1vw4b.c" target datalayout = "e-m:e-p270: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/tmpl8z1vw4b.c" target datalayout = "e-m:e-p270: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/tmpwj13i65a.c' source_filename = "/tmp/tmpwj13i65a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ascii_number(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %6, align 8 %9 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8) ret void } declare i32 @fprintf(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwj13i65a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ascii_number(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %6, align 8 %9 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8) ret void } declare i32 @fprintf(ptr noundef, 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"}
; ModuleID = '/tmp/tmprf5koiok.c' source_filename = "/tmp/tmprf5koiok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%100s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%10s\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"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readint(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [101 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = call i32 (...) @quit() br label %17 17: ; preds = %15, %3 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %20 = call i64 @strcmp(ptr noundef %18, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 (...) @quit() br label %24 24: ; preds = %22, %17 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %27 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %26) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 1 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 (...) @quit() br label %32 32: ; preds = %30, %24 %33 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %34 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 (...) @quit() br label %38 38: ; preds = %36, %32 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %39, ptr noundef @.str.3, ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 1 br i1 %43, label %44, label %46 44: ; preds = %38 %45 = call i32 (...) @quit() br label %46 46: ; preds = %44, %38 ret void } declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @quit(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprf5koiok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%100s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%10s\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"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readint(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [101 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = call i32 (...) @quit() br label %17 17: ; preds = %15, %3 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %20 = call i64 @strcmp(ptr noundef %18, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 (...) @quit() br label %24 24: ; preds = %22, %17 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %27 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %26) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 1 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 (...) @quit() br label %32 32: ; preds = %30, %24 %33 = getelementptr inbounds [101 x i8], ptr %7, i64 0, i64 0 %34 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 (...) @quit() br label %38 38: ; preds = %36, %32 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %39, ptr noundef @.str.3, ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 1 br i1 %43, label %44, label %46 44: ; preds = %38 %45 = call i32 (...) @quit() br label %46 46: ; preds = %44, %38 ret void } declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @quit(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd849b0k_.c' source_filename = "/tmp/tmpd849b0k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"socketpair:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"fork:\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"+ Starting async read loop\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @secure_shell(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2 x i32], align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @AF_UNIX, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %8 = call i64 @socketpair(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = call i32 (...) @fork() store i32 %14, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 @perror(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %31, label %22 22: ; preds = %19 %23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @close(i32 noundef %24) %26 = load i32, ptr %2, align 4 %27 = call i32 @close(i32 noundef %26) %28 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = call i32 @start_shell(i32 noundef %29) br label %31 31: ; preds = %22, %19 br label %32 32: ; preds = %31 %33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @close(i32 noundef %34) %36 = call i32 @printf(ptr noundef @.str.2) %37 = load i32, ptr %2, align 4 %38 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @async_read(i32 noundef %37, i32 noundef %39) ret void } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @start_shell(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @async_read(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" } 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/tmpd849b0k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"socketpair:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"fork:\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"+ Starting async read loop\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @secure_shell(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2 x i32], align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @AF_UNIX, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %8 = call i64 @socketpair(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = call i32 (...) @fork() store i32 %14, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 @perror(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %31, label %22 22: ; preds = %19 %23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %24 = load i32, ptr %23, align 4 %25 = call i32 @close(i32 noundef %24) %26 = load i32, ptr %2, align 4 %27 = call i32 @close(i32 noundef %26) %28 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = call i32 @start_shell(i32 noundef %29) br label %31 31: ; preds = %22, %19 br label %32 32: ; preds = %31 %33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @close(i32 noundef %34) %36 = call i32 @printf(ptr noundef @.str.2) %37 = load i32, ptr %2, align 4 %38 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @async_read(i32 noundef %37, i32 noundef %39) ret void } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @start_shell(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @async_read(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" } 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/tmpn2cc9bke.c' source_filename = "/tmp/tmpn2cc9bke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkDivisible(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %24 9: ; preds = %1 store i32 3, ptr %4, align 4 br label %10 10: ; preds = %20, %9 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %11, 20 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = srem i32 %14, %15 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 0, ptr %2, align 4 br label %24 19: ; preds = %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 2 store i32 %22, ptr %4, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %23, %18, %8 %25 = load i32, ptr %2, align 4 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpn2cc9bke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkDivisible(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %25 9: ; preds = %1 store i32 3, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %10, 20 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %19 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = srem i32 %13, %14 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %2, align 4 br label %25 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 2 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp sle i32 %22, 20 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %9 store i32 1, ptr %2, align 4 br label %25 25: ; preds = %24, %17, %8 %26 = load i32, ptr %2, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2rq6bafl.c' source_filename = "/tmp/tmp2rq6bafl.c" target datalayout = "e-m:e-p270: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/tmp2rq6bafl.c" target datalayout = "e-m:e-p270: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/tmp54araagy.c' source_filename = "/tmp/tmp54araagy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [9 x i8] c"~0 = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"~1 = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @reverse(i32 noundef 4041356) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @reverse(i32 noundef 1534236469) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str.1, i32 noundef -1) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef -2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @reverse(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/tmp54araagy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [9 x i8] c"~0 = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"~1 = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @reverse(i32 noundef 4041356) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @reverse(i32 noundef 1534236469) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str.1, i32 noundef -1) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef -2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @reverse(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/tmpieufng_v.c' source_filename = "/tmp/tmpieufng_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupper(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %20, %1 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %9, label %23 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call signext i8 @toupper(i8 noundef signext %14) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 br label %20 20: ; preds = %9 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %4, !llvm.loop !6 23: ; preds = %4 %24 = load ptr, ptr %2, align 8 ret ptr %24 } 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/tmpieufng_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupper(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp slt i32 %4, %6 br i1 %7, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %19 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call signext i8 @toupper(i8 noundef signext %13) %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 %14, ptr %18, align 1 br label %19 19: ; preds = %8 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load ptr, ptr %2, align 8 ret ptr %27 } 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/tmp9p1ldjqt.c' source_filename = "/tmp/tmp9p1ldjqt.c" target datalayout = "e-m:e-p270: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/tmp9p1ldjqt.c" target datalayout = "e-m:e-p270: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/tmpwiwhslpb.c' source_filename = "/tmp/tmpwiwhslpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mmap_stdin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %5 = call i64 @fstat(i32 noundef 0, ptr noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %1 %11 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %2, align 8 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @PROT_READ, align 4 %17 = load i32, ptr @MAP_PRIVATE, align 4 %18 = call ptr @mmap(i32 noundef 0, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef 0, i32 noundef 0) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp eq ptr %19, inttoptr (i64 -1 to ptr) br i1 %20, label %21, label %24 21: ; preds = %10 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %10 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpwiwhslpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mmap_stdin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %5 = call i64 @fstat(i32 noundef 0, ptr noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %1 %11 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %2, align 8 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @PROT_READ, align 4 %17 = load i32, ptr @MAP_PRIVATE, align 4 %18 = call ptr @mmap(i32 noundef 0, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef 0, i32 noundef 0) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp eq ptr %19, inttoptr (i64 -1 to ptr) br i1 %20, label %21, label %24 21: ; preds = %10 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %10 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp_betik93.c' source_filename = "/tmp/tmp_betik93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ttyMFD1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%c%c%c%c%c%c%c%c%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @image_size(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca [5 x i8], align 1 %5 = alloca [9 x i8], align 1 %6 = alloca ptr, align 8 store i8 %0, ptr %2, align 1 store i32 -1, ptr %3, align 4 %7 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0 store i8 86, ptr %7, align 1 %8 = getelementptr inbounds i8, ptr %7, i64 1 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds i8, ptr %8, i64 1 store i8 49, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 store i8 5, ptr %10, align 1 %11 = getelementptr inbounds i8, ptr %10, i64 1 store i8 4, ptr %11, align 1 %12 = getelementptr inbounds i8, ptr %11, i64 1 store i8 1, ptr %12, align 1 %13 = getelementptr inbounds i8, ptr %12, i64 1 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds i8, ptr %13, i64 1 store i8 25, ptr %14, align 1 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = load i8, ptr %2, align 1 store i8 %16, ptr %15, align 1 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0 %20 = load i8, ptr %19, align 1 %21 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 1 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 2 %24 = load i8, ptr %23, align 1 %25 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 3 %26 = load i8, ptr %25, align 1 %27 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 4 %28 = load i8, ptr %27, align 1 %29 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 5 %30 = load i8, ptr %29, align 1 %31 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 6 %32 = load i8, ptr %31, align 1 %33 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 7 %34 = load i8, ptr %33, align 1 %35 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 8 %36 = load i8, ptr %35, align 1 %37 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, i8 noundef zeroext %20, i8 noundef zeroext %22, i8 noundef zeroext %24, i8 noundef zeroext %26, i8 noundef zeroext %28, i8 noundef zeroext %30, i8 noundef zeroext %32, i8 noundef zeroext %34, i8 noundef zeroext %36) %38 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %39 = load ptr, ptr %6, align 8 %40 = call i32 @fgets(ptr noundef %38, i32 noundef 5, ptr noundef %39) %41 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 118 br i1 %44, label %45, label %51 45: ; preds = %1 %46 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp eq i32 %48, 49 br i1 %49, label %50, label %51 50: ; preds = %45 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %45, %1 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load i32, ptr %3, align 4 %55 = call i32 (...) @reset_camera() %56 = add nsw i32 %54, %55 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @reset_camera(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_betik93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ttyMFD1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%c%c%c%c%c%c%c%c%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @image_size(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca [5 x i8], align 1 %5 = alloca [9 x i8], align 1 %6 = alloca ptr, align 8 store i8 %0, ptr %2, align 1 store i32 -1, ptr %3, align 4 %7 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0 store i8 86, ptr %7, align 1 %8 = getelementptr inbounds i8, ptr %7, i64 1 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds i8, ptr %8, i64 1 store i8 49, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 store i8 5, ptr %10, align 1 %11 = getelementptr inbounds i8, ptr %10, i64 1 store i8 4, ptr %11, align 1 %12 = getelementptr inbounds i8, ptr %11, i64 1 store i8 1, ptr %12, align 1 %13 = getelementptr inbounds i8, ptr %12, i64 1 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds i8, ptr %13, i64 1 store i8 25, ptr %14, align 1 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = load i8, ptr %2, align 1 store i8 %16, ptr %15, align 1 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0 %20 = load i8, ptr %19, align 1 %21 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 1 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 2 %24 = load i8, ptr %23, align 1 %25 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 3 %26 = load i8, ptr %25, align 1 %27 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 4 %28 = load i8, ptr %27, align 1 %29 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 5 %30 = load i8, ptr %29, align 1 %31 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 6 %32 = load i8, ptr %31, align 1 %33 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 7 %34 = load i8, ptr %33, align 1 %35 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 8 %36 = load i8, ptr %35, align 1 %37 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, i8 noundef zeroext %20, i8 noundef zeroext %22, i8 noundef zeroext %24, i8 noundef zeroext %26, i8 noundef zeroext %28, i8 noundef zeroext %30, i8 noundef zeroext %32, i8 noundef zeroext %34, i8 noundef zeroext %36) %38 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %39 = load ptr, ptr %6, align 8 %40 = call i32 @fgets(ptr noundef %38, i32 noundef 5, ptr noundef %39) %41 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 118 br i1 %44, label %45, label %51 45: ; preds = %1 %46 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp eq i32 %48, 49 br i1 %49, label %50, label %51 50: ; preds = %45 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %45, %1 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load i32, ptr %3, align 4 %55 = call i32 (...) @reset_camera() %56 = add nsw i32 %54, %55 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @reset_camera(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}