llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpyqigvd82.c'
source_filename = "/tmp/tmpyqigvd82.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_3__, i32, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i32 }
%struct.TYPE_4__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"SIOCGIFADDR: fail ioctl errno=%d\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_interface_ipaddress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.ifreq, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 2
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
%14 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr @IFNAMSIZ, align 8
%18 = sub nsw i64 %17, 1
%19 = call i32 @strncpy(i32 noundef %15, ptr noundef %16, i64 noundef %18)
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @SIOCGIFADDR, align 4
%22 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %6)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %29
24: ; preds = %2
%25 = load i32, ptr @errno, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %7, align 4
%28 = call i32 @close(i32 noundef %27)
store i32 -1, ptr %3, align 4
br label %36
29: ; preds = %2
%30 = load i32, ptr %7, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %34, i32 noundef 4)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %29, %24
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqigvd82.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_3__, i32, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i32 }
%struct.TYPE_4__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"SIOCGIFADDR: fail ioctl errno=%d\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_interface_ipaddress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.ifreq, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 2
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
%14 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr @IFNAMSIZ, align 8
%18 = sub nsw i64 %17, 1
%19 = call i32 @strncpy(i32 noundef %15, ptr noundef %16, i64 noundef %18)
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @SIOCGIFADDR, align 4
%22 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %6)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %29
24: ; preds = %2
%25 = load i32, ptr @errno, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %7, align 4
%28 = call i32 @close(i32 noundef %27)
store i32 -1, ptr %3, align 4
br label %36
29: ; preds = %2
%30 = load i32, ptr %7, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %34, i32 noundef 4)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %29, %24
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbu5a043x.c'
source_filename = "/tmp/tmpbu5a043x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dgets(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load ptr, ptr %7, align 8
store i32 0, ptr %16, align 4
br label %17
17: ; preds = %15, %4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load ptr, ptr %9, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %20
store i32 0, ptr %5, align 4
br label %80
26: ; preds = %17
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %8, align 4
br label %29
29: ; preds = %26, %41, %69
%30 = load i32, ptr %6, align 4
%31 = call i32 @read(i32 noundef %30, ptr noundef %12, i32 noundef 1)
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sle i32 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load i64, ptr @errno, align 8
%39 = load i64, ptr @EINTR, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %37
br label %29
42: ; preds = %37, %34
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load ptr, ptr %7, align 8
store i32 1, ptr %46, align 4
br label %47
47: ; preds = %45, %42
br label %70
48: ; preds = %29
%49 = load i32, ptr %11, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %64
52: ; preds = %48
%53 = load ptr, ptr %9, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %61
55: ; preds = %52
%56 = load i8, ptr %12, align 1
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 %56, ptr %60, align 1
br label %61
61: ; preds = %55, %52
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
br label %64
64: ; preds = %61, %48
%65 = load i8, ptr %12, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 10
br i1 %67, label %68, label %69
68: ; preds = %64
br label %70
69: ; preds = %64
br label %29
70: ; preds = %68, %47
%71 = load ptr, ptr %9, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = load ptr, ptr %9, align 8
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 0, ptr %77, align 1
br label %78
78: ; preds = %73, %70
%79 = load i32, ptr %11, align 4
store i32 %79, ptr %5, align 4
br label %80
80: ; preds = %78, %25
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu5a043x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dgets(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load ptr, ptr %7, align 8
store i32 0, ptr %16, align 4
br label %17
17: ; preds = %15, %4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load ptr, ptr %9, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %20
store i32 0, ptr %5, align 4
br label %80
26: ; preds = %17
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %8, align 4
br label %29
29: ; preds = %.backedge, %26
%30 = load i32, ptr %6, align 4
%31 = call i32 @read(i32 noundef %30, ptr noundef %12, i32 noundef 1)
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sle i32 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load i64, ptr @errno, align 8
%39 = load i64, ptr @EINTR, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %37
br label %.backedge
.backedge: ; preds = %41, %69
br label %29
42: ; preds = %37, %34
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load ptr, ptr %7, align 8
store i32 1, ptr %46, align 4
br label %47
47: ; preds = %45, %42
br label %70
48: ; preds = %29
%49 = load i32, ptr %11, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %64
52: ; preds = %48
%53 = load ptr, ptr %9, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %61
55: ; preds = %52
%56 = load i8, ptr %12, align 1
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 %56, ptr %60, align 1
br label %61
61: ; preds = %55, %52
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
br label %64
64: ; preds = %61, %48
%65 = load i8, ptr %12, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 10
br i1 %67, label %68, label %69
68: ; preds = %64
br label %70
69: ; preds = %64
br label %.backedge
70: ; preds = %68, %47
%71 = load ptr, ptr %9, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = load ptr, ptr %9, align 8
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 0, ptr %77, align 1
br label %78
78: ; preds = %73, %70
%79 = load i32, ptr %11, align 4
store i32 %79, ptr %5, align 4
br label %80
80: ; preds = %78, %25
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpprplwdxp.c'
source_filename = "/tmp/tmpprplwdxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpprplwdxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpstz_64ik.c'
source_filename = "/tmp/tmpstz_64ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neuralops_conv2d_scale_bias_bwd(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca float, align 4
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca float, align 4
store i64 %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i64 %2, ptr %13, align 8
store i64 %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
store i64 0, ptr %21, align 8
store i64 0, ptr %22, align 8
br label %28
28: ; preds = %92, %10
%29 = load i64, ptr %22, align 8
%30 = load i64, ptr %11, align 8
%31 = icmp ult i64 %29, %30
br i1 %31, label %32, label %95
32: ; preds = %28
store i64 0, ptr %23, align 8
br label %33
33: ; preds = %88, %32
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %14, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %37, label %91
37: ; preds = %33
%38 = load ptr, ptr %16, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds float, ptr %38, i64 %39
%41 = load float, ptr %40, align 4
store float %41, ptr %24, align 4
store i64 0, ptr %25, align 8
br label %42
42: ; preds = %84, %37
%43 = load i64, ptr %25, align 8
%44 = load i64, ptr %13, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %46, label %87
46: ; preds = %42
store i64 0, ptr %26, align 8
br label %47
47: ; preds = %80, %46
%48 = load i64, ptr %26, align 8
%49 = load i64, ptr %12, align 8
%50 = icmp ult i64 %48, %49
br i1 %50, label %51, label %83
51: ; preds = %47
%52 = load ptr, ptr %17, align 8
%53 = load i64, ptr %21, align 8
%54 = getelementptr inbounds float, ptr %52, i64 %53
%55 = load float, ptr %54, align 4
store float %55, ptr %27, align 4
%56 = load float, ptr %27, align 4
%57 = load ptr, ptr %15, align 8
%58 = load i64, ptr %21, align 8
%59 = getelementptr inbounds float, ptr %57, i64 %58
%60 = load float, ptr %59, align 4
%61 = load ptr, ptr %18, align 8
%62 = load i64, ptr %23, align 8
%63 = getelementptr inbounds float, ptr %61, i64 %62
%64 = load float, ptr %63, align 4
%65 = call float @llvm.fmuladd.f32(float %56, float %60, float %64)
store float %65, ptr %63, align 4
%66 = load float, ptr %27, align 4
%67 = load ptr, ptr %19, align 8
%68 = load i64, ptr %23, align 8
%69 = getelementptr inbounds float, ptr %67, i64 %68
%70 = load float, ptr %69, align 4
%71 = fadd float %70, %66
store float %71, ptr %69, align 4
%72 = load float, ptr %27, align 4
%73 = load float, ptr %24, align 4
%74 = fmul float %72, %73
%75 = load ptr, ptr %20, align 8
%76 = load i64, ptr %21, align 8
%77 = getelementptr inbounds float, ptr %75, i64 %76
store float %74, ptr %77, align 4
%78 = load i64, ptr %21, align 8
%79 = add i64 %78, 1
store i64 %79, ptr %21, align 8
br label %80
80: ; preds = %51
%81 = load i64, ptr %26, align 8
%82 = add i64 %81, 1
store i64 %82, ptr %26, align 8
br label %47, !llvm.loop !6
83: ; preds = %47
br label %84
84: ; preds = %83
%85 = load i64, ptr %25, align 8
%86 = add i64 %85, 1
store i64 %86, ptr %25, align 8
br label %42, !llvm.loop !8
87: ; preds = %42
br label %88
88: ; preds = %87
%89 = load i64, ptr %23, align 8
%90 = add i64 %89, 1
store i64 %90, ptr %23, align 8
br label %33, !llvm.loop !9
91: ; preds = %33
br label %92
92: ; preds = %91
%93 = load i64, ptr %22, align 8
%94 = add i64 %93, 1
store i64 %94, ptr %22, align 8
br label %28, !llvm.loop !10
95: ; preds = %28
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpstz_64ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neuralops_conv2d_scale_bias_bwd(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca float, align 4
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca float, align 4
store i64 %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i64 %2, ptr %13, align 8
store i64 %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
store i64 0, ptr %21, align 8
store i64 0, ptr %22, align 8
%28 = load i64, ptr %22, align 8
%29 = load i64, ptr %11, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %.lr.ph8, label %103
.lr.ph8: ; preds = %10
br label %31
31: ; preds = %.lr.ph8, %97
store i64 0, ptr %23, align 8
%32 = load i64, ptr %23, align 8
%33 = load i64, ptr %14, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %.lr.ph5, label %96
.lr.ph5: ; preds = %31
br label %35
35: ; preds = %.lr.ph5, %90
%36 = load ptr, ptr %16, align 8
%37 = load i64, ptr %23, align 8
%38 = getelementptr inbounds float, ptr %36, i64 %37
%39 = load float, ptr %38, align 4
store float %39, ptr %24, align 4
store i64 0, ptr %25, align 8
%40 = load i64, ptr %25, align 8
%41 = load i64, ptr %13, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %.lr.ph2, label %89
.lr.ph2: ; preds = %35
br label %43
43: ; preds = %.lr.ph2, %83
store i64 0, ptr %26, align 8
%44 = load i64, ptr %26, align 8
%45 = load i64, ptr %12, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %.lr.ph, label %82
.lr.ph: ; preds = %43
br label %47
47: ; preds = %.lr.ph, %76
%48 = load ptr, ptr %17, align 8
%49 = load i64, ptr %21, align 8
%50 = getelementptr inbounds float, ptr %48, i64 %49
%51 = load float, ptr %50, align 4
store float %51, ptr %27, align 4
%52 = load float, ptr %27, align 4
%53 = load ptr, ptr %15, align 8
%54 = load i64, ptr %21, align 8
%55 = getelementptr inbounds float, ptr %53, i64 %54
%56 = load float, ptr %55, align 4
%57 = load ptr, ptr %18, align 8
%58 = load i64, ptr %23, align 8
%59 = getelementptr inbounds float, ptr %57, i64 %58
%60 = load float, ptr %59, align 4
%61 = call float @llvm.fmuladd.f32(float %52, float %56, float %60)
store float %61, ptr %59, align 4
%62 = load float, ptr %27, align 4
%63 = load ptr, ptr %19, align 8
%64 = load i64, ptr %23, align 8
%65 = getelementptr inbounds float, ptr %63, i64 %64
%66 = load float, ptr %65, align 4
%67 = fadd float %66, %62
store float %67, ptr %65, align 4
%68 = load float, ptr %27, align 4
%69 = load float, ptr %24, align 4
%70 = fmul float %68, %69
%71 = load ptr, ptr %20, align 8
%72 = load i64, ptr %21, align 8
%73 = getelementptr inbounds float, ptr %71, i64 %72
store float %70, ptr %73, align 4
%74 = load i64, ptr %21, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %21, align 8
br label %76
76: ; preds = %47
%77 = load i64, ptr %26, align 8
%78 = add i64 %77, 1
store i64 %78, ptr %26, align 8
%79 = load i64, ptr %26, align 8
%80 = load i64, ptr %12, align 8
%81 = icmp ult i64 %79, %80
br i1 %81, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %43
br label %83
83: ; preds = %82
%84 = load i64, ptr %25, align 8
%85 = add i64 %84, 1
store i64 %85, ptr %25, align 8
%86 = load i64, ptr %25, align 8
%87 = load i64, ptr %13, align 8
%88 = icmp ult i64 %86, %87
br i1 %88, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %89
89: ; preds = %._crit_edge3, %35
br label %90
90: ; preds = %89
%91 = load i64, ptr %23, align 8
%92 = add i64 %91, 1
store i64 %92, ptr %23, align 8
%93 = load i64, ptr %23, align 8
%94 = load i64, ptr %14, align 8
%95 = icmp ult i64 %93, %94
br i1 %95, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %90
br label %96
96: ; preds = %._crit_edge6, %31
br label %97
97: ; preds = %96
%98 = load i64, ptr %22, align 8
%99 = add i64 %98, 1
store i64 %99, ptr %22, align 8
%100 = load i64, ptr %22, align 8
%101 = load i64, ptr %11, align 8
%102 = icmp ult i64 %100, %101
br i1 %102, label %31, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %97
br label %103
103: ; preds = %._crit_edge9, %10
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvzsxe4lm.c'
source_filename = "/tmp/tmpvzsxe4lm.c"
target datalayout = "e-m:e-p270: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/tmpvzsxe4lm.c"
target datalayout = "e-m:e-p270: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/tmpzgzbdq5u.c'
source_filename = "/tmp/tmpzgzbdq5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ppm_load(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %25, label %15
15: ; preds = %3
%16 = load i32, ptr %9, align 4
%17 = call signext i8 @nextchar(i32 noundef %16)
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 80
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = call signext i8 @nextchar(i32 noundef %21)
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 54
br i1 %24, label %25, label %26
25: ; preds = %20, %15, %3
store ptr null, ptr %4, align 8
br label %54
26: ; preds = %20
%27 = load i32, ptr %9, align 4
%28 = call i32 @cutint(i32 noundef %27)
%29 = load ptr, ptr %7, align 8
store i32 %28, ptr %29, align 4
%30 = load i32, ptr %9, align 4
%31 = call i32 @cutint(i32 noundef %30)
%32 = load ptr, ptr %6, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @cutint(i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = mul nsw i32 %39, 3
%41 = call ptr @malloc(i32 noundef %40)
store ptr %41, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
%48 = mul nsw i32 %45, %47
%49 = mul nsw i32 %48, 3
%50 = call i32 @read(i32 noundef %42, ptr noundef %43, i32 noundef %49)
%51 = load i32, ptr %9, align 4
%52 = call i32 @close(i32 noundef %51)
%53 = load ptr, ptr %8, align 8
store ptr %53, ptr %4, align 8
br label %54
54: ; preds = %26, %25
%55 = load ptr, ptr %4, align 8
ret ptr %55
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare signext i8 @nextchar(i32 noundef) #1
declare i32 @cutint(i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzgzbdq5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ppm_load(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %25, label %15
15: ; preds = %3
%16 = load i32, ptr %9, align 4
%17 = call signext i8 @nextchar(i32 noundef %16)
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 80
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = call signext i8 @nextchar(i32 noundef %21)
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 54
br i1 %24, label %25, label %26
25: ; preds = %20, %15, %3
store ptr null, ptr %4, align 8
br label %54
26: ; preds = %20
%27 = load i32, ptr %9, align 4
%28 = call i32 @cutint(i32 noundef %27)
%29 = load ptr, ptr %7, align 8
store i32 %28, ptr %29, align 4
%30 = load i32, ptr %9, align 4
%31 = call i32 @cutint(i32 noundef %30)
%32 = load ptr, ptr %6, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @cutint(i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = mul nsw i32 %39, 3
%41 = call ptr @malloc(i32 noundef %40)
store ptr %41, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
%48 = mul nsw i32 %45, %47
%49 = mul nsw i32 %48, 3
%50 = call i32 @read(i32 noundef %42, ptr noundef %43, i32 noundef %49)
%51 = load i32, ptr %9, align 4
%52 = call i32 @close(i32 noundef %51)
%53 = load ptr, ptr %8, align 8
store ptr %53, ptr %4, align 8
br label %54
54: ; preds = %26, %25
%55 = load ptr, ptr %4, align 8
ret ptr %55
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare signext i8 @nextchar(i32 noundef) #1
declare i32 @cutint(i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8lm0ii2.c'
source_filename = "/tmp/tmpa8lm0ii2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Unexpected EOF\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strndup_unescaped(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store ptr null, ptr %3, align 8
br label %152
18: ; preds = %2
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
%21 = mul i64 1, %20
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %3, align 8
br label %152
28: ; preds = %18
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %146, %28
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = load i64, ptr %5, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %147
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
store i8 %44, ptr %10, align 1
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 92
br i1 %48, label %49, label %136
49: ; preds = %42
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
store i8 %52, ptr %10, align 1
%53 = load i8, ptr %10, align 1
%54 = sext i8 %53 to i32
switch i32 %54, label %135 [
i32 0, label %55
i32 34, label %56
i32 47, label %56
i32 110, label %61
i32 116, label %69
i32 117, label %77
]
55: ; preds = %49
br label %135
56: ; preds = %49, %49
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %4, align 8
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
br label %146
61: ; preds = %49
%62 = load ptr, ptr %8, align 8
store i8 10, ptr %62, align 1
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 2
store ptr %64, ptr %4, align 8
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 2
store i32 %66, ptr %9, align 4
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %8, align 8
br label %146
69: ; preds = %49
%70 = load ptr, ptr %8, align 8
store i8 9, ptr %70, align 1
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 2
store ptr %72, ptr %4, align 8
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 2
store i32 %74, ptr %9, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %8, align 8
br label %146
77: ; preds = %49
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 2
%80 = load i8, ptr %79, align 1
store i8 %80, ptr %10, align 1
store i32 2, ptr %13, align 4
br label %81
81: ; preds = %96, %77
%82 = load i32, ptr %13, align 4
%83 = icmp slt i32 %82, 6
br i1 %83, label %84, label %99
84: ; preds = %81
%85 = load i8, ptr %10, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = call i32 @printf(ptr noundef @.str.1)
br label %148
90: ; preds = %84
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %13, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
%95 = load i8, ptr %94, align 1
store i8 %95, ptr %10, align 1
br label %96
96: ; preds = %90
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %13, align 4
br label %81, !llvm.loop !6
99: ; preds = %81
%100 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 2
%103 = call i32 @strncpy(ptr noundef %100, ptr noundef %102, i32 noundef 4)
%104 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 4
store i8 0, ptr %104, align 1
%105 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%106 = call i32 @strtol(ptr noundef %105, ptr noundef null, i32 noundef 16)
store i32 %106, ptr %12, align 4
%107 = load i32, ptr %12, align 4
%108 = icmp slt i32 %107, 128
br i1 %108, label %109, label %115
109: ; preds = %99
%110 = load i32, ptr %12, align 4
%111 = trunc i32 %110 to i8
%112 = load ptr, ptr %8, align 8
store i8 %111, ptr %112, align 1
%113 = load ptr, ptr %8, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %8, align 8
br label %130
115: ; preds = %99
%116 = load i32, ptr %12, align 4
%117 = ashr i32 %116, 6
%118 = or i32 %117, 192
%119 = trunc i32 %118 to i8
%120 = load ptr, ptr %8, align 8
store i8 %119, ptr %120, align 1
%121 = load ptr, ptr %8, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %8, align 8
%123 = load i32, ptr %12, align 4
%124 = and i32 %123, 63
%125 = or i32 %124, 128
%126 = trunc i32 %125 to i8
%127 = load ptr, ptr %8, align 8
store i8 %126, ptr %127, align 1
%128 = load ptr, ptr %8, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %8, align 8
br label %130
130: ; preds = %115, %109
%131 = load i32, ptr %9, align 4
%132 = add nsw i32 %131, 6
store i32 %132, ptr %9, align 4
%133 = load ptr, ptr %4, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 6
store ptr %134, ptr %4, align 8
br label %146
135: ; preds = %49, %55
br label %136
136: ; preds = %135, %42
%137 = load ptr, ptr %4, align 8
%138 = load i8, ptr %137, align 1
%139 = load ptr, ptr %8, align 8
store i8 %138, ptr %139, align 1
%140 = load ptr, ptr %8, align 8
%141 = getelementptr inbounds i8, ptr %140, i32 1
store ptr %141, ptr %8, align 8
%142 = load ptr, ptr %4, align 8
%143 = getelementptr inbounds i8, ptr %142, i32 1
store ptr %143, ptr %4, align 8
%144 = load i32, ptr %9, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %9, align 4
br label %146
146: ; preds = %136, %130, %69, %61, %56
br label %30, !llvm.loop !8
147: ; preds = %40
br label %148
148: ; preds = %147, %88
%149 = load ptr, ptr %8, align 8
store i8 0, ptr %149, align 1
%150 = load ptr, ptr %7, align 8
store ptr %150, ptr %4, align 8
%151 = load ptr, ptr %6, align 8
store ptr %151, ptr %3, align 8
br label %152
152: ; preds = %148, %26, %17
%153 = load ptr, ptr %3, align 8
ret ptr %153
}
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8lm0ii2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Unexpected EOF\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strndup_unescaped(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store ptr null, ptr %3, align 8
br label %153
18: ; preds = %2
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
%21 = mul i64 1, %20
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %3, align 8
br label %153
28: ; preds = %18
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %147, %28
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = load i64, ptr %5, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %148
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
store i8 %44, ptr %10, align 1
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 92
br i1 %48, label %49, label %137
49: ; preds = %42
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
store i8 %52, ptr %10, align 1
%53 = load i8, ptr %10, align 1
%54 = sext i8 %53 to i32
switch i32 %54, label %136 [
i32 0, label %55
i32 34, label %56
i32 47, label %56
i32 110, label %61
i32 116, label %69
i32 117, label %77
]
55: ; preds = %49
br label %136
56: ; preds = %49, %49
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %4, align 8
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
br label %147
61: ; preds = %49
%62 = load ptr, ptr %8, align 8
store i8 10, ptr %62, align 1
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 2
store ptr %64, ptr %4, align 8
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 2
store i32 %66, ptr %9, align 4
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %8, align 8
br label %147
69: ; preds = %49
%70 = load ptr, ptr %8, align 8
store i8 9, ptr %70, align 1
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 2
store ptr %72, ptr %4, align 8
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 2
store i32 %74, ptr %9, align 4
%75 = load ptr, ptr %8, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %8, align 8
br label %147
77: ; preds = %49
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 2
%80 = load i8, ptr %79, align 1
store i8 %80, ptr %10, align 1
store i32 2, ptr %13, align 4
%81 = load i32, ptr %13, align 4
%82 = icmp slt i32 %81, 6
br i1 %82, label %.lr.ph, label %100
.lr.ph: ; preds = %77
br label %83
83: ; preds = %.lr.ph, %95
%84 = load i8, ptr %10, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 @printf(ptr noundef @.str.1)
br label %149
89: ; preds = %83
%90 = load ptr, ptr %4, align 8
%91 = load i32, ptr %13, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
store i8 %94, ptr %10, align 1
br label %95
95: ; preds = %89
%96 = load i32, ptr %13, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %13, align 4
%98 = load i32, ptr %13, align 4
%99 = icmp slt i32 %98, 6
br i1 %99, label %83, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %95
br label %100
100: ; preds = %._crit_edge, %77
%101 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%102 = load ptr, ptr %4, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 2
%104 = call i32 @strncpy(ptr noundef %101, ptr noundef %103, i32 noundef 4)
%105 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 4
store i8 0, ptr %105, align 1
%106 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%107 = call i32 @strtol(ptr noundef %106, ptr noundef null, i32 noundef 16)
store i32 %107, ptr %12, align 4
%108 = load i32, ptr %12, align 4
%109 = icmp slt i32 %108, 128
br i1 %109, label %110, label %116
110: ; preds = %100
%111 = load i32, ptr %12, align 4
%112 = trunc i32 %111 to i8
%113 = load ptr, ptr %8, align 8
store i8 %112, ptr %113, align 1
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %8, align 8
br label %131
116: ; preds = %100
%117 = load i32, ptr %12, align 4
%118 = ashr i32 %117, 6
%119 = or i32 %118, 192
%120 = trunc i32 %119 to i8
%121 = load ptr, ptr %8, align 8
store i8 %120, ptr %121, align 1
%122 = load ptr, ptr %8, align 8
%123 = getelementptr inbounds i8, ptr %122, i32 1
store ptr %123, ptr %8, align 8
%124 = load i32, ptr %12, align 4
%125 = and i32 %124, 63
%126 = or i32 %125, 128
%127 = trunc i32 %126 to i8
%128 = load ptr, ptr %8, align 8
store i8 %127, ptr %128, align 1
%129 = load ptr, ptr %8, align 8
%130 = getelementptr inbounds i8, ptr %129, i32 1
store ptr %130, ptr %8, align 8
br label %131
131: ; preds = %116, %110
%132 = load i32, ptr %9, align 4
%133 = add nsw i32 %132, 6
store i32 %133, ptr %9, align 4
%134 = load ptr, ptr %4, align 8
%135 = getelementptr inbounds i8, ptr %134, i64 6
store ptr %135, ptr %4, align 8
br label %147
136: ; preds = %55, %49
br label %137
137: ; preds = %136, %42
%138 = load ptr, ptr %4, align 8
%139 = load i8, ptr %138, align 1
%140 = load ptr, ptr %8, align 8
store i8 %139, ptr %140, align 1
%141 = load ptr, ptr %8, align 8
%142 = getelementptr inbounds i8, ptr %141, i32 1
store ptr %142, ptr %8, align 8
%143 = load ptr, ptr %4, align 8
%144 = getelementptr inbounds i8, ptr %143, i32 1
store ptr %144, ptr %4, align 8
%145 = load i32, ptr %9, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %9, align 4
br label %147
147: ; preds = %137, %131, %69, %61, %56
br label %30, !llvm.loop !8
148: ; preds = %40
br label %149
149: ; preds = %148, %87
%150 = load ptr, ptr %8, align 8
store i8 0, ptr %150, align 1
%151 = load ptr, ptr %7, align 8
store ptr %151, ptr %4, align 8
%152 = load ptr, ptr %6, align 8
store ptr %152, ptr %3, align 8
br label %153
153: ; preds = %149, %26, %17
%154 = load ptr, ptr %3, align 8
ret ptr %154
}
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpdd4gbhdu.c'
source_filename = "/tmp/tmpdd4gbhdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_number(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
br label %11
11: ; preds = %36, %3
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = load i8, ptr %9, align 1
%15 = zext i8 %14 to i32
%16 = mul nsw i32 %15, %13
%17 = trunc i32 %16 to i8
store i8 %17, ptr %9, align 1
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %8, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @char_to_digit(i8 noundef signext %23)
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = load i8, ptr %6, align 1
%27 = zext i8 %26 to i32
%28 = icmp uge i32 %25, %27
br i1 %28, label %29, label %30
29: ; preds = %11
store i32 -1, ptr %4, align 4
br label %46
30: ; preds = %11
%31 = load i32, ptr %10, align 4
%32 = load i8, ptr %9, align 1
%33 = zext i8 %32 to i32
%34 = add i32 %33, %31
%35 = trunc i32 %34 to i8
store i8 %35, ptr %9, align 1
br label %36
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %11, label %43, !llvm.loop !6
43: ; preds = %36
%44 = load i8, ptr %9, align 1
%45 = load ptr, ptr %7, align 8
store i8 %44, ptr %45, align 1
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %43, %29
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i32 @char_to_digit(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/tmpdd4gbhdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_number(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
br label %11
11: ; preds = %36, %3
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = load i8, ptr %9, align 1
%15 = zext i8 %14 to i32
%16 = mul nsw i32 %15, %13
%17 = trunc i32 %16 to i8
store i8 %17, ptr %9, align 1
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %8, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @char_to_digit(i8 noundef signext %23)
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = load i8, ptr %6, align 1
%27 = zext i8 %26 to i32
%28 = icmp uge i32 %25, %27
br i1 %28, label %29, label %30
29: ; preds = %11
store i32 -1, ptr %4, align 4
br label %46
30: ; preds = %11
%31 = load i32, ptr %10, align 4
%32 = load i8, ptr %9, align 1
%33 = zext i8 %32 to i32
%34 = add i32 %33, %31
%35 = trunc i32 %34 to i8
store i8 %35, ptr %9, align 1
br label %36
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %11, label %43, !llvm.loop !6
43: ; preds = %36
%44 = load i8, ptr %9, align 1
%45 = load ptr, ptr %7, align 8
store i8 %44, ptr %45, align 1
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %43, %29
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i32 @char_to_digit(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/tmpxr_gqag2.c'
source_filename = "/tmp/tmpxr_gqag2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strsep_return_original_pointer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = call ptr @strsep(ptr noundef %2, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @clang_analyzer_eval(i32 noundef %10)
ret void
}
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i32 @clang_analyzer_eval(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/tmpxr_gqag2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strsep_return_original_pointer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = call ptr @strsep(ptr noundef %2, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @clang_analyzer_eval(i32 noundef %10)
ret void
}
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i32 @clang_analyzer_eval(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/tmp181l8106.c'
source_filename = "/tmp/tmp181l8106.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [19 x i8] c"host: %s\09port: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_internet_address(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = call i32 @inet_ntoa(i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = call i32 @strncpy(ptr noundef %9, i32 noundef %13, i32 noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = call i32 @ntohs(i32 noundef %18)
%20 = load ptr, ptr %7, align 8
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %21, i32 noundef %23)
ret i32 0
}
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_ntoa(i32 noundef) #1
declare i32 @ntohs(i32 noundef) #1
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/tmp181l8106.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@.str = private unnamed_addr constant [19 x i8] c"host: %s\09port: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_internet_address(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = call i32 @inet_ntoa(i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = call i32 @strncpy(ptr noundef %9, i32 noundef %13, i32 noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = call i32 @ntohs(i32 noundef %18)
%20 = load ptr, ptr %7, align 8
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %21, i32 noundef %23)
ret i32 0
}
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_ntoa(i32 noundef) #1
declare i32 @ntohs(i32 noundef) #1
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/tmp4sph8ffv.c'
source_filename = "/tmp/tmp4sph8ffv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Available commands:\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"help - shows this help\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"list - lists all prisoner\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"note - add a note to a prisoner\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"punish - put a prisoner into the bunker\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"exit - leave\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
ret void
}
declare i32 @puts(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/tmp4sph8ffv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Available commands:\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"help - shows this help\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"list - lists all prisoner\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"note - add a note to a prisoner\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"punish - put a prisoner into the bunker\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"exit - leave\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
ret void
}
declare i32 @puts(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/tmpxvj1xknv.c'
source_filename = "/tmp/tmpxvj1xknv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 2\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 3\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 4\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 5\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hashword2(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load i64, ptr %6, align 8
%13 = shl i64 %12, 2
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %16, align 4
%18 = add i32 %15, %17
store i32 %18, ptr %11, align 4
store i32 %18, ptr %10, align 4
store i32 %18, ptr %9, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %11, align 4
br label %23
23: ; preds = %26, %4
%24 = load i64, ptr %6, align 8
%25 = icmp ugt i64 %24, 3
br i1 %25, label %26, label %142
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 0
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %9, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 1
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 2
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %11, align 4
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %9, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %11, align 4
%46 = shl i32 %45, 4
%47 = load i32, ptr %11, align 4
%48 = ashr i32 %47, 28
%49 = or i32 %46, %48
%50 = load i32, ptr %9, align 4
%51 = xor i32 %50, %49
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %11, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %10, align 4
%60 = sub nsw i32 %59, %58
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %9, align 4
%62 = shl i32 %61, 6
%63 = load i32, ptr %9, align 4
%64 = ashr i32 %63, 26
%65 = or i32 %62, %64
%66 = load i32, ptr %10, align 4
%67 = xor i32 %66, %65
store i32 %67, ptr %10, align 4
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %9, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %11, align 4
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %11, align 4
%76 = sub nsw i32 %75, %74
store i32 %76, ptr %11, align 4
%77 = load i32, ptr %10, align 4
%78 = shl i32 %77, 8
%79 = load i32, ptr %10, align 4
%80 = ashr i32 %79, 24
%81 = or i32 %78, %80
%82 = load i32, ptr %11, align 4
%83 = xor i32 %82, %81
store i32 %83, ptr %11, align 4
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %10, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %11, align 4
%91 = load i32, ptr %9, align 4
%92 = sub nsw i32 %91, %90
store i32 %92, ptr %9, align 4
%93 = load i32, ptr %11, align 4
%94 = shl i32 %93, 16
%95 = load i32, ptr %11, align 4
%96 = ashr i32 %95, 16
%97 = or i32 %94, %96
%98 = load i32, ptr %9, align 4
%99 = xor i32 %98, %97
store i32 %99, ptr %9, align 4
%100 = load i32, ptr %10, align 4
%101 = load i32, ptr %11, align 4
%102 = add nsw i32 %101, %100
store i32 %102, ptr %11, align 4
%103 = load i32, ptr %9, align 4
%104 = load i32, ptr %10, align 4
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %9, align 4
%107 = load i32, ptr %10, align 4
%108 = sub nsw i32 %107, %106
store i32 %108, ptr %10, align 4
%109 = load i32, ptr %9, align 4
%110 = shl i32 %109, 19
%111 = load i32, ptr %9, align 4
%112 = ashr i32 %111, 13
%113 = or i32 %110, %112
%114 = load i32, ptr %10, align 4
%115 = xor i32 %114, %113
store i32 %115, ptr %10, align 4
%116 = load i32, ptr %11, align 4
%117 = load i32, ptr %9, align 4
%118 = add nsw i32 %117, %116
store i32 %118, ptr %9, align 4
%119 = load i32, ptr %9, align 4
%120 = load i32, ptr %10, align 4
%121 = load i32, ptr %11, align 4
%122 = load i32, ptr %10, align 4
%123 = load i32, ptr %11, align 4
%124 = sub nsw i32 %123, %122
store i32 %124, ptr %11, align 4
%125 = load i32, ptr %10, align 4
%126 = shl i32 %125, 4
%127 = load i32, ptr %10, align 4
%128 = ashr i32 %127, 28
%129 = or i32 %126, %128
%130 = load i32, ptr %11, align 4
%131 = xor i32 %130, %129
store i32 %131, ptr %11, align 4
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %10, align 4
%134 = add nsw i32 %133, %132
store i32 %134, ptr %10, align 4
%135 = load i32, ptr %9, align 4
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %11, align 4
%138 = load i64, ptr %6, align 8
%139 = sub i64 %138, 3
store i64 %139, ptr %6, align 8
%140 = load ptr, ptr %5, align 8
%141 = getelementptr inbounds i32, ptr %140, i64 3
store ptr %141, ptr %5, align 8
br label %23, !llvm.loop !6
142: ; preds = %23
%143 = load i64, ptr %6, align 8
switch i64 %143, label %254 [
i64 3, label %144
i64 2, label %150
i64 1, label %156
i64 0, label %253
]
144: ; preds = %142
%145 = load ptr, ptr %5, align 8
%146 = getelementptr inbounds i32, ptr %145, i64 2
%147 = load i32, ptr %146, align 4
%148 = load i32, ptr %11, align 4
%149 = add nsw i32 %148, %147
store i32 %149, ptr %11, align 4
br label %150
150: ; preds = %142, %144
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds i32, ptr %151, i64 1
%153 = load i32, ptr %152, align 4
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %154, %153
store i32 %155, ptr %10, align 4
br label %156
156: ; preds = %142, %150
%157 = load ptr, ptr %5, align 8
%158 = getelementptr inbounds i32, ptr %157, i64 0
%159 = load i32, ptr %158, align 4
%160 = load i32, ptr %9, align 4
%161 = add nsw i32 %160, %159
store i32 %161, ptr %9, align 4
%162 = load i32, ptr %10, align 4
%163 = load i32, ptr %11, align 4
%164 = xor i32 %163, %162
store i32 %164, ptr %11, align 4
%165 = load i32, ptr %10, align 4
%166 = shl i32 %165, 14
%167 = load i32, ptr %10, align 4
%168 = ashr i32 %167, 18
%169 = or i32 %166, %168
%170 = load i32, ptr %11, align 4
%171 = sub nsw i32 %170, %169
store i32 %171, ptr %11, align 4
%172 = load i32, ptr %9, align 4
%173 = load i32, ptr %10, align 4
%174 = load i32, ptr %11, align 4
%175 = load i32, ptr %11, align 4
%176 = load i32, ptr %9, align 4
%177 = xor i32 %176, %175
store i32 %177, ptr %9, align 4
%178 = load i32, ptr %11, align 4
%179 = shl i32 %178, 11
%180 = load i32, ptr %11, align 4
%181 = ashr i32 %180, 21
%182 = or i32 %179, %181
%183 = load i32, ptr %9, align 4
%184 = sub nsw i32 %183, %182
store i32 %184, ptr %9, align 4
%185 = load i32, ptr %9, align 4
%186 = load i32, ptr %10, align 4
%187 = load i32, ptr %11, align 4
%188 = load i32, ptr %9, align 4
%189 = load i32, ptr %10, align 4
%190 = xor i32 %189, %188
store i32 %190, ptr %10, align 4
%191 = load i32, ptr %9, align 4
%192 = shl i32 %191, 25
%193 = load i32, ptr %9, align 4
%194 = ashr i32 %193, 7
%195 = or i32 %192, %194
%196 = load i32, ptr %10, align 4
%197 = sub nsw i32 %196, %195
store i32 %197, ptr %10, align 4
%198 = load i32, ptr %9, align 4
%199 = load i32, ptr %10, align 4
%200 = load i32, ptr %11, align 4
%201 = load i32, ptr %10, align 4
%202 = load i32, ptr %11, align 4
%203 = xor i32 %202, %201
store i32 %203, ptr %11, align 4
%204 = load i32, ptr %10, align 4
%205 = shl i32 %204, 16
%206 = load i32, ptr %10, align 4
%207 = ashr i32 %206, 16
%208 = or i32 %205, %207
%209 = load i32, ptr %11, align 4
%210 = sub nsw i32 %209, %208
store i32 %210, ptr %11, align 4
%211 = load i32, ptr %9, align 4
%212 = load i32, ptr %10, align 4
%213 = load i32, ptr %11, align 4
%214 = load i32, ptr %11, align 4
%215 = load i32, ptr %9, align 4
%216 = xor i32 %215, %214
store i32 %216, ptr %9, align 4
%217 = load i32, ptr %11, align 4
%218 = shl i32 %217, 4
%219 = load i32, ptr %11, align 4
%220 = ashr i32 %219, 28
%221 = or i32 %218, %220
%222 = load i32, ptr %9, align 4
%223 = sub nsw i32 %222, %221
store i32 %223, ptr %9, align 4
%224 = load i32, ptr %9, align 4
%225 = load i32, ptr %10, align 4
%226 = load i32, ptr %11, align 4
%227 = load i32, ptr %9, align 4
%228 = load i32, ptr %10, align 4
%229 = xor i32 %228, %227
store i32 %229, ptr %10, align 4
%230 = load i32, ptr %9, align 4
%231 = shl i32 %230, 14
%232 = load i32, ptr %9, align 4
%233 = ashr i32 %232, 18
%234 = or i32 %231, %233
%235 = load i32, ptr %10, align 4
%236 = sub nsw i32 %235, %234
store i32 %236, ptr %10, align 4
%237 = load i32, ptr %9, align 4
%238 = load i32, ptr %10, align 4
%239 = load i32, ptr %11, align 4
%240 = load i32, ptr %10, align 4
%241 = load i32, ptr %11, align 4
%242 = xor i32 %241, %240
store i32 %242, ptr %11, align 4
%243 = load i32, ptr %10, align 4
%244 = shl i32 %243, 24
%245 = load i32, ptr %10, align 4
%246 = ashr i32 %245, 8
%247 = or i32 %244, %246
%248 = load i32, ptr %11, align 4
%249 = sub nsw i32 %248, %247
store i32 %249, ptr %11, align 4
%250 = load i32, ptr %9, align 4
%251 = load i32, ptr %10, align 4
%252 = load i32, ptr %11, align 4
br label %253
253: ; preds = %142, %156
br label %254
254: ; preds = %142, %253
%255 = load i32, ptr %11, align 4
%256 = load ptr, ptr %7, align 8
store i32 %255, ptr %256, align 4
%257 = load i32, ptr %10, align 4
%258 = load ptr, ptr %8, align 8
store i32 %257, ptr %258, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxvj1xknv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 2\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 3\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 4\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 5\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"%08x, %08x, %08x 6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hashword2(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load i64, ptr %6, align 8
%13 = shl i64 %12, 2
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %16, align 4
%18 = add i32 %15, %17
store i32 %18, ptr %11, align 4
store i32 %18, ptr %10, align 4
store i32 %18, ptr %9, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %11, align 4
%23 = load i64, ptr %6, align 8
%24 = icmp ugt i64 %23, 3
br i1 %24, label %.lr.ph, label %143
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %25
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %9, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 1
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %10, align 4
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 2
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %11, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %9, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %11, align 4
%45 = shl i32 %44, 4
%46 = load i32, ptr %11, align 4
%47 = ashr i32 %46, 28
%48 = or i32 %45, %47
%49 = load i32, ptr %9, align 4
%50 = xor i32 %49, %48
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %11, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %11, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %10, align 4
%59 = sub nsw i32 %58, %57
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %9, align 4
%61 = shl i32 %60, 6
%62 = load i32, ptr %9, align 4
%63 = ashr i32 %62, 26
%64 = or i32 %61, %63
%65 = load i32, ptr %10, align 4
%66 = xor i32 %65, %64
store i32 %66, ptr %10, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, %67
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %11, align 4
%75 = sub nsw i32 %74, %73
store i32 %75, ptr %11, align 4
%76 = load i32, ptr %10, align 4
%77 = shl i32 %76, 8
%78 = load i32, ptr %10, align 4
%79 = ashr i32 %78, 24
%80 = or i32 %77, %79
%81 = load i32, ptr %11, align 4
%82 = xor i32 %81, %80
store i32 %82, ptr %11, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %9, align 4
%87 = load i32, ptr %10, align 4
%88 = load i32, ptr %11, align 4
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %9, align 4
%91 = sub nsw i32 %90, %89
store i32 %91, ptr %9, align 4
%92 = load i32, ptr %11, align 4
%93 = shl i32 %92, 16
%94 = load i32, ptr %11, align 4
%95 = ashr i32 %94, 16
%96 = or i32 %93, %95
%97 = load i32, ptr %9, align 4
%98 = xor i32 %97, %96
store i32 %98, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %11, align 4
%101 = add nsw i32 %100, %99
store i32 %101, ptr %11, align 4
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %10, align 4
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %9, align 4
%106 = load i32, ptr %10, align 4
%107 = sub nsw i32 %106, %105
store i32 %107, ptr %10, align 4
%108 = load i32, ptr %9, align 4
%109 = shl i32 %108, 19
%110 = load i32, ptr %9, align 4
%111 = ashr i32 %110, 13
%112 = or i32 %109, %111
%113 = load i32, ptr %10, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %10, align 4
%115 = load i32, ptr %11, align 4
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %10, align 4
%120 = load i32, ptr %11, align 4
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %11, align 4
%123 = sub nsw i32 %122, %121
store i32 %123, ptr %11, align 4
%124 = load i32, ptr %10, align 4
%125 = shl i32 %124, 4
%126 = load i32, ptr %10, align 4
%127 = ashr i32 %126, 28
%128 = or i32 %125, %127
%129 = load i32, ptr %11, align 4
%130 = xor i32 %129, %128
store i32 %130, ptr %11, align 4
%131 = load i32, ptr %9, align 4
%132 = load i32, ptr %10, align 4
%133 = add nsw i32 %132, %131
store i32 %133, ptr %10, align 4
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %10, align 4
%136 = load i32, ptr %11, align 4
%137 = load i64, ptr %6, align 8
%138 = sub i64 %137, 3
store i64 %138, ptr %6, align 8
%139 = load ptr, ptr %5, align 8
%140 = getelementptr inbounds i32, ptr %139, i64 3
store ptr %140, ptr %5, align 8
%141 = load i64, ptr %6, align 8
%142 = icmp ugt i64 %141, 3
br i1 %142, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %143
143: ; preds = %._crit_edge, %4
%144 = load i64, ptr %6, align 8
switch i64 %144, label %255 [
i64 3, label %145
i64 2, label %151
i64 1, label %157
i64 0, label %254
]
145: ; preds = %143
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds i32, ptr %146, i64 2
%148 = load i32, ptr %147, align 4
%149 = load i32, ptr %11, align 4
%150 = add nsw i32 %149, %148
store i32 %150, ptr %11, align 4
br label %151
151: ; preds = %145, %143
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds i32, ptr %152, i64 1
%154 = load i32, ptr %153, align 4
%155 = load i32, ptr %10, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %10, align 4
br label %157
157: ; preds = %151, %143
%158 = load ptr, ptr %5, align 8
%159 = getelementptr inbounds i32, ptr %158, i64 0
%160 = load i32, ptr %159, align 4
%161 = load i32, ptr %9, align 4
%162 = add nsw i32 %161, %160
store i32 %162, ptr %9, align 4
%163 = load i32, ptr %10, align 4
%164 = load i32, ptr %11, align 4
%165 = xor i32 %164, %163
store i32 %165, ptr %11, align 4
%166 = load i32, ptr %10, align 4
%167 = shl i32 %166, 14
%168 = load i32, ptr %10, align 4
%169 = ashr i32 %168, 18
%170 = or i32 %167, %169
%171 = load i32, ptr %11, align 4
%172 = sub nsw i32 %171, %170
store i32 %172, ptr %11, align 4
%173 = load i32, ptr %9, align 4
%174 = load i32, ptr %10, align 4
%175 = load i32, ptr %11, align 4
%176 = load i32, ptr %11, align 4
%177 = load i32, ptr %9, align 4
%178 = xor i32 %177, %176
store i32 %178, ptr %9, align 4
%179 = load i32, ptr %11, align 4
%180 = shl i32 %179, 11
%181 = load i32, ptr %11, align 4
%182 = ashr i32 %181, 21
%183 = or i32 %180, %182
%184 = load i32, ptr %9, align 4
%185 = sub nsw i32 %184, %183
store i32 %185, ptr %9, align 4
%186 = load i32, ptr %9, align 4
%187 = load i32, ptr %10, align 4
%188 = load i32, ptr %11, align 4
%189 = load i32, ptr %9, align 4
%190 = load i32, ptr %10, align 4
%191 = xor i32 %190, %189
store i32 %191, ptr %10, align 4
%192 = load i32, ptr %9, align 4
%193 = shl i32 %192, 25
%194 = load i32, ptr %9, align 4
%195 = ashr i32 %194, 7
%196 = or i32 %193, %195
%197 = load i32, ptr %10, align 4
%198 = sub nsw i32 %197, %196
store i32 %198, ptr %10, align 4
%199 = load i32, ptr %9, align 4
%200 = load i32, ptr %10, align 4
%201 = load i32, ptr %11, align 4
%202 = load i32, ptr %10, align 4
%203 = load i32, ptr %11, align 4
%204 = xor i32 %203, %202
store i32 %204, ptr %11, align 4
%205 = load i32, ptr %10, align 4
%206 = shl i32 %205, 16
%207 = load i32, ptr %10, align 4
%208 = ashr i32 %207, 16
%209 = or i32 %206, %208
%210 = load i32, ptr %11, align 4
%211 = sub nsw i32 %210, %209
store i32 %211, ptr %11, align 4
%212 = load i32, ptr %9, align 4
%213 = load i32, ptr %10, align 4
%214 = load i32, ptr %11, align 4
%215 = load i32, ptr %11, align 4
%216 = load i32, ptr %9, align 4
%217 = xor i32 %216, %215
store i32 %217, ptr %9, align 4
%218 = load i32, ptr %11, align 4
%219 = shl i32 %218, 4
%220 = load i32, ptr %11, align 4
%221 = ashr i32 %220, 28
%222 = or i32 %219, %221
%223 = load i32, ptr %9, align 4
%224 = sub nsw i32 %223, %222
store i32 %224, ptr %9, align 4
%225 = load i32, ptr %9, align 4
%226 = load i32, ptr %10, align 4
%227 = load i32, ptr %11, align 4
%228 = load i32, ptr %9, align 4
%229 = load i32, ptr %10, align 4
%230 = xor i32 %229, %228
store i32 %230, ptr %10, align 4
%231 = load i32, ptr %9, align 4
%232 = shl i32 %231, 14
%233 = load i32, ptr %9, align 4
%234 = ashr i32 %233, 18
%235 = or i32 %232, %234
%236 = load i32, ptr %10, align 4
%237 = sub nsw i32 %236, %235
store i32 %237, ptr %10, align 4
%238 = load i32, ptr %9, align 4
%239 = load i32, ptr %10, align 4
%240 = load i32, ptr %11, align 4
%241 = load i32, ptr %10, align 4
%242 = load i32, ptr %11, align 4
%243 = xor i32 %242, %241
store i32 %243, ptr %11, align 4
%244 = load i32, ptr %10, align 4
%245 = shl i32 %244, 24
%246 = load i32, ptr %10, align 4
%247 = ashr i32 %246, 8
%248 = or i32 %245, %247
%249 = load i32, ptr %11, align 4
%250 = sub nsw i32 %249, %248
store i32 %250, ptr %11, align 4
%251 = load i32, ptr %9, align 4
%252 = load i32, ptr %10, align 4
%253 = load i32, ptr %11, align 4
br label %254
254: ; preds = %157, %143
br label %255
255: ; preds = %254, %143
%256 = load i32, ptr %11, align 4
%257 = load ptr, ptr %7, align 8
store i32 %256, ptr %257, align 4
%258 = load i32, ptr %10, align 4
%259 = load ptr, ptr %8, align 8
store i32 %258, ptr %259, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqcxme84b.c'
source_filename = "/tmp/tmpqcxme84b.c"
target datalayout = "e-m:e-p270: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/tmpqcxme84b.c"
target datalayout = "e-m:e-p270: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/tmp5rg1tkpd.c'
source_filename = "/tmp/tmp5rg1tkpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fsemu_control_load_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @fsemu_savestate_load(i32 noundef %3)
ret void
}
declare i32 @fsemu_savestate_load(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/tmp5rg1tkpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fsemu_control_load_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @fsemu_savestate_load(i32 noundef %3)
ret void
}
declare i32 @fsemu_savestate_load(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/tmpu6ffy1uo.c'
source_filename = "/tmp/tmpu6ffy1uo.c"
target datalayout = "e-m:e-p270: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/tmpu6ffy1uo.c"
target datalayout = "e-m:e-p270: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/tmp8mil5tm6.c'
source_filename = "/tmp/tmp8mil5tm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDRasterEnable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @LCDClockReset(i64 noundef %3, i32 noundef 8)
%5 = load i64, ptr %2, align 8
%6 = add nsw i64 %5, 40
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i64, ptr %7, align 8
%9 = or i64 %8, 1
store volatile i64 %9, ptr %7, align 8
ret void
}
declare i32 @LCDClockReset(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mil5tm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDRasterEnable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @LCDClockReset(i64 noundef %3, i32 noundef 8)
%5 = load i64, ptr %2, align 8
%6 = add nsw i64 %5, 40
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i64, ptr %7, align 8
%9 = or i64 %8, 1
store volatile i64 %9, ptr %7, align 8
ret void
}
declare i32 @LCDClockReset(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmoygnwtm.c'
source_filename = "/tmp/tmpmoygnwtm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 51997
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpmoygnwtm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 51997
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmp0srlu5y9.c'
source_filename = "/tmp/tmp0srlu5y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i64 }
%struct.hostent = type { i64, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [148 x i8] c"./queryTimeServer timeserver1.upenn.edu\0Aor\0A./queryTimeServer timex.usg.edu\0A./queryTimeServer ntp.linux.org.ve\0A./queryTimeServer ntp.pop-pr.rnp.br\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" gethostbyname error for host: %s: %s\00", align 1
@h_errno = dso_local global i32 0, align 4
@AF_INET = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [23 x i8] c"Error call inet_ntop \0A\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Error in socket \0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Error in connect \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 %struct.sockaddr_in, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @gethostbyname(ptr noundef %20)
store ptr %21, ptr %10, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %32
23: ; preds = %17
%24 = load i32, ptr @stderr, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr @h_errno, align 4
%29 = call ptr @hstrerror(i32 noundef %28)
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %17
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = load i64, ptr @AF_INET, align 8
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %51
38: ; preds = %32
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 1
%41 = load ptr, ptr %40, align 8
store ptr %41, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %51
43: ; preds = %38
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds %struct.hostent, ptr %44, i32 0, i32 0
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %47, align 8
%49 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%50 = call i32 @inet_ntop(i64 noundef %46, ptr noundef %48, ptr noundef %49, i32 noundef 50)
br label %54
51: ; preds = %38, %32
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.2)
br label %54
54: ; preds = %51, %43
%55 = load i64, ptr @AF_INET, align 8
%56 = load i32, ptr @SOCK_DGRAM, align 4
%57 = call i32 @socket(i64 noundef %55, i32 noundef %56, i32 noundef 0)
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %63
60: ; preds = %54
%61 = load i32, ptr @stderr, align 4
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.3)
br label %63
63: ; preds = %60, %54
%64 = call i32 @bzero(ptr noundef %7, i32 noundef 16)
%65 = load i64, ptr @AF_INET, align 8
%66 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i64 %65, ptr %66, align 8
%67 = call i32 @htons(i32 noundef 123)
%68 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %67, ptr %68, align 4
%69 = load i64, ptr @AF_INET, align 8
%70 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%71 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%72 = call i32 @inet_pton(i64 noundef %69, ptr noundef %70, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @connect(i32 noundef %73, ptr noundef %7, i32 noundef 16)
%75 = icmp eq i32 %74, -1
br i1 %75, label %76, label %79
76: ; preds = %63
%77 = load i32, ptr @stderr, align 4
%78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.4)
br label %79
79: ; preds = %76, %63
%80 = load i32, ptr %6, align 4
%81 = call i32 @dg_snd(i32 noundef %80, ptr noundef %7, i32 noundef 16)
%82 = load i32, ptr %6, align 4
%83 = call i32 @close(i32 noundef %82)
%84 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare ptr @hstrerror(i32 noundef) #1
declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @dg_snd(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp0srlu5y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i64 }
%struct.hostent = type { i64, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [148 x i8] c"./queryTimeServer timeserver1.upenn.edu\0Aor\0A./queryTimeServer timex.usg.edu\0A./queryTimeServer ntp.linux.org.ve\0A./queryTimeServer ntp.pop-pr.rnp.br\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" gethostbyname error for host: %s: %s\00", align 1
@h_errno = dso_local global i32 0, align 4
@AF_INET = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [23 x i8] c"Error call inet_ntop \0A\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Error in socket \0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Error in connect \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 %struct.sockaddr_in, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @gethostbyname(ptr noundef %20)
store ptr %21, ptr %10, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %32
23: ; preds = %17
%24 = load i32, ptr @stderr, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr @h_errno, align 4
%29 = call ptr @hstrerror(i32 noundef %28)
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %17
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = load i64, ptr @AF_INET, align 8
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %51
38: ; preds = %32
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 1
%41 = load ptr, ptr %40, align 8
store ptr %41, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %51
43: ; preds = %38
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds %struct.hostent, ptr %44, i32 0, i32 0
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %47, align 8
%49 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%50 = call i32 @inet_ntop(i64 noundef %46, ptr noundef %48, ptr noundef %49, i32 noundef 50)
br label %54
51: ; preds = %38, %32
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.2)
br label %54
54: ; preds = %51, %43
%55 = load i64, ptr @AF_INET, align 8
%56 = load i32, ptr @SOCK_DGRAM, align 4
%57 = call i32 @socket(i64 noundef %55, i32 noundef %56, i32 noundef 0)
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %63
60: ; preds = %54
%61 = load i32, ptr @stderr, align 4
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.3)
br label %63
63: ; preds = %60, %54
%64 = call i32 @bzero(ptr noundef %7, i32 noundef 16)
%65 = load i64, ptr @AF_INET, align 8
%66 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i64 %65, ptr %66, align 8
%67 = call i32 @htons(i32 noundef 123)
%68 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %67, ptr %68, align 4
%69 = load i64, ptr @AF_INET, align 8
%70 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%71 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%72 = call i32 @inet_pton(i64 noundef %69, ptr noundef %70, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @connect(i32 noundef %73, ptr noundef %7, i32 noundef 16)
%75 = icmp eq i32 %74, -1
br i1 %75, label %76, label %79
76: ; preds = %63
%77 = load i32, ptr @stderr, align 4
%78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.4)
br label %79
79: ; preds = %76, %63
%80 = load i32, ptr %6, align 4
%81 = call i32 @dg_snd(i32 noundef %80, ptr noundef %7, i32 noundef 16)
%82 = load i32, ptr %6, align 4
%83 = call i32 @close(i32 noundef %82)
%84 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare ptr @hstrerror(i32 noundef) #1
declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @dg_snd(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp7gbkeof4.c'
source_filename = "/tmp/tmp7gbkeof4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@_IOFBF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"Error on setvbuf,\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Error on fopen,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_data(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %41
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr @_IOFBF, align 4
%19 = load i32, ptr %2, align 4
%20 = call i64 @setvbuf(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %9
%23 = call i32 @perror(ptr noundef @.str.2)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %9
store i32 0, ptr %5, align 4
br label %27
27: ; preds = %33, %26
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 100000000
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = load ptr, ptr %3, align 8
%32 = call i32 @fputc(i32 noundef 48, ptr noundef %31)
br label %33
33: ; preds = %30
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %27, !llvm.loop !6
36: ; preds = %27
%37 = load ptr, ptr %4, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load ptr, ptr %3, align 8
%40 = call i32 @fclose(ptr noundef %39)
br label %45
41: ; preds = %1
%42 = call i32 @perror(ptr noundef @.str.3)
%43 = load i32, ptr @EXIT_FAILURE, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
45: ; preds = %36
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7gbkeof4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@_IOFBF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"Error on setvbuf,\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Error on fopen,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_data(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %42
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr @_IOFBF, align 4
%19 = load i32, ptr %2, align 4
%20 = call i64 @setvbuf(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %9
%23 = call i32 @perror(ptr noundef @.str.2)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %9
store i32 0, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp sle i32 %27, 100000000
br i1 %28, label %.lr.ph, label %37
.lr.ph: ; preds = %26
br label %29
29: ; preds = %.lr.ph, %32
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fputc(i32 noundef 48, ptr noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp sle i32 %35, 100000000
br i1 %36, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %26
%38 = load ptr, ptr %4, align 8
%39 = call i32 @free(ptr noundef %38)
%40 = load ptr, ptr %3, align 8
%41 = call i32 @fclose(ptr noundef %40)
br label %46
42: ; preds = %1
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = load i32, ptr @EXIT_FAILURE, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
46: ; preds = %37
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5plf7xag.c'
source_filename = "/tmp/tmp5plf7xag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09$%d,%d(%%ebp)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"subl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgdecpl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @ngen2(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @ngen2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5plf7xag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09$%d,%d(%%ebp)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"subl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgdecpl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @ngen2(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @ngen2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmcyiilk.c'
source_filename = "/tmp/tmpvmcyiilk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @minimum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @INT_MAX, align 4
store i32 %7, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %27, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %30
12: ; preds = %8
%13 = load ptr, ptr %3, 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 i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %20, %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
%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 = '<stdin>'
source_filename = "/tmp/tmpvmcyiilk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @minimum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @INT_MAX, align 4
store i32 %7, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %3, 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 i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %19, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i32, ptr %5, 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/tmp8qzwijcc.c'
source_filename = "/tmp/tmp8qzwijcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_ior_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %52, %6
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %55
19: ; preds = %15
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load ptr, ptr %11, align 8
%26 = load i32, ptr %13, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %25, i64 %27
%29 = load i64, ptr %28, align 8
%30 = or i64 %24, %29
store i64 %30, ptr %14, align 8
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %13, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %31, i64 %33
%35 = load i64, ptr %34, align 8
%36 = load i64, ptr %9, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %19
%39 = load i64, ptr %14, align 8
br label %46
40: ; preds = %19
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %13, align 4
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i64, ptr %41, i64 %43
%45 = load i64, ptr %44, align 8
br label %46
46: ; preds = %40, %38
%47 = phi i64 [ %39, %38 ], [ %45, %40 ]
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %13, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds i64, ptr %48, i64 %50
store i64 %47, ptr %51, align 8
br label %52
52: ; preds = %46
%53 = load i32, ptr %13, align 4
%54 = add i32 %53, 1
store i32 %54, ptr %13, align 4
br label %15, !llvm.loop !6
55: ; preds = %15
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/tmp8qzwijcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_ior_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %57
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %51
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %13, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load ptr, ptr %11, align 8
%25 = load i32, ptr %13, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
%28 = load i64, ptr %27, align 8
%29 = or i64 %23, %28
store i64 %29, ptr %14, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %13, align 4
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds i64, ptr %30, i64 %32
%34 = load i64, ptr %33, align 8
%35 = load i64, ptr %9, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %18
%38 = load i64, ptr %14, align 8
br label %45
39: ; preds = %18
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %13, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i64, ptr %40, i64 %42
%44 = load i64, ptr %43, align 8
br label %45
45: ; preds = %39, %37
%46 = phi i64 [ %38, %37 ], [ %44, %39 ]
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %13, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i64, ptr %47, i64 %49
store i64 %46, ptr %50, align 8
br label %51
51: ; preds = %45
%52 = load i32, ptr %13, align 4
%53 = add i32 %52, 1
store i32 %53, ptr %13, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %12, align 4
%56 = icmp ult i32 %54, %55
br i1 %56, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %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 = '/tmp/tmpzpueruo4.c'
source_filename = "/tmp/tmpzpueruo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local ptr @malloc_or_die(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @die(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpueruo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local ptr @malloc_or_die(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @die(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkuuaxev4.c'
source_filename = "/tmp/tmpkuuaxev4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"dest-platform\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 @routing(ptr noundef @.str)
ret i32 0
}
declare i32 @routing(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkuuaxev4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"dest-platform\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 @routing(ptr noundef @.str)
ret i32 0
}
declare i32 @routing(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy36qy57n.c'
source_filename = "/tmp/tmpy36qy57n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0A Ol\C3\A1 Mundo! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy36qy57n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0A Ol\C3\A1 Mundo! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcmf4pt8a.c'
source_filename = "/tmp/tmpcmf4pt8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Method Value should be one of 1,2 or 3. See Documentation. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fminqn(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, i32 noundef %5, ptr noundef %6, double noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca double, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store double %4, ptr %14, align 8
store i32 %5, ptr %15, align 4
store ptr %6, ptr %16, align 8
store double %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%25 = load i32, ptr %12, align 4
%26 = mul nsw i32 200, %25
store i32 %26, ptr %20, align 4
store i32 0, ptr %21, align 4
%27 = call double (...) @macheps()
store double %27, ptr %22, align 8
%28 = load i32, ptr %15, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %52
30: ; preds = %9
%31 = load double, ptr %22, align 8
%32 = call double @pow(double noundef %31, double noundef 0x3FD5555555555555) #4
store double %32, ptr %23, align 8
%33 = load double, ptr %23, align 8
%34 = load double, ptr %23, align 8
%35 = fmul double %33, %34
store double %35, ptr %24, align 8
%36 = load i32, ptr %20, align 4
%37 = icmp slt i32 %36, 1000
br i1 %37, label %38, label %39
38: ; preds = %30
store i32 1000, ptr %20, align 4
br label %39
39: ; preds = %38, %30
%40 = load ptr, ptr %10, align 8
%41 = load ptr, ptr %11, align 8
%42 = load ptr, ptr %13, align 8
%43 = load i32, ptr %12, align 4
%44 = load ptr, ptr %16, align 8
%45 = load double, ptr %17, align 8
%46 = load i32, ptr %20, align 4
%47 = load double, ptr %22, align 8
%48 = load double, ptr %23, align 8
%49 = load double, ptr %24, align 8
%50 = load ptr, ptr %18, align 8
%51 = call i32 @newton_min_func(ptr noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, ptr noundef %44, double noundef %45, i32 noundef %46, ptr noundef %21, double noundef %47, double noundef %48, double noundef %49, ptr noundef %50)
store i32 %51, ptr %19, align 4
br label %109
52: ; preds = %9
%53 = load i32, ptr %15, align 4
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %78
55: ; preds = %52
%56 = load double, ptr %22, align 8
%57 = call double @pow(double noundef %56, double noundef 0x3FD5555555555555) #4
store double %57, ptr %23, align 8
%58 = load double, ptr %23, align 8
%59 = load double, ptr %23, align 8
%60 = fmul double %58, %59
store double %60, ptr %24, align 8
%61 = load i32, ptr %20, align 4
%62 = icmp slt i32 %61, 1000
br i1 %62, label %63, label %64
63: ; preds = %55
store i32 1000, ptr %20, align 4
br label %64
64: ; preds = %63, %55
%65 = load ptr, ptr %10, align 8
%66 = load ptr, ptr %11, align 8
%67 = load ptr, ptr %13, align 8
%68 = load i32, ptr %12, align 4
%69 = load ptr, ptr %16, align 8
%70 = load double, ptr %17, align 8
%71 = load double, ptr %14, align 8
%72 = load i32, ptr %20, align 4
%73 = load double, ptr %22, align 8
%74 = load double, ptr %23, align 8
%75 = load double, ptr %24, align 8
%76 = load ptr, ptr %18, align 8
%77 = call i32 @newton_min_trust(ptr noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef %68, ptr noundef %69, double noundef %70, double noundef %71, i32 noundef 0, i32 noundef %72, ptr noundef %21, double noundef %73, double noundef %74, double noundef %75, ptr noundef %76)
store i32 %77, ptr %19, align 4
br label %108
78: ; preds = %52
%79 = load i32, ptr %15, align 4
%80 = icmp eq i32 %79, 3
br i1 %80, label %81, label %104
81: ; preds = %78
%82 = load double, ptr %22, align 8
%83 = call double @pow(double noundef %82, double noundef 0x3FD5555555555555) #4
store double %83, ptr %23, align 8
%84 = load double, ptr %23, align 8
%85 = load double, ptr %23, align 8
%86 = fmul double %84, %85
store double %86, ptr %24, align 8
%87 = load i32, ptr %20, align 4
%88 = icmp slt i32 %87, 1000
br i1 %88, label %89, label %90
89: ; preds = %81
store i32 1000, ptr %20, align 4
br label %90
90: ; preds = %89, %81
%91 = load ptr, ptr %10, align 8
%92 = load ptr, ptr %11, align 8
%93 = load ptr, ptr %13, align 8
%94 = load i32, ptr %12, align 4
%95 = load ptr, ptr %16, align 8
%96 = load double, ptr %17, align 8
%97 = load double, ptr %14, align 8
%98 = load i32, ptr %20, align 4
%99 = load double, ptr %22, align 8
%100 = load double, ptr %23, align 8
%101 = load double, ptr %24, align 8
%102 = load ptr, ptr %18, align 8
%103 = call i32 @newton_min_trust(ptr noundef %91, ptr noundef %92, ptr noundef %93, i32 noundef %94, ptr noundef %95, double noundef %96, double noundef %97, i32 noundef 1, i32 noundef %98, ptr noundef %21, double noundef %99, double noundef %100, double noundef %101, ptr noundef %102)
store i32 %103, ptr %19, align 4
br label %107
104: ; preds = %78
%105 = call i32 @printf(ptr noundef @.str)
%106 = call i32 @exit(i32 noundef 1) #5
unreachable
107: ; preds = %90
br label %108
108: ; preds = %107, %64
br label %109
109: ; preds = %108, %39
%110 = load i32, ptr %19, align 4
ret i32 %110
}
declare double @macheps(...) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
declare i32 @newton_min_func(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @newton_min_trust(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { nounwind }
attributes #5 = { 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/tmpcmf4pt8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Method Value should be one of 1,2 or 3. See Documentation. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fminqn(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, i32 noundef %5, ptr noundef %6, double noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca double, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store double %4, ptr %14, align 8
store i32 %5, ptr %15, align 4
store ptr %6, ptr %16, align 8
store double %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%25 = load i32, ptr %12, align 4
%26 = mul nsw i32 200, %25
store i32 %26, ptr %20, align 4
store i32 0, ptr %21, align 4
%27 = call double (...) @macheps()
store double %27, ptr %22, align 8
%28 = load i32, ptr %15, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %52
30: ; preds = %9
%31 = load double, ptr %22, align 8
%32 = call double @pow(double noundef %31, double noundef 0x3FD5555555555555) #4
store double %32, ptr %23, align 8
%33 = load double, ptr %23, align 8
%34 = load double, ptr %23, align 8
%35 = fmul double %33, %34
store double %35, ptr %24, align 8
%36 = load i32, ptr %20, align 4
%37 = icmp slt i32 %36, 1000
br i1 %37, label %38, label %39
38: ; preds = %30
store i32 1000, ptr %20, align 4
br label %39
39: ; preds = %38, %30
%40 = load ptr, ptr %10, align 8
%41 = load ptr, ptr %11, align 8
%42 = load ptr, ptr %13, align 8
%43 = load i32, ptr %12, align 4
%44 = load ptr, ptr %16, align 8
%45 = load double, ptr %17, align 8
%46 = load i32, ptr %20, align 4
%47 = load double, ptr %22, align 8
%48 = load double, ptr %23, align 8
%49 = load double, ptr %24, align 8
%50 = load ptr, ptr %18, align 8
%51 = call i32 @newton_min_func(ptr noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, ptr noundef %44, double noundef %45, i32 noundef %46, ptr noundef %21, double noundef %47, double noundef %48, double noundef %49, ptr noundef %50)
store i32 %51, ptr %19, align 4
br label %109
52: ; preds = %9
%53 = load i32, ptr %15, align 4
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %78
55: ; preds = %52
%56 = load double, ptr %22, align 8
%57 = call double @pow(double noundef %56, double noundef 0x3FD5555555555555) #4
store double %57, ptr %23, align 8
%58 = load double, ptr %23, align 8
%59 = load double, ptr %23, align 8
%60 = fmul double %58, %59
store double %60, ptr %24, align 8
%61 = load i32, ptr %20, align 4
%62 = icmp slt i32 %61, 1000
br i1 %62, label %63, label %64
63: ; preds = %55
store i32 1000, ptr %20, align 4
br label %64
64: ; preds = %63, %55
%65 = load ptr, ptr %10, align 8
%66 = load ptr, ptr %11, align 8
%67 = load ptr, ptr %13, align 8
%68 = load i32, ptr %12, align 4
%69 = load ptr, ptr %16, align 8
%70 = load double, ptr %17, align 8
%71 = load double, ptr %14, align 8
%72 = load i32, ptr %20, align 4
%73 = load double, ptr %22, align 8
%74 = load double, ptr %23, align 8
%75 = load double, ptr %24, align 8
%76 = load ptr, ptr %18, align 8
%77 = call i32 @newton_min_trust(ptr noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef %68, ptr noundef %69, double noundef %70, double noundef %71, i32 noundef 0, i32 noundef %72, ptr noundef %21, double noundef %73, double noundef %74, double noundef %75, ptr noundef %76)
store i32 %77, ptr %19, align 4
br label %108
78: ; preds = %52
%79 = load i32, ptr %15, align 4
%80 = icmp eq i32 %79, 3
br i1 %80, label %81, label %104
81: ; preds = %78
%82 = load double, ptr %22, align 8
%83 = call double @pow(double noundef %82, double noundef 0x3FD5555555555555) #4
store double %83, ptr %23, align 8
%84 = load double, ptr %23, align 8
%85 = load double, ptr %23, align 8
%86 = fmul double %84, %85
store double %86, ptr %24, align 8
%87 = load i32, ptr %20, align 4
%88 = icmp slt i32 %87, 1000
br i1 %88, label %89, label %90
89: ; preds = %81
store i32 1000, ptr %20, align 4
br label %90
90: ; preds = %89, %81
%91 = load ptr, ptr %10, align 8
%92 = load ptr, ptr %11, align 8
%93 = load ptr, ptr %13, align 8
%94 = load i32, ptr %12, align 4
%95 = load ptr, ptr %16, align 8
%96 = load double, ptr %17, align 8
%97 = load double, ptr %14, align 8
%98 = load i32, ptr %20, align 4
%99 = load double, ptr %22, align 8
%100 = load double, ptr %23, align 8
%101 = load double, ptr %24, align 8
%102 = load ptr, ptr %18, align 8
%103 = call i32 @newton_min_trust(ptr noundef %91, ptr noundef %92, ptr noundef %93, i32 noundef %94, ptr noundef %95, double noundef %96, double noundef %97, i32 noundef 1, i32 noundef %98, ptr noundef %21, double noundef %99, double noundef %100, double noundef %101, ptr noundef %102)
store i32 %103, ptr %19, align 4
br label %107
104: ; preds = %78
%105 = call i32 @printf(ptr noundef @.str)
%106 = call i32 @exit(i32 noundef 1) #5
unreachable
107: ; preds = %90
br label %108
108: ; preds = %107, %64
br label %109
109: ; preds = %108, %39
%110 = load i32, ptr %19, align 4
ret i32 %110
}
declare double @macheps(...) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
declare i32 @newton_min_func(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @newton_min_trust(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { nounwind }
attributes #5 = { 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/tmpxi0nm7xp.c'
source_filename = "/tmp/tmpxi0nm7xp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortirovka(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %46, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %49
12: ; preds = %7
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %42, %12
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %45
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %24, %29
br i1 %30, label %31, label %41
31: ; preds = %19
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = call i32 @swap(ptr noundef %35, ptr noundef %39)
br label %41
41: ; preds = %31, %19
br label %42
42: ; preds = %41
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %15, !llvm.loop !6
45: ; preds = %15
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %7, !llvm.loop !8
49: ; preds = %7
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxi0nm7xp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortirovka(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph2, label %54
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %47
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %46
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %40
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %22, %27
br i1 %28, label %29, label %39
29: ; preds = %17
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = call i32 @swap(ptr noundef %33, ptr noundef %37)
br label %39
39: ; preds = %29, %17
br label %40
40: ; preds = %39
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %11
br label %47
47: ; preds = %46
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = sub nsw i32 %51, 1
%53 = icmp slt i32 %50, %52
br i1 %53, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %54
54: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxqkd0uuw.c'
source_filename = "/tmp/tmpxqkd0uuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 40)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = call ptr @calloc(i32 noundef 10, i32 noundef 4)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @realloc(ptr noundef %9, i32 noundef 400)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
br label %19
16: ; preds = %0
%17 = load ptr, ptr %3, align 8
%18 = call i32 @free(ptr noundef %17)
br label %19
19: ; preds = %16, %13
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @realloc(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/tmpxqkd0uuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 40)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = call ptr @calloc(i32 noundef 10, i32 noundef 4)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @realloc(ptr noundef %9, i32 noundef 400)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
br label %19
16: ; preds = %0
%17 = load ptr, ptr %3, align 8
%18 = call i32 @free(ptr noundef %17)
br label %19
19: ; preds = %16, %13
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @realloc(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/tmpgcca923y.c'
source_filename = "/tmp/tmpgcca923y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xe6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xe6() #0 {
%1 = call i64 @isalnum(i32 noundef 230)
%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 1155, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgcca923y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xe6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xe6() #0 {
%1 = call i64 @isalnum(i32 noundef 230)
%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 1155, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3nv7_hjf.c'
source_filename = "/tmp/tmp3nv7_hjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sin\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"exp\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"pow\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"error: %s is not supported\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mathfnc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = call double (...) @pop()
%9 = call i32 @sin(double noundef %8)
%10 = call i32 @push(i32 noundef %9)
br label %43
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = call double (...) @pop()
%17 = call i32 @cos(double noundef %16)
%18 = call i32 @push(i32 noundef %17)
br label %42
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = call double (...) @pop()
%25 = call i32 @exp(double noundef %24)
%26 = call i32 @push(i32 noundef %25)
br label %41
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.3)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = call double (...) @pop()
store double %32, ptr %3, align 8
%33 = call double (...) @pop()
%34 = load double, ptr %3, align 8
%35 = call i32 @pow(double noundef %33, double noundef %34)
%36 = call i32 @push(i32 noundef %35)
br label %40
37: ; preds = %27
%38 = load ptr, ptr %2, align 8
%39 = call i32 @printf(ptr noundef @.str.4, ptr noundef %38)
br label %40
40: ; preds = %37, %31
br label %41
41: ; preds = %40, %23
br label %42
42: ; preds = %41, %15
br label %43
43: ; preds = %42, %7
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @push(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare double @pop(...) #1
declare i32 @cos(double noundef) #1
declare i32 @exp(double noundef) #1
declare i32 @pow(double noundef, double 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/tmp3nv7_hjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sin\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"exp\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"pow\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"error: %s is not supported\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mathfnc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = call double (...) @pop()
%9 = call i32 @sin(double noundef %8)
%10 = call i32 @push(i32 noundef %9)
br label %43
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = call double (...) @pop()
%17 = call i32 @cos(double noundef %16)
%18 = call i32 @push(i32 noundef %17)
br label %42
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = call double (...) @pop()
%25 = call i32 @exp(double noundef %24)
%26 = call i32 @push(i32 noundef %25)
br label %41
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.3)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = call double (...) @pop()
store double %32, ptr %3, align 8
%33 = call double (...) @pop()
%34 = load double, ptr %3, align 8
%35 = call i32 @pow(double noundef %33, double noundef %34)
%36 = call i32 @push(i32 noundef %35)
br label %40
37: ; preds = %27
%38 = load ptr, ptr %2, align 8
%39 = call i32 @printf(ptr noundef @.str.4, ptr noundef %38)
br label %40
40: ; preds = %37, %31
br label %41
41: ; preds = %40, %23
br label %42
42: ; preds = %41, %15
br label %43
43: ; preds = %42, %7
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @push(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare double @pop(...) #1
declare i32 @cos(double noundef) #1
declare i32 @exp(double noundef) #1
declare i32 @pow(double noundef, double 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/tmpfw8gpqwk.c'
source_filename = "/tmp/tmpfw8gpqwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freshfps() #0 {
%1 = call i32 (...) @FreshFPS33()
ret void
}
declare i32 @FreshFPS33(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfw8gpqwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freshfps() #0 {
%1 = call i32 (...) @FreshFPS33()
ret void
}
declare i32 @FreshFPS33(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa0exrvf5.c'
source_filename = "/tmp/tmpa0exrvf5.c"
target datalayout = "e-m:e-p270: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/tmpa0exrvf5.c"
target datalayout = "e-m:e-p270: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/tmpibecp10v.c'
source_filename = "/tmp/tmpibecp10v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"criar\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"new\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"abrir\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"old\00", align 1
@.str.4 = private unnamed_addr constant [79 x i8] c"Argumento da funcao open invalido. Entre com 'criar' ou 'abrir'. Abortando.\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isNewFile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store i32 1, ptr %2, align 4
br label %24
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.3)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16, %12
store i32 0, ptr %2, align 4
br label %24
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.4)
%23 = call i32 @exit(i32 noundef -1) #3
unreachable
24: ; preds = %20, %11
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibecp10v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"criar\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"new\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"abrir\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"old\00", align 1
@.str.4 = private unnamed_addr constant [79 x i8] c"Argumento da funcao open invalido. Entre com 'criar' ou 'abrir'. Abortando.\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isNewFile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7, %1
store i32 1, ptr %2, align 4
br label %24
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.3)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16, %12
store i32 0, ptr %2, align 4
br label %24
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.4)
%23 = call i32 @exit(i32 noundef -1) #3
unreachable
24: ; preds = %20, %11
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4s0ondf.c'
source_filename = "/tmp/tmpu4s0ondf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"find: illegal option %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Usage: find -n -x pattern\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%ld \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %43, %2
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %4, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 45
br label %24
24: ; preds = %16, %12
%25 = phi i1 [ false, %12 ], [ %23, %16 ]
br i1 %25, label %26, label %44
26: ; preds = %24
br label %27
27: ; preds = %42, %26
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %29, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
store i32 %33, ptr %8, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %27
%36 = load i32, ptr %8, align 4
switch i32 %36, label %39 [
i32 120, label %37
i32 110, label %38
]
37: ; preds = %35
store i32 1, ptr %9, align 4
br label %42
38: ; preds = %35
store i32 1, ptr %10, align 4
br label %42
39: ; preds = %35
%40 = load i32, ptr %8, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40)
store i32 0, ptr %4, align 4
store i32 -1, ptr %11, align 4
br label %42
42: ; preds = %39, %38, %37
br label %27, !llvm.loop !6
43: ; preds = %27
br label %12, !llvm.loop !8
44: ; preds = %24
%45 = load i32, ptr %4, align 4
%46 = icmp ne i32 %45, 1
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %78
49: ; preds = %44
br label %50
50: ; preds = %76, %49
%51 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%52 = call i64 @getlinee(ptr noundef %51, i32 noundef 1000)
%53 = icmp sgt i64 %52, 0
br i1 %53, label %54, label %77
54: ; preds = %50
%55 = load i64, ptr %7, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %7, align 8
%57 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = call ptr @strstr(ptr noundef %57, ptr noundef %59)
%61 = icmp ne ptr %60, null
%62 = zext i1 %61 to i32
%63 = load i32, ptr %9, align 4
%64 = icmp ne i32 %62, %63
br i1 %64, label %65, label %76
65: ; preds = %54
%66 = load i32, ptr %10, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load i64, ptr %7, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %69)
br label %71
71: ; preds = %68, %65
%72 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %72)
%74 = load i32, ptr %11, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %11, align 4
br label %76
76: ; preds = %71, %54
br label %50, !llvm.loop !9
77: ; preds = %50
br label %78
78: ; preds = %77, %47
%79 = load i32, ptr %11, align 4
ret i32 %79
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @getlinee(ptr noundef, i32 noundef) #1
declare ptr @strstr(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/tmpu4s0ondf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"find: illegal option %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Usage: find -n -x pattern\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%ld \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %48, %2
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %4, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 45
br label %24
24: ; preds = %16, %12
%25 = phi i1 [ false, %12 ], [ %23, %16 ]
br i1 %25, label %26, label %49
26: ; preds = %24
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %27, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %8, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %.lr.ph, label %48
.lr.ph: ; preds = %26
br label %33
33: ; preds = %.lr.ph, %40
%34 = load i32, ptr %8, align 4
switch i32 %34, label %37 [
i32 120, label %35
i32 110, label %36
]
35: ; preds = %33
store i32 1, ptr %9, align 4
br label %40
36: ; preds = %33
store i32 1, ptr %10, align 4
br label %40
37: ; preds = %33
%38 = load i32, ptr %8, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38)
store i32 0, ptr %4, align 4
store i32 -1, ptr %11, align 4
br label %40
40: ; preds = %37, %36, %35
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 0
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %42, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
store i32 %46, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %48
48: ; preds = %._crit_edge, %26
br label %12, !llvm.loop !8
49: ; preds = %24
%50 = load i32, ptr %4, align 4
%51 = icmp ne i32 %50, 1
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %84
54: ; preds = %49
%55 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%56 = call i64 @getlinee(ptr noundef %55, i32 noundef 1000)
%57 = icmp sgt i64 %56, 0
br i1 %57, label %.lr.ph2, label %83
.lr.ph2: ; preds = %54
br label %58
58: ; preds = %.lr.ph2, %80
%59 = load i64, ptr %7, align 8
%60 = add nsw i64 %59, 1
store i64 %60, ptr %7, align 8
%61 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %62, align 8
%64 = call ptr @strstr(ptr noundef %61, ptr noundef %63)
%65 = icmp ne ptr %64, null
%66 = zext i1 %65 to i32
%67 = load i32, ptr %9, align 4
%68 = icmp ne i32 %66, %67
br i1 %68, label %69, label %80
69: ; preds = %58
%70 = load i32, ptr %10, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = load i64, ptr %7, align 8
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %73)
br label %75
75: ; preds = %72, %69
%76 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %76)
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
br label %80
80: ; preds = %75, %58
%81 = call i64 @getlinee(ptr noundef %55, i32 noundef 1000)
%82 = icmp sgt i64 %81, 0
br i1 %82, label %58, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %80
br label %83
83: ; preds = %._crit_edge3, %54
br label %84
84: ; preds = %83, %52
%85 = load i32, ptr %11, align 4
ret i32 %85
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @getlinee(ptr noundef, i32 noundef) #1
declare ptr @strstr(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/tmp6l7dwt4s.c'
source_filename = "/tmp/tmp6l7dwt4s.c"
target datalayout = "e-m:e-p270: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/tmp6l7dwt4s.c"
target datalayout = "e-m:e-p270: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/tmp651o4j7k.c'
source_filename = "/tmp/tmp651o4j7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@W_OK = 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 @write_permission_p(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @W_OK, align 4
%6 = call i64 @access(ptr noundef %4, i32 noundef %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr @errno, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @access(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/tmp651o4j7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@W_OK = 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 @write_permission_p(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @W_OK, align 4
%6 = call i64 @access(ptr noundef %4, i32 noundef %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr @errno, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @access(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/tmp0og32vqu.c'
source_filename = "/tmp/tmp0og32vqu.c"
target datalayout = "e-m:e-p270: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/tmp0og32vqu.c"
target datalayout = "e-m:e-p270: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/tmpghdr4hgp.c'
source_filename = "/tmp/tmpghdr4hgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_GfxImageCreateQB(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
%16 = call ptr @gfx_imagecreate(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef 0)
ret ptr %16
}
declare ptr @gfx_imagecreate(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/tmpghdr4hgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_GfxImageCreateQB(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
%16 = call ptr @gfx_imagecreate(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef 0)
ret ptr %16
}
declare ptr @gfx_imagecreate(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/tmperepidb4.c'
source_filename = "/tmp/tmperepidb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gklt_2d_collapsed.workA = internal global [32 x [32 x [32 x [32 x double]]]] zeroinitializer, align 16
@gklt_2d_collapsed.workB = internal global [256 x [256 x double]] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gklt_2d_collapsed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %63, %3
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 32
br i1 %13, label %14, label %66
14: ; preds = %11
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %59, %14
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 32
br i1 %17, label %18, label %62
18: ; preds = %15
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %55, %18
%20 = load i32, ptr %9, align 4
%21 = icmp slt i32 %20, 32
br i1 %21, label %22, label %58
22: ; preds = %19
store i32 0, ptr %10, align 4
br label %23
23: ; preds = %51, %22
%24 = load i32, ptr %10, align 4
%25 = icmp slt i32 %24, 32
br i1 %25, label %26, label %54
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %9, align 4
%30 = sub nsw i32 %28, %29
%31 = call i64 @abs(i32 noundef %30)
%32 = getelementptr inbounds [32 x double], ptr %27, i64 %31
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %33, %34
%36 = call i64 @abs(i32 noundef %35)
%37 = getelementptr inbounds [32 x double], ptr %32, i64 0, i64 %36
%38 = load double, ptr %37, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [32 x [32 x [32 x [32 x double]]]], ptr @gklt_2d_collapsed.workA, i64 0, i64 %40
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [32 x [32 x [32 x double]]], ptr %41, i64 0, i64 %43
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [32 x [32 x double]], ptr %44, i64 0, i64 %46
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [32 x double], ptr %47, i64 0, i64 %49
store double %38, ptr %50, align 8
br label %51
51: ; preds = %26
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
br label %23, !llvm.loop !6
54: ; preds = %23
br label %55
55: ; preds = %54
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
br label %19, !llvm.loop !8
58: ; preds = %19
br label %59
59: ; preds = %58
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
br label %15, !llvm.loop !9
62: ; preds = %15
br label %63
63: ; preds = %62
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
br label %11, !llvm.loop !10
66: ; preds = %11
%67 = load ptr, ptr %6, align 8
%68 = call i32 @flap_4d(ptr noundef @gklt_2d_collapsed.workB, ptr noundef @gklt_2d_collapsed.workA, ptr noundef %67)
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds [256 x double], ptr %69, i64 0
%71 = getelementptr inbounds [256 x double], ptr %70, i64 0, i64 0
%72 = call i32 @symeigen(ptr noundef %71, ptr noundef @gklt_2d_collapsed.workB, i32 noundef 256)
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @flap_4d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @symeigen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmperepidb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gklt_2d_collapsed.workA = internal global [32 x [32 x [32 x [32 x double]]]] zeroinitializer, align 16
@gklt_2d_collapsed.workB = internal global [256 x [256 x double]] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gklt_2d_collapsed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 32
br i1 %12, label %.lr.ph8, label %70
.lr.ph8: ; preds = %3
br label %13
13: ; preds = %.lr.ph8, %65
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 32
br i1 %15, label %.lr.ph5, label %64
.lr.ph5: ; preds = %13
br label %16
16: ; preds = %.lr.ph5, %59
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %17, 32
br i1 %18, label %.lr.ph2, label %58
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %53
store i32 0, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %20, 32
br i1 %21, label %.lr.ph, label %52
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %47
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = sub nsw i32 %24, %25
%27 = call i64 @abs(i32 noundef %26)
%28 = getelementptr inbounds [32 x double], ptr %23, i64 %27
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 %29, %30
%32 = call i64 @abs(i32 noundef %31)
%33 = getelementptr inbounds [32 x double], ptr %28, i64 0, i64 %32
%34 = load double, ptr %33, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [32 x [32 x [32 x [32 x double]]]], ptr @gklt_2d_collapsed.workA, i64 0, i64 %36
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [32 x [32 x [32 x double]]], ptr %37, i64 0, i64 %39
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [32 x [32 x double]], ptr %40, i64 0, i64 %42
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [32 x double], ptr %43, i64 0, i64 %45
store double %34, ptr %46, align 8
br label %47
47: ; preds = %22
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 32
br i1 %51, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %52
52: ; preds = %._crit_edge, %19
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp slt i32 %56, 32
br i1 %57, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %58
58: ; preds = %._crit_edge3, %16
br label %59
59: ; preds = %58
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp slt i32 %62, 32
br i1 %63, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %59
br label %64
64: ; preds = %._crit_edge6, %13
br label %65
65: ; preds = %64
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = icmp slt i32 %68, 32
br i1 %69, label %13, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %65
br label %70
70: ; preds = %._crit_edge9, %3
%71 = load ptr, ptr %6, align 8
%72 = call i32 @flap_4d(ptr noundef @gklt_2d_collapsed.workB, ptr noundef @gklt_2d_collapsed.workA, ptr noundef %71)
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds [256 x double], ptr %73, i64 0
%75 = getelementptr inbounds [256 x double], ptr %74, i64 0, i64 0
%76 = call i32 @symeigen(ptr noundef %75, ptr noundef @gklt_2d_collapsed.workB, i32 noundef 256)
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @flap_4d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @symeigen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpb8wp47nt.c'
source_filename = "/tmp/tmpb8wp47nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Enter the name of the file to be processed: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%80s\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"reverse can't open %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [81 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.2)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %0
%14 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.3, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %0
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr @SEEK_END, align 4
%21 = call i32 @fseek(ptr noundef %19, i64 noundef 0, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = call i64 @ftell(ptr noundef %22)
store i64 %23, ptr %6, align 8
store i64 1, ptr %5, align 8
br label %24
24: ; preds = %47, %18
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp sle i64 %25, %26
br i1 %27, label %28, label %50
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %5, align 8
%31 = sub nsw i64 0, %30
%32 = load i32, ptr @SEEK_END, align 4
%33 = call i32 @fseek(ptr noundef %29, i64 noundef %31, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = call signext i8 @getc(ptr noundef %34)
store i8 %35, ptr %3, align 1
%36 = load i8, ptr %3, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 26
br i1 %38, label %39, label %46
39: ; preds = %28
%40 = load i8, ptr %3, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 13
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load i8, ptr %3, align 1
%45 = call i32 @putchar(i8 noundef signext %44)
br label %46
46: ; preds = %43, %39, %28
br label %47
47: ; preds = %46
%48 = load i64, ptr %5, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr %5, align 8
br label %24, !llvm.loop !6
50: ; preds = %24
%51 = call i32 @putchar(i8 noundef signext 10)
%52 = load ptr, ptr %4, align 8
%53 = call i32 @fclose(ptr noundef %52)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8wp47nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Enter the name of the file to be processed: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%80s\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"reverse can't open %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [81 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.2)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %0
%14 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.3, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %0
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr @SEEK_END, align 4
%21 = call i32 @fseek(ptr noundef %19, i64 noundef 0, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = call i64 @ftell(ptr noundef %22)
store i64 %23, ptr %6, align 8
store i64 1, ptr %5, align 8
%24 = load i64, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp sle i64 %24, %25
br i1 %26, label %.lr.ph, label %52
.lr.ph: ; preds = %18
br label %27
27: ; preds = %.lr.ph, %46
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %5, align 8
%30 = sub nsw i64 0, %29
%31 = load i32, ptr @SEEK_END, align 4
%32 = call i32 @fseek(ptr noundef %28, i64 noundef %30, i32 noundef %31)
%33 = load ptr, ptr %4, align 8
%34 = call signext i8 @getc(ptr noundef %33)
store i8 %34, ptr %3, align 1
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 26
br i1 %37, label %38, label %45
38: ; preds = %27
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 13
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i8, ptr %3, align 1
%44 = call i32 @putchar(i8 noundef signext %43)
br label %45
45: ; preds = %42, %38, %27
br label %46
46: ; preds = %45
%47 = load i64, ptr %5, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr %5, align 8
%49 = load i64, ptr %5, align 8
%50 = load i64, ptr %6, align 8
%51 = icmp sle i64 %49, %50
br i1 %51, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %18
%53 = call i32 @putchar(i8 noundef signext 10)
%54 = load ptr, ptr %4, align 8
%55 = call i32 @fclose(ptr noundef %54)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0y1qhm3g.c'
source_filename = "/tmp/tmp0y1qhm3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDIOC_G_FMT = 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/tmp0y1qhm3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDIOC_G_FMT = 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/tmpwjr4rqb8.c'
source_filename = "/tmp/tmpwjr4rqb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitar_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @fprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @fprintf(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = call i32 @fprintf(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @fprintf(ptr noundef %26, ptr noundef %27, i32 noundef %28)
ret void
}
declare i32 @fprintf(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/tmpwjr4rqb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitar_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @fprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @fprintf(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = call i32 @fprintf(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @fprintf(ptr noundef %26, ptr noundef %27, i32 noundef %28)
ret void
}
declare i32 @fprintf(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/tmpg1x2__f8.c'
source_filename = "/tmp/tmpg1x2__f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetBaudCOM(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %12 [
i32 0, label %8
i32 2, label %9
i32 4, label %10
i32 6, label %11
]
8: ; preds = %2
store i64 9600, ptr %5, align 8
br label %13
9: ; preds = %2
store i64 19200, ptr %5, align 8
br label %13
10: ; preds = %2
store i64 57600, ptr %5, align 8
br label %13
11: ; preds = %2
store i64 115200, ptr %5, align 8
br label %13
12: ; preds = %2
br label %16
13: ; preds = %11, %10, %9, %8
%14 = load i64, ptr %5, align 8
%15 = call i32 @Serial1Baud(i64 noundef %14)
br label %16
16: ; preds = %13, %12
ret void
}
declare i32 @Serial1Baud(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg1x2__f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetBaudCOM(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %12 [
i32 0, label %8
i32 2, label %9
i32 4, label %10
i32 6, label %11
]
8: ; preds = %2
store i64 9600, ptr %5, align 8
br label %13
9: ; preds = %2
store i64 19200, ptr %5, align 8
br label %13
10: ; preds = %2
store i64 57600, ptr %5, align 8
br label %13
11: ; preds = %2
store i64 115200, ptr %5, align 8
br label %13
12: ; preds = %2
br label %16
13: ; preds = %11, %10, %9, %8
%14 = load i64, ptr %5, align 8
%15 = call i32 @Serial1Baud(i64 noundef %14)
br label %16
16: ; preds = %13, %12
ret void
}
declare i32 @Serial1Baud(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp65gpj7cc.c'
source_filename = "/tmp/tmp65gpj7cc.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"/opt/sing-tsung\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/config.php\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"Could not open config file '%s'\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Couldn't stat file '%s'\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"Failed to alloc space for the config file\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"Couldn't stream data from config file\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Expected %d bytes from config file, got %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"couldn't close the config file?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_config_file(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 i64, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store ptr @.str, ptr %11, align 8
br label %18
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %11, align 8
br label %18
18: ; preds = %16, %15
%19 = load ptr, ptr %11, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = call i32 @strlen(ptr noundef @.str.1)
%22 = add nsw i32 %20, %21
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = mul i64 1, %24
%26 = trunc i64 %25 to i32
%27 = call i64 @malloc(i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %12, align 8
%29 = load ptr, ptr %12, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %11, align 8
%33 = call i32 @strcat(ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1)
%36 = load ptr, ptr %12, align 8
%37 = load i32, ptr @O_RDONLY, align 4
%38 = call i32 @open(ptr noundef %36, i32 noundef %37)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %49
41: ; preds = %18
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %12, align 8
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %44)
%46 = load ptr, ptr %12, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %18
%50 = load ptr, ptr %12, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = load i32, ptr %5, align 4
%53 = call i32 @fstat(i32 noundef %52, ptr noundef %8)
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %61
55: ; preds = %49
%56 = call i32 @perror(ptr noundef @.str.2)
%57 = load i32, ptr @stderr, align 4
%58 = load ptr, ptr %12, align 8
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.4, ptr noundef %58)
%60 = call i32 @exit(i32 noundef -1) #3
unreachable
61: ; preds = %49
%62 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = call i64 @malloc(i32 noundef %63)
%65 = inttoptr i64 %64 to ptr
store ptr %65, ptr %10, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %70, label %67
67: ; preds = %61
%68 = call i32 @perror(ptr noundef @.str.5)
%69 = call i32 @exit(i32 noundef -1) #3
unreachable
70: ; preds = %61
%71 = load i32, ptr %5, align 4
%72 = call ptr @fdopen(i32 noundef %71, ptr noundef @.str.6)
store ptr %72, ptr %9, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %77, label %74
74: ; preds = %70
%75 = call i32 @perror(ptr noundef @.str.7)
%76 = call i32 @exit(i32 noundef -1) #3
unreachable
77: ; preds = %70
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %9, align 8
%82 = call i64 @fread(ptr noundef %78, i32 noundef 1, i32 noundef %80, ptr noundef %81)
store i64 %82, ptr %7, align 8
%83 = load i64, ptr %7, align 8
%84 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%85 = load i32, ptr %84, align 4
%86 = sext i32 %85 to i64
%87 = icmp ne i64 %83, %86
br i1 %87, label %88, label %94
88: ; preds = %77
%89 = load i32, ptr @stderr, align 4
%90 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = load i64, ptr %7, align 8
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.8, i32 noundef %91, i64 noundef %92)
br label %94
94: ; preds = %88, %77
%95 = load ptr, ptr %9, align 8
%96 = call i64 @fclose(ptr noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = call i32 @perror(ptr noundef @.str.9)
%100 = call i32 @exit(i32 noundef -1) #3
unreachable
101: ; preds = %94
%102 = load ptr, ptr %10, align 8
%103 = load ptr, ptr %3, align 8
store ptr %102, ptr %103, align 8
%104 = load i64, ptr %7, align 8
%105 = trunc i64 %104 to i32
ret i32 %105
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp65gpj7cc.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"/opt/sing-tsung\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/config.php\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"Could not open config file '%s'\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Couldn't stat file '%s'\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"Failed to alloc space for the config file\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"Couldn't stream data from config file\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Expected %d bytes from config file, got %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"couldn't close the config file?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_config_file(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 i64, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store ptr @.str, ptr %11, align 8
br label %18
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %11, align 8
br label %18
18: ; preds = %16, %15
%19 = load ptr, ptr %11, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = call i32 @strlen(ptr noundef @.str.1)
%22 = add nsw i32 %20, %21
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = mul i64 1, %24
%26 = trunc i64 %25 to i32
%27 = call i64 @malloc(i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %12, align 8
%29 = load ptr, ptr %12, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %11, align 8
%33 = call i32 @strcat(ptr noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1)
%36 = load ptr, ptr %12, align 8
%37 = load i32, ptr @O_RDONLY, align 4
%38 = call i32 @open(ptr noundef %36, i32 noundef %37)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %49
41: ; preds = %18
%42 = call i32 @perror(ptr noundef @.str.2)
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %12, align 8
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %44)
%46 = load ptr, ptr %12, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %18
%50 = load ptr, ptr %12, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = load i32, ptr %5, align 4
%53 = call i32 @fstat(i32 noundef %52, ptr noundef %8)
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %61
55: ; preds = %49
%56 = call i32 @perror(ptr noundef @.str.2)
%57 = load i32, ptr @stderr, align 4
%58 = load ptr, ptr %12, align 8
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.4, ptr noundef %58)
%60 = call i32 @exit(i32 noundef -1) #3
unreachable
61: ; preds = %49
%62 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = call i64 @malloc(i32 noundef %63)
%65 = inttoptr i64 %64 to ptr
store ptr %65, ptr %10, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %70, label %67
67: ; preds = %61
%68 = call i32 @perror(ptr noundef @.str.5)
%69 = call i32 @exit(i32 noundef -1) #3
unreachable
70: ; preds = %61
%71 = load i32, ptr %5, align 4
%72 = call ptr @fdopen(i32 noundef %71, ptr noundef @.str.6)
store ptr %72, ptr %9, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %77, label %74
74: ; preds = %70
%75 = call i32 @perror(ptr noundef @.str.7)
%76 = call i32 @exit(i32 noundef -1) #3
unreachable
77: ; preds = %70
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %9, align 8
%82 = call i64 @fread(ptr noundef %78, i32 noundef 1, i32 noundef %80, ptr noundef %81)
store i64 %82, ptr %7, align 8
%83 = load i64, ptr %7, align 8
%84 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%85 = load i32, ptr %84, align 4
%86 = sext i32 %85 to i64
%87 = icmp ne i64 %83, %86
br i1 %87, label %88, label %94
88: ; preds = %77
%89 = load i32, ptr @stderr, align 4
%90 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = load i64, ptr %7, align 8
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.8, i32 noundef %91, i64 noundef %92)
br label %94
94: ; preds = %88, %77
%95 = load ptr, ptr %9, align 8
%96 = call i64 @fclose(ptr noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = call i32 @perror(ptr noundef @.str.9)
%100 = call i32 @exit(i32 noundef -1) #3
unreachable
101: ; preds = %94
%102 = load ptr, ptr %10, align 8
%103 = load ptr, ptr %3, align 8
store ptr %102, ptr %103, align 8
%104 = load i64, ptr %7, align 8
%105 = trunc i64 %104 to i32
ret i32 %105
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjyjx7sgm.c'
source_filename = "/tmp/tmpjyjx7sgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%s/group_tab_%03d.0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"path: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_total_number_of_groups(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca [1000 x i8], align 16
%13 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %10, align 4
%21 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %10, align 4
%24 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22, i32 noundef %23)
%25 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %13, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %2
%29 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%30 = call i32 @printf(ptr noundef @.str.2, ptr noundef %29)
store i32 -1, ptr %3, align 4
br label %43
31: ; preds = %2
%32 = load ptr, ptr %13, align 8
%33 = call i32 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, ptr noundef %32)
%34 = load ptr, ptr %13, align 8
%35 = call i32 @fread(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %34)
%36 = load ptr, ptr %13, align 8
%37 = call i32 @fread(ptr noundef %8, i32 noundef 4, i32 noundef 1, ptr noundef %36)
%38 = load ptr, ptr %13, align 8
%39 = call i32 @fread(ptr noundef %9, i32 noundef 4, i32 noundef 1, ptr noundef %38)
%40 = load ptr, ptr %13, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load i32, ptr %8, align 4
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %31, %28
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjyjx7sgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%s/group_tab_%03d.0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"path: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_total_number_of_groups(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca [1000 x i8], align 16
%13 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %10, align 4
%21 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %10, align 4
%24 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22, i32 noundef %23)
%25 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %13, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %2
%29 = getelementptr inbounds [1000 x i8], ptr %12, i64 0, i64 0
%30 = call i32 @printf(ptr noundef @.str.2, ptr noundef %29)
store i32 -1, ptr %3, align 4
br label %43
31: ; preds = %2
%32 = load ptr, ptr %13, align 8
%33 = call i32 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, ptr noundef %32)
%34 = load ptr, ptr %13, align 8
%35 = call i32 @fread(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %34)
%36 = load ptr, ptr %13, align 8
%37 = call i32 @fread(ptr noundef %8, i32 noundef 4, i32 noundef 1, ptr noundef %36)
%38 = load ptr, ptr %13, align 8
%39 = call i32 @fread(ptr noundef %9, i32 noundef 4, i32 noundef 1, ptr noundef %38)
%40 = load ptr, ptr %13, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load i32, ptr %8, align 4
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %31, %28
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwkuf1p7.c'
source_filename = "/tmp/tmpiwkuf1p7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Escribe los cuatro numeros\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"menor = %f \0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"mayor = %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = load float, ptr %2, align 4
%12 = load float, ptr %3, align 4
%13 = fcmp ole float %11, %12
br i1 %13, label %14, label %26
14: ; preds = %0
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fcmp ole float %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load float, ptr %2, align 4
%20 = load float, ptr %5, align 4
%21 = fcmp ole float %19, %20
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load float, ptr %2, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24)
br label %26
26: ; preds = %22, %18, %14, %0
%27 = load float, ptr %3, align 4
%28 = load float, ptr %2, align 4
%29 = fcmp olt float %27, %28
br i1 %29, label %30, label %42
30: ; preds = %26
%31 = load float, ptr %3, align 4
%32 = load float, ptr %4, align 4
%33 = fcmp ole float %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load float, ptr %3, align 4
%36 = load float, ptr %5, align 4
%37 = fcmp ole float %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load float, ptr %3, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %40)
br label %42
42: ; preds = %38, %34, %30, %26
%43 = load float, ptr %4, align 4
%44 = load float, ptr %2, align 4
%45 = fcmp olt float %43, %44
br i1 %45, label %46, label %58
46: ; preds = %42
%47 = load float, ptr %4, align 4
%48 = load float, ptr %3, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %58
50: ; preds = %46
%51 = load float, ptr %4, align 4
%52 = load float, ptr %5, align 4
%53 = fcmp ole float %51, %52
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load float, ptr %4, align 4
%56 = fpext float %55 to double
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %56)
br label %58
58: ; preds = %54, %50, %46, %42
%59 = load float, ptr %5, align 4
%60 = load float, ptr %2, align 4
%61 = fcmp olt float %59, %60
br i1 %61, label %62, label %74
62: ; preds = %58
%63 = load float, ptr %5, align 4
%64 = load float, ptr %3, align 4
%65 = fcmp olt float %63, %64
br i1 %65, label %66, label %74
66: ; preds = %62
%67 = load float, ptr %5, align 4
%68 = load float, ptr %4, align 4
%69 = fcmp olt float %67, %68
br i1 %69, label %70, label %74
70: ; preds = %66
%71 = load float, ptr %5, align 4
%72 = fpext float %71 to double
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %72)
br label %74
74: ; preds = %70, %66, %62, %58
%75 = load float, ptr %2, align 4
%76 = load float, ptr %3, align 4
%77 = fcmp oge float %75, %76
br i1 %77, label %78, label %90
78: ; preds = %74
%79 = load float, ptr %2, align 4
%80 = load float, ptr %4, align 4
%81 = fcmp oge float %79, %80
br i1 %81, label %82, label %90
82: ; preds = %78
%83 = load float, ptr %2, align 4
%84 = load float, ptr %5, align 4
%85 = fcmp oge float %83, %84
br i1 %85, label %86, label %90
86: ; preds = %82
%87 = load float, ptr %2, align 4
%88 = fpext float %87 to double
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %88)
br label %90
90: ; preds = %86, %82, %78, %74
%91 = load float, ptr %3, align 4
%92 = load float, ptr %2, align 4
%93 = fcmp ogt float %91, %92
br i1 %93, label %94, label %106
94: ; preds = %90
%95 = load float, ptr %3, align 4
%96 = load float, ptr %4, align 4
%97 = fcmp oge float %95, %96
br i1 %97, label %98, label %106
98: ; preds = %94
%99 = load float, ptr %3, align 4
%100 = load float, ptr %5, align 4
%101 = fcmp oge float %99, %100
br i1 %101, label %102, label %106
102: ; preds = %98
%103 = load float, ptr %3, align 4
%104 = fpext float %103 to double
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %104)
br label %106
106: ; preds = %102, %98, %94, %90
%107 = load float, ptr %4, align 4
%108 = load float, ptr %2, align 4
%109 = fcmp ogt float %107, %108
br i1 %109, label %110, label %122
110: ; preds = %106
%111 = load float, ptr %4, align 4
%112 = load float, ptr %3, align 4
%113 = fcmp ogt float %111, %112
br i1 %113, label %114, label %122
114: ; preds = %110
%115 = load float, ptr %4, align 4
%116 = load float, ptr %5, align 4
%117 = fcmp oge float %115, %116
br i1 %117, label %118, label %122
118: ; preds = %114
%119 = load float, ptr %4, align 4
%120 = fpext float %119 to double
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %120)
br label %122
122: ; preds = %118, %114, %110, %106
%123 = load float, ptr %5, align 4
%124 = load float, ptr %2, align 4
%125 = fcmp ogt float %123, %124
br i1 %125, label %126, label %138
126: ; preds = %122
%127 = load float, ptr %5, align 4
%128 = load float, ptr %3, align 4
%129 = fcmp ogt float %127, %128
br i1 %129, label %130, label %138
130: ; preds = %126
%131 = load float, ptr %5, align 4
%132 = load float, ptr %4, align 4
%133 = fcmp ogt float %131, %132
br i1 %133, label %134, label %138
134: ; preds = %130
%135 = load float, ptr %5, align 4
%136 = fpext float %135 to double
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %136)
br label %138
138: ; preds = %134, %130, %126, %122
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/tmpiwkuf1p7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Escribe los cuatro numeros\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"menor = %f \0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"mayor = %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = load float, ptr %2, align 4
%12 = load float, ptr %3, align 4
%13 = fcmp ole float %11, %12
br i1 %13, label %14, label %26
14: ; preds = %0
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fcmp ole float %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load float, ptr %2, align 4
%20 = load float, ptr %5, align 4
%21 = fcmp ole float %19, %20
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load float, ptr %2, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24)
br label %26
26: ; preds = %22, %18, %14, %0
%27 = load float, ptr %3, align 4
%28 = load float, ptr %2, align 4
%29 = fcmp olt float %27, %28
br i1 %29, label %30, label %42
30: ; preds = %26
%31 = load float, ptr %3, align 4
%32 = load float, ptr %4, align 4
%33 = fcmp ole float %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load float, ptr %3, align 4
%36 = load float, ptr %5, align 4
%37 = fcmp ole float %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load float, ptr %3, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %40)
br label %42
42: ; preds = %38, %34, %30, %26
%43 = load float, ptr %4, align 4
%44 = load float, ptr %2, align 4
%45 = fcmp olt float %43, %44
br i1 %45, label %46, label %58
46: ; preds = %42
%47 = load float, ptr %4, align 4
%48 = load float, ptr %3, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %58
50: ; preds = %46
%51 = load float, ptr %4, align 4
%52 = load float, ptr %5, align 4
%53 = fcmp ole float %51, %52
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load float, ptr %4, align 4
%56 = fpext float %55 to double
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %56)
br label %58
58: ; preds = %54, %50, %46, %42
%59 = load float, ptr %5, align 4
%60 = load float, ptr %2, align 4
%61 = fcmp olt float %59, %60
br i1 %61, label %62, label %74
62: ; preds = %58
%63 = load float, ptr %5, align 4
%64 = load float, ptr %3, align 4
%65 = fcmp olt float %63, %64
br i1 %65, label %66, label %74
66: ; preds = %62
%67 = load float, ptr %5, align 4
%68 = load float, ptr %4, align 4
%69 = fcmp olt float %67, %68
br i1 %69, label %70, label %74
70: ; preds = %66
%71 = load float, ptr %5, align 4
%72 = fpext float %71 to double
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %72)
br label %74
74: ; preds = %70, %66, %62, %58
%75 = load float, ptr %2, align 4
%76 = load float, ptr %3, align 4
%77 = fcmp oge float %75, %76
br i1 %77, label %78, label %90
78: ; preds = %74
%79 = load float, ptr %2, align 4
%80 = load float, ptr %4, align 4
%81 = fcmp oge float %79, %80
br i1 %81, label %82, label %90
82: ; preds = %78
%83 = load float, ptr %2, align 4
%84 = load float, ptr %5, align 4
%85 = fcmp oge float %83, %84
br i1 %85, label %86, label %90
86: ; preds = %82
%87 = load float, ptr %2, align 4
%88 = fpext float %87 to double
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %88)
br label %90
90: ; preds = %86, %82, %78, %74
%91 = load float, ptr %3, align 4
%92 = load float, ptr %2, align 4
%93 = fcmp ogt float %91, %92
br i1 %93, label %94, label %106
94: ; preds = %90
%95 = load float, ptr %3, align 4
%96 = load float, ptr %4, align 4
%97 = fcmp oge float %95, %96
br i1 %97, label %98, label %106
98: ; preds = %94
%99 = load float, ptr %3, align 4
%100 = load float, ptr %5, align 4
%101 = fcmp oge float %99, %100
br i1 %101, label %102, label %106
102: ; preds = %98
%103 = load float, ptr %3, align 4
%104 = fpext float %103 to double
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %104)
br label %106
106: ; preds = %102, %98, %94, %90
%107 = load float, ptr %4, align 4
%108 = load float, ptr %2, align 4
%109 = fcmp ogt float %107, %108
br i1 %109, label %110, label %122
110: ; preds = %106
%111 = load float, ptr %4, align 4
%112 = load float, ptr %3, align 4
%113 = fcmp ogt float %111, %112
br i1 %113, label %114, label %122
114: ; preds = %110
%115 = load float, ptr %4, align 4
%116 = load float, ptr %5, align 4
%117 = fcmp oge float %115, %116
br i1 %117, label %118, label %122
118: ; preds = %114
%119 = load float, ptr %4, align 4
%120 = fpext float %119 to double
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %120)
br label %122
122: ; preds = %118, %114, %110, %106
%123 = load float, ptr %5, align 4
%124 = load float, ptr %2, align 4
%125 = fcmp ogt float %123, %124
br i1 %125, label %126, label %138
126: ; preds = %122
%127 = load float, ptr %5, align 4
%128 = load float, ptr %3, align 4
%129 = fcmp ogt float %127, %128
br i1 %129, label %130, label %138
130: ; preds = %126
%131 = load float, ptr %5, align 4
%132 = load float, ptr %4, align 4
%133 = fcmp ogt float %131, %132
br i1 %133, label %134, label %138
134: ; preds = %130
%135 = load float, ptr %5, align 4
%136 = fpext float %135 to double
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %136)
br label %138
138: ; preds = %134, %130, %126, %122
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/tmpd94k1e9t.c'
source_filename = "/tmp/tmpd94k1e9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"00000000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @passwd_invalid_challenge() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%3 = call i64 @malloc(i32 noundef 9)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 9)
%8 = load ptr, ptr %2, align 8
ret ptr %8
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd94k1e9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"00000000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @passwd_invalid_challenge() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%3 = call i64 @malloc(i32 noundef 9)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 9)
%8 = load ptr, ptr %2, align 8
ret ptr %8
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvtv04v0.c'
source_filename = "/tmp/tmpyvtv04v0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UFFDIO_REGISTER_MODE_MISSING = dso_local global i32 0, align 4
@UFFDIO_UNREGISTER = 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/tmpyvtv04v0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UFFDIO_REGISTER_MODE_MISSING = dso_local global i32 0, align 4
@UFFDIO_UNREGISTER = 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_pl009s9.c'
source_filename = "/tmp/tmp_pl009s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @_write_atollic(i32 noundef %7, ptr noundef %8, i32 noundef %9)
%11 = load i32, ptr %6, align 4
ret i32 %11
}
declare i32 @_write_atollic(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_pl009s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @_write_atollic(i32 noundef %7, ptr noundef %8, i32 noundef %9)
%11 = load i32, ptr %6, align 4
ret i32 %11
}
declare i32 @_write_atollic(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/tmp8pzn6rst.c'
source_filename = "/tmp/tmp8pzn6rst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 110, ptr %2, align 4
store i32 110, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %10, i32 noundef %11)
%13 = icmp eq i32 0, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %16, i32 noundef %17)
%19 = icmp eq i32 0, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
store i32 9, ptr %6, align 4
store i32 4, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %22, i32 noundef %23)
%25 = icmp eq i32 3, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
store i32 -65536, ptr %8, align 4
store i32 65535, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %28, i32 noundef %29)
%31 = sext i32 %30 to i64
%32 = icmp eq i64 32, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(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/tmp8pzn6rst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 110, ptr %2, align 4
store i32 110, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %10, i32 noundef %11)
%13 = icmp eq i32 0, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %16, i32 noundef %17)
%19 = icmp eq i32 0, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
store i32 9, ptr %6, align 4
store i32 4, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %22, i32 noundef %23)
%25 = icmp eq i32 3, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
store i32 -65536, ptr %8, align 4
store i32 65535, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = call i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(i32 noundef %28, i32 noundef %29)
%31 = sext i32 %30 to i64
%32 = icmp eq i64 32, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @find_num_bits_flipped_to_convert_first_num_into_second_num(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/tmpql_4y6ij.c'
source_filename = "/tmp/tmpql_4y6ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.timeval, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i64 -1, ptr %3, align 8
br label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%10 = load i64, ptr %9, align 8
store i64 %10, ptr %3, align 8
br label %11
11: ; preds = %8, %7
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i64, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
store i64 %15, ptr %16, align 8
br label %17
17: ; preds = %14, %11
%18 = load i64, ptr %3, align 8
ret i64 %18
}
declare i64 @gettimeofday(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/tmpql_4y6ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.timeval, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i64 -1, ptr %3, align 8
br label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%10 = load i64, ptr %9, align 8
store i64 %10, ptr %3, align 8
br label %11
11: ; preds = %8, %7
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i64, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
store i64 %15, ptr %16, align 8
br label %17
17: ; preds = %14, %11
%18 = load i64, ptr %3, align 8
ret i64 %18
}
declare i64 @gettimeofday(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/tmp_rgjcpl2.c'
source_filename = "/tmp/tmp_rgjcpl2.c"
target datalayout = "e-m:e-p270: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_rgjcpl2.c"
target datalayout = "e-m:e-p270: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/tmpu54zfpci.c'
source_filename = "/tmp/tmpu54zfpci.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isfile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(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/tmpu54zfpci.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isfile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(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_jvf5bg0.c'
source_filename = "/tmp/tmp_jvf5bg0.c"
target datalayout = "e-m:e-p270: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
@Z_NULL = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @put_chunk(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = sub nsw i64 %6, 4
%8 = call i32 @put_uLong(i64 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fwrite(ptr noundef %9, i64 noundef %10, i32 noundef 1, i32 noundef %11)
%13 = load ptr, ptr @Z_NULL, align 8
%14 = call i64 @crc32(i64 noundef 0, ptr noundef %13, i64 noundef 0)
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %4, align 8
%18 = call i64 @crc32(i64 noundef %15, ptr noundef %16, i64 noundef %17)
%19 = call i32 @put_uLong(i64 noundef %18)
ret void
}
declare i32 @put_uLong(i64 noundef) #1
declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1
declare i64 @crc32(i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_jvf5bg0.c"
target datalayout = "e-m:e-p270: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
@Z_NULL = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @put_chunk(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = sub nsw i64 %6, 4
%8 = call i32 @put_uLong(i64 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fwrite(ptr noundef %9, i64 noundef %10, i32 noundef 1, i32 noundef %11)
%13 = load ptr, ptr @Z_NULL, align 8
%14 = call i64 @crc32(i64 noundef 0, ptr noundef %13, i64 noundef 0)
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %4, align 8
%18 = call i64 @crc32(i64 noundef %15, ptr noundef %16, i64 noundef %17)
%19 = call i32 @put_uLong(i64 noundef %18)
ret void
}
declare i32 @put_uLong(i64 noundef) #1
declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1
declare i64 @crc32(i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmkywuk3y.c'
source_filename = "/tmp/tmpmkywuk3y.c"
target datalayout = "e-m:e-p270: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/tmpmkywuk3y.c"
target datalayout = "e-m:e-p270: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/tmpz5ky4ou5.c'
source_filename = "/tmp/tmpz5ky4ou5.c"
target datalayout = "e-m:e-p270: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/tmpz5ky4ou5.c"
target datalayout = "e-m:e-p270: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/tmp5pfdcog0.c'
source_filename = "/tmp/tmp5pfdcog0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @inputPrompt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
store ptr null, ptr %4, align 8
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @getline(ptr noundef %4, ptr noundef %5, i32 noundef %8)
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %19
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store i8 0, ptr %17, align 1
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %22
19: ; preds = %1
%20 = load ptr, ptr %4, align 8
%21 = call i32 @free(ptr noundef %20)
store ptr null, ptr %2, align 8
br label %22
22: ; preds = %19, %11
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmp5pfdcog0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @inputPrompt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
store ptr null, ptr %4, align 8
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @getline(ptr noundef %4, ptr noundef %5, i32 noundef %8)
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %19
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store i8 0, ptr %17, align 1
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %22
19: ; preds = %1
%20 = load ptr, ptr %4, align 8
%21 = call i32 @free(ptr noundef %20)
store ptr null, ptr %2, align 8
br label %22
22: ; preds = %19, %11
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmpodq1drqy.c'
source_filename = "/tmp/tmpodq1drqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OCSP_REVOKED_STATUS_NOSTATUS = dso_local global i32 0, align 4
@NID_crl_reason = dso_local global i32 0, align 4
@NID_invalidity_date = dso_local global i32 0, align 4
@NID_hold_instruction_code = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_revoked(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @unpack_revinfo(ptr noundef %12, ptr noundef %6, ptr noundef %9, ptr noundef %10, ptr noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
br label %87
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %27
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %12, align 8
%24 = call i32 @X509_REVOKED_set_revocationDate(ptr noundef %22, ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %21
br label %87
27: ; preds = %21, %18
%28 = load ptr, ptr %3, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %52
30: ; preds = %27
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr @OCSP_REVOKED_STATUS_NOSTATUS, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %52
34: ; preds = %30
%35 = call ptr (...) @ASN1_ENUMERATED_new()
store ptr %35, ptr %11, align 8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = load i32, ptr %6, align 4
%41 = call i32 @ASN1_ENUMERATED_set(ptr noundef %39, i32 noundef %40)
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %38, %34
br label %87
44: ; preds = %38
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr @NID_crl_reason, align 4
%47 = load ptr, ptr %11, align 8
%48 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef 0, i32 noundef 0)
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %44
br label %87
51: ; preds = %44
br label %52
52: ; preds = %51, %30, %27
%53 = load ptr, ptr %3, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %66
55: ; preds = %52
%56 = load ptr, ptr %10, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %66
58: ; preds = %55
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr @NID_invalidity_date, align 4
%61 = load ptr, ptr %10, align 8
%62 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %59, i32 noundef %60, ptr noundef %61, i32 noundef 0, i32 noundef 0)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %58
br label %87
65: ; preds = %58
br label %66
66: ; preds = %65, %55, %52
%67 = load ptr, ptr %3, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %80
69: ; preds = %66
%70 = load ptr, ptr %9, align 8
%71 = icmp ne ptr %70, null
br i1 %71, label %72, label %80
72: ; preds = %69
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr @NID_hold_instruction_code, align 4
%75 = load ptr, ptr %9, align 8
%76 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %73, i32 noundef %74, ptr noundef %75, i32 noundef 0, i32 noundef 0)
%77 = icmp ne i32 %76, 0
br i1 %77, label %79, label %78
78: ; preds = %72
br label %87
79: ; preds = %72
br label %80
80: ; preds = %79, %69, %66
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr @OCSP_REVOKED_STATUS_NOSTATUS, align 4
%83 = icmp ne i32 %81, %82
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 2, ptr %8, align 4
br label %86
85: ; preds = %80
store i32 1, ptr %8, align 4
br label %86
86: ; preds = %85, %84
br label %87
87: ; preds = %86, %78, %64, %50, %43, %26, %17
%88 = load ptr, ptr %5, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load ptr, ptr %5, align 8
%92 = call i32 @OPENSSL_free(ptr noundef %91)
br label %93
93: ; preds = %90, %87
%94 = load ptr, ptr %9, align 8
%95 = call i32 @ASN1_OBJECT_free(ptr noundef %94)
%96 = load ptr, ptr %10, align 8
%97 = call i32 @ASN1_GENERALIZEDTIME_free(ptr noundef %96)
%98 = load ptr, ptr %11, align 8
%99 = call i32 @ASN1_ENUMERATED_free(ptr noundef %98)
%100 = load ptr, ptr %12, align 8
%101 = call i32 @ASN1_TIME_free(ptr noundef %100)
%102 = load i32, ptr %8, align 4
ret i32 %102
}
declare i32 @unpack_revinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @X509_REVOKED_set_revocationDate(ptr noundef, ptr noundef) #1
declare ptr @ASN1_ENUMERATED_new(...) #1
declare i32 @ASN1_ENUMERATED_set(ptr noundef, i32 noundef) #1
declare i32 @X509_REVOKED_add1_ext_i2d(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @OPENSSL_free(ptr noundef) #1
declare i32 @ASN1_OBJECT_free(ptr noundef) #1
declare i32 @ASN1_GENERALIZEDTIME_free(ptr noundef) #1
declare i32 @ASN1_ENUMERATED_free(ptr noundef) #1
declare i32 @ASN1_TIME_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/tmpodq1drqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OCSP_REVOKED_STATUS_NOSTATUS = dso_local global i32 0, align 4
@NID_crl_reason = dso_local global i32 0, align 4
@NID_invalidity_date = dso_local global i32 0, align 4
@NID_hold_instruction_code = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_revoked(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @unpack_revinfo(ptr noundef %12, ptr noundef %6, ptr noundef %9, ptr noundef %10, ptr noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
br label %87
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %27
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %12, align 8
%24 = call i32 @X509_REVOKED_set_revocationDate(ptr noundef %22, ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %21
br label %87
27: ; preds = %21, %18
%28 = load ptr, ptr %3, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %52
30: ; preds = %27
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr @OCSP_REVOKED_STATUS_NOSTATUS, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %52
34: ; preds = %30
%35 = call ptr (...) @ASN1_ENUMERATED_new()
store ptr %35, ptr %11, align 8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = load i32, ptr %6, align 4
%41 = call i32 @ASN1_ENUMERATED_set(ptr noundef %39, i32 noundef %40)
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %38, %34
br label %87
44: ; preds = %38
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr @NID_crl_reason, align 4
%47 = load ptr, ptr %11, align 8
%48 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef 0, i32 noundef 0)
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %44
br label %87
51: ; preds = %44
br label %52
52: ; preds = %51, %30, %27
%53 = load ptr, ptr %3, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %66
55: ; preds = %52
%56 = load ptr, ptr %10, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %66
58: ; preds = %55
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr @NID_invalidity_date, align 4
%61 = load ptr, ptr %10, align 8
%62 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %59, i32 noundef %60, ptr noundef %61, i32 noundef 0, i32 noundef 0)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %58
br label %87
65: ; preds = %58
br label %66
66: ; preds = %65, %55, %52
%67 = load ptr, ptr %3, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %80
69: ; preds = %66
%70 = load ptr, ptr %9, align 8
%71 = icmp ne ptr %70, null
br i1 %71, label %72, label %80
72: ; preds = %69
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr @NID_hold_instruction_code, align 4
%75 = load ptr, ptr %9, align 8
%76 = call i32 @X509_REVOKED_add1_ext_i2d(ptr noundef %73, i32 noundef %74, ptr noundef %75, i32 noundef 0, i32 noundef 0)
%77 = icmp ne i32 %76, 0
br i1 %77, label %79, label %78
78: ; preds = %72
br label %87
79: ; preds = %72
br label %80
80: ; preds = %79, %69, %66
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr @OCSP_REVOKED_STATUS_NOSTATUS, align 4
%83 = icmp ne i32 %81, %82
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 2, ptr %8, align 4
br label %86
85: ; preds = %80
store i32 1, ptr %8, align 4
br label %86
86: ; preds = %85, %84
br label %87
87: ; preds = %86, %78, %64, %50, %43, %26, %17
%88 = load ptr, ptr %5, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load ptr, ptr %5, align 8
%92 = call i32 @OPENSSL_free(ptr noundef %91)
br label %93
93: ; preds = %90, %87
%94 = load ptr, ptr %9, align 8
%95 = call i32 @ASN1_OBJECT_free(ptr noundef %94)
%96 = load ptr, ptr %10, align 8
%97 = call i32 @ASN1_GENERALIZEDTIME_free(ptr noundef %96)
%98 = load ptr, ptr %11, align 8
%99 = call i32 @ASN1_ENUMERATED_free(ptr noundef %98)
%100 = load ptr, ptr %12, align 8
%101 = call i32 @ASN1_TIME_free(ptr noundef %100)
%102 = load i32, ptr %8, align 4
ret i32 %102
}
declare i32 @unpack_revinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @X509_REVOKED_set_revocationDate(ptr noundef, ptr noundef) #1
declare ptr @ASN1_ENUMERATED_new(...) #1
declare i32 @ASN1_ENUMERATED_set(ptr noundef, i32 noundef) #1
declare i32 @X509_REVOKED_add1_ext_i2d(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @OPENSSL_free(ptr noundef) #1
declare i32 @ASN1_OBJECT_free(ptr noundef) #1
declare i32 @ASN1_GENERALIZEDTIME_free(ptr noundef) #1
declare i32 @ASN1_ENUMERATED_free(ptr noundef) #1
declare i32 @ASN1_TIME_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/tmpv684cc1l.c'
source_filename = "/tmp/tmpv684cc1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"src/feline_home.asm\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%%define FELINE_HOME \22%s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"%%define FELINE_SOURCE_DIR \22%s%csrc\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 47, ptr %2, align 1
store i32 0, ptr %5, align 4
%6 = call i32 @chdir(ptr noundef @.str)
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @getcwd(ptr noundef %7, i32 noundef 1024)
%9 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %23
12: ; preds = %0
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.3, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.4, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fclose(ptr noundef %21)
br label %23
23: ; preds = %12, %0
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @chdir(ptr noundef) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv684cc1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"src/feline_home.asm\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%%define FELINE_HOME \22%s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"%%define FELINE_SOURCE_DIR \22%s%csrc\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 47, ptr %2, align 1
store i32 0, ptr %5, align 4
%6 = call i32 @chdir(ptr noundef @.str)
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @getcwd(ptr noundef %7, i32 noundef 1024)
%9 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %23
12: ; preds = %0
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.3, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.4, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fclose(ptr noundef %21)
br label %23
23: ; preds = %12, %0
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @chdir(ptr noundef) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr0rgiepc.c'
source_filename = "/tmp/tmpr0rgiepc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"write failed!\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @portwrite2(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = call i32 @usleep(i32 noundef 500000)
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fputs(ptr noundef @.str, i32 noundef %16)
store i32 0, ptr %3, align 4
br label %19
18: ; preds = %2
store i32 1, ptr %3, align 4
br label %19
19: ; preds = %18, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @fputs(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/tmpr0rgiepc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"write failed!\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @portwrite2(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = call i32 @usleep(i32 noundef 500000)
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fputs(ptr noundef @.str, i32 noundef %16)
store i32 0, ptr %3, align 4
br label %19
18: ; preds = %2
store i32 1, ptr %3, align 4
br label %19
19: ; preds = %18, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @fputs(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/tmpgzcp826d.c'
source_filename = "/tmp/tmpgzcp826d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 1 for 6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x36() #0 {
%1 = call i32 @isdigit(i32 noundef 54) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 275, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzcp826d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 1 for 6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x36() #0 {
%1 = call i32 @isdigit(i32 noundef 54) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 275, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5rd9t_z_.c'
source_filename = "/tmp/tmp5rd9t_z_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @kr_malloc_get_fragmentation_ratio() #0 {
%1 = call i64 (...) @kr_malloc_get_rss()
%2 = sitofp i64 %1 to float
%3 = call float (...) @kr_malloc_used_memory()
%4 = fdiv float %2, %3
ret float %4
}
declare i64 @kr_malloc_get_rss(...) #1
declare float @kr_malloc_used_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5rd9t_z_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @kr_malloc_get_fragmentation_ratio() #0 {
%1 = call i64 (...) @kr_malloc_get_rss()
%2 = sitofp i64 %1 to float
%3 = call float (...) @kr_malloc_used_memory()
%4 = fdiv float %2, %3
ret float %4
}
declare i64 @kr_malloc_get_rss(...) #1
declare float @kr_malloc_used_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_nskxrmd.c'
source_filename = "/tmp/tmp_nskxrmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unix_socket_client(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.sockaddr_un, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 1
store i32 %6, ptr %7, align 4
%8 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @AF_UNIX, align 4
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %1
store i32 -1, ptr %2, align 4
br label %25
18: ; preds = %1
%19 = load i32, ptr %5, align 4
%20 = call i32 @connect(i32 noundef %19, ptr noundef %4, i32 noundef 8)
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 -1, ptr %2, align 4
br label %25
23: ; preds = %18
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %23, %22, %17
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_nskxrmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unix_socket_client(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.sockaddr_un, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 1
store i32 %6, ptr %7, align 4
%8 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @AF_UNIX, align 4
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %1
store i32 -1, ptr %2, align 4
br label %25
18: ; preds = %1
%19 = load i32, ptr %5, align 4
%20 = call i32 @connect(i32 noundef %19, ptr noundef %4, i32 noundef 8)
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 -1, ptr %2, align 4
br label %25
23: ; preds = %18
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %23, %22, %17
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(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/tmpcwbjwdi8.c'
source_filename = "/tmp/tmpcwbjwdi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"socket() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"setsockopt() failed on socket %d: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"bind() failed on socket %d: %s\0A\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [34 x i8] c"listen() failed on socket %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stsmon_listentoport(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
store i32 -1, ptr %3, align 4
br label %80
19: ; preds = %2
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @F_GETFL, align 4
%22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %19
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = load i32, ptr %8, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr @F_SETFL, align 4
%31 = load i32, ptr %8, align 4
%32 = call i32 (i32, i32, ...) @fcntl(i32 noundef %29, i32 noundef %30, i32 noundef %31)
br label %33
33: ; preds = %25, %19
store i32 1, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @SOL_SOCKET, align 4
%36 = load i32, ptr @SO_REUSEADDR, align 4
%37 = call i64 @setsockopt(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %9, i32 noundef 4)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %33
%40 = load i32, ptr @stderr, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, i32 noundef %41, ptr noundef %43)
br label %45
45: ; preds = %39, %33
%46 = load i32, ptr %4, align 4
%47 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i32 0, i32 0
store i32 %46, ptr %48, align 4
%49 = load i32, ptr @AF_INET, align 4
%50 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %49, ptr %50, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @htons(i32 noundef %51)
%53 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %52, ptr %53, align 4
%54 = load i32, ptr %7, align 4
%55 = call i64 @bind(i32 noundef %54, ptr noundef %6, i32 noundef 12)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %65
57: ; preds = %45
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr @errno, align 4
%61 = call ptr @strerror(i32 noundef %60)
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.2, i32 noundef %59, ptr noundef %61)
%63 = load i32, ptr %7, align 4
%64 = call i32 @close(i32 noundef %63)
store i32 -1, ptr %3, align 4
br label %80
65: ; preds = %45
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr @SOMAXCONN, align 4
%68 = call i64 @listen(i32 noundef %66, i32 noundef %67)
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %78
70: ; preds = %65
%71 = load i32, ptr @stderr, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr @errno, align 4
%74 = call ptr @strerror(i32 noundef %73)
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.3, i32 noundef %72, ptr noundef %74)
%76 = load i32, ptr %7, align 4
%77 = call i32 @close(i32 noundef %76)
store i32 -1, ptr %3, align 4
br label %80
78: ; preds = %65
%79 = load i32, ptr %7, align 4
store i32 %79, ptr %3, align 4
br label %80
80: ; preds = %78, %70, %57, %14
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @listen(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/tmpcwbjwdi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"socket() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"setsockopt() failed on socket %d: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"bind() failed on socket %d: %s\0A\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [34 x i8] c"listen() failed on socket %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stsmon_listentoport(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
store i32 -1, ptr %3, align 4
br label %80
19: ; preds = %2
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @F_GETFL, align 4
%22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %19
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = load i32, ptr %8, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr @F_SETFL, align 4
%31 = load i32, ptr %8, align 4
%32 = call i32 (i32, i32, ...) @fcntl(i32 noundef %29, i32 noundef %30, i32 noundef %31)
br label %33
33: ; preds = %25, %19
store i32 1, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @SOL_SOCKET, align 4
%36 = load i32, ptr @SO_REUSEADDR, align 4
%37 = call i64 @setsockopt(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %9, i32 noundef 4)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %33
%40 = load i32, ptr @stderr, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, i32 noundef %41, ptr noundef %43)
br label %45
45: ; preds = %39, %33
%46 = load i32, ptr %4, align 4
%47 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i32 0, i32 0
store i32 %46, ptr %48, align 4
%49 = load i32, ptr @AF_INET, align 4
%50 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %49, ptr %50, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @htons(i32 noundef %51)
%53 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %52, ptr %53, align 4
%54 = load i32, ptr %7, align 4
%55 = call i64 @bind(i32 noundef %54, ptr noundef %6, i32 noundef 12)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %65
57: ; preds = %45
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr @errno, align 4
%61 = call ptr @strerror(i32 noundef %60)
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.2, i32 noundef %59, ptr noundef %61)
%63 = load i32, ptr %7, align 4
%64 = call i32 @close(i32 noundef %63)
store i32 -1, ptr %3, align 4
br label %80
65: ; preds = %45
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr @SOMAXCONN, align 4
%68 = call i64 @listen(i32 noundef %66, i32 noundef %67)
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %78
70: ; preds = %65
%71 = load i32, ptr @stderr, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr @errno, align 4
%74 = call ptr @strerror(i32 noundef %73)
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.3, i32 noundef %72, ptr noundef %74)
%76 = load i32, ptr %7, align 4
%77 = call i32 @close(i32 noundef %76)
store i32 -1, ptr %3, align 4
br label %80
78: ; preds = %65
%79 = load i32, ptr %7, align 4
store i32 %79, ptr %3, align 4
br label %80
80: ; preds = %78, %70, %57, %14
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @listen(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/tmp2e7s4edh.c'
source_filename = "/tmp/tmp2e7s4edh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @slr_equal()
%3 = call i32 (...) @slr_less()
%4 = call i32 (...) @slr_greater()
ret i32 0
}
declare i32 @slr_equal(...) #1
declare i32 @slr_less(...) #1
declare i32 @slr_greater(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2e7s4edh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @slr_equal()
%3 = call i32 (...) @slr_less()
%4 = call i32 (...) @slr_greater()
ret i32 0
}
declare i32 @slr_equal(...) #1
declare i32 @slr_less(...) #1
declare i32 @slr_greater(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkohah9ib.c'
source_filename = "/tmp/tmpkohah9ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s file deleted successfully.\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Unable to delete the file\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deleteFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @remove(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
br label %14
11: ; preds = %1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @perror(ptr noundef @.str.2)
br label %14
14: ; preds = %11, %8
ret void
}
declare i32 @remove(ptr noundef) #1
declare i32 @printf(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/tmpkohah9ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s file deleted successfully.\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Unable to delete the file\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deleteFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @remove(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
br label %14
11: ; preds = %1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @perror(ptr noundef @.str.2)
br label %14
14: ; preds = %11, %8
ret void
}
declare i32 @remove(ptr noundef) #1
declare i32 @printf(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/tmpc71zit5e.c'
source_filename = "/tmp/tmpc71zit5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"some error happen when read\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"recv the client msg: %s\00", align 1
@__const.socket_read_cb.reply_msg = private unnamed_addr constant [4096 x i8] c"I have recvieced the msg: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @socket_read_cb(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
store i32 %0, ptr %4, align 4
store i16 %1, ptr %5, align 2
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 4095)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %3
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @event_free(ptr noundef %19)
%21 = load i32, ptr %4, align 4
%22 = call i32 @close(i32 noundef %21)
br label %41
23: ; preds = %3
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 %25
store i8 0, ptr %26, align 1
%27 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.socket_read_cb.reply_msg, i64 4096, i1 false)
%29 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%30 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%35 = call i32 @strcat(ptr noundef %33, ptr noundef %34)
%36 = load i32, ptr %4, align 4
%37 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%38 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%39 = call i32 @strlen(ptr noundef %38)
%40 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %23, %17
ret void
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @event_free(ptr noundef) #1
declare i32 @close(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
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @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" }
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc71zit5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"some error happen when read\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"recv the client msg: %s\00", align 1
@__const.socket_read_cb.reply_msg = private unnamed_addr constant [4096 x i8] c"I have recvieced the msg: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @socket_read_cb(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
store i32 %0, ptr %4, align 4
store i16 %1, ptr %5, align 2
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 4095)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %3
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @event_free(ptr noundef %19)
%21 = load i32, ptr %4, align 4
%22 = call i32 @close(i32 noundef %21)
br label %41
23: ; preds = %3
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 %25
store i8 0, ptr %26, align 1
%27 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.socket_read_cb.reply_msg, i64 4096, i1 false)
%29 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%30 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%35 = call i32 @strcat(ptr noundef %33, ptr noundef %34)
%36 = load i32, ptr %4, align 4
%37 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%38 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%39 = call i32 @strlen(ptr noundef %38)
%40 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %23, %17
ret void
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @event_free(ptr noundef) #1
declare i32 @close(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
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @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" }
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"}
|
; ModuleID = '/tmp/tmpxf0domzv.c'
source_filename = "/tmp/tmpxf0domzv.c"
target datalayout = "e-m:e-p270: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/tmpxf0domzv.c"
target datalayout = "e-m:e-p270: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/tmph6yyit09.c'
source_filename = "/tmp/tmph6yyit09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @proc_cpu_vendor() #0 {
%1 = call ptr @proc_search_keyword(ptr noundef @.str, ptr noundef @.str.1)
ret ptr %1
}
declare ptr @proc_search_keyword(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/tmph6yyit09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @proc_cpu_vendor() #0 {
%1 = call ptr @proc_search_keyword(ptr noundef @.str, ptr noundef @.str.1)
ret ptr %1
}
declare ptr @proc_search_keyword(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/tmp0s_1vpl5.c'
source_filename = "/tmp/tmp0s_1vpl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Ptngc_writemanybits(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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
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
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %14, %4
%12 = load i32, ptr %7, align 4
%13 = icmp sge i32 %12, 24
br i1 %13, label %14, label %47
14: ; preds = %11
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = shl i32 %20, 16
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = shl i32 %28, 8
%30 = or i32 %21, %29
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = or i32 %30, %37
store i32 %38, ptr %10, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %10, align 4
%41 = load ptr, ptr %8, align 8
%42 = call i32 @Ptngc_writebits(ptr noundef %39, i32 noundef %40, i32 noundef 24, ptr noundef %41)
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 3
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %7, align 4
%46 = sub nsw i32 %45, 24
store i32 %46, ptr %7, align 4
br label %11, !llvm.loop !6
47: ; preds = %11
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %7, align 4
%50 = icmp sge i32 %49, 8
br i1 %50, label %51, label %65
51: ; preds = %48
%52 = load ptr, ptr %5, align 8
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = load ptr, ptr %8, align 8
%60 = call i32 @Ptngc_writebits(ptr noundef %52, i32 noundef %58, i32 noundef 8, ptr noundef %59)
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %7, align 4
%64 = sub nsw i32 %63, 8
store i32 %64, ptr %7, align 4
br label %48, !llvm.loop !8
65: ; preds = %48
%66 = load i32, ptr %7, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %79
68: ; preds = %65
%69 = load ptr, ptr %5, align 8
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = load i32, ptr %7, align 4
%77 = load ptr, ptr %8, align 8
%78 = call i32 @Ptngc_writebits(ptr noundef %69, i32 noundef %75, i32 noundef %76, ptr noundef %77)
br label %79
79: ; preds = %68, %65
ret void
}
declare i32 @Ptngc_writebits(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0s_1vpl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Ptngc_writemanybits(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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
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
store i32 0, ptr %9, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sge i32 %11, 24
br i1 %12, label %.lr.ph, label %48
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 16
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = shl i32 %27, 8
%29 = or i32 %20, %28
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 2
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = or i32 %29, %36
store i32 %37, ptr %10, align 4
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %10, align 4
%40 = load ptr, ptr %8, align 8
%41 = call i32 @Ptngc_writebits(ptr noundef %38, i32 noundef %39, i32 noundef 24, ptr noundef %40)
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 3
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %7, align 4
%45 = sub nsw i32 %44, 24
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp sge i32 %46, 24
br i1 %47, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %48
48: ; preds = %._crit_edge, %4
%49 = load i32, ptr %7, align 4
%50 = icmp sge i32 %49, 8
br i1 %50, label %.lr.ph2, label %67
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load ptr, ptr %5, align 8
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = zext i8 %57 to i32
%59 = load ptr, ptr %8, align 8
%60 = call i32 @Ptngc_writebits(ptr noundef %52, i32 noundef %58, i32 noundef 8, ptr noundef %59)
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %7, align 4
%64 = sub nsw i32 %63, 8
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp sge i32 %65, 8
br i1 %66, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %67
67: ; preds = %._crit_edge3, %48
%68 = load i32, ptr %7, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %81
70: ; preds = %67
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = load i32, ptr %7, align 4
%79 = load ptr, ptr %8, align 8
%80 = call i32 @Ptngc_writebits(ptr noundef %71, i32 noundef %77, i32 noundef %78, ptr noundef %79)
br label %81
81: ; preds = %70, %67
ret void
}
declare i32 @Ptngc_writebits(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpufudbk_r.c'
source_filename = "/tmp/tmpufudbk_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_write_data(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i16 %2, ptr %6, align 2
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %17, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = load i16, ptr %6, align 2
%16 = call i32 @serial_write_char(i8 noundef signext %14, i16 noundef zeroext %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %7, align 4
%19 = add i32 %18, 1
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %8, !llvm.loop !6
22: ; preds = %8
ret void
}
declare i32 @serial_write_char(i8 noundef signext, i16 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/tmpufudbk_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_write_data(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i16 %2, ptr %6, align 2
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %16
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = load i16, ptr %6, align 2
%15 = call i32 @serial_write_char(i8 noundef signext %13, i16 noundef zeroext %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %7, align 4
%18 = add i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ult i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %3
ret void
}
declare i32 @serial_write_char(i8 noundef signext, i16 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/tmpcbtxolo2.c'
source_filename = "/tmp/tmpcbtxolo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_sink(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i8, ptr %4, align 1
%8 = load ptr, ptr %5, align 8
%9 = call i64 @fputc(i8 noundef signext %7, ptr noundef %8)
%10 = load i64, ptr @EOF, align 8
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 -1, i32 0
ret i32 %13
}
declare i64 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcbtxolo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_sink(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i8, ptr %4, align 1
%8 = load ptr, ptr %5, align 8
%9 = call i64 @fputc(i8 noundef signext %7, ptr noundef %8)
%10 = load i64, ptr @EOF, align 8
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 -1, i32 0
ret i32 %13
}
declare i64 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpytkj7otd.c'
source_filename = "/tmp/tmpytkj7otd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @renameat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr @AT_FDCWD, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %23, label %16
16: ; preds = %12, %4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr @AT_FDCWD, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19, %12
%24 = load i32, ptr @EBADF, align 4
%25 = call i32 @__set_errno(i32 noundef %24)
store i32 -1, ptr %5, align 4
br label %38
26: ; preds = %19, %16
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %35
32: ; preds = %29, %26
%33 = load i32, ptr @EINVAL, align 4
%34 = call i32 @__set_errno(i32 noundef %33)
store i32 -1, ptr %5, align 4
br label %38
35: ; preds = %29
%36 = load i32, ptr @ENOSYS, align 4
%37 = call i32 @__set_errno(i32 noundef %36)
store i32 -1, ptr %5, align 4
br label %38
38: ; preds = %35, %32, %23
%39 = load i32, ptr %5, align 4
ret i32 %39
}
declare i32 @__set_errno(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/tmpytkj7otd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @renameat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr @AT_FDCWD, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %23, label %16
16: ; preds = %12, %4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr @AT_FDCWD, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19, %12
%24 = load i32, ptr @EBADF, align 4
%25 = call i32 @__set_errno(i32 noundef %24)
store i32 -1, ptr %5, align 4
br label %38
26: ; preds = %19, %16
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = load ptr, ptr %9, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %35
32: ; preds = %29, %26
%33 = load i32, ptr @EINVAL, align 4
%34 = call i32 @__set_errno(i32 noundef %33)
store i32 -1, ptr %5, align 4
br label %38
35: ; preds = %29
%36 = load i32, ptr @ENOSYS, align 4
%37 = call i32 @__set_errno(i32 noundef %36)
store i32 -1, ptr %5, align 4
br label %38
38: ; preds = %35, %32, %23
%39 = load i32, ptr %5, align 4
ret i32 %39
}
declare i32 @__set_errno(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/tmpthzvrrnf.c'
source_filename = "/tmp/tmpthzvrrnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wmemchr(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %8
8: ; preds = %46, %3
%9 = load i64, ptr %7, align 8
%10 = icmp uge i64 %9, 4
br i1 %10, label %11, label %51
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %4, align 8
br label %93
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i64, ptr %20, i64 1
%22 = load i64, ptr %21, align 8
%23 = load i64, ptr %6, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i64, ptr %26, i64 1
store ptr %27, ptr %4, align 8
br label %93
28: ; preds = %19
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i64, ptr %29, i64 2
%31 = load i64, ptr %30, align 8
%32 = load i64, ptr %6, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i64, ptr %35, i64 2
store ptr %36, ptr %4, align 8
br label %93
37: ; preds = %28
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 3
%40 = load i64, ptr %39, align 8
%41 = load i64, ptr %6, align 8
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i64, ptr %44, i64 3
store ptr %45, ptr %4, align 8
br label %93
46: ; preds = %37
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 4
store ptr %48, ptr %5, align 8
%49 = load i64, ptr %7, align 8
%50 = sub i64 %49, 4
store i64 %50, ptr %7, align 8
br label %8, !llvm.loop !6
51: ; preds = %8
%52 = load i64, ptr %7, align 8
%53 = icmp ugt i64 %52, 0
br i1 %53, label %54, label %66
54: ; preds = %51
%55 = load ptr, ptr %5, align 8
%56 = load i64, ptr %55, align 8
%57 = load i64, ptr %6, align 8
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = load ptr, ptr %5, align 8
store ptr %60, ptr %4, align 8
br label %93
61: ; preds = %54
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds i64, ptr %62, i32 1
store ptr %63, ptr %5, align 8
%64 = load i64, ptr %7, align 8
%65 = add i64 %64, -1
store i64 %65, ptr %7, align 8
br label %66
66: ; preds = %61, %51
%67 = load i64, ptr %7, align 8
%68 = icmp ugt i64 %67, 0
br i1 %68, label %69, label %81
69: ; preds = %66
%70 = load ptr, ptr %5, align 8
%71 = load i64, ptr %70, align 8
%72 = load i64, ptr %6, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %76
74: ; preds = %69
%75 = load ptr, ptr %5, align 8
store ptr %75, ptr %4, align 8
br label %93
76: ; preds = %69
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds i64, ptr %77, i32 1
store ptr %78, ptr %5, align 8
%79 = load i64, ptr %7, align 8
%80 = add i64 %79, -1
store i64 %80, ptr %7, align 8
br label %81
81: ; preds = %76, %66
%82 = load i64, ptr %7, align 8
%83 = icmp ugt i64 %82, 0
br i1 %83, label %84, label %92
84: ; preds = %81
%85 = load ptr, ptr %5, align 8
%86 = load i64, ptr %85, align 8
%87 = load i64, ptr %6, align 8
%88 = icmp eq i64 %86, %87
br i1 %88, label %89, label %91
89: ; preds = %84
%90 = load ptr, ptr %5, align 8
store ptr %90, ptr %4, align 8
br label %93
91: ; preds = %84
br label %92
92: ; preds = %91, %81
store ptr null, ptr %4, align 8
br label %93
93: ; preds = %92, %89, %74, %59, %43, %34, %25, %17
%94 = load ptr, ptr %4, align 8
ret ptr %94
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpthzvrrnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wmemchr(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp uge i64 %8, 4
br i1 %9, label %.lr.ph, label %52
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %45
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i64, ptr %11, i64 0
%13 = load i64, ptr %12, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %4, align 8
br label %94
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 1
%21 = load i64, ptr %20, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 1
store ptr %26, ptr %4, align 8
br label %94
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i64, ptr %28, i64 2
%30 = load i64, ptr %29, align 8
%31 = load i64, ptr %6, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i64, ptr %34, i64 2
store ptr %35, ptr %4, align 8
br label %94
36: ; preds = %27
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i64, ptr %37, i64 3
%39 = load i64, ptr %38, align 8
%40 = load i64, ptr %6, align 8
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 3
store ptr %44, ptr %4, align 8
br label %94
45: ; preds = %36
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds i64, ptr %46, i64 4
store ptr %47, ptr %5, align 8
%48 = load i64, ptr %7, align 8
%49 = sub i64 %48, 4
store i64 %49, ptr %7, align 8
%50 = load i64, ptr %7, align 8
%51 = icmp uge i64 %50, 4
br i1 %51, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %52
52: ; preds = %._crit_edge, %3
%53 = load i64, ptr %7, align 8
%54 = icmp ugt i64 %53, 0
br i1 %54, label %55, label %67
55: ; preds = %52
%56 = load ptr, ptr %5, align 8
%57 = load i64, ptr %56, align 8
%58 = load i64, ptr %6, align 8
%59 = icmp eq i64 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %55
%61 = load ptr, ptr %5, align 8
store ptr %61, ptr %4, align 8
br label %94
62: ; preds = %55
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i64, ptr %63, i32 1
store ptr %64, ptr %5, align 8
%65 = load i64, ptr %7, align 8
%66 = add i64 %65, -1
store i64 %66, ptr %7, align 8
br label %67
67: ; preds = %62, %52
%68 = load i64, ptr %7, align 8
%69 = icmp ugt i64 %68, 0
br i1 %69, label %70, label %82
70: ; preds = %67
%71 = load ptr, ptr %5, align 8
%72 = load i64, ptr %71, align 8
%73 = load i64, ptr %6, align 8
%74 = icmp eq i64 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = load ptr, ptr %5, align 8
store ptr %76, ptr %4, align 8
br label %94
77: ; preds = %70
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds i64, ptr %78, i32 1
store ptr %79, ptr %5, align 8
%80 = load i64, ptr %7, align 8
%81 = add i64 %80, -1
store i64 %81, ptr %7, align 8
br label %82
82: ; preds = %77, %67
%83 = load i64, ptr %7, align 8
%84 = icmp ugt i64 %83, 0
br i1 %84, label %85, label %93
85: ; preds = %82
%86 = load ptr, ptr %5, align 8
%87 = load i64, ptr %86, align 8
%88 = load i64, ptr %6, align 8
%89 = icmp eq i64 %87, %88
br i1 %89, label %90, label %92
90: ; preds = %85
%91 = load ptr, ptr %5, align 8
store ptr %91, ptr %4, align 8
br label %94
92: ; preds = %85
br label %93
93: ; preds = %92, %82
store ptr null, ptr %4, align 8
br label %94
94: ; preds = %93, %90, %75, %60, %42, %33, %24, %16
%95 = load ptr, ptr %4, align 8
ret ptr %95
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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_t1qnpk_.c'
source_filename = "/tmp/tmp_t1qnpk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Read half word at 0x%08lx = 0x%04x.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @getreg16(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i16, align 2
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i16, ptr %5, align 2
store i16 %6, ptr %3, align 2
%7 = load i64, ptr %2, align 8
%8 = load i16, ptr %3, align 2
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %7, i16 noundef zeroext %8)
%10 = load i16, ptr %3, align 2
ret i16 %10
}
declare i32 @printf(ptr noundef, i64 noundef, i16 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_t1qnpk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Read half word at 0x%08lx = 0x%04x.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @getreg16(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i16, align 2
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i16, ptr %5, align 2
store i16 %6, ptr %3, align 2
%7 = load i64, ptr %2, align 8
%8 = load i16, ptr %3, align 2
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %7, i16 noundef zeroext %8)
%10 = load i16, ptr %3, align 2
ret i16 %10
}
declare i32 @printf(ptr noundef, i64 noundef, i16 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/tmpxqsgmb2u.c'
source_filename = "/tmp/tmpxqsgmb2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dF1 = [ ...\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"dF1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"; ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"];\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compute_range_bingham_dF1_2d(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %66, %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %69
16: ; preds = %12
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.2)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fflush(i32 noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = fneg double %25
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = fmul double %26, %31
store double %32, ptr %7, align 8
store i32 0, ptr %6, align 4
br label %33
33: ; preds = %61, %16
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %64
37: ; preds = %33
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = fneg double %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = fmul double %43, %48
store double %49, ptr %8, align 8
%50 = load double, ptr %7, align 8
%51 = load double, ptr %8, align 8
%52 = fcmp ole double %50, %51
br i1 %52, label %53, label %57
53: ; preds = %37
%54 = load double, ptr %7, align 8
%55 = load double, ptr %8, align 8
%56 = call double @bingham_dF1_2d(double noundef %54, double noundef %55)
br label %58
57: ; preds = %37
br label %58
58: ; preds = %57, %53
%59 = phi double [ %56, %53 ], [ 0.000000e+00, %57 ]
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %59)
br label %61
61: ; preds = %58
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %33, !llvm.loop !6
64: ; preds = %33
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %66
66: ; preds = %64
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
br label %12, !llvm.loop !8
69: ; preds = %12
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%71 = load i32, ptr @stderr, align 4
%72 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare double @bingham_dF1_2d(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxqsgmb2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dF1 = [ ...\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"dF1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"; ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"];\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compute_range_bingham_dF1_2d(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph2, label %73
.lr.ph2: ; preds = %2
br label %15
15: ; preds = %.lr.ph2, %67
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.2)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fflush(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
%24 = load double, ptr %23, align 8
%25 = fneg double %24
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %26, i64 %28
%30 = load double, ptr %29, align 8
%31 = fmul double %25, %30
store double %31, ptr %7, align 8
store i32 0, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %65
.lr.ph: ; preds = %15
br label %35
35: ; preds = %.lr.ph, %59
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = fneg double %40
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = fmul double %41, %46
store double %47, ptr %8, align 8
%48 = load double, ptr %7, align 8
%49 = load double, ptr %8, align 8
%50 = fcmp ole double %48, %49
br i1 %50, label %51, label %55
51: ; preds = %35
%52 = load double, ptr %7, align 8
%53 = load double, ptr %8, align 8
%54 = call double @bingham_dF1_2d(double noundef %52, double noundef %53)
br label %56
55: ; preds = %35
br label %56
56: ; preds = %55, %51
%57 = phi double [ %54, %51 ], [ 0.000000e+00, %55 ]
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %57)
br label %59
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %15
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %67
67: ; preds = %65
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %5, align 4
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %2
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%75 = load i32, ptr @stderr, align 4
%76 = call i32 @fprintf(i32 noundef %75, ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare double @bingham_dF1_2d(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3fxuapnz.c'
source_filename = "/tmp/tmp3fxuapnz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gt_int16_t(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3fxuapnz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gt_int16_t(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4a69nb47.c'
source_filename = "/tmp/tmp4a69nb47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_Mkdir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4a69nb47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_Mkdir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqnbr9_bj.c'
source_filename = "/tmp/tmpqnbr9_bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Usage: nacl [-v?] target.so\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)
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/tmpqnbr9_bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Usage: nacl [-v?] target.so\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)
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/tmpesdp_l6g.c'
source_filename = "/tmp/tmpesdp_l6g.c"
target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr }
@__const.main.path = private unnamed_addr constant [20 x i8] c"/sys/bus/w1/devices\00", align 16
@DT_LNK = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"28-\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Device: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Couldn't open the w1 devices directory\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s/%s/w1_slave\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i8] c"Couldn't open the w1 device.\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"t=\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0A\00\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"[Time: %s] \00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"Device: %s - \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"Temp: %.3f C \00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"%.3f F\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 [16 x i8], align 16
%5 = alloca [128 x i8], align 16
%6 = alloca [256 x i8], align 16
%7 = alloca [6 x i8], align 1
%8 = alloca [20 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca float, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.path, i64 20, i1 false)
%14 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%15 = call ptr @opendir(ptr noundef %14)
store ptr %15, ptr %2, align 8
%16 = load ptr, ptr %2, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %47
18: ; preds = %0
br label %19
19: ; preds = %43, %18
%20 = load ptr, ptr %2, align 8
%21 = call ptr @readdir(ptr noundef %20)
store ptr %21, ptr %3, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %44
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0
%26 = load i64, ptr %25, align 8
%27 = load i64, ptr @DT_LNK, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %43
29: ; preds = %23
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.dirent, ptr %30, i32 0, i32 1
%32 = load ptr, ptr %31, align 8
%33 = call ptr @strstr(ptr noundef %32, ptr noundef @.str)
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %43
35: ; preds = %29
%36 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 1
%39 = load ptr, ptr %38, align 8
%40 = call i32 @strcpy(ptr noundef %36, ptr noundef %39)
%41 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %41)
br label %43
43: ; preds = %35, %29, %23
br label %19, !llvm.loop !6
44: ; preds = %19
%45 = load ptr, ptr %2, align 8
%46 = call i32 @closedir(ptr noundef %45)
br label %49
47: ; preds = %0
%48 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %98
49: ; preds = %44
%50 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%51 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%52 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%53 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.3, ptr noundef %51, ptr noundef %52)
br label %54
54: ; preds = %49, %95
%55 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%56 = load i32, ptr @O_RDONLY, align 4
%57 = call i32 @open(ptr noundef %55, i32 noundef %56)
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %98
62: ; preds = %54
br label %63
63: ; preds = %68, %62
%64 = load i32, ptr %12, align 4
%65 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%66 = call i32 @read(i32 noundef %64, ptr noundef %65, i32 noundef 256)
store i32 %66, ptr %9, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %95
68: ; preds = %63
%69 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%70 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.5)
%72 = getelementptr inbounds i32, ptr %71, i64 2
%73 = call i32 @strncpy(ptr noundef %69, ptr noundef %72, i32 noundef 5)
%74 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%75 = call float @strtof(ptr noundef %74, ptr noundef null)
store float %75, ptr %13, align 4
%76 = call i32 @time(ptr noundef null)
store i32 %76, ptr %10, align 4
%77 = call ptr @ctime(ptr noundef %10)
store ptr %77, ptr %11, align 8
%78 = load ptr, ptr %11, align 8
%79 = call i32 @strtok(ptr noundef %78, ptr noundef @.str.6)
%80 = load ptr, ptr %11, align 8
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %80)
%82 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %82)
%84 = load float, ptr %13, align 4
%85 = fdiv float %84, 1.000000e+03
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %86)
%88 = load float, ptr %13, align 4
%89 = fdiv float %88, 1.000000e+03
%90 = fmul float %89, 9.000000e+00
%91 = fdiv float %90, 5.000000e+00
%92 = fadd float %91, 3.200000e+01
%93 = fpext float %92 to double
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %93)
br label %63, !llvm.loop !8
95: ; preds = %63
%96 = load i32, ptr %12, align 4
%97 = call i32 @close(i32 noundef %96)
br label %54
98: ; preds = %60, %47
%99 = load i32, ptr %1, align 4
ret i32 %99
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare ptr @strstr(ptr noundef, ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @closedir(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare float @strtof(ptr noundef, ptr noundef) #2
declare i32 @time(ptr noundef) #2
declare ptr @ctime(ptr noundef) #2
declare i32 @strtok(ptr noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpesdp_l6g.c"
target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr }
@__const.main.path = private unnamed_addr constant [20 x i8] c"/sys/bus/w1/devices\00", align 16
@DT_LNK = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"28-\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Device: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Couldn't open the w1 devices directory\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s/%s/w1_slave\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i8] c"Couldn't open the w1 device.\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"t=\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0A\00\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"[Time: %s] \00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"Device: %s - \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"Temp: %.3f C \00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"%.3f F\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 [16 x i8], align 16
%5 = alloca [128 x i8], align 16
%6 = alloca [256 x i8], align 16
%7 = alloca [6 x i8], align 1
%8 = alloca [20 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca float, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.path, i64 20, i1 false)
%14 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%15 = call ptr @opendir(ptr noundef %14)
store ptr %15, ptr %2, align 8
%16 = load ptr, ptr %2, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %49
18: ; preds = %0
%19 = load ptr, ptr %2, align 8
%20 = call ptr @readdir(ptr noundef %19)
store ptr %20, ptr %3, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %.lr.ph, label %46
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %42
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = load i64, ptr @DT_LNK, align 8
%27 = icmp eq i64 %25, %26
br i1 %27, label %28, label %42
28: ; preds = %22
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call ptr @strstr(ptr noundef %31, ptr noundef @.str)
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %42
34: ; preds = %28
%35 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @strcpy(ptr noundef %35, ptr noundef %38)
%40 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %40)
br label %42
42: ; preds = %34, %28, %22
%43 = load ptr, ptr %2, align 8
%44 = call ptr @readdir(ptr noundef %43)
store ptr %44, ptr %3, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %46
46: ; preds = %._crit_edge, %18
%47 = load ptr, ptr %2, align 8
%48 = call i32 @closedir(ptr noundef %47)
br label %51
49: ; preds = %0
%50 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %105
51: ; preds = %46
%52 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%53 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%54 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%55 = call i32 @sprintf(ptr noundef %52, ptr noundef @.str.3, ptr noundef %53, ptr noundef %54)
%56 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%57 = load i32, ptr @O_RDONLY, align 4
%58 = call i32 @open(ptr noundef %56, i32 noundef %57)
store i32 %58, ptr %12, align 4
%59 = load i32, ptr %12, align 4
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %.lr.ph5
.lr.ph5: ; preds = %51
br label %63
._crit_edge6: ; preds = %98
br label %61
61: ; preds = %._crit_edge6, %51
%62 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %105
63: ; preds = %.lr.ph5, %98
%64 = load i32, ptr %12, align 4
%65 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%66 = call i32 @read(i32 noundef %64, ptr noundef %65, i32 noundef 256)
store i32 %66, ptr %9, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %.lr.ph2, label %98
.lr.ph2: ; preds = %63
br label %68
68: ; preds = %.lr.ph2, %68
%69 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%70 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.5)
%72 = getelementptr inbounds i32, ptr %71, i64 2
%73 = call i32 @strncpy(ptr noundef %69, ptr noundef %72, i32 noundef 5)
%74 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%75 = call float @strtof(ptr noundef %74, ptr noundef null)
store float %75, ptr %13, align 4
%76 = call i32 @time(ptr noundef null)
store i32 %76, ptr %10, align 4
%77 = call ptr @ctime(ptr noundef %10)
store ptr %77, ptr %11, align 8
%78 = load ptr, ptr %11, align 8
%79 = call i32 @strtok(ptr noundef %78, ptr noundef @.str.6)
%80 = load ptr, ptr %11, align 8
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %80)
%82 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %82)
%84 = load float, ptr %13, align 4
%85 = fdiv float %84, 1.000000e+03
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %86)
%88 = load float, ptr %13, align 4
%89 = fdiv float %88, 1.000000e+03
%90 = fmul float %89, 9.000000e+00
%91 = fdiv float %90, 5.000000e+00
%92 = fadd float %91, 3.200000e+01
%93 = fpext float %92 to double
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %93)
%95 = load i32, ptr %12, align 4
%96 = call i32 @read(i32 noundef %95, ptr noundef %65, i32 noundef 256)
store i32 %96, ptr %9, align 4
%97 = icmp sgt i32 %96, 0
br i1 %97, label %68, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %98
98: ; preds = %._crit_edge3, %63
%99 = load i32, ptr %12, align 4
%100 = call i32 @close(i32 noundef %99)
%101 = load i32, ptr @O_RDONLY, align 4
%102 = call i32 @open(ptr noundef %56, i32 noundef %101)
store i32 %102, ptr %12, align 4
%103 = load i32, ptr %12, align 4
%104 = icmp eq i32 %103, -1
br i1 %104, label %._crit_edge6, label %63
105: ; preds = %61, %49
%106 = load i32, ptr %1, align 4
ret i32 %106
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare ptr @strstr(ptr noundef, ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @closedir(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare float @strtof(ptr noundef, ptr noundef) #2
declare i32 @time(ptr noundef) #2
declare ptr @ctime(ptr noundef) #2
declare i32 @strtok(ptr noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuwhvay_z.c'
source_filename = "/tmp/tmpuwhvay_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuwhvay_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp92y6c313.c'
source_filename = "/tmp/tmp92y6c313.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/gpH0\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\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 @led_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = 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
store i32 0, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 50, i1 false)
%7 = call i32 @open_dev(ptr noundef @.str)
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @read(i32 noundef %8, ptr noundef %1, i32 noundef 4)
%10 = load i32, ptr %1, align 4
%11 = and i32 %10, 14
switch i32 %11, label %20 [
i32 14, label %12
i32 12, label %13
i32 10, label %14
i32 8, label %15
i32 6, label %16
i32 4, label %17
i32 2, label %18
i32 0, label %19
]
12: ; preds = %0
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
13: ; preds = %0
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
14: ; preds = %0
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
15: ; preds = %0
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
16: ; preds = %0
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
17: ; preds = %0
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
18: ; preds = %0
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
19: ; preds = %0
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
20: ; preds = %0
br label %21
21: ; preds = %20, %19, %18, %17, %16, %15, %14, %13, %12
%22 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @atoi(ptr noundef %29)
ret i32 %30
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open_dev(ptr noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @atoi(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp92y6c313.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/gpH0\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\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 @led_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = 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
store i32 0, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 50, i1 false)
%7 = call i32 @open_dev(ptr noundef @.str)
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @read(i32 noundef %8, ptr noundef %1, i32 noundef 4)
%10 = load i32, ptr %1, align 4
%11 = and i32 %10, 14
switch i32 %11, label %20 [
i32 14, label %12
i32 12, label %13
i32 10, label %14
i32 8, label %15
i32 6, label %16
i32 4, label %17
i32 2, label %18
i32 0, label %19
]
12: ; preds = %0
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
13: ; preds = %0
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
14: ; preds = %0
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
15: ; preds = %0
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %21
16: ; preds = %0
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
17: ; preds = %0
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
18: ; preds = %0
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
19: ; preds = %0
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
20: ; preds = %0
br label %21
21: ; preds = %20, %19, %18, %17, %16, %15, %14, %13, %12
%22 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @atoi(ptr noundef %29)
ret i32 %30
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open_dev(ptr noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @atoi(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvudaai6z.c'
source_filename = "/tmp/tmpvudaai6z.c"
target datalayout = "e-m:e-p270: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.testAddTowNumber.input1 = private unnamed_addr constant [2 x i32] [i32 5, i32 -1], align 4
@__const.testAddTowNumber.input2 = private unnamed_addr constant [2 x i32] [i32 5, i32 -1], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testAddTowNumber() #0 {
%1 = alloca [2 x i32], align 4
%2 = alloca [2 x i32], align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.testAddTowNumber.input1, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.testAddTowNumber.input2, i64 8, i1 false)
%6 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0
%7 = call ptr @createByArray(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%9 = call ptr @createByArray(ptr noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @showListNode(ptr noundef %10)
%12 = call i32 @putchar(i8 noundef signext 10)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @showListNode(ptr noundef %13)
%15 = call i32 @putchar(i8 noundef signext 10)
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @addTwoNumbers(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @showListNode(ptr noundef %19)
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 ptr @createByArray(ptr noundef) #2
declare i32 @showListNode(ptr noundef) #2
declare i32 @putchar(i8 noundef signext) #2
declare ptr @addTwoNumbers(ptr 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/tmpvudaai6z.c"
target datalayout = "e-m:e-p270: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.testAddTowNumber.input1 = private unnamed_addr constant [2 x i32] [i32 5, i32 -1], align 4
@__const.testAddTowNumber.input2 = private unnamed_addr constant [2 x i32] [i32 5, i32 -1], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testAddTowNumber() #0 {
%1 = alloca [2 x i32], align 4
%2 = alloca [2 x i32], align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.testAddTowNumber.input1, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.testAddTowNumber.input2, i64 8, i1 false)
%6 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0
%7 = call ptr @createByArray(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%9 = call ptr @createByArray(ptr noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @showListNode(ptr noundef %10)
%12 = call i32 @putchar(i8 noundef signext 10)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @showListNode(ptr noundef %13)
%15 = call i32 @putchar(i8 noundef signext 10)
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @addTwoNumbers(ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @showListNode(ptr noundef %19)
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 ptr @createByArray(ptr noundef) #2
declare i32 @showListNode(ptr noundef) #2
declare i32 @putchar(i8 noundef signext) #2
declare ptr @addTwoNumbers(ptr 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/tmpjyaspjsx.c'
source_filename = "/tmp/tmpjyaspjsx.c"
target datalayout = "e-m:e-p270: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/tmpjyaspjsx.c"
target datalayout = "e-m:e-p270: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/tmpprahltm4.c'
source_filename = "/tmp/tmpprahltm4.c"
target datalayout = "e-m:e-p270: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/tmpprahltm4.c"
target datalayout = "e-m:e-p270: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/tmp9yr1gltl.c'
source_filename = "/tmp/tmp9yr1gltl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_prime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 2, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @sqrt(i64 noundef %6)
store i64 %7, ptr %5, align 8
br label %8
8: ; preds = %18, %1
%9 = load i64, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp ule i64 %9, %10
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = load i64, ptr %3, align 8
%14 = load i64, ptr %4, align 8
%15 = urem i64 %13, %14
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 0, ptr %2, align 4
br label %22
18: ; preds = %12
%19 = load i64, ptr %4, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %4, align 8
br label %8, !llvm.loop !6
21: ; preds = %8
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %17
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i64 @sqrt(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/tmp9yr1gltl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_prime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 2, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @sqrt(i64 noundef %6)
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp ule i64 %8, %9
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %17
%12 = load i64, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = urem i64 %12, %13
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %2, align 4
br label %24
17: ; preds = %11
%18 = load i64, ptr %4, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = icmp ule i64 %20, %21
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %24
24: ; preds = %23, %16
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @sqrt(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/tmpq1jcp0mk.c'
source_filename = "/tmp/tmpq1jcp0mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eigen_2x2_real(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%19 = load double, ptr %12, align 8
%20 = fcmp oeq double %19, 0.000000e+00
br i1 %20, label %21, label %22
21: ; preds = %8
store i32 -1, ptr %9, align 4
br label %78
22: ; preds = %8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %10, align 8
%25 = load double, ptr %11, align 8
%26 = fmul double 4.000000e+00, %25
%27 = load double, ptr %12, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %23, double %24, double %28)
%30 = load double, ptr %10, align 8
%31 = fmul double 2.000000e+00, %30
%32 = load double, ptr %13, align 8
%33 = fneg double %31
%34 = call double @llvm.fmuladd.f64(double %33, double %32, double %29)
%35 = load double, ptr %13, align 8
%36 = load double, ptr %13, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double %34)
store double %37, ptr %18, align 8
%38 = load double, ptr %18, align 8
%39 = fcmp olt double %38, 0.000000e+00
br i1 %39, label %40, label %41
40: ; preds = %22
store i32 -2, ptr %9, align 4
br label %78
41: ; preds = %22
%42 = load double, ptr %18, align 8
%43 = call double @sqrt(double noundef %42) #3
store double %43, ptr %18, align 8
%44 = load double, ptr %10, align 8
%45 = load double, ptr %13, align 8
%46 = fadd double %44, %45
%47 = load double, ptr %18, align 8
%48 = fsub double %46, %47
%49 = fmul double 5.000000e-01, %48
%50 = load ptr, ptr %14, align 8
store double %49, ptr %50, align 8
%51 = load double, ptr %10, align 8
%52 = load double, ptr %13, align 8
%53 = fadd double %51, %52
%54 = load double, ptr %18, align 8
%55 = fadd double %53, %54
%56 = fmul double 5.000000e-01, %55
%57 = load ptr, ptr %16, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %10, align 8
%59 = fneg double %58
%60 = load double, ptr %13, align 8
%61 = fadd double %59, %60
%62 = load double, ptr %18, align 8
%63 = fadd double %61, %62
%64 = load double, ptr %12, align 8
%65 = fmul double -2.000000e+00, %64
%66 = fdiv double %63, %65
%67 = load ptr, ptr %15, align 8
store double %66, ptr %67, align 8
%68 = load double, ptr %10, align 8
%69 = fneg double %68
%70 = load double, ptr %13, align 8
%71 = fadd double %69, %70
%72 = load double, ptr %18, align 8
%73 = fsub double %71, %72
%74 = load double, ptr %12, align 8
%75 = fmul double -2.000000e+00, %74
%76 = fdiv double %73, %75
%77 = load ptr, ptr %17, align 8
store double %76, ptr %77, align 8
store i32 0, ptr %9, align 4
br label %78
78: ; preds = %41, %40, %21
%79 = load i32, ptr %9, align 4
ret i32 %79
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpq1jcp0mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eigen_2x2_real(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%19 = load double, ptr %12, align 8
%20 = fcmp oeq double %19, 0.000000e+00
br i1 %20, label %21, label %22
21: ; preds = %8
store i32 -1, ptr %9, align 4
br label %78
22: ; preds = %8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %10, align 8
%25 = load double, ptr %11, align 8
%26 = fmul double 4.000000e+00, %25
%27 = load double, ptr %12, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %23, double %24, double %28)
%30 = load double, ptr %10, align 8
%31 = fmul double 2.000000e+00, %30
%32 = load double, ptr %13, align 8
%33 = fneg double %31
%34 = call double @llvm.fmuladd.f64(double %33, double %32, double %29)
%35 = load double, ptr %13, align 8
%36 = load double, ptr %13, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double %34)
store double %37, ptr %18, align 8
%38 = load double, ptr %18, align 8
%39 = fcmp olt double %38, 0.000000e+00
br i1 %39, label %40, label %41
40: ; preds = %22
store i32 -2, ptr %9, align 4
br label %78
41: ; preds = %22
%42 = load double, ptr %18, align 8
%43 = call double @sqrt(double noundef %42) #3
store double %43, ptr %18, align 8
%44 = load double, ptr %10, align 8
%45 = load double, ptr %13, align 8
%46 = fadd double %44, %45
%47 = load double, ptr %18, align 8
%48 = fsub double %46, %47
%49 = fmul double 5.000000e-01, %48
%50 = load ptr, ptr %14, align 8
store double %49, ptr %50, align 8
%51 = load double, ptr %10, align 8
%52 = load double, ptr %13, align 8
%53 = fadd double %51, %52
%54 = load double, ptr %18, align 8
%55 = fadd double %53, %54
%56 = fmul double 5.000000e-01, %55
%57 = load ptr, ptr %16, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %10, align 8
%59 = fneg double %58
%60 = load double, ptr %13, align 8
%61 = fadd double %59, %60
%62 = load double, ptr %18, align 8
%63 = fadd double %61, %62
%64 = load double, ptr %12, align 8
%65 = fmul double -2.000000e+00, %64
%66 = fdiv double %63, %65
%67 = load ptr, ptr %15, align 8
store double %66, ptr %67, align 8
%68 = load double, ptr %10, align 8
%69 = fneg double %68
%70 = load double, ptr %13, align 8
%71 = fadd double %69, %70
%72 = load double, ptr %18, align 8
%73 = fsub double %71, %72
%74 = load double, ptr %12, align 8
%75 = fmul double -2.000000e+00, %74
%76 = fdiv double %73, %75
%77 = load ptr, ptr %17, align 8
store double %76, ptr %77, align 8
store i32 0, ptr %9, align 4
br label %78
78: ; preds = %41, %40, %21
%79 = load i32, ptr %9, align 4
ret i32 %79
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmprxy59t9u.c'
source_filename = "/tmp/tmprxy59t9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"prefix\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"message\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c":prefix type message\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [55 x i8] c"test_irc_raw: msg should be ':prefix type message\\r\\n'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irc_raw() #0 {
%1 = alloca [513 x i8], align 16
%2 = call i32 @irc_raw(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%3 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @read_mock(ptr noundef %3)
br label %5
5: ; preds = %0
%6 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.3)
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = call i32 @mu_fail(ptr noundef @.str.4)
br label %12
11: ; preds = %5
br label %12
12: ; preds = %9, %11
ret void
}
declare i32 @irc_raw(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read_mock(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @mu_fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxy59t9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"prefix\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"message\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c":prefix type message\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [55 x i8] c"test_irc_raw: msg should be ':prefix type message\\r\\n'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irc_raw() #0 {
%1 = alloca [513 x i8], align 16
%2 = call i32 @irc_raw(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%3 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @read_mock(ptr noundef %3)
br label %5
5: ; preds = %0
%6 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.3)
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = call i32 @mu_fail(ptr noundef @.str.4)
br label %12
11: ; preds = %5
br label %12
12: ; preds = %11, %9
ret void
}
declare i32 @irc_raw(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read_mock(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @mu_fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbj_3pjuo.c'
source_filename = "/tmp/tmpbj_3pjuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c":%2x%4x%2x\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hexfile_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 7, ptr %11, align 4
store i64 0, ptr %14, align 8
store i32 0, ptr %15, align 4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %8, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %10, ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %15, align 4
%20 = load i32, ptr %10, align 4
%21 = zext i32 %20 to i64
%22 = load i64, ptr %14, align 8
%23 = add nsw i64 %22, %21
store i64 %23, ptr %14, align 8
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %24, align 4
%26 = lshr i32 %25, 8
%27 = zext i32 %26 to i64
%28 = load i64, ptr %14, align 8
%29 = add nsw i64 %28, %27
store i64 %29, ptr %14, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 255
%33 = zext i32 %32 to i64
%34 = load i64, ptr %14, align 8
%35 = add nsw i64 %34, %33
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %36, align 4
%38 = zext i32 %37 to i64
%39 = load i64, ptr %14, align 8
%40 = add nsw i64 %39, %38
store i64 %40, ptr %14, align 8
store i32 0, ptr %12, align 4
%41 = load i32, ptr %15, align 4
%42 = icmp eq i32 %41, 3
br i1 %42, label %43, label %88
43: ; preds = %4
br label %44
44: ; preds = %70, %43
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp ult i32 %45, %46
br i1 %47, label %48, label %71
48: ; preds = %44
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %11, align 4
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %52, ptr noundef @.str.1, ptr noundef %13)
%54 = icmp eq i32 %53, 1
br i1 %54, label %55, label %69
55: ; preds = %48
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = load i64, ptr %14, align 8
%59 = add nsw i64 %58, %57
store i64 %59, ptr %14, align 8
%60 = load i32, ptr %13, align 4
%61 = trunc i32 %60 to i8
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %12, align 4
%64 = add i32 %63, 1
store i32 %64, ptr %12, align 4
%65 = zext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
store i8 %61, ptr %66, align 1
%67 = load i32, ptr %11, align 4
%68 = add i32 %67, 2
store i32 %68, ptr %11, align 4
br label %70
69: ; preds = %48
store i32 -1, ptr %5, align 4
br label %89
70: ; preds = %55
br label %44, !llvm.loop !6
71: ; preds = %44
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %11, align 4
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %75, ptr noundef @.str.1, ptr noundef %13)
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %87
78: ; preds = %71
%79 = load i64, ptr %14, align 8
%80 = load i32, ptr %13, align 4
%81 = sext i32 %80 to i64
%82 = add nsw i64 %79, %81
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %78
%85 = load i32, ptr %10, align 4
store i32 %85, ptr %5, align 4
br label %89
86: ; preds = %78
br label %87
87: ; preds = %86, %71
br label %88
88: ; preds = %87, %4
store i32 -1, ptr %5, align 4
br label %89
89: ; preds = %88, %84, %69
%90 = load i32, ptr %5, align 4
ret i32 %90
}
declare i32 @sscanf(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/tmpbj_3pjuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c":%2x%4x%2x\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hexfile_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 7, ptr %11, align 4
store i64 0, ptr %14, align 8
store i32 0, ptr %15, align 4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %8, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %10, ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %15, align 4
%20 = load i32, ptr %10, align 4
%21 = zext i32 %20 to i64
%22 = load i64, ptr %14, align 8
%23 = add nsw i64 %22, %21
store i64 %23, ptr %14, align 8
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %24, align 4
%26 = lshr i32 %25, 8
%27 = zext i32 %26 to i64
%28 = load i64, ptr %14, align 8
%29 = add nsw i64 %28, %27
store i64 %29, ptr %14, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 255
%33 = zext i32 %32 to i64
%34 = load i64, ptr %14, align 8
%35 = add nsw i64 %34, %33
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %36, align 4
%38 = zext i32 %37 to i64
%39 = load i64, ptr %14, align 8
%40 = add nsw i64 %39, %38
store i64 %40, ptr %14, align 8
store i32 0, ptr %12, align 4
%41 = load i32, ptr %15, align 4
%42 = icmp eq i32 %41, 3
br i1 %42, label %43, label %90
43: ; preds = %4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp ult i32 %44, %45
br i1 %46, label %.lr.ph, label %73
.lr.ph: ; preds = %43
br label %47
47: ; preds = %.lr.ph, %69
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %11, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %51, ptr noundef @.str.1, ptr noundef %13)
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %68
54: ; preds = %47
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = load i64, ptr %14, align 8
%58 = add nsw i64 %57, %56
store i64 %58, ptr %14, align 8
%59 = load i32, ptr %13, align 4
%60 = trunc i32 %59 to i8
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %12, align 4
%63 = add i32 %62, 1
store i32 %63, ptr %12, align 4
%64 = zext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
store i8 %60, ptr %65, align 1
%66 = load i32, ptr %11, align 4
%67 = add i32 %66, 2
store i32 %67, ptr %11, align 4
br label %69
68: ; preds = %47
store i32 -1, ptr %5, align 4
br label %91
69: ; preds = %54
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %10, align 4
%72 = icmp ult i32 %70, %71
br i1 %72, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %73
73: ; preds = %._crit_edge, %43
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %11, align 4
%76 = zext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %77, ptr noundef @.str.1, ptr noundef %13)
%79 = icmp eq i32 %78, 1
br i1 %79, label %80, label %89
80: ; preds = %73
%81 = load i64, ptr %14, align 8
%82 = load i32, ptr %13, align 4
%83 = sext i32 %82 to i64
%84 = add nsw i64 %81, %83
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %80
%87 = load i32, ptr %10, align 4
store i32 %87, ptr %5, align 4
br label %91
88: ; preds = %80
br label %89
89: ; preds = %88, %73
br label %90
90: ; preds = %89, %4
store i32 -1, ptr %5, align 4
br label %91
91: ; preds = %90, %86, %68
%92 = load i32, ptr %5, align 4
ret i32 %92
}
declare i32 @sscanf(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/tmpf4frtosi.c'
source_filename = "/tmp/tmpf4frtosi.c"
target datalayout = "e-m:e-p270: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_LN10 = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @log10f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @logf(float noundef %3) #2
%5 = load float, ptr @M_LN10, align 4
%6 = fdiv float %4, %5
ret float %6
}
; Function Attrs: nounwind
declare float @logf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf4frtosi.c"
target datalayout = "e-m:e-p270: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_LN10 = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @log10f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @logf(float noundef %3) #2
%5 = load float, ptr @M_LN10, align 4
%6 = fdiv float %4, %5
ret float %6
}
; Function Attrs: nounwind
declare float @logf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpko1yu05s.c'
source_filename = "/tmp/tmpko1yu05s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"uid=%d gid=%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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @geteuid()
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @getegid()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @geteuid(...) #1
declare i32 @getegid(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpko1yu05s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"uid=%d gid=%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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @geteuid()
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @getegid()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @geteuid(...) #1
declare i32 @getegid(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxr9d0njf.c'
source_filename = "/tmp/tmpxr9d0njf.c"
target datalayout = "e-m:e-p270: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 [88 x i8] c"usage: jerasure_04 k w - Performs the analogous bit-matrix operations to jerasure_03.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c" It converts the matrix to a kw*kw bit matrix and does the same operations.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c" k must be < 2^w.\0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"This demonstrates: jerasure_print_bitmatrix()\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" jerasure_matrix_to_bitmatrix()\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c" jerasure_invertible_bitmatrix()\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c" jerasure_invert_bitmatrix()\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c" jerasure_matrix_multiply().\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.3)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.4)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.5)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.6)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.7)
%19 = load ptr, ptr %2, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %1
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr %2, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8, ptr noundef %23)
br label %25
25: ; preds = %21, %1
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxr9d0njf.c"
target datalayout = "e-m:e-p270: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 [88 x i8] c"usage: jerasure_04 k w - Performs the analogous bit-matrix operations to jerasure_03.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c" It converts the matrix to a kw*kw bit matrix and does the same operations.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c" k must be < 2^w.\0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"This demonstrates: jerasure_print_bitmatrix()\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" jerasure_matrix_to_bitmatrix()\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c" jerasure_invertible_bitmatrix()\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c" jerasure_invert_bitmatrix()\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c" jerasure_matrix_multiply().\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.3)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.4)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.5)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.6)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.7)
%19 = load ptr, ptr %2, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %1
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr %2, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8, ptr noundef %23)
br label %25
25: ; preds = %21, %1
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppp4oygqr.c'
source_filename = "/tmp/tmppp4oygqr.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [13 x i32] [i32 65, i32 84, i32 95, i32 75, i32 82, i32 79, i32 82, i32 72, i32 84, i32 94, i32 86, i32 90, i32 84], align 16
@.str = private unnamed_addr constant [13 x i8] c"Mode is %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 [13 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.array, i64 52, i1 false)
store i32 13, ptr %7, align 4
%8 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 0
%9 = load i32, ptr %7, align 4
%10 = call i32 @mode(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @mode(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/tmppp4oygqr.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [13 x i32] [i32 65, i32 84, i32 95, i32 75, i32 82, i32 79, i32 82, i32 72, i32 84, i32 94, i32 86, i32 90, i32 84], align 16
@.str = private unnamed_addr constant [13 x i8] c"Mode is %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 [13 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.array, i64 52, i1 false)
store i32 13, ptr %7, align 4
%8 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 0
%9 = load i32, ptr %7, align 4
%10 = call i32 @mode(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @mode(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/tmpfcof7put.c'
source_filename = "/tmp/tmpfcof7put.c"
target datalayout = "e-m:e-p270: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/tmpfcof7put.c"
target datalayout = "e-m:e-p270: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/tmpgyav6up7.c'
source_filename = "/tmp/tmpgyav6up7.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(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/tmpgyav6up7.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(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/tmpvhym4wks.c'
source_filename = "/tmp/tmpvhym4wks.c"
target datalayout = "e-m:e-p270: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/tmpvhym4wks.c"
target datalayout = "e-m:e-p270: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/tmpf2kqp1el.c'
source_filename = "/tmp/tmpf2kqp1el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"TEST_ws_get_uri\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @TEST_ws_get_uri(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 = call i32 @libws_test_HEADLINE(ptr noundef @.str)
ret i32 0
}
declare i32 @libws_test_HEADLINE(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf2kqp1el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"TEST_ws_get_uri\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @TEST_ws_get_uri(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 = call i32 @libws_test_HEADLINE(ptr noundef @.str)
ret i32 0
}
declare i32 @libws_test_HEADLINE(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_qym7zcw.c'
source_filename = "/tmp/tmp_qym7zcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"\0A Cor vermelha, R:%.2f Vertice:%d <---->\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c" Cor Verde, G:%.2f Vertice:%d <---->\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c" Cor Azul, B:%.2f Vertice:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculaCor(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sge i32 %14, 360
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %17, 360
store i32 %18, ptr %8, align 4
br label %21
19: ; preds = %3
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %19, %16
%22 = load i32, ptr %8, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %54
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 120
br i1 %26, label %27, label %54
27: ; preds = %24
%28 = load i32, ptr %5, align 4
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 1, %30
%32 = mul nsw i32 %29, %31
store i32 %32, ptr %13, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = sitofp i32 %35 to double
%37 = call i32 @getRadiano(double noundef %36)
%38 = call i32 @cos(i32 noundef %37)
%39 = mul nsw i32 %34, %38
%40 = load i32, ptr %8, align 4
%41 = sitofp i32 %40 to double
%42 = fsub double 6.000000e+01, %41
%43 = call i32 @getRadiano(double noundef %42)
%44 = call i32 @cos(i32 noundef %43)
%45 = sdiv i32 %39, %44
%46 = add nsw i32 1, %45
%47 = mul nsw i32 %33, %46
store i32 %47, ptr %11, align 4
%48 = load i32, ptr %9, align 4
%49 = mul nsw i32 3, %48
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %13, align 4
%52 = add nsw i32 %50, %51
%53 = sub nsw i32 %49, %52
store i32 %53, ptr %12, align 4
br label %121
54: ; preds = %24, %21
%55 = load i32, ptr %8, align 4
%56 = icmp sge i32 %55, 120
br i1 %56, label %57, label %88
57: ; preds = %54
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %58, 240
br i1 %59, label %60, label %88
60: ; preds = %57
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, 120
store i32 %62, ptr %8, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %10, align 4
%65 = sub nsw i32 1, %64
%66 = mul nsw i32 %63, %65
store i32 %66, ptr %11, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %8, align 4
%70 = sitofp i32 %69 to double
%71 = call i32 @getRadiano(double noundef %70)
%72 = call i32 @cos(i32 noundef %71)
%73 = mul nsw i32 %68, %72
%74 = load i32, ptr %8, align 4
%75 = sitofp i32 %74 to double
%76 = fsub double 6.000000e+01, %75
%77 = call i32 @getRadiano(double noundef %76)
%78 = call i32 @cos(i32 noundef %77)
%79 = sdiv i32 %73, %78
%80 = add nsw i32 1, %79
%81 = mul nsw i32 %67, %80
store i32 %81, ptr %12, align 4
%82 = load i32, ptr %9, align 4
%83 = mul nsw i32 3, %82
%84 = load i32, ptr %11, align 4
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %84, %85
%87 = sub nsw i32 %83, %86
store i32 %87, ptr %13, align 4
br label %120
88: ; preds = %57, %54
%89 = load i32, ptr %8, align 4
%90 = icmp sge i32 %89, 240
br i1 %90, label %91, label %119
91: ; preds = %88
%92 = load i32, ptr %5, align 4
%93 = sub nsw i32 %92, 240
store i32 %93, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = load i32, ptr %10, align 4
%96 = sub nsw i32 1, %95
%97 = mul nsw i32 %94, %96
store i32 %97, ptr %12, align 4
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %8, align 4
%101 = sitofp i32 %100 to double
%102 = call i32 @getRadiano(double noundef %101)
%103 = call i32 @cos(i32 noundef %102)
%104 = mul nsw i32 %99, %103
%105 = load i32, ptr %8, align 4
%106 = sitofp i32 %105 to double
%107 = fsub double 6.000000e+01, %106
%108 = call i32 @getRadiano(double noundef %107)
%109 = call i32 @cos(i32 noundef %108)
%110 = sdiv i32 %104, %109
%111 = add nsw i32 1, %110
%112 = mul nsw i32 %98, %111
store i32 %112, ptr %13, align 4
%113 = load i32, ptr %9, align 4
%114 = mul nsw i32 3, %113
%115 = load i32, ptr %13, align 4
%116 = load i32, ptr %12, align 4
%117 = add nsw i32 %115, %116
%118 = sub nsw i32 %114, %117
store i32 %118, ptr %11, align 4
br label %119
119: ; preds = %91, %88
br label %120
120: ; preds = %119, %60
br label %121
121: ; preds = %120, %27
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, 1
br i1 %123, label %124, label %129
124: ; preds = %121
%125 = load i32, ptr %11, align 4
%126 = load i32, ptr %7, align 4
%127 = call i32 @printf(ptr noundef @.str, i32 noundef %125, i32 noundef %126)
%128 = load i32, ptr %11, align 4
store i32 %128, ptr %4, align 4
br label %142
129: ; preds = %121
%130 = load i32, ptr %6, align 4
%131 = icmp eq i32 %130, 2
br i1 %131, label %132, label %137
132: ; preds = %129
%133 = load i32, ptr %11, align 4
%134 = load i32, ptr %7, align 4
%135 = call i32 @printf(ptr noundef @.str.1, i32 noundef %133, i32 noundef %134)
%136 = load i32, ptr %12, align 4
store i32 %136, ptr %4, align 4
br label %142
137: ; preds = %129
%138 = load i32, ptr %11, align 4
%139 = load i32, ptr %7, align 4
%140 = call i32 @printf(ptr noundef @.str.2, i32 noundef %138, i32 noundef %139)
%141 = load i32, ptr %13, align 4
store i32 %141, ptr %4, align 4
br label %142
142: ; preds = %137, %132, %124
%143 = load i32, ptr %4, align 4
ret i32 %143
}
declare i32 @cos(i32 noundef) #1
declare i32 @getRadiano(double noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_qym7zcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"\0A Cor vermelha, R:%.2f Vertice:%d <---->\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c" Cor Verde, G:%.2f Vertice:%d <---->\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c" Cor Azul, B:%.2f Vertice:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculaCor(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sge i32 %14, 360
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %17, 360
store i32 %18, ptr %8, align 4
br label %21
19: ; preds = %3
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %19, %16
%22 = load i32, ptr %8, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %54
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 120
br i1 %26, label %27, label %54
27: ; preds = %24
%28 = load i32, ptr %5, align 4
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 1, %30
%32 = mul nsw i32 %29, %31
store i32 %32, ptr %13, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = sitofp i32 %35 to double
%37 = call i32 @getRadiano(double noundef %36)
%38 = call i32 @cos(i32 noundef %37)
%39 = mul nsw i32 %34, %38
%40 = load i32, ptr %8, align 4
%41 = sitofp i32 %40 to double
%42 = fsub double 6.000000e+01, %41
%43 = call i32 @getRadiano(double noundef %42)
%44 = call i32 @cos(i32 noundef %43)
%45 = sdiv i32 %39, %44
%46 = add nsw i32 1, %45
%47 = mul nsw i32 %33, %46
store i32 %47, ptr %11, align 4
%48 = load i32, ptr %9, align 4
%49 = mul nsw i32 3, %48
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %13, align 4
%52 = add nsw i32 %50, %51
%53 = sub nsw i32 %49, %52
store i32 %53, ptr %12, align 4
br label %121
54: ; preds = %24, %21
%55 = load i32, ptr %8, align 4
%56 = icmp sge i32 %55, 120
br i1 %56, label %57, label %88
57: ; preds = %54
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %58, 240
br i1 %59, label %60, label %88
60: ; preds = %57
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, 120
store i32 %62, ptr %8, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %10, align 4
%65 = sub nsw i32 1, %64
%66 = mul nsw i32 %63, %65
store i32 %66, ptr %11, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %8, align 4
%70 = sitofp i32 %69 to double
%71 = call i32 @getRadiano(double noundef %70)
%72 = call i32 @cos(i32 noundef %71)
%73 = mul nsw i32 %68, %72
%74 = load i32, ptr %8, align 4
%75 = sitofp i32 %74 to double
%76 = fsub double 6.000000e+01, %75
%77 = call i32 @getRadiano(double noundef %76)
%78 = call i32 @cos(i32 noundef %77)
%79 = sdiv i32 %73, %78
%80 = add nsw i32 1, %79
%81 = mul nsw i32 %67, %80
store i32 %81, ptr %12, align 4
%82 = load i32, ptr %9, align 4
%83 = mul nsw i32 3, %82
%84 = load i32, ptr %11, align 4
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %84, %85
%87 = sub nsw i32 %83, %86
store i32 %87, ptr %13, align 4
br label %120
88: ; preds = %57, %54
%89 = load i32, ptr %8, align 4
%90 = icmp sge i32 %89, 240
br i1 %90, label %91, label %119
91: ; preds = %88
%92 = load i32, ptr %5, align 4
%93 = sub nsw i32 %92, 240
store i32 %93, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = load i32, ptr %10, align 4
%96 = sub nsw i32 1, %95
%97 = mul nsw i32 %94, %96
store i32 %97, ptr %12, align 4
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %8, align 4
%101 = sitofp i32 %100 to double
%102 = call i32 @getRadiano(double noundef %101)
%103 = call i32 @cos(i32 noundef %102)
%104 = mul nsw i32 %99, %103
%105 = load i32, ptr %8, align 4
%106 = sitofp i32 %105 to double
%107 = fsub double 6.000000e+01, %106
%108 = call i32 @getRadiano(double noundef %107)
%109 = call i32 @cos(i32 noundef %108)
%110 = sdiv i32 %104, %109
%111 = add nsw i32 1, %110
%112 = mul nsw i32 %98, %111
store i32 %112, ptr %13, align 4
%113 = load i32, ptr %9, align 4
%114 = mul nsw i32 3, %113
%115 = load i32, ptr %13, align 4
%116 = load i32, ptr %12, align 4
%117 = add nsw i32 %115, %116
%118 = sub nsw i32 %114, %117
store i32 %118, ptr %11, align 4
br label %119
119: ; preds = %91, %88
br label %120
120: ; preds = %119, %60
br label %121
121: ; preds = %120, %27
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, 1
br i1 %123, label %124, label %129
124: ; preds = %121
%125 = load i32, ptr %11, align 4
%126 = load i32, ptr %7, align 4
%127 = call i32 @printf(ptr noundef @.str, i32 noundef %125, i32 noundef %126)
%128 = load i32, ptr %11, align 4
store i32 %128, ptr %4, align 4
br label %142
129: ; preds = %121
%130 = load i32, ptr %6, align 4
%131 = icmp eq i32 %130, 2
br i1 %131, label %132, label %137
132: ; preds = %129
%133 = load i32, ptr %11, align 4
%134 = load i32, ptr %7, align 4
%135 = call i32 @printf(ptr noundef @.str.1, i32 noundef %133, i32 noundef %134)
%136 = load i32, ptr %12, align 4
store i32 %136, ptr %4, align 4
br label %142
137: ; preds = %129
%138 = load i32, ptr %11, align 4
%139 = load i32, ptr %7, align 4
%140 = call i32 @printf(ptr noundef @.str.2, i32 noundef %138, i32 noundef %139)
%141 = load i32, ptr %13, align 4
store i32 %141, ptr %4, align 4
br label %142
142: ; preds = %137, %132, %124
%143 = load i32, ptr %4, align 4
ret i32 %143
}
declare i32 @cos(i32 noundef) #1
declare i32 @getRadiano(double noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe5tnpff8.c'
source_filename = "/tmp/tmpe5tnpff8.c"
target datalayout = "e-m:e-p270: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/tmpe5tnpff8.c"
target datalayout = "e-m:e-p270: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/tmpocr8eewu.c'
source_filename = "/tmp/tmpocr8eewu.c"
target datalayout = "e-m:e-p270: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/tmpocr8eewu.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.