llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmprr2kulou.c'
source_filename = "/tmp/tmprr2kulou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Print CRC32 checksums\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"usage: crc32sum <FILE>...\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c" --help display this help and exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c" --version output version information and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprr2kulou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Print CRC32 checksums\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"usage: crc32sum <FILE>...\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c" --help display this help and exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c" --version output version information and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp142j6d1u.c'
source_filename = "/tmp/tmp142j6d1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"DDD\0AD D\0AD D\0AD D\0AD D\0AD D\0ADDD\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp142j6d1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"DDD\0AD D\0AD D\0AD D\0AD D\0AD D\0ADDD\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnjxjrgot.c'
source_filename = "/tmp/tmpnjxjrgot.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { ptr, ptr, i32, i64, i32 }
%struct.sockaddr = type { i64 }
%struct.sockaddr_in6 = type { i32 }
@AF_INET6 = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@EAI_NONAME = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"getaddrinfo: %s(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Assertion error, address was not IPv6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resolve_ipv6(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 40, i1 false)
store ptr null, ptr %9, align 8
%14 = load i64, ptr @AF_INET6, align 8
%15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i64 %14, ptr %15, align 8
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 2
store i32 %16, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @getaddrinfo(ptr noundef %18, ptr noundef null, ptr noundef %8, ptr noundef %9)
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %3
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr @EAI_NONAME, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = load i32, ptr %11, align 4
%29 = call ptr @gai_strerror(i32 noundef %28)
%30 = load i32, ptr %11, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %26, %22
store i32 0, ptr %4, align 4
br label %76
33: ; preds = %3
%34 = load ptr, ptr %9, align 8
store ptr %34, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %35
35: ; preds = %64, %33
%36 = load ptr, ptr %10, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br label %42
42: ; preds = %38, %35
%43 = phi i1 [ false, %35 ], [ %41, %38 ]
br i1 %43, label %44, label %68
44: ; preds = %42
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
store ptr %47, ptr %12, align 8
%48 = load ptr, ptr %12, align 8
%49 = getelementptr inbounds %struct.sockaddr, ptr %48, i32 0, i32 0
%50 = load i64, ptr %49, align 8
%51 = load i64, ptr @AF_INET6, align 8
%52 = icmp ne i64 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %44
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.1)
br label %64
56: ; preds = %44
%57 = load ptr, ptr %12, align 8
store ptr %57, ptr %13, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %11, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds %struct.sockaddr_in6, ptr %58, i64 %61
%63 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %63, i64 4, i1 false)
br label %64
64: ; preds = %56, %53
%65 = load ptr, ptr %10, align 8
%66 = getelementptr inbounds %struct.addrinfo, ptr %65, i32 0, i32 1
%67 = load ptr, ptr %66, align 8
store ptr %67, ptr %10, align 8
br label %35, !llvm.loop !6
68: ; preds = %42
%69 = load ptr, ptr %9, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load ptr, ptr %9, align 8
%73 = call i32 @freeaddrinfo(ptr noundef %72)
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %11, align 4
store i32 %75, ptr %4, align 4
br label %76
76: ; preds = %74, %32
%77 = load i32, ptr %4, align 4
ret i32 %77
}
; 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 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare ptr @gai_strerror(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @freeaddrinfo(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" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnjxjrgot.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { ptr, ptr, i32, i64, i32 }
%struct.sockaddr = type { i64 }
%struct.sockaddr_in6 = type { i32 }
@AF_INET6 = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@EAI_NONAME = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"getaddrinfo: %s(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Assertion error, address was not IPv6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resolve_ipv6(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 40, i1 false)
store ptr null, ptr %9, align 8
%14 = load i64, ptr @AF_INET6, align 8
%15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i64 %14, ptr %15, align 8
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 2
store i32 %16, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @getaddrinfo(ptr noundef %18, ptr noundef null, ptr noundef %8, ptr noundef %9)
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %3
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr @EAI_NONAME, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = load i32, ptr %11, align 4
%29 = call ptr @gai_strerror(i32 noundef %28)
%30 = load i32, ptr %11, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %26, %22
store i32 0, ptr %4, align 4
br label %76
33: ; preds = %3
%34 = load ptr, ptr %9, align 8
store ptr %34, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %35
35: ; preds = %64, %33
%36 = load ptr, ptr %10, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br label %42
42: ; preds = %38, %35
%43 = phi i1 [ false, %35 ], [ %41, %38 ]
br i1 %43, label %44, label %68
44: ; preds = %42
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
store ptr %47, ptr %12, align 8
%48 = load ptr, ptr %12, align 8
%49 = getelementptr inbounds %struct.sockaddr, ptr %48, i32 0, i32 0
%50 = load i64, ptr %49, align 8
%51 = load i64, ptr @AF_INET6, align 8
%52 = icmp ne i64 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %44
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.1)
br label %64
56: ; preds = %44
%57 = load ptr, ptr %12, align 8
store ptr %57, ptr %13, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %11, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds %struct.sockaddr_in6, ptr %58, i64 %61
%63 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %63, i64 4, i1 false)
br label %64
64: ; preds = %56, %53
%65 = load ptr, ptr %10, align 8
%66 = getelementptr inbounds %struct.addrinfo, ptr %65, i32 0, i32 1
%67 = load ptr, ptr %66, align 8
store ptr %67, ptr %10, align 8
br label %35, !llvm.loop !6
68: ; preds = %42
%69 = load ptr, ptr %9, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load ptr, ptr %9, align 8
%73 = call i32 @freeaddrinfo(ptr noundef %72)
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %11, align 4
store i32 %75, ptr %4, align 4
br label %76
76: ; preds = %74, %32
%77 = load i32, ptr %4, align 4
ret i32 %77
}
; 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 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare ptr @gai_strerror(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @freeaddrinfo(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" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpygqhvknn.c'
source_filename = "/tmp/tmpygqhvknn.c"
target datalayout = "e-m:e-p270: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/tmpygqhvknn.c"
target datalayout = "e-m:e-p270: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/tmpzd_k_z7s.c'
source_filename = "/tmp/tmpzd_k_z7s.c"
target datalayout = "e-m:e-p270: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 { i16, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i64 }
%struct.ip = type { i32, i32, i32, i32, i32, %struct.TYPE_6__, %struct.TYPE_5__, i64, i32, i64, i64 }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i64 }
%struct.udphdr = type { i16, i16, i64, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@IPPROTO_RAW = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"socket() error, root ?\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"G\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_HDRINCL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"setsockopt()\00", align 1
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"oops, sendto() error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @udp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca %struct.sockaddr_in, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%15 = load i32, ptr @AF_INET, align 4
%16 = load i32, ptr @SOCK_RAW, align 4
%17 = load i32, ptr @IPPROTO_RAW, align 4
%18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %1
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str)
br label %24
24: ; preds = %21, %1
%25 = call i64 @hasard(i32 noundef 2147483647, i32 noundef -1)
store i64 %25, ptr %4, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i64 @inet_addr(ptr noundef %26)
store i64 %27, ptr %5, align 8
%28 = call i64 @hasard(i32 noundef 0, i32 noundef 65535)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %6, align 2
%30 = call i64 @hasard(i32 noundef 0, i32 noundef 65535)
%31 = trunc i64 %30 to i16
store i16 %31, ptr %7, align 2
%32 = load i32, ptr @AF_INET, align 4
%33 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %32, ptr %33, align 8
%34 = load i16, ptr %7, align 2
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i16 %34, ptr %35, align 8
%36 = load i64, ptr %5, align 8
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %37, i32 0, i32 0
store i64 %36, ptr %38, align 8
store i32 4192, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %11, align 8
store ptr %42, ptr %9, align 8
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 72
store ptr %44, ptr %10, align 8
%45 = load ptr, ptr %11, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 72
%47 = getelementptr inbounds i8, ptr %46, i64 24
store ptr %47, ptr %12, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %13, align 4
%50 = call i32 @memset(ptr noundef %48, i32 noundef 0, i32 noundef %49)
%51 = load ptr, ptr %12, align 8
%52 = call i32 @memcpy(ptr noundef %51, ptr noundef @.str.1, i32 noundef 4096)
store i32 1, ptr %14, align 4
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr @IPPROTO_IP, align 4
%55 = load i32, ptr @IP_HDRINCL, align 4
%56 = call i32 @setsockopt(i32 noundef %53, i32 noundef %54, i32 noundef %55, ptr noundef %14, i32 noundef 4)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %62
58: ; preds = %24
%59 = load i32, ptr @stderr, align 4
%60 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %24
%63 = load ptr, ptr %9, align 8
%64 = getelementptr inbounds %struct.ip, ptr %63, i32 0, i32 0
store i32 4, ptr %64, align 8
%65 = load ptr, ptr %9, align 8
%66 = getelementptr inbounds %struct.ip, ptr %65, i32 0, i32 1
store i32 5, ptr %66, align 4
%67 = load ptr, ptr %9, align 8
%68 = getelementptr inbounds %struct.ip, ptr %67, i32 0, i32 10
store i64 0, ptr %68, align 8
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds %struct.ip, ptr %69, i32 0, i32 2
store i32 4, ptr %70, align 8
%71 = load ptr, ptr %9, align 8
%72 = getelementptr inbounds %struct.ip, ptr %71, i32 0, i32 3
store i32 255, ptr %72, align 4
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds %struct.ip, ptr %73, i32 0, i32 9
store i64 0, ptr %74, align 8
%75 = load ptr, ptr %9, align 8
%76 = getelementptr inbounds %struct.ip, ptr %75, i32 0, i32 4
store i32 4, ptr %76, align 8
%77 = load i32, ptr @IPPROTO_UDP, align 4
%78 = load ptr, ptr %9, align 8
%79 = getelementptr inbounds %struct.ip, ptr %78, i32 0, i32 8
store i32 %77, ptr %79, align 8
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds %struct.ip, ptr %80, i32 0, i32 7
store i64 0, ptr %81, align 8
%82 = load i64, ptr %4, align 8
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds %struct.ip, ptr %83, i32 0, i32 6
%85 = getelementptr inbounds %struct.TYPE_5__, ptr %84, i32 0, i32 0
store i64 %82, ptr %85, align 8
%86 = load i64, ptr %5, align 8
%87 = load ptr, ptr %9, align 8
%88 = getelementptr inbounds %struct.ip, ptr %87, i32 0, i32 5
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %88, i32 0, i32 0
store i64 %86, ptr %89, align 8
%90 = load i16, ptr %6, align 2
%91 = load ptr, ptr %10, align 8
%92 = getelementptr inbounds %struct.udphdr, ptr %91, i32 0, i32 0
store i16 %90, ptr %92, align 8
%93 = load i16, ptr %7, align 2
%94 = load ptr, ptr %10, align 8
%95 = getelementptr inbounds %struct.udphdr, ptr %94, i32 0, i32 1
store i16 %93, ptr %95, align 2
%96 = call i32 @htons(i32 noundef 4120)
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds %struct.udphdr, ptr %97, i32 0, i32 3
store i32 %96, ptr %98, align 8
%99 = load ptr, ptr %10, align 8
%100 = getelementptr inbounds %struct.udphdr, ptr %99, i32 0, i32 2
store i64 0, ptr %100, align 8
%101 = load i32, ptr %3, align 4
%102 = load ptr, ptr %11, align 8
%103 = load i32, ptr %13, align 4
%104 = call i32 @sendto(i32 noundef %101, ptr noundef %102, i32 noundef %103, i32 noundef 0, ptr noundef %8, i32 noundef 4)
%105 = icmp eq i32 %104, -1
br i1 %105, label %106, label %109
106: ; preds = %62
%107 = load i32, ptr @stderr, align 4
%108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.3)
br label %109
109: ; preds = %106, %62
%110 = load ptr, ptr %11, align 8
%111 = call i32 @free(ptr noundef %110)
%112 = load i32, ptr %3, align 4
%113 = call i32 @close(i32 noundef %112)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @hasard(i32 noundef, i32 noundef) #1
declare i64 @inet_addr(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpzd_k_z7s.c"
target datalayout = "e-m:e-p270: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 { i16, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i64 }
%struct.ip = type { i32, i32, i32, i32, i32, %struct.TYPE_6__, %struct.TYPE_5__, i64, i32, i64, i64 }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i64 }
%struct.udphdr = type { i16, i16, i64, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@IPPROTO_RAW = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"socket() error, root ?\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"G\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_HDRINCL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"setsockopt()\00", align 1
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"oops, sendto() error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @udp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca %struct.sockaddr_in, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%15 = load i32, ptr @AF_INET, align 4
%16 = load i32, ptr @SOCK_RAW, align 4
%17 = load i32, ptr @IPPROTO_RAW, align 4
%18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %1
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str)
br label %24
24: ; preds = %21, %1
%25 = call i64 @hasard(i32 noundef 2147483647, i32 noundef -1)
store i64 %25, ptr %4, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i64 @inet_addr(ptr noundef %26)
store i64 %27, ptr %5, align 8
%28 = call i64 @hasard(i32 noundef 0, i32 noundef 65535)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %6, align 2
%30 = call i64 @hasard(i32 noundef 0, i32 noundef 65535)
%31 = trunc i64 %30 to i16
store i16 %31, ptr %7, align 2
%32 = load i32, ptr @AF_INET, align 4
%33 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %32, ptr %33, align 8
%34 = load i16, ptr %7, align 2
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i16 %34, ptr %35, align 8
%36 = load i64, ptr %5, align 8
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %37, i32 0, i32 0
store i64 %36, ptr %38, align 8
store i32 4192, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %11, align 8
store ptr %42, ptr %9, align 8
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 72
store ptr %44, ptr %10, align 8
%45 = load ptr, ptr %11, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 72
%47 = getelementptr inbounds i8, ptr %46, i64 24
store ptr %47, ptr %12, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %13, align 4
%50 = call i32 @memset(ptr noundef %48, i32 noundef 0, i32 noundef %49)
%51 = load ptr, ptr %12, align 8
%52 = call i32 @memcpy(ptr noundef %51, ptr noundef @.str.1, i32 noundef 4096)
store i32 1, ptr %14, align 4
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr @IPPROTO_IP, align 4
%55 = load i32, ptr @IP_HDRINCL, align 4
%56 = call i32 @setsockopt(i32 noundef %53, i32 noundef %54, i32 noundef %55, ptr noundef %14, i32 noundef 4)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %62
58: ; preds = %24
%59 = load i32, ptr @stderr, align 4
%60 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %24
%63 = load ptr, ptr %9, align 8
%64 = getelementptr inbounds %struct.ip, ptr %63, i32 0, i32 0
store i32 4, ptr %64, align 8
%65 = load ptr, ptr %9, align 8
%66 = getelementptr inbounds %struct.ip, ptr %65, i32 0, i32 1
store i32 5, ptr %66, align 4
%67 = load ptr, ptr %9, align 8
%68 = getelementptr inbounds %struct.ip, ptr %67, i32 0, i32 10
store i64 0, ptr %68, align 8
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds %struct.ip, ptr %69, i32 0, i32 2
store i32 4, ptr %70, align 8
%71 = load ptr, ptr %9, align 8
%72 = getelementptr inbounds %struct.ip, ptr %71, i32 0, i32 3
store i32 255, ptr %72, align 4
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds %struct.ip, ptr %73, i32 0, i32 9
store i64 0, ptr %74, align 8
%75 = load ptr, ptr %9, align 8
%76 = getelementptr inbounds %struct.ip, ptr %75, i32 0, i32 4
store i32 4, ptr %76, align 8
%77 = load i32, ptr @IPPROTO_UDP, align 4
%78 = load ptr, ptr %9, align 8
%79 = getelementptr inbounds %struct.ip, ptr %78, i32 0, i32 8
store i32 %77, ptr %79, align 8
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds %struct.ip, ptr %80, i32 0, i32 7
store i64 0, ptr %81, align 8
%82 = load i64, ptr %4, align 8
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds %struct.ip, ptr %83, i32 0, i32 6
%85 = getelementptr inbounds %struct.TYPE_5__, ptr %84, i32 0, i32 0
store i64 %82, ptr %85, align 8
%86 = load i64, ptr %5, align 8
%87 = load ptr, ptr %9, align 8
%88 = getelementptr inbounds %struct.ip, ptr %87, i32 0, i32 5
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %88, i32 0, i32 0
store i64 %86, ptr %89, align 8
%90 = load i16, ptr %6, align 2
%91 = load ptr, ptr %10, align 8
%92 = getelementptr inbounds %struct.udphdr, ptr %91, i32 0, i32 0
store i16 %90, ptr %92, align 8
%93 = load i16, ptr %7, align 2
%94 = load ptr, ptr %10, align 8
%95 = getelementptr inbounds %struct.udphdr, ptr %94, i32 0, i32 1
store i16 %93, ptr %95, align 2
%96 = call i32 @htons(i32 noundef 4120)
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds %struct.udphdr, ptr %97, i32 0, i32 3
store i32 %96, ptr %98, align 8
%99 = load ptr, ptr %10, align 8
%100 = getelementptr inbounds %struct.udphdr, ptr %99, i32 0, i32 2
store i64 0, ptr %100, align 8
%101 = load i32, ptr %3, align 4
%102 = load ptr, ptr %11, align 8
%103 = load i32, ptr %13, align 4
%104 = call i32 @sendto(i32 noundef %101, ptr noundef %102, i32 noundef %103, i32 noundef 0, ptr noundef %8, i32 noundef 4)
%105 = icmp eq i32 %104, -1
br i1 %105, label %106, label %109
106: ; preds = %62
%107 = load i32, ptr @stderr, align 4
%108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.3)
br label %109
109: ; preds = %106, %62
%110 = load ptr, ptr %11, align 8
%111 = call i32 @free(ptr noundef %110)
%112 = load i32, ptr %3, align 4
%113 = call i32 @close(i32 noundef %112)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @hasard(i32 noundef, i32 noundef) #1
declare i64 @inet_addr(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpzkdavjmu.c'
source_filename = "/tmp/tmpzkdavjmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wave_create(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 @pigpio_command(i32 noundef %3, i32 noundef 49, i32 noundef 0, i32 noundef 0, i32 noundef 1)
ret i32 %4
}
declare i32 @pigpio_command(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/tmpzkdavjmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wave_create(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 @pigpio_command(i32 noundef %3, i32 noundef 49, i32 noundef 0, i32 noundef 0, i32 noundef 1)
ret i32 %4
}
declare i32 @pigpio_command(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/tmpct0yy3ac.c'
source_filename = "/tmp/tmpct0yy3ac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Closing all remaining sockets...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sock_close_all_sockets() #0 {
%1 = call i32 @write_log(i32 noundef 0, ptr noundef @.str)
%2 = call i32 @my_sleep(i32 noundef 30000)
ret void
}
declare i32 @write_log(i32 noundef, ptr noundef) #1
declare i32 @my_sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpct0yy3ac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Closing all remaining sockets...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sock_close_all_sockets() #0 {
%1 = call i32 @write_log(i32 noundef 0, ptr noundef @.str)
%2 = call i32 @my_sleep(i32 noundef 30000)
ret void
}
declare i32 @write_log(i32 noundef, ptr noundef) #1
declare i32 @my_sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf_ja0upt.c'
source_filename = "/tmp/tmpf_ja0upt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"isdigit should be 0 for 0x11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x11() #0 {
%1 = call i64 @isdigit(i32 noundef 17)
%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 90, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpf_ja0upt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"isdigit should be 0 for 0x11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x11() #0 {
%1 = call i64 @isdigit(i32 noundef 17)
%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 90, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpdneoh9of.c'
source_filename = "/tmp/tmpdneoh9of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cft1st(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca 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
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 1
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds double, ptr %30, i64 2
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds double, ptr %32, i64 4
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds double, ptr %34, i64 6
store ptr %35, ptr %12, align 8
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds double, ptr %36, i64 2
%38 = load double, ptr %37, align 8
store double %38, ptr %13, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @writeA(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds double, ptr %44, i64 2
%46 = load double, ptr %45, align 8
%47 = fadd double %43, %46
store double %47, ptr %14, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds double, ptr %48, i64 1
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds double, ptr %51, i64 3
%53 = load double, ptr %52, align 8
%54 = fadd double %50, %53
store double %54, ptr %15, align 8
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds double, ptr %58, i64 2
%60 = load double, ptr %59, align 8
%61 = fsub double %57, %60
store double %61, ptr %16, align 8
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds double, ptr %65, i64 3
%67 = load double, ptr %66, align 8
%68 = fsub double %64, %67
store double %68, ptr %17, align 8
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds double, ptr %69, i64 4
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds double, ptr %72, i64 6
%74 = load double, ptr %73, align 8
%75 = fadd double %71, %74
store double %75, ptr %18, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds double, ptr %76, i64 5
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds double, ptr %79, i64 7
%81 = load double, ptr %80, align 8
%82 = fadd double %78, %81
store double %82, ptr %19, align 8
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds double, ptr %83, i64 4
%85 = load double, ptr %84, align 8
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds double, ptr %86, i64 6
%88 = load double, ptr %87, align 8
%89 = fsub double %85, %88
store double %89, ptr %20, align 8
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds double, ptr %90, i64 5
%92 = load double, ptr %91, align 8
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds double, ptr %93, i64 7
%95 = load double, ptr %94, align 8
%96 = fsub double %92, %95
store double %96, ptr %21, align 8
%97 = load double, ptr %14, align 8
%98 = load double, ptr %18, align 8
%99 = fadd double %97, %98
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds double, ptr %100, i64 0
store double %99, ptr %101, align 8
%102 = load double, ptr %15, align 8
%103 = load double, ptr %19, align 8
%104 = fadd double %102, %103
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds double, ptr %105, i64 1
store double %104, ptr %106, align 8
%107 = load double, ptr %14, align 8
%108 = load double, ptr %18, align 8
%109 = fsub double %107, %108
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds double, ptr %110, i64 4
store double %109, ptr %111, align 8
%112 = load double, ptr %15, align 8
%113 = load double, ptr %19, align 8
%114 = fsub double %112, %113
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds double, ptr %115, i64 5
store double %114, ptr %116, align 8
%117 = load double, ptr %16, align 8
%118 = load double, ptr %21, align 8
%119 = fsub double %117, %118
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds double, ptr %120, i64 2
store double %119, ptr %121, align 8
%122 = load double, ptr %17, align 8
%123 = load double, ptr %20, align 8
%124 = fadd double %122, %123
%125 = load ptr, ptr %5, align 8
%126 = getelementptr inbounds double, ptr %125, i64 3
store double %124, ptr %126, align 8
%127 = load double, ptr %16, align 8
%128 = load double, ptr %21, align 8
%129 = fadd double %127, %128
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds double, ptr %130, i64 6
store double %129, ptr %131, align 8
%132 = load double, ptr %17, align 8
%133 = load double, ptr %20, align 8
%134 = fsub double %132, %133
%135 = load ptr, ptr %5, align 8
%136 = getelementptr inbounds double, ptr %135, i64 7
store double %134, ptr %136, align 8
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds double, ptr %137, i64 8
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %5, align 8
%141 = getelementptr inbounds double, ptr %140, i64 10
%142 = load double, ptr %141, align 8
%143 = fadd double %139, %142
store double %143, ptr %14, align 8
%144 = load ptr, ptr %5, align 8
%145 = getelementptr inbounds double, ptr %144, i64 9
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %5, align 8
%148 = getelementptr inbounds double, ptr %147, i64 11
%149 = load double, ptr %148, align 8
%150 = fadd double %146, %149
store double %150, ptr %15, align 8
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds double, ptr %151, i64 8
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %5, align 8
%155 = getelementptr inbounds double, ptr %154, i64 10
%156 = load double, ptr %155, align 8
%157 = fsub double %153, %156
store double %157, ptr %16, align 8
%158 = load ptr, ptr %5, align 8
%159 = getelementptr inbounds double, ptr %158, i64 9
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds double, ptr %161, i64 11
%163 = load double, ptr %162, align 8
%164 = fsub double %160, %163
store double %164, ptr %17, align 8
%165 = load ptr, ptr %5, align 8
%166 = getelementptr inbounds double, ptr %165, i64 12
%167 = load double, ptr %166, align 8
%168 = load ptr, ptr %5, align 8
%169 = getelementptr inbounds double, ptr %168, i64 14
%170 = load double, ptr %169, align 8
%171 = fadd double %167, %170
store double %171, ptr %18, align 8
%172 = load ptr, ptr %5, align 8
%173 = getelementptr inbounds double, ptr %172, i64 13
%174 = load double, ptr %173, align 8
%175 = load ptr, ptr %5, align 8
%176 = getelementptr inbounds double, ptr %175, i64 15
%177 = load double, ptr %176, align 8
%178 = fadd double %174, %177
store double %178, ptr %19, align 8
%179 = load ptr, ptr %5, align 8
%180 = getelementptr inbounds double, ptr %179, i64 12
%181 = load double, ptr %180, align 8
%182 = load ptr, ptr %5, align 8
%183 = getelementptr inbounds double, ptr %182, i64 14
%184 = load double, ptr %183, align 8
%185 = fsub double %181, %184
store double %185, ptr %20, align 8
%186 = load ptr, ptr %5, align 8
%187 = getelementptr inbounds double, ptr %186, i64 13
%188 = load double, ptr %187, align 8
%189 = load ptr, ptr %5, align 8
%190 = getelementptr inbounds double, ptr %189, i64 15
%191 = load double, ptr %190, align 8
%192 = fsub double %188, %191
store double %192, ptr %21, align 8
%193 = load double, ptr %14, align 8
%194 = load double, ptr %18, align 8
%195 = fadd double %193, %194
%196 = load ptr, ptr %5, align 8
%197 = getelementptr inbounds double, ptr %196, i64 8
store double %195, ptr %197, align 8
%198 = load double, ptr %15, align 8
%199 = load double, ptr %19, align 8
%200 = fadd double %198, %199
%201 = load ptr, ptr %5, align 8
%202 = getelementptr inbounds double, ptr %201, i64 9
store double %200, ptr %202, align 8
%203 = load double, ptr %19, align 8
%204 = load double, ptr %15, align 8
%205 = fsub double %203, %204
%206 = load ptr, ptr %5, align 8
%207 = getelementptr inbounds double, ptr %206, i64 12
store double %205, ptr %207, align 8
%208 = load double, ptr %14, align 8
%209 = load double, ptr %18, align 8
%210 = fsub double %208, %209
%211 = load ptr, ptr %5, align 8
%212 = getelementptr inbounds double, ptr %211, i64 13
store double %210, ptr %212, align 8
%213 = load double, ptr %16, align 8
%214 = load double, ptr %21, align 8
%215 = fsub double %213, %214
store double %215, ptr %14, align 8
%216 = load double, ptr %17, align 8
%217 = load double, ptr %20, align 8
%218 = fadd double %216, %217
store double %218, ptr %15, align 8
%219 = load double, ptr %13, align 8
%220 = load double, ptr %14, align 8
%221 = load double, ptr %15, align 8
%222 = fsub double %220, %221
%223 = fmul double %219, %222
%224 = load ptr, ptr %5, align 8
%225 = getelementptr inbounds double, ptr %224, i64 10
store double %223, ptr %225, align 8
%226 = load double, ptr %13, align 8
%227 = load double, ptr %14, align 8
%228 = load double, ptr %15, align 8
%229 = fadd double %227, %228
%230 = fmul double %226, %229
%231 = load ptr, ptr %5, align 8
%232 = getelementptr inbounds double, ptr %231, i64 11
store double %230, ptr %232, align 8
%233 = load double, ptr %21, align 8
%234 = load double, ptr %16, align 8
%235 = fadd double %233, %234
store double %235, ptr %14, align 8
%236 = load double, ptr %20, align 8
%237 = load double, ptr %17, align 8
%238 = fsub double %236, %237
store double %238, ptr %15, align 8
%239 = load double, ptr %13, align 8
%240 = load double, ptr %15, align 8
%241 = load double, ptr %14, align 8
%242 = fsub double %240, %241
%243 = fmul double %239, %242
%244 = load ptr, ptr %5, align 8
%245 = getelementptr inbounds double, ptr %244, i64 14
store double %243, ptr %245, align 8
%246 = load double, ptr %13, align 8
%247 = load double, ptr %15, align 8
%248 = load double, ptr %14, align 8
%249 = fadd double %247, %248
%250 = fmul double %246, %249
%251 = load ptr, ptr %5, align 8
%252 = getelementptr inbounds double, ptr %251, i64 15
store double %250, ptr %252, align 8
%253 = load ptr, ptr %5, align 8
%254 = call i32 @writeA(ptr noundef %253)
store i32 16, ptr %7, align 4
store i32 2, ptr %8, align 4
br label %255
255: ; preds = %350, %3
%256 = load i32, ptr %7, align 4
%257 = load i32, ptr %4, align 4
%258 = icmp slt i32 %256, %257
br i1 %258, label %259, label %355
259: ; preds = %255
%260 = load ptr, ptr %6, align 8
%261 = load i32, ptr %8, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, ptr %260, i64 %262
%264 = load double, ptr %263, align 8
store double %264, ptr %22, align 8
%265 = load ptr, ptr %9, align 8
%266 = load i32, ptr %8, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds double, ptr %265, i64 %267
%269 = load double, ptr %268, align 8
store double %269, ptr %23, align 8
%270 = load ptr, ptr %6, align 8
%271 = load i32, ptr %8, align 4
%272 = load i32, ptr %8, align 4
%273 = add nsw i32 %271, %272
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds double, ptr %270, i64 %274
%276 = load double, ptr %275, align 8
store double %276, ptr %24, align 8
%277 = load ptr, ptr %9, align 8
%278 = load i32, ptr %8, align 4
%279 = load i32, ptr %8, align 4
%280 = add nsw i32 %278, %279
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds double, ptr %277, i64 %281
%283 = load double, ptr %282, align 8
store double %283, ptr %25, align 8
%284 = load double, ptr %24, align 8
%285 = load double, ptr %23, align 8
%286 = fmul double 2.000000e+00, %285
%287 = load double, ptr %25, align 8
%288 = fneg double %286
%289 = call double @llvm.fmuladd.f64(double %288, double %287, double %284)
store double %289, ptr %26, align 8
%290 = load double, ptr %23, align 8
%291 = fmul double 2.000000e+00, %290
%292 = load double, ptr %24, align 8
%293 = load double, ptr %25, align 8
%294 = fneg double %293
%295 = call double @llvm.fmuladd.f64(double %291, double %292, double %294)
store double %295, ptr %27, align 8
%296 = load i32, ptr %7, align 4
%297 = load double, ptr %24, align 8
%298 = load double, ptr %25, align 8
%299 = load double, ptr %22, align 8
%300 = load double, ptr %23, align 8
%301 = load double, ptr %26, align 8
%302 = load double, ptr %27, align 8
%303 = load ptr, ptr %5, align 8
%304 = load ptr, ptr %10, align 8
%305 = load ptr, ptr %11, align 8
%306 = load ptr, ptr %12, align 8
%307 = call i32 @btrfly(i32 noundef %296, double noundef %297, double noundef %298, double noundef %299, double noundef %300, double noundef %301, double noundef %302, ptr noundef %303, ptr noundef %304, ptr noundef %305, ptr noundef %306)
%308 = load ptr, ptr %6, align 8
%309 = load i32, ptr %8, align 4
%310 = load i32, ptr %8, align 4
%311 = add nsw i32 %309, %310
%312 = add nsw i32 %311, 2
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds double, ptr %308, i64 %313
%315 = load double, ptr %314, align 8
store double %315, ptr %24, align 8
%316 = load ptr, ptr %9, align 8
%317 = load i32, ptr %8, align 4
%318 = load i32, ptr %8, align 4
%319 = add nsw i32 %317, %318
%320 = add nsw i32 %319, 2
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds double, ptr %316, i64 %321
%323 = load double, ptr %322, align 8
store double %323, ptr %25, align 8
%324 = load double, ptr %24, align 8
%325 = load double, ptr %22, align 8
%326 = fmul double 2.000000e+00, %325
%327 = load double, ptr %25, align 8
%328 = fneg double %326
%329 = call double @llvm.fmuladd.f64(double %328, double %327, double %324)
store double %329, ptr %26, align 8
%330 = load double, ptr %22, align 8
%331 = fmul double 2.000000e+00, %330
%332 = load double, ptr %24, align 8
%333 = load double, ptr %25, align 8
%334 = fneg double %333
%335 = call double @llvm.fmuladd.f64(double %331, double %332, double %334)
store double %335, ptr %27, align 8
%336 = load i32, ptr %7, align 4
%337 = add nsw i32 %336, 8
%338 = load double, ptr %24, align 8
%339 = load double, ptr %25, align 8
%340 = load double, ptr %23, align 8
%341 = fneg double %340
%342 = load double, ptr %22, align 8
%343 = load double, ptr %26, align 8
%344 = load double, ptr %27, align 8
%345 = load ptr, ptr %5, align 8
%346 = load ptr, ptr %10, align 8
%347 = load ptr, ptr %11, align 8
%348 = load ptr, ptr %12, align 8
%349 = call i32 @btrfly(i32 noundef %337, double noundef %338, double noundef %339, double noundef %341, double noundef %342, double noundef %343, double noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347, ptr noundef %348)
br label %350
350: ; preds = %259
%351 = load i32, ptr %7, align 4
%352 = add nsw i32 %351, 16
store i32 %352, ptr %7, align 4
%353 = load i32, ptr %8, align 4
%354 = add nsw i32 %353, 2
store i32 %354, ptr %8, align 4
br label %255, !llvm.loop !6
355: ; preds = %255
ret void
}
declare i32 @writeA(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @btrfly(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdneoh9of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cft1st(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca 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
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 1
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds double, ptr %30, i64 2
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds double, ptr %32, i64 4
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds double, ptr %34, i64 6
store ptr %35, ptr %12, align 8
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds double, ptr %36, i64 2
%38 = load double, ptr %37, align 8
store double %38, ptr %13, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @writeA(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds double, ptr %44, i64 2
%46 = load double, ptr %45, align 8
%47 = fadd double %43, %46
store double %47, ptr %14, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds double, ptr %48, i64 1
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds double, ptr %51, i64 3
%53 = load double, ptr %52, align 8
%54 = fadd double %50, %53
store double %54, ptr %15, align 8
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds double, ptr %58, i64 2
%60 = load double, ptr %59, align 8
%61 = fsub double %57, %60
store double %61, ptr %16, align 8
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds double, ptr %65, i64 3
%67 = load double, ptr %66, align 8
%68 = fsub double %64, %67
store double %68, ptr %17, align 8
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds double, ptr %69, i64 4
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds double, ptr %72, i64 6
%74 = load double, ptr %73, align 8
%75 = fadd double %71, %74
store double %75, ptr %18, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds double, ptr %76, i64 5
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds double, ptr %79, i64 7
%81 = load double, ptr %80, align 8
%82 = fadd double %78, %81
store double %82, ptr %19, align 8
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds double, ptr %83, i64 4
%85 = load double, ptr %84, align 8
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds double, ptr %86, i64 6
%88 = load double, ptr %87, align 8
%89 = fsub double %85, %88
store double %89, ptr %20, align 8
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds double, ptr %90, i64 5
%92 = load double, ptr %91, align 8
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds double, ptr %93, i64 7
%95 = load double, ptr %94, align 8
%96 = fsub double %92, %95
store double %96, ptr %21, align 8
%97 = load double, ptr %14, align 8
%98 = load double, ptr %18, align 8
%99 = fadd double %97, %98
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds double, ptr %100, i64 0
store double %99, ptr %101, align 8
%102 = load double, ptr %15, align 8
%103 = load double, ptr %19, align 8
%104 = fadd double %102, %103
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds double, ptr %105, i64 1
store double %104, ptr %106, align 8
%107 = load double, ptr %14, align 8
%108 = load double, ptr %18, align 8
%109 = fsub double %107, %108
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds double, ptr %110, i64 4
store double %109, ptr %111, align 8
%112 = load double, ptr %15, align 8
%113 = load double, ptr %19, align 8
%114 = fsub double %112, %113
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds double, ptr %115, i64 5
store double %114, ptr %116, align 8
%117 = load double, ptr %16, align 8
%118 = load double, ptr %21, align 8
%119 = fsub double %117, %118
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds double, ptr %120, i64 2
store double %119, ptr %121, align 8
%122 = load double, ptr %17, align 8
%123 = load double, ptr %20, align 8
%124 = fadd double %122, %123
%125 = load ptr, ptr %5, align 8
%126 = getelementptr inbounds double, ptr %125, i64 3
store double %124, ptr %126, align 8
%127 = load double, ptr %16, align 8
%128 = load double, ptr %21, align 8
%129 = fadd double %127, %128
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds double, ptr %130, i64 6
store double %129, ptr %131, align 8
%132 = load double, ptr %17, align 8
%133 = load double, ptr %20, align 8
%134 = fsub double %132, %133
%135 = load ptr, ptr %5, align 8
%136 = getelementptr inbounds double, ptr %135, i64 7
store double %134, ptr %136, align 8
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds double, ptr %137, i64 8
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %5, align 8
%141 = getelementptr inbounds double, ptr %140, i64 10
%142 = load double, ptr %141, align 8
%143 = fadd double %139, %142
store double %143, ptr %14, align 8
%144 = load ptr, ptr %5, align 8
%145 = getelementptr inbounds double, ptr %144, i64 9
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %5, align 8
%148 = getelementptr inbounds double, ptr %147, i64 11
%149 = load double, ptr %148, align 8
%150 = fadd double %146, %149
store double %150, ptr %15, align 8
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds double, ptr %151, i64 8
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %5, align 8
%155 = getelementptr inbounds double, ptr %154, i64 10
%156 = load double, ptr %155, align 8
%157 = fsub double %153, %156
store double %157, ptr %16, align 8
%158 = load ptr, ptr %5, align 8
%159 = getelementptr inbounds double, ptr %158, i64 9
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds double, ptr %161, i64 11
%163 = load double, ptr %162, align 8
%164 = fsub double %160, %163
store double %164, ptr %17, align 8
%165 = load ptr, ptr %5, align 8
%166 = getelementptr inbounds double, ptr %165, i64 12
%167 = load double, ptr %166, align 8
%168 = load ptr, ptr %5, align 8
%169 = getelementptr inbounds double, ptr %168, i64 14
%170 = load double, ptr %169, align 8
%171 = fadd double %167, %170
store double %171, ptr %18, align 8
%172 = load ptr, ptr %5, align 8
%173 = getelementptr inbounds double, ptr %172, i64 13
%174 = load double, ptr %173, align 8
%175 = load ptr, ptr %5, align 8
%176 = getelementptr inbounds double, ptr %175, i64 15
%177 = load double, ptr %176, align 8
%178 = fadd double %174, %177
store double %178, ptr %19, align 8
%179 = load ptr, ptr %5, align 8
%180 = getelementptr inbounds double, ptr %179, i64 12
%181 = load double, ptr %180, align 8
%182 = load ptr, ptr %5, align 8
%183 = getelementptr inbounds double, ptr %182, i64 14
%184 = load double, ptr %183, align 8
%185 = fsub double %181, %184
store double %185, ptr %20, align 8
%186 = load ptr, ptr %5, align 8
%187 = getelementptr inbounds double, ptr %186, i64 13
%188 = load double, ptr %187, align 8
%189 = load ptr, ptr %5, align 8
%190 = getelementptr inbounds double, ptr %189, i64 15
%191 = load double, ptr %190, align 8
%192 = fsub double %188, %191
store double %192, ptr %21, align 8
%193 = load double, ptr %14, align 8
%194 = load double, ptr %18, align 8
%195 = fadd double %193, %194
%196 = load ptr, ptr %5, align 8
%197 = getelementptr inbounds double, ptr %196, i64 8
store double %195, ptr %197, align 8
%198 = load double, ptr %15, align 8
%199 = load double, ptr %19, align 8
%200 = fadd double %198, %199
%201 = load ptr, ptr %5, align 8
%202 = getelementptr inbounds double, ptr %201, i64 9
store double %200, ptr %202, align 8
%203 = load double, ptr %19, align 8
%204 = load double, ptr %15, align 8
%205 = fsub double %203, %204
%206 = load ptr, ptr %5, align 8
%207 = getelementptr inbounds double, ptr %206, i64 12
store double %205, ptr %207, align 8
%208 = load double, ptr %14, align 8
%209 = load double, ptr %18, align 8
%210 = fsub double %208, %209
%211 = load ptr, ptr %5, align 8
%212 = getelementptr inbounds double, ptr %211, i64 13
store double %210, ptr %212, align 8
%213 = load double, ptr %16, align 8
%214 = load double, ptr %21, align 8
%215 = fsub double %213, %214
store double %215, ptr %14, align 8
%216 = load double, ptr %17, align 8
%217 = load double, ptr %20, align 8
%218 = fadd double %216, %217
store double %218, ptr %15, align 8
%219 = load double, ptr %13, align 8
%220 = load double, ptr %14, align 8
%221 = load double, ptr %15, align 8
%222 = fsub double %220, %221
%223 = fmul double %219, %222
%224 = load ptr, ptr %5, align 8
%225 = getelementptr inbounds double, ptr %224, i64 10
store double %223, ptr %225, align 8
%226 = load double, ptr %13, align 8
%227 = load double, ptr %14, align 8
%228 = load double, ptr %15, align 8
%229 = fadd double %227, %228
%230 = fmul double %226, %229
%231 = load ptr, ptr %5, align 8
%232 = getelementptr inbounds double, ptr %231, i64 11
store double %230, ptr %232, align 8
%233 = load double, ptr %21, align 8
%234 = load double, ptr %16, align 8
%235 = fadd double %233, %234
store double %235, ptr %14, align 8
%236 = load double, ptr %20, align 8
%237 = load double, ptr %17, align 8
%238 = fsub double %236, %237
store double %238, ptr %15, align 8
%239 = load double, ptr %13, align 8
%240 = load double, ptr %15, align 8
%241 = load double, ptr %14, align 8
%242 = fsub double %240, %241
%243 = fmul double %239, %242
%244 = load ptr, ptr %5, align 8
%245 = getelementptr inbounds double, ptr %244, i64 14
store double %243, ptr %245, align 8
%246 = load double, ptr %13, align 8
%247 = load double, ptr %15, align 8
%248 = load double, ptr %14, align 8
%249 = fadd double %247, %248
%250 = fmul double %246, %249
%251 = load ptr, ptr %5, align 8
%252 = getelementptr inbounds double, ptr %251, i64 15
store double %250, ptr %252, align 8
%253 = load ptr, ptr %5, align 8
%254 = call i32 @writeA(ptr noundef %253)
store i32 16, ptr %7, align 4
store i32 2, ptr %8, align 4
%255 = load i32, ptr %7, align 4
%256 = load i32, ptr %4, align 4
%257 = icmp slt i32 %255, %256
br i1 %257, label %.lr.ph, label %357
.lr.ph: ; preds = %3
br label %258
258: ; preds = %.lr.ph, %349
%259 = load ptr, ptr %6, align 8
%260 = load i32, ptr %8, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds double, ptr %259, i64 %261
%263 = load double, ptr %262, align 8
store double %263, ptr %22, align 8
%264 = load ptr, ptr %9, align 8
%265 = load i32, ptr %8, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, ptr %264, i64 %266
%268 = load double, ptr %267, align 8
store double %268, ptr %23, align 8
%269 = load ptr, ptr %6, align 8
%270 = load i32, ptr %8, align 4
%271 = load i32, ptr %8, align 4
%272 = add nsw i32 %270, %271
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, ptr %269, i64 %273
%275 = load double, ptr %274, align 8
store double %275, ptr %24, align 8
%276 = load ptr, ptr %9, align 8
%277 = load i32, ptr %8, align 4
%278 = load i32, ptr %8, align 4
%279 = add nsw i32 %277, %278
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double, ptr %276, i64 %280
%282 = load double, ptr %281, align 8
store double %282, ptr %25, align 8
%283 = load double, ptr %24, align 8
%284 = load double, ptr %23, align 8
%285 = fmul double 2.000000e+00, %284
%286 = load double, ptr %25, align 8
%287 = fneg double %285
%288 = call double @llvm.fmuladd.f64(double %287, double %286, double %283)
store double %288, ptr %26, align 8
%289 = load double, ptr %23, align 8
%290 = fmul double 2.000000e+00, %289
%291 = load double, ptr %24, align 8
%292 = load double, ptr %25, align 8
%293 = fneg double %292
%294 = call double @llvm.fmuladd.f64(double %290, double %291, double %293)
store double %294, ptr %27, align 8
%295 = load i32, ptr %7, align 4
%296 = load double, ptr %24, align 8
%297 = load double, ptr %25, align 8
%298 = load double, ptr %22, align 8
%299 = load double, ptr %23, align 8
%300 = load double, ptr %26, align 8
%301 = load double, ptr %27, align 8
%302 = load ptr, ptr %5, align 8
%303 = load ptr, ptr %10, align 8
%304 = load ptr, ptr %11, align 8
%305 = load ptr, ptr %12, align 8
%306 = call i32 @btrfly(i32 noundef %295, double noundef %296, double noundef %297, double noundef %298, double noundef %299, double noundef %300, double noundef %301, ptr noundef %302, ptr noundef %303, ptr noundef %304, ptr noundef %305)
%307 = load ptr, ptr %6, align 8
%308 = load i32, ptr %8, align 4
%309 = load i32, ptr %8, align 4
%310 = add nsw i32 %308, %309
%311 = add nsw i32 %310, 2
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, ptr %307, i64 %312
%314 = load double, ptr %313, align 8
store double %314, ptr %24, align 8
%315 = load ptr, ptr %9, align 8
%316 = load i32, ptr %8, align 4
%317 = load i32, ptr %8, align 4
%318 = add nsw i32 %316, %317
%319 = add nsw i32 %318, 2
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, ptr %315, i64 %320
%322 = load double, ptr %321, align 8
store double %322, ptr %25, align 8
%323 = load double, ptr %24, align 8
%324 = load double, ptr %22, align 8
%325 = fmul double 2.000000e+00, %324
%326 = load double, ptr %25, align 8
%327 = fneg double %325
%328 = call double @llvm.fmuladd.f64(double %327, double %326, double %323)
store double %328, ptr %26, align 8
%329 = load double, ptr %22, align 8
%330 = fmul double 2.000000e+00, %329
%331 = load double, ptr %24, align 8
%332 = load double, ptr %25, align 8
%333 = fneg double %332
%334 = call double @llvm.fmuladd.f64(double %330, double %331, double %333)
store double %334, ptr %27, align 8
%335 = load i32, ptr %7, align 4
%336 = add nsw i32 %335, 8
%337 = load double, ptr %24, align 8
%338 = load double, ptr %25, align 8
%339 = load double, ptr %23, align 8
%340 = fneg double %339
%341 = load double, ptr %22, align 8
%342 = load double, ptr %26, align 8
%343 = load double, ptr %27, align 8
%344 = load ptr, ptr %5, align 8
%345 = load ptr, ptr %10, align 8
%346 = load ptr, ptr %11, align 8
%347 = load ptr, ptr %12, align 8
%348 = call i32 @btrfly(i32 noundef %336, double noundef %337, double noundef %338, double noundef %340, double noundef %341, double noundef %342, double noundef %343, ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347)
br label %349
349: ; preds = %258
%350 = load i32, ptr %7, align 4
%351 = add nsw i32 %350, 16
store i32 %351, ptr %7, align 4
%352 = load i32, ptr %8, align 4
%353 = add nsw i32 %352, 2
store i32 %353, ptr %8, align 4
%354 = load i32, ptr %7, align 4
%355 = load i32, ptr %4, align 4
%356 = icmp slt i32 %354, %355
br i1 %356, label %258, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %349
br label %357
357: ; preds = %._crit_edge, %3
ret void
}
declare i32 @writeA(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @btrfly(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnz9jr1jb.c'
source_filename = "/tmp/tmpnz9jr1jb.c"
target datalayout = "e-m:e-p270: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/tmpnz9jr1jb.c"
target datalayout = "e-m:e-p270: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/tmp240kbpkt.c'
source_filename = "/tmp/tmp240kbpkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[s\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_cursor_save() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp240kbpkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[s\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_cursor_save() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ey7mo3k.c'
source_filename = "/tmp/tmp6ey7mo3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"cannot open %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"error writing %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"error reading %s\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@stdout = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_os(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [16384 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %39
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @get_os_sectors(i32 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %24, label %19
19: ; preds = %11
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %21)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %11
%25 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fwrite(ptr noundef %25, i32 noundef 1, i32 noundef 16384, ptr noundef %26)
%28 = icmp ne i32 %27, 16384
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load i32, ptr @stderr, align 4
%31 = load ptr, ptr %4, align 8
%32 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %24
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fclose(ptr noundef %37)
br label %89
39: ; preds = %2
%40 = load ptr, ptr %4, align 8
%41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.3)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %49, label %44
44: ; preds = %39
%45 = load i32, ptr @stderr, align 4
%46 = load ptr, ptr %4, align 8
%47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.1, ptr noundef %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %39
%50 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fread(ptr noundef %50, i32 noundef 1, i32 noundef 11264, ptr noundef %51)
%53 = icmp ne i32 %52, 11264
br i1 %53, label %54, label %62
54: ; preds = %49
br label %55
55: ; preds = %80, %54
%56 = load i32, ptr @stderr, align 4
%57 = load ptr, ptr %4, align 8
%58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.4, ptr noundef %57)
%59 = load ptr, ptr %7, align 8
%60 = call i32 @fclose(ptr noundef %59)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %49
store i32 2, ptr %8, align 4
br label %63
63: ; preds = %82, %62
%64 = load i32, ptr %8, align 4
%65 = icmp sle i32 %64, 11
br i1 %65, label %66, label %85
66: ; preds = %63
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr @SEEK_CUR, align 4
%69 = call i32 @fseek(ptr noundef %67, i32 noundef 5120, i32 noundef %68)
%70 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%71 = getelementptr inbounds i8, ptr %70, i64 11264
%72 = load i32, ptr %8, align 4
%73 = sub nsw i32 %72, 2
%74 = mul nsw i32 %73, 512
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %71, i64 %75
%77 = load ptr, ptr %7, align 8
%78 = call i32 @fread(ptr noundef %76, i32 noundef 1, i32 noundef 512, ptr noundef %77)
%79 = icmp ne i32 %78, 512
br i1 %79, label %80, label %81
80: ; preds = %66
br label %55
81: ; preds = %66
br label %82
82: ; preds = %81
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %8, align 4
br label %63, !llvm.loop !6
85: ; preds = %63
%86 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%87 = load ptr, ptr @stdout, align 8
%88 = call i32 @fwrite(ptr noundef %86, i32 noundef 1, i32 noundef 16384, ptr noundef %87)
br label %89
89: ; preds = %85, %36
ret void
}
declare i32 @get_os_sectors(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(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" }
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/tmp6ey7mo3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"cannot open %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"error writing %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"error reading %s\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@stdout = dso_local global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_os(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [16384 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %39
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @get_os_sectors(i32 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %24, label %19
19: ; preds = %11
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %21)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %11
%25 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fwrite(ptr noundef %25, i32 noundef 1, i32 noundef 16384, ptr noundef %26)
%28 = icmp ne i32 %27, 16384
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load i32, ptr @stderr, align 4
%31 = load ptr, ptr %4, align 8
%32 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %24
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fclose(ptr noundef %37)
br label %90
39: ; preds = %2
%40 = load ptr, ptr %4, align 8
%41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.3)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %49, label %44
44: ; preds = %39
%45 = load i32, ptr @stderr, align 4
%46 = load ptr, ptr %4, align 8
%47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.1, ptr noundef %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %39
%50 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fread(ptr noundef %50, i32 noundef 1, i32 noundef 11264, ptr noundef %51)
%53 = icmp ne i32 %52, 11264
br i1 %53, label %54, label %62
54: ; preds = %49
br label %55
55: ; preds = %79, %54
%56 = load i32, ptr @stderr, align 4
%57 = load ptr, ptr %4, align 8
%58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.4, ptr noundef %57)
%59 = load ptr, ptr %7, align 8
%60 = call i32 @fclose(ptr noundef %59)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %49
store i32 2, ptr %8, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp sle i32 %63, 11
br i1 %64, label %.lr.ph, label %86
.lr.ph: ; preds = %62
br label %65
65: ; preds = %.lr.ph, %81
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr @SEEK_CUR, align 4
%68 = call i32 @fseek(ptr noundef %66, i32 noundef 5120, i32 noundef %67)
%69 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%70 = getelementptr inbounds i8, ptr %69, i64 11264
%71 = load i32, ptr %8, align 4
%72 = sub nsw i32 %71, 2
%73 = mul nsw i32 %72, 512
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %70, i64 %74
%76 = load ptr, ptr %7, align 8
%77 = call i32 @fread(ptr noundef %75, i32 noundef 1, i32 noundef 512, ptr noundef %76)
%78 = icmp ne i32 %77, 512
br i1 %78, label %79, label %80
79: ; preds = %65
br label %55
80: ; preds = %65
br label %81
81: ; preds = %80
%82 = load i32, ptr %8, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %8, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp sle i32 %84, 11
br i1 %85, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %86
86: ; preds = %._crit_edge, %62
%87 = getelementptr inbounds [16384 x i8], ptr %5, i64 0, i64 0
%88 = load ptr, ptr @stdout, align 8
%89 = call i32 @fwrite(ptr noundef %87, i32 noundef 1, i32 noundef 16384, ptr noundef %88)
br label %90
90: ; preds = %86, %36
ret void
}
declare i32 @get_os_sectors(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(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" }
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/tmpcgevjmgf.c'
source_filename = "/tmp/tmpcgevjmgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"NOT IMPLEMENTED:pa_ext_device_restore_read_formats\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_ext_device_restore_read_formats() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpcgevjmgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"NOT IMPLEMENTED:pa_ext_device_restore_read_formats\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_ext_device_restore_read_formats() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpnycdbhk1.c'
source_filename = "/tmp/tmpnycdbhk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#define\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handle_possible_define(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 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 2
%15 = load ptr, ptr %14, align 8
%16 = call i32 @define(ptr noundef %12, ptr noundef %15)
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %9
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @define(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/tmpnycdbhk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#define\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handle_possible_define(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 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 2
%15 = load ptr, ptr %14, align 8
%16 = call i32 @define(ptr noundef %12, ptr noundef %15)
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %9
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @define(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/tmpjeiar3m9.c'
source_filename = "/tmp/tmpjeiar3m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input a positive number:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"sqrt(%.2lf)=%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
br label %4
4: ; preds = %7, %0
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %7
7: ; preds = %4
%8 = load double, ptr %2, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %4, label %10, !llvm.loop !6
10: ; preds = %7
%11 = load double, ptr %2, align 8
%12 = call double @sqrt(double noundef %11) #3
store double %12, ptr %3, align 8
%13 = load double, ptr %2, align 8
%14 = load double, ptr %3, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13, double noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjeiar3m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input a positive number:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"sqrt(%.2lf)=%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
br label %4
4: ; preds = %7, %0
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %7
7: ; preds = %4
%8 = load double, ptr %2, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %4, label %10, !llvm.loop !6
10: ; preds = %7
%11 = load double, ptr %2, align 8
%12 = call double @sqrt(double noundef %11) #3
store double %12, ptr %3, align 8
%13 = load double, ptr %2, align 8
%14 = load double, ptr %3, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13, double noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_d0lmbop.c'
source_filename = "/tmp/tmp_d0lmbop.c"
target datalayout = "e-m:e-p270: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_d0lmbop.c"
target datalayout = "e-m:e-p270: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/tmp4mv24kks.c'
source_filename = "/tmp/tmp4mv24kks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"\0AUsage:\09tmond [-p port]\0AThe default port number is 7777.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4mv24kks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"\0AUsage:\09tmond [-p port]\0AThe default port number is 7777.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyqw5yhdo.c'
source_filename = "/tmp/tmpyqw5yhdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_buffer_blake2s_key(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call ptr @blake2s_buffer(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15)
ret ptr %16
}
declare ptr @blake2s_buffer(ptr noundef, ptr noundef, 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/tmpyqw5yhdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_buffer_blake2s_key(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call ptr @blake2s_buffer(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15)
ret ptr %16
}
declare ptr @blake2s_buffer(ptr noundef, ptr noundef, 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/tmpif1zn6u0.c'
source_filename = "/tmp/tmpif1zn6u0.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"lines:%d, words:%d, chars:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %36, %0
%8 = call i32 (...) @getchar()
store i32 %8, ptr %2, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %37
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %16, %11
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 32
br i1 %21, label %28, label %22
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 9
br i1 %27, label %28, label %29
28: ; preds = %25, %22, %19
store i32 0, ptr %6, align 4
br label %36
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
store i32 1, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %32, %29
br label %36
36: ; preds = %35, %28
br label %7, !llvm.loop !6
37: ; preds = %7
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpif1zn6u0.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"lines:%d, words:%d, chars:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = call i32 (...) @getchar()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %35
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 10
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %18
18: ; preds = %15, %10
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 32
br i1 %20, label %27, label %21
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 9
br i1 %26, label %27, label %28
27: ; preds = %24, %21, %18
store i32 0, ptr %6, align 4
br label %35
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
store i32 1, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31, %28
br label %35
35: ; preds = %34, %27
%36 = call i32 (...) @getchar()
store i32 %36, ptr %2, align 4
%37 = load i32, ptr @EOF, align 4
%38 = icmp ne i32 %36, %37
br i1 %38, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %39
39: ; preds = %._crit_edge, %0
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp74z5r64k.c'
source_filename = "/tmp/tmp74z5r64k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hV\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Using getopt example v0.1\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Say something: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%9s\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"You said \22%s\22\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 [10 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %13, label %29
13: ; preds = %8
%14 = load i32, ptr %6, align 4
switch i32 %14, label %23 [
i32 104, label %15
i32 86, label %20
]
15: ; preds = %13
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @usage(ptr noundef %18)
store i32 0, ptr %3, align 4
br label %36
20: ; preds = %13
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%22 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %22, ptr %3, align 4
br label %36
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 @usage(ptr noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %28, ptr %3, align 4
br label %36
29: ; preds = %8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%31 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %31)
%33 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33)
%35 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %29, %23, %20, %15
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
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/tmp74z5r64k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hV\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Using getopt example v0.1\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Say something: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%9s\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"You said \22%s\22\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 [10 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %13, label %29
13: ; preds = %8
%14 = load i32, ptr %6, align 4
switch i32 %14, label %23 [
i32 104, label %15
i32 86, label %20
]
15: ; preds = %13
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @usage(ptr noundef %18)
store i32 0, ptr %3, align 4
br label %36
20: ; preds = %13
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%22 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %22, ptr %3, align 4
br label %36
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 @usage(ptr noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %28, ptr %3, align 4
br label %36
29: ; preds = %8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%31 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %31)
%33 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33)
%35 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %29, %23, %20, %15
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
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/tmpgyfuyida.c'
source_filename = "/tmp/tmpgyfuyida.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @_logsumexp(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store double %2, ptr %7, align 8
store double 0.000000e+00, ptr %9, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 0, %10
br i1 %11, label %12, label %13
12: ; preds = %3
store double 0xFFF0000000000000, ptr %4, align 8
br label %42
13: ; preds = %3
%14 = load double, ptr %7, align 8
%15 = fcmp oeq double 0xFFF0000000000000, %14
br i1 %15, label %16, label %17
16: ; preds = %13
store double 0xFFF0000000000000, ptr %4, align 8
br label %42
17: ; preds = %13
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %34, %17
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = load double, ptr %7, align 8
%29 = fsub double %27, %28
%30 = call i64 @exp(double noundef %29)
%31 = sitofp i64 %30 to double
%32 = load double, ptr %9, align 8
%33 = fadd double %32, %31
store double %33, ptr %9, align 8
br label %34
34: ; preds = %22
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load double, ptr %7, align 8
%39 = load double, ptr %9, align 8
%40 = call double @log(double noundef %39) #3
%41 = fadd double %38, %40
store double %41, ptr %4, align 8
br label %42
42: ; preds = %37, %16, %12
%43 = load double, ptr %4, align 8
ret double %43
}
declare i64 @exp(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgyfuyida.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @_logsumexp(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store double %2, ptr %7, align 8
store double 0.000000e+00, ptr %9, align 8
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 0, %10
br i1 %11, label %12, label %13
12: ; preds = %3
store double 0xFFF0000000000000, ptr %4, align 8
br label %44
13: ; preds = %3
%14 = load double, ptr %7, align 8
%15 = fcmp oeq double 0xFFF0000000000000, %14
br i1 %15, label %16, label %17
16: ; preds = %13
store double 0xFFF0000000000000, ptr %4, align 8
br label %44
17: ; preds = %13
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %39
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %33
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = load double, ptr %7, align 8
%28 = fsub double %26, %27
%29 = call i64 @exp(double noundef %28)
%30 = sitofp i64 %29 to double
%31 = load double, ptr %9, align 8
%32 = fadd double %31, %30
store double %32, ptr %9, align 8
br label %33
33: ; preds = %21
%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 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %17
%40 = load double, ptr %7, align 8
%41 = load double, ptr %9, align 8
%42 = call double @log(double noundef %41) #3
%43 = fadd double %40, %42
store double %43, ptr %4, align 8
br label %44
44: ; preds = %39, %16, %12
%45 = load double, ptr %4, align 8
ret double %45
}
declare i64 @exp(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqkdg_rcu.c'
source_filename = "/tmp/tmpqkdg_rcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun0(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = call i32 @fun1(i32 noundef %11, i32 noundef %13)
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @fun1(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/tmpqkdg_rcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun0(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
%14 = call i32 @fun1(i32 noundef %11, i32 noundef %13)
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @fun1(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/tmp1nfttjd9.c'
source_filename = "/tmp/tmp1nfttjd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tran_file_close(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 = icmp ne i32 %5, -1
br i1 %6, label %7, label %18
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call i32 @tran_file_write_track_deltas(i32 noundef %11, ptr noundef null, i32 noundef 0, i32 noundef -1, i32 noundef -1)
%13 = load i32, ptr %3, align 4
%14 = call i32 @fsync(i32 noundef %13)
br label %15
15: ; preds = %10, %7
%16 = load i32, ptr %3, align 4
%17 = call i32 @close(i32 noundef %16)
br label %18
18: ; preds = %15, %2
ret void
}
declare i32 @tran_file_write_track_deltas(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fsync(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/tmp1nfttjd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tran_file_close(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 = icmp ne i32 %5, -1
br i1 %6, label %7, label %18
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call i32 @tran_file_write_track_deltas(i32 noundef %11, ptr noundef null, i32 noundef 0, i32 noundef -1, i32 noundef -1)
%13 = load i32, ptr %3, align 4
%14 = call i32 @fsync(i32 noundef %13)
br label %15
15: ; preds = %10, %7
%16 = load i32, ptr %3, align 4
%17 = call i32 @close(i32 noundef %16)
br label %18
18: ; preds = %15, %2
ret void
}
declare i32 @tran_file_write_track_deltas(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fsync(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/tmp5rdx4dec.c'
source_filename = "/tmp/tmp5rdx4dec.c"
target datalayout = "e-m:e-p270: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/tmp5rdx4dec.c"
target datalayout = "e-m:e-p270: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/tmpk9y4li1i.c'
source_filename = "/tmp/tmpk9y4li1i.c"
target datalayout = "e-m:e-p270: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/tmpk9y4li1i.c"
target datalayout = "e-m:e-p270: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/tmps4ugdlxw.c'
source_filename = "/tmp/tmps4ugdlxw.c"
target datalayout = "e-m:e-p270: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/tmps4ugdlxw.c"
target datalayout = "e-m:e-p270: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/tmp038jbi1n.c'
source_filename = "/tmp/tmp038jbi1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openDevNull(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, -1
br i1 %9, label %10, label %20
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @dup2(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = call i32 @close(i32 noundef %18)
br label %20
20: ; preds = %14, %10, %1
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, -1
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 0, i32 -1
ret i32 %24
}
declare i32 @close(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup2(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/tmp038jbi1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openDevNull(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, -1
br i1 %9, label %10, label %20
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @dup2(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = call i32 @close(i32 noundef %18)
br label %20
20: ; preds = %14, %10, %1
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, -1
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 0, i32 -1
ret i32 %24
}
declare i32 @close(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup2(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/tmphlmuga1q.c'
source_filename = "/tmp/tmphlmuga1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wait_nohang(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @WNOHANG, align 4
%5 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @waitpid(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/tmphlmuga1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wait_nohang(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @WNOHANG, align 4
%5 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @waitpid(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/tmp9wu2qq0g.c'
source_filename = "/tmp/tmp9wu2qq0g.c"
target datalayout = "e-m:e-p270: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/tmp9wu2qq0g.c"
target datalayout = "e-m:e-p270: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/tmph744v1mi.c'
source_filename = "/tmp/tmph744v1mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %12, %4
br label %30
16: ; preds = %12
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = mul i64 %17, %18
%20 = call ptr @malloc(i64 noundef %19) #3
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %6, align 8
%24 = sub i64 %23, 1
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i32 @mergesort_rec(ptr noundef %21, ptr noundef %22, i32 noundef 0, i64 noundef %24, i64 noundef %25, ptr noundef %26)
%28 = load ptr, ptr %9, align 8
%29 = call i32 @free(ptr noundef %28)
br label %30
30: ; preds = %16, %15
ret void
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @mergesort_rec(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph744v1mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %12, %4
br label %30
16: ; preds = %12
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = mul i64 %17, %18
%20 = call ptr @malloc(i64 noundef %19) #3
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %6, align 8
%24 = sub i64 %23, 1
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i32 @mergesort_rec(ptr noundef %21, ptr noundef %22, i32 noundef 0, i64 noundef %24, i64 noundef %25, ptr noundef %26)
%28 = load ptr, ptr %9, align 8
%29 = call i32 @free(ptr noundef %28)
br label %30
30: ; preds = %16, %15
ret void
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @mergesort_rec(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ucoh8po.c'
source_filename = "/tmp/tmp1ucoh8po.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i64, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr %4, align 8
store i64 0, ptr %7, align 8
br label %13
13: ; preds = %39, %3
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %42
17: ; preds = %13
store i64 0, ptr %8, align 8
br label %18
18: ; preds = %35, %17
%19 = load i64, ptr %8, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %38
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %7, align 8
%25 = mul nsw i64 %24, %10
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds double, ptr %26, i64 %27
store double 1.000000e+00, ptr %28, align 8
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = mul nsw i64 %30, %12
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds double, ptr %32, i64 %33
store double 1.000000e+00, ptr %34, align 8
br label %35
35: ; preds = %22
%36 = load i64, ptr %8, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %8, align 8
br label %18, !llvm.loop !6
38: ; preds = %18
br label %39
39: ; preds = %38
%40 = load i64, ptr %7, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %7, align 8
br label %13, !llvm.loop !8
42: ; preds = %13
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ucoh8po.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i64, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr %4, align 8
store i64 0, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %4, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph2, label %46
.lr.ph2: ; preds = %3
br label %16
16: ; preds = %.lr.ph2, %40
store i64 0, ptr %8, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %39
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %33
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %7, align 8
%23 = mul nsw i64 %22, %10
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds double, ptr %24, i64 %25
store double 1.000000e+00, ptr %26, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %7, align 8
%29 = mul nsw i64 %28, %12
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds double, ptr %30, i64 %31
store double 1.000000e+00, ptr %32, align 8
br label %33
33: ; preds = %20
%34 = load i64, ptr %8, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %8, align 8
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %4, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %16
br label %40
40: ; preds = %39
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %7, align 8
%43 = load i64, ptr %7, align 8
%44 = load i64, ptr %4, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplmh_iq17.c'
source_filename = "/tmp/tmplmh_iq17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w:q:h\00", align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"Time: %f\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 i8, align 1
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %14
14: ; preds = %30, %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = call signext i8 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str)
store i8 %17, ptr %6, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, -1
br i1 %19, label %20, label %31
20: ; preds = %14
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %28 [
i32 104, label %23
]
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 @usage(ptr noundef %26)
br label %30
28: ; preds = %20
%29 = call i32 (...) @abort() #3
unreachable
30: ; preds = %23
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load i32, ptr @optind, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @usage(ptr noundef %38)
%40 = call i32 @exit(i32 noundef 1) #3
unreachable
41: ; preds = %31
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr @optind, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = call i32 @atoi(ptr noundef %46)
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 4
%53 = trunc i64 %52 to i32
%54 = call ptr @malloc(i32 noundef %53)
store ptr %54, ptr %8, align 8
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = mul nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 4
%60 = trunc i64 %59 to i32
%61 = call ptr @malloc(i32 noundef %60)
store ptr %61, ptr %9, align 8
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %7, align 4
%64 = mul nsw i32 %62, %63
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 4
%67 = trunc i64 %66 to i32
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %10, align 8
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = mul nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = mul i64 %72, 4
%74 = trunc i64 %73 to i32
%75 = call ptr @malloc(i32 noundef %74)
store ptr %75, ptr %11, align 8
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %7, align 4
%78 = call i32 @init(ptr noundef %76, i32 noundef %77)
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %7, align 4
%81 = call i32 @init(ptr noundef %79, i32 noundef %80)
%82 = load ptr, ptr %10, align 8
%83 = load i32, ptr %7, align 4
%84 = call i32 @zero(ptr noundef %82, i32 noundef %83)
%85 = load ptr, ptr %11, align 8
%86 = load i32, ptr %7, align 4
%87 = call i32 @zero(ptr noundef %85, i32 noundef %86)
%88 = call double (...) @wctime()
store double %88, ptr %12, align 8
%89 = load ptr, ptr %8, align 8
%90 = load ptr, ptr %9, align 8
%91 = load ptr, ptr %11, align 8
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = call i32 @rec_matmul(ptr noundef %89, ptr noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %94, i32 noundef %95, i32 noundef 0)
%97 = call double (...) @wctime()
store double %97, ptr %13, align 8
%98 = load double, ptr %13, align 8
%99 = load double, ptr %12, align 8
%100 = fsub double %98, %99
%101 = call i32 @printf(ptr noundef @.str.1, double noundef %100)
%102 = load ptr, ptr %11, align 8
%103 = call i32 @free(ptr noundef %102)
%104 = load ptr, ptr %10, align 8
%105 = call i32 @free(ptr noundef %104)
%106 = load ptr, ptr %9, align 8
%107 = call i32 @free(ptr noundef %106)
%108 = load ptr, ptr %8, align 8
%109 = call i32 @free(ptr noundef %108)
ret i32 0
}
declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @init(ptr noundef, i32 noundef) #1
declare i32 @zero(ptr noundef, i32 noundef) #1
declare double @wctime(...) #1
declare i32 @rec_matmul(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmplmh_iq17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w:q:h\00", align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"Time: %f\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 i8, align 1
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call signext i8 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str)
store i8 %16, ptr %6, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, -1
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %29
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %27 [
i32 104, label %22
]
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 @usage(ptr noundef %25)
br label %29
27: ; preds = %19
%28 = call i32 (...) @abort() #3
unreachable
29: ; preds = %22
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %5, align 8
%32 = call signext i8 @getopt(i32 noundef %30, ptr noundef %31, ptr noundef @.str)
store i8 %32, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, -1
br i1 %34, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
%36 = load i32, ptr @optind, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %45
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 0
%42 = load ptr, ptr %41, align 8
%43 = call i32 @usage(ptr noundef %42)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %35
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr @optind, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = call i32 @atoi(ptr noundef %50)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = mul nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = mul i64 %55, 4
%57 = trunc i64 %56 to i32
%58 = call ptr @malloc(i32 noundef %57)
store ptr %58, ptr %8, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = mul nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 4
%64 = trunc i64 %63 to i32
%65 = call ptr @malloc(i32 noundef %64)
store ptr %65, ptr %9, align 8
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = mul nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = mul i64 %69, 4
%71 = trunc i64 %70 to i32
%72 = call ptr @malloc(i32 noundef %71)
store ptr %72, ptr %10, align 8
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = mul nsw i32 %73, %74
%76 = sext i32 %75 to i64
%77 = mul i64 %76, 4
%78 = trunc i64 %77 to i32
%79 = call ptr @malloc(i32 noundef %78)
store ptr %79, ptr %11, align 8
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %7, align 4
%82 = call i32 @init(ptr noundef %80, i32 noundef %81)
%83 = load ptr, ptr %9, align 8
%84 = load i32, ptr %7, align 4
%85 = call i32 @init(ptr noundef %83, i32 noundef %84)
%86 = load ptr, ptr %10, align 8
%87 = load i32, ptr %7, align 4
%88 = call i32 @zero(ptr noundef %86, i32 noundef %87)
%89 = load ptr, ptr %11, align 8
%90 = load i32, ptr %7, align 4
%91 = call i32 @zero(ptr noundef %89, i32 noundef %90)
%92 = call double (...) @wctime()
store double %92, ptr %12, align 8
%93 = load ptr, ptr %8, align 8
%94 = load ptr, ptr %9, align 8
%95 = load ptr, ptr %11, align 8
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %7, align 4
%100 = call i32 @rec_matmul(ptr noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef 0)
%101 = call double (...) @wctime()
store double %101, ptr %13, align 8
%102 = load double, ptr %13, align 8
%103 = load double, ptr %12, align 8
%104 = fsub double %102, %103
%105 = call i32 @printf(ptr noundef @.str.1, double noundef %104)
%106 = load ptr, ptr %11, align 8
%107 = call i32 @free(ptr noundef %106)
%108 = load ptr, ptr %10, align 8
%109 = call i32 @free(ptr noundef %108)
%110 = load ptr, ptr %9, align 8
%111 = call i32 @free(ptr noundef %110)
%112 = load ptr, ptr %8, align 8
%113 = call i32 @free(ptr noundef %112)
ret i32 0
}
declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @init(ptr noundef, i32 noundef) #1
declare i32 @zero(ptr noundef, i32 noundef) #1
declare double @wctime(...) #1
declare i32 @rec_matmul(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpef8ypqw3.c'
source_filename = "/tmp/tmpef8ypqw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkXrefTable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @getXrefLocation(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %23
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 7
%15 = load i32, ptr @SEEK_SET, align 4
%16 = call i32 @fseek(ptr noundef %12, i32 noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%18 = load ptr, ptr %3, align 8
%19 = call i32 @fread(ptr noundef %17, i32 noundef 2, i32 noundef 1, ptr noundef %18)
%20 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%21 = call i64 @strtol(ptr noundef %20, ptr noundef null, i32 noundef 10)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %11, %10
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @getXrefLocation(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpef8ypqw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkXrefTable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @getXrefLocation(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %23
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 7
%15 = load i32, ptr @SEEK_SET, align 4
%16 = call i32 @fseek(ptr noundef %12, i32 noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%18 = load ptr, ptr %3, align 8
%19 = call i32 @fread(ptr noundef %17, i32 noundef 2, i32 noundef 1, ptr noundef %18)
%20 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%21 = call i64 @strtol(ptr noundef %20, ptr noundef null, i32 noundef 10)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %11, %10
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @getXrefLocation(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @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"}
|
; ModuleID = '/tmp/tmpwglvhyag.c'
source_filename = "/tmp/tmpwglvhyag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"parent %d return form fork, child=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"child %d return from fork, child=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @syscall(i32 noundef 7, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = call i32 (...) @getpid()
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
br label %14
10: ; preds = %0
%11 = call i32 (...) @getpid()
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
br label %14
14: ; preds = %10, %6
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwglvhyag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"parent %d return form fork, child=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"child %d return from fork, child=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @syscall(i32 noundef 7, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = call i32 (...) @getpid()
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
br label %14
10: ; preds = %0
%11 = call i32 (...) @getpid()
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
br label %14
14: ; preds = %10, %6
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxqcw45g4.c'
source_filename = "/tmp/tmpxqcw45g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdate_get_omer_string(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @hdate_string(i32 noundef 6, i32 noundef %3, i32 noundef 0, i32 noundef 0)
ret ptr %4
}
declare ptr @hdate_string(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/tmpxqcw45g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdate_get_omer_string(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @hdate_string(i32 noundef 6, i32 noundef %3, i32 noundef 0, i32 noundef 0)
ret ptr %4
}
declare ptr @hdate_string(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/tmpkekxdkik.c'
source_filename = "/tmp/tmpkekxdkik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_read_file(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @errno, align 4
%17 = sub nsw i32 0, %16
store i32 %17, ptr %4, align 4
br label %20
18: ; preds = %3
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr %4, align 4
ret i32 %21
}
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/tmpkekxdkik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_read_file(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @errno, align 4
%17 = sub nsw i32 0, %16
store i32 %17, ptr %4, align 4
br label %20
18: ; preds = %3
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr %4, align 4
ret i32 %21
}
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/tmprwir88wy.c'
source_filename = "/tmp/tmprwir88wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @getPreviousChar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @SEEK_CUR, align 4
%5 = call i32 @fseek(ptr noundef %3, i32 noundef -1, i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call signext i8 @fgetc(ptr noundef %6)
ret i8 %7
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwir88wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @getPreviousChar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @SEEK_CUR, align 4
%5 = call i32 @fseek(ptr noundef %3, i32 noundef -1, i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call signext i8 @fgetc(ptr noundef %6)
ret i8 %7
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg2mgozz7.c'
source_filename = "/tmp/tmpg2mgozz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putendl(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
%8 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg2mgozz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putendl(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
%8 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxwcpye14.c'
source_filename = "/tmp/tmpxwcpye14.c"
target datalayout = "e-m:e-p270: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/tmpxwcpye14.c"
target datalayout = "e-m:e-p270: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/tmpryw1xf_g.c'
source_filename = "/tmp/tmpryw1xf_g.c"
target datalayout = "e-m:e-p270: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/tmpryw1xf_g.c"
target datalayout = "e-m:e-p270: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/tmpwugnzf2y.c'
source_filename = "/tmp/tmpwugnzf2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [576 x i8] c"Testing:\0AIn order to support some form of automatic 'jitter' in the output,\0Athe child process's idea of time can be randomly perturbed:\0A\0A -perturb <seed> <range> <verbose>\0A\0A<seed> is the initial seed for the random number generator (1 is a\0Atraditional default), and <range> is the maximum amount to perturb\0Atime by -- this will be used in both the positive and negative\0Adirections, and is in milliseconds. <verbose> is either 0 or 1 --\0Aif it is 1 then each perturbation time will be reported.\0AIt is probably worth selecting a large value for -maxnowait when\0Ausing -perturb.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tswrite_help_testing() #0 {
%1 = call i32 @print_msg(ptr noundef @.str)
ret void
}
declare i32 @print_msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwugnzf2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [576 x i8] c"Testing:\0AIn order to support some form of automatic 'jitter' in the output,\0Athe child process's idea of time can be randomly perturbed:\0A\0A -perturb <seed> <range> <verbose>\0A\0A<seed> is the initial seed for the random number generator (1 is a\0Atraditional default), and <range> is the maximum amount to perturb\0Atime by -- this will be used in both the positive and negative\0Adirections, and is in milliseconds. <verbose> is either 0 or 1 --\0Aif it is 1 then each perturbation time will be reported.\0AIt is probably worth selecting a large value for -maxnowait when\0Ausing -perturb.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tswrite_help_testing() #0 {
%1 = call i32 @print_msg(ptr noundef @.str)
ret void
}
declare i32 @print_msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiga0ibkb.c'
source_filename = "/tmp/tmpiga0ibkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef 456, i32 noundef 1234)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiga0ibkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef 456, i32 noundef 1234)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpotoxl5vy.c'
source_filename = "/tmp/tmpotoxl5vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Podaj rok urodzenia: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Masz %d lat\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 2017, %9
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
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/tmpotoxl5vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Podaj rok urodzenia: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Masz %d lat\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 2017, %9
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
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/tmpgk5s7kbc.c'
source_filename = "/tmp/tmpgk5s7kbc.c"
target datalayout = "e-m:e-p270: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/tmpgk5s7kbc.c"
target datalayout = "e-m:e-p270: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/tmp4qi6qrtb.c'
source_filename = "/tmp/tmp4qi6qrtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %14, %3
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %7, align 8
%12 = load i8, ptr %10, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
br label %9, !llvm.loop !6
15: ; preds = %9
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 -1
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %30, %15
%19 = load i64, ptr %6, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %7, align 8
store i8 %24, ptr %25, align 1
%26 = sext i8 %24 to i32
%27 = icmp ne i32 %26, 0
br label %28
28: ; preds = %21, %18
%29 = phi i1 [ false, %18 ], [ %27, %21 ]
br i1 %29, label %30, label %35
30: ; preds = %28
%31 = load i64, ptr %6, align 8
%32 = add i64 %31, -1
store i64 %32, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
br label %18, !llvm.loop !8
35: ; preds = %28
%36 = load ptr, ptr %7, align 8
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %4, align 8
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4qi6qrtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %9, %3
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %7, align 8
%12 = load i8, ptr %10, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %9, label %14, !llvm.loop !6
14: ; preds = %9
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 -1
store ptr %16, ptr %7, align 8
br label %17
17: ; preds = %29, %14
%18 = load i64, ptr %6, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load i8, ptr %21, align 1
%24 = load ptr, ptr %7, align 8
store i8 %23, ptr %24, align 1
%25 = sext i8 %23 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %20, %17
%28 = phi i1 [ false, %17 ], [ %26, %20 ]
br i1 %28, label %29, label %34
29: ; preds = %27
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, -1
store i64 %31, ptr %6, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %7, align 8
br label %17, !llvm.loop !8
34: ; preds = %27
%35 = load ptr, ptr %7, align 8
store i8 0, ptr %35, align 1
%36 = load ptr, ptr %4, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3v4jcmj_.c'
source_filename = "/tmp/tmp3v4jcmj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_random_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @O_RDONLY, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @read(i32 noundef %9, ptr noundef %6, i32 noundef 4)
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = sub i32 %12, %13
%15 = urem i32 %11, %14
%16 = load i32, ptr %3, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load i32, ptr %6, align 4
ret i32 %20
}
declare i32 @open(ptr noundef, 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/tmp3v4jcmj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_random_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @O_RDONLY, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @read(i32 noundef %9, ptr noundef %6, i32 noundef 4)
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = sub i32 %12, %13
%15 = urem i32 %11, %14
%16 = load i32, ptr %3, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load i32, ptr %6, align 4
ret i32 %20
}
declare i32 @open(ptr noundef, 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/tmp03znzkrd.c'
source_filename = "/tmp/tmp03znzkrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 0, %3
%5 = call i32 @left_motor(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @right_motor(i32 noundef %6)
ret void
}
declare i32 @left_motor(i32 noundef) #1
declare i32 @right_motor(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/tmp03znzkrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 0, %3
%5 = call i32 @left_motor(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @right_motor(i32 noundef %6)
ret void
}
declare i32 @left_motor(i32 noundef) #1
declare i32 @right_motor(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/tmpxaodleg3.c'
source_filename = "/tmp/tmpxaodleg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"N\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4 x [2 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %9, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %7)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %0
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = xor i32 %19, %18
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = xor i32 %22, %21
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = xor i32 %25, %24
store i32 %26, ptr %2, align 4
br label %27
27: ; preds = %17, %0
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%34 = getelementptr inbounds [2 x i32], ptr %33, i64 0, i64 0
store i32 %32, ptr %34, align 16
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %35, %36
%38 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%39 = getelementptr inbounds [2 x i32], ptr %38, i64 0, i64 1
store i32 %37, ptr %39, align 4
br label %49
40: ; preds = %27
%41 = load i32, ptr %5, align 4
%42 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%43 = getelementptr inbounds [2 x i32], ptr %42, i64 0, i64 0
store i32 %41, ptr %43, align 16
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %44, %45
%47 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%48 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1
store i32 %46, ptr %48, align 4
br label %49
49: ; preds = %40, %31
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %62
53: ; preds = %49
%54 = load i32, ptr %6, align 4
%55 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 0
store i32 %54, ptr %56, align 8
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %57, %58
%60 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 1
store i32 %59, ptr %61, align 4
br label %71
62: ; preds = %49
%63 = load i32, ptr %5, align 4
%64 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%65 = getelementptr inbounds [2 x i32], ptr %64, i64 0, i64 0
store i32 %63, ptr %65, align 8
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %66, %67
%69 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%70 = getelementptr inbounds [2 x i32], ptr %69, i64 0, i64 1
store i32 %68, ptr %70, align 4
br label %71
71: ; preds = %62, %53
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp sgt i32 %72, %73
br i1 %74, label %75, label %84
75: ; preds = %71
%76 = load i32, ptr %4, align 4
%77 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%78 = getelementptr inbounds [2 x i32], ptr %77, i64 0, i64 0
store i32 %76, ptr %78, align 16
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %5, align 4
%81 = add nsw i32 %79, %80
%82 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%83 = getelementptr inbounds [2 x i32], ptr %82, i64 0, i64 1
store i32 %81, ptr %83, align 4
br label %93
84: ; preds = %71
%85 = load i32, ptr %7, align 4
%86 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%87 = getelementptr inbounds [2 x i32], ptr %86, i64 0, i64 0
store i32 %85, ptr %87, align 16
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %5, align 4
%90 = add nsw i32 %88, %89
%91 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%92 = getelementptr inbounds [2 x i32], ptr %91, i64 0, i64 1
store i32 %90, ptr %92, align 4
br label %93
93: ; preds = %84, %75
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp sgt i32 %94, %95
br i1 %96, label %97, label %106
97: ; preds = %93
%98 = load i32, ptr %6, align 4
%99 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%100 = getelementptr inbounds [2 x i32], ptr %99, i64 0, i64 0
store i32 %98, ptr %100, align 8
%101 = load i32, ptr %4, align 4
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %101, %102
%104 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%105 = getelementptr inbounds [2 x i32], ptr %104, i64 0, i64 1
store i32 %103, ptr %105, align 4
br label %115
106: ; preds = %93
%107 = load i32, ptr %7, align 4
%108 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%109 = getelementptr inbounds [2 x i32], ptr %108, i64 0, i64 0
store i32 %107, ptr %109, align 8
%110 = load i32, ptr %4, align 4
%111 = load i32, ptr %5, align 4
%112 = add nsw i32 %110, %111
%113 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%114 = getelementptr inbounds [2 x i32], ptr %113, i64 0, i64 1
store i32 %112, ptr %114, align 4
br label %115
115: ; preds = %106, %97
store i32 0, ptr %8, align 4
br label %116
116: ; preds = %183, %115
%117 = load i32, ptr %8, align 4
%118 = icmp slt i32 %117, 4
br i1 %118, label %119, label %186
119: ; preds = %116
%120 = load i32, ptr %8, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %121
%123 = getelementptr inbounds [2 x i32], ptr %122, i64 0, i64 0
%124 = load i32, ptr %123, align 8
%125 = load i32, ptr %8, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %126
%128 = getelementptr inbounds [2 x i32], ptr %127, i64 0, i64 1
%129 = load i32, ptr %128, align 4
%130 = icmp slt i32 %124, %129
br i1 %130, label %131, label %165
131: ; preds = %119
%132 = load i32, ptr %8, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %133
%135 = getelementptr inbounds [2 x i32], ptr %134, i64 0, i64 1
%136 = load i32, ptr %135, align 4
%137 = load i32, ptr %8, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %138
%140 = getelementptr inbounds [2 x i32], ptr %139, i64 0, i64 0
%141 = load i32, ptr %140, align 8
%142 = xor i32 %141, %136
store i32 %142, ptr %140, align 8
%143 = load i32, ptr %8, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %144
%146 = getelementptr inbounds [2 x i32], ptr %145, i64 0, i64 0
%147 = load i32, ptr %146, align 8
%148 = load i32, ptr %8, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %149
%151 = getelementptr inbounds [2 x i32], ptr %150, i64 0, i64 1
%152 = load i32, ptr %151, align 4
%153 = xor i32 %152, %147
store i32 %153, ptr %151, align 4
%154 = load i32, ptr %8, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %155
%157 = getelementptr inbounds [2 x i32], ptr %156, i64 0, i64 1
%158 = load i32, ptr %157, align 4
%159 = load i32, ptr %8, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %160
%162 = getelementptr inbounds [2 x i32], ptr %161, i64 0, i64 0
%163 = load i32, ptr %162, align 8
%164 = xor i32 %163, %158
store i32 %164, ptr %162, align 8
br label %165
165: ; preds = %131, %119
%166 = load i32, ptr %2, align 4
%167 = load i32, ptr %8, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %168
%170 = getelementptr inbounds [2 x i32], ptr %169, i64 0, i64 0
%171 = load i32, ptr %170, align 8
%172 = icmp sge i32 %166, %171
br i1 %172, label %173, label %182
173: ; preds = %165
%174 = load i32, ptr %3, align 4
%175 = load i32, ptr %8, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %176
%178 = getelementptr inbounds [2 x i32], ptr %177, i64 0, i64 1
%179 = load i32, ptr %178, align 4
%180 = icmp sge i32 %174, %179
br i1 %180, label %181, label %182
181: ; preds = %173
store i32 1, ptr %9, align 4
br label %186
182: ; preds = %173, %165
br label %183
183: ; preds = %182
%184 = load i32, ptr %8, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %8, align 4
br label %116, !llvm.loop !6
186: ; preds = %181, %116
%187 = load i32, ptr %9, align 4
%188 = icmp ne i32 %187, 0
br i1 %188, label %189, label %191
189: ; preds = %186
%190 = call i32 @printf(ptr noundef @.str.1)
br label %193
191: ; preds = %186
%192 = call i32 @printf(ptr noundef @.str.2)
br label %193
193: ; preds = %191, %189
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxaodleg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"N\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4 x [2 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %9, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %7)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %0
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = xor i32 %19, %18
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = xor i32 %22, %21
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = xor i32 %25, %24
store i32 %26, ptr %2, align 4
br label %27
27: ; preds = %17, %0
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%34 = getelementptr inbounds [2 x i32], ptr %33, i64 0, i64 0
store i32 %32, ptr %34, align 16
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %35, %36
%38 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%39 = getelementptr inbounds [2 x i32], ptr %38, i64 0, i64 1
store i32 %37, ptr %39, align 4
br label %49
40: ; preds = %27
%41 = load i32, ptr %5, align 4
%42 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%43 = getelementptr inbounds [2 x i32], ptr %42, i64 0, i64 0
store i32 %41, ptr %43, align 16
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %44, %45
%47 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 0
%48 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1
store i32 %46, ptr %48, align 4
br label %49
49: ; preds = %40, %31
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %62
53: ; preds = %49
%54 = load i32, ptr %6, align 4
%55 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 0
store i32 %54, ptr %56, align 8
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %57, %58
%60 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 1
store i32 %59, ptr %61, align 4
br label %71
62: ; preds = %49
%63 = load i32, ptr %5, align 4
%64 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%65 = getelementptr inbounds [2 x i32], ptr %64, i64 0, i64 0
store i32 %63, ptr %65, align 8
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %66, %67
%69 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 1
%70 = getelementptr inbounds [2 x i32], ptr %69, i64 0, i64 1
store i32 %68, ptr %70, align 4
br label %71
71: ; preds = %62, %53
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp sgt i32 %72, %73
br i1 %74, label %75, label %84
75: ; preds = %71
%76 = load i32, ptr %4, align 4
%77 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%78 = getelementptr inbounds [2 x i32], ptr %77, i64 0, i64 0
store i32 %76, ptr %78, align 16
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %5, align 4
%81 = add nsw i32 %79, %80
%82 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%83 = getelementptr inbounds [2 x i32], ptr %82, i64 0, i64 1
store i32 %81, ptr %83, align 4
br label %93
84: ; preds = %71
%85 = load i32, ptr %7, align 4
%86 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%87 = getelementptr inbounds [2 x i32], ptr %86, i64 0, i64 0
store i32 %85, ptr %87, align 16
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %5, align 4
%90 = add nsw i32 %88, %89
%91 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 2
%92 = getelementptr inbounds [2 x i32], ptr %91, i64 0, i64 1
store i32 %90, ptr %92, align 4
br label %93
93: ; preds = %84, %75
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp sgt i32 %94, %95
br i1 %96, label %97, label %106
97: ; preds = %93
%98 = load i32, ptr %6, align 4
%99 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%100 = getelementptr inbounds [2 x i32], ptr %99, i64 0, i64 0
store i32 %98, ptr %100, align 8
%101 = load i32, ptr %4, align 4
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %101, %102
%104 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%105 = getelementptr inbounds [2 x i32], ptr %104, i64 0, i64 1
store i32 %103, ptr %105, align 4
br label %115
106: ; preds = %93
%107 = load i32, ptr %7, align 4
%108 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%109 = getelementptr inbounds [2 x i32], ptr %108, i64 0, i64 0
store i32 %107, ptr %109, align 8
%110 = load i32, ptr %4, align 4
%111 = load i32, ptr %5, align 4
%112 = add nsw i32 %110, %111
%113 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 3
%114 = getelementptr inbounds [2 x i32], ptr %113, i64 0, i64 1
store i32 %112, ptr %114, align 4
br label %115
115: ; preds = %106, %97
store i32 0, ptr %8, align 4
%116 = load i32, ptr %8, align 4
%117 = icmp slt i32 %116, 4
br i1 %117, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %115
br label %118
118: ; preds = %.lr.ph, %182
%119 = load i32, ptr %8, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %120
%122 = getelementptr inbounds [2 x i32], ptr %121, i64 0, i64 0
%123 = load i32, ptr %122, align 8
%124 = load i32, ptr %8, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %125
%127 = getelementptr inbounds [2 x i32], ptr %126, i64 0, i64 1
%128 = load i32, ptr %127, align 4
%129 = icmp slt i32 %123, %128
br i1 %129, label %130, label %164
130: ; preds = %118
%131 = load i32, ptr %8, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %132
%134 = getelementptr inbounds [2 x i32], ptr %133, i64 0, i64 1
%135 = load i32, ptr %134, align 4
%136 = load i32, ptr %8, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %137
%139 = getelementptr inbounds [2 x i32], ptr %138, i64 0, i64 0
%140 = load i32, ptr %139, align 8
%141 = xor i32 %140, %135
store i32 %141, ptr %139, align 8
%142 = load i32, ptr %8, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %143
%145 = getelementptr inbounds [2 x i32], ptr %144, i64 0, i64 0
%146 = load i32, ptr %145, align 8
%147 = load i32, ptr %8, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %148
%150 = getelementptr inbounds [2 x i32], ptr %149, i64 0, i64 1
%151 = load i32, ptr %150, align 4
%152 = xor i32 %151, %146
store i32 %152, ptr %150, align 4
%153 = load i32, ptr %8, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %154
%156 = getelementptr inbounds [2 x i32], ptr %155, i64 0, i64 1
%157 = load i32, ptr %156, align 4
%158 = load i32, ptr %8, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %159
%161 = getelementptr inbounds [2 x i32], ptr %160, i64 0, i64 0
%162 = load i32, ptr %161, align 8
%163 = xor i32 %162, %157
store i32 %163, ptr %161, align 8
br label %164
164: ; preds = %130, %118
%165 = load i32, ptr %2, align 4
%166 = load i32, ptr %8, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %167
%169 = getelementptr inbounds [2 x i32], ptr %168, i64 0, i64 0
%170 = load i32, ptr %169, align 8
%171 = icmp sge i32 %165, %170
br i1 %171, label %172, label %181
172: ; preds = %164
%173 = load i32, ptr %3, align 4
%174 = load i32, ptr %8, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [4 x [2 x i32]], ptr %10, i64 0, i64 %175
%177 = getelementptr inbounds [2 x i32], ptr %176, i64 0, i64 1
%178 = load i32, ptr %177, align 4
%179 = icmp sge i32 %173, %178
br i1 %179, label %180, label %181
180: ; preds = %172
store i32 1, ptr %9, align 4
br label %187
181: ; preds = %172, %164
br label %182
182: ; preds = %181
%183 = load i32, ptr %8, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %8, align 4
%185 = load i32, ptr %8, align 4
%186 = icmp slt i32 %185, 4
br i1 %186, label %118, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %182
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %115
br label %187
187: ; preds = %.loopexit, %180
%188 = load i32, ptr %9, align 4
%189 = icmp ne i32 %188, 0
br i1 %189, label %190, label %192
190: ; preds = %187
%191 = call i32 @printf(ptr noundef @.str.1)
br label %194
192: ; preds = %187
%193 = call i32 @printf(ptr noundef @.str.2)
br label %194
194: ; preds = %192, %190
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzqcppykk.c'
source_filename = "/tmp/tmpzqcppykk.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32, i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"\1B[999C\1B[999B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getWindowsSize(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.winsize, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @STDOUT_FILENO, align 4
%8 = load i32, ptr @TIOCGWINSZ, align 4
%9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6)
%10 = icmp eq i32 %9, -1
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11, %2
%16 = load i32, ptr @STDOUT_FILENO, align 4
%17 = call i32 @write(i32 noundef %16, ptr noundef @.str, i32 noundef 12)
%18 = icmp ne i32 %17, 12
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 -1, ptr %3, align 4
br label %31
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @getCursorPosition(ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %31
24: ; preds = %11
%25 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
store i32 %26, ptr %27, align 4
%28 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %4, align 8
store i32 %29, ptr %30, align 4
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %24, %20, %19
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getCursorPosition(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/tmpzqcppykk.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32, i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"\1B[999C\1B[999B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getWindowsSize(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.winsize, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @STDOUT_FILENO, align 4
%8 = load i32, ptr @TIOCGWINSZ, align 4
%9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6)
%10 = icmp eq i32 %9, -1
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11, %2
%16 = load i32, ptr @STDOUT_FILENO, align 4
%17 = call i32 @write(i32 noundef %16, ptr noundef @.str, i32 noundef 12)
%18 = icmp ne i32 %17, 12
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 -1, ptr %3, align 4
br label %31
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @getCursorPosition(ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %31
24: ; preds = %11
%25 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
store i32 %26, ptr %27, align 4
%28 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %4, align 8
store i32 %29, ptr %30, align 4
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %24, %20, %19
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getCursorPosition(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/tmpwoiun556.c'
source_filename = "/tmp/tmpwoiun556.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @child_make(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = call i32 (...) @fork()
store i32 %9, ptr %8, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %4, align 4
br label %18
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @child_main(i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @fork(...) #1
declare i32 @child_main(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/tmpwoiun556.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @child_make(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = call i32 (...) @fork()
store i32 %9, ptr %8, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %4, align 4
br label %18
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @child_main(i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @fork(...) #1
declare i32 @child_main(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/tmpmrxf1j19.c'
source_filename = "/tmp/tmpmrxf1j19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = 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/tmpmrxf1j19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = 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/tmp7827qhfx.c'
source_filename = "/tmp/tmp7827qhfx.c"
target datalayout = "e-m:e-p270: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 [8 x i32] [i32 6, i32 5, i32 3, i32 8, i32 1, i32 7, i32 4, i32 2], align 16
@.str = private unnamed_addr constant [24 x i8] c"The unsorted list is: [\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"The current state of sorted is: [\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 32, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %20, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 7
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %9
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%25 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%26 = call i32 @split(i32 noundef 8, ptr noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %42, %23
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 7
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %31
br label %42
42: ; preds = %41
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %28, !llvm.loop !8
45: ; preds = %28
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%47 = load i32, ptr %1, align 4
ret i32 %47
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @split(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7827qhfx.c"
target datalayout = "e-m:e-p270: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 [8 x i32] [i32 6, i32 5, i32 3, i32 8, i32 1, i32 7, i32 4, i32 2], align 16
@.str = private unnamed_addr constant [24 x i8] c"The unsorted list is: [\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"The current state of sorted is: [\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 32, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %19
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 7
br i1 %15, label %16, label %18
16: ; preds = %8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %8
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 8
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%26 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%27 = call i32 @split(i32 noundef 8, ptr noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %.lr.ph2, label %47
.lr.ph2: ; preds = %24
br label %31
31: ; preds = %.lr.ph2, %42
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 7
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %31
br label %42
42: ; preds = %41
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 8
br i1 %46, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %47
47: ; preds = %._crit_edge3, %24
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%49 = load i32, ptr %1, align 4
ret i32 %49
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @split(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfbd44fea.c'
source_filename = "/tmp/tmpfbd44fea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chase_symlinks(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @xstrdup(ptr noundef %3)
ret ptr %4
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbd44fea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chase_symlinks(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @xstrdup(ptr noundef %3)
ret ptr %4
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprjiodr1c.c'
source_filename = "/tmp/tmprjiodr1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BoyerMooreHorspool(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca [256 x i64], align 16
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %10, align 8
br label %17
17: ; preds = %24, %4
%18 = load i64, ptr %10, align 8
%19 = icmp sle i64 %18, 255
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr %10, align 8
%23 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %22
store i64 %21, ptr %23, align 8
br label %24
24: ; preds = %20
%25 = load i64, ptr %10, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %10, align 8
br label %17, !llvm.loop !6
27: ; preds = %17
store i64 1, ptr %10, align 8
br label %28
28: ; preds = %43, %27
%29 = load i64, ptr %10, align 8
%30 = load i64, ptr %8, align 8
%31 = icmp slt i64 %29, %30
br i1 %31, label %32, label %46
32: ; preds = %28
%33 = load i64, ptr %8, align 8
%34 = load i64, ptr %10, align 8
%35 = sub nsw i64 %33, %34
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %10, align 8
%38 = sub nsw i64 %37, 1
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i64
%42 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %41
store i64 %35, ptr %42, align 8
br label %43
43: ; preds = %32
%44 = load i64, ptr %10, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %10, align 8
br label %28, !llvm.loop !8
46: ; preds = %28
%47 = load i64, ptr %8, align 8
store i64 %47, ptr %9, align 8
br label %48
48: ; preds = %102, %46
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %6, align 8
%51 = icmp sle i64 %49, %50
br i1 %51, label %52, label %113
52: ; preds = %48
%53 = load i64, ptr %9, align 8
store i64 %53, ptr %11, align 8
%54 = load i64, ptr %8, align 8
store i64 %54, ptr %10, align 8
br label %55
55: ; preds = %74, %52
%56 = load ptr, ptr %5, align 8
%57 = load i64, ptr %11, align 8
%58 = sub nsw i64 %57, 1
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = load ptr, ptr %7, align 8
%63 = load i64, ptr %10, align 8
%64 = sub nsw i64 %63, 1
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %61, %67
br i1 %68, label %69, label %72
69: ; preds = %55
%70 = load i64, ptr %10, align 8
%71 = icmp sgt i64 %70, 0
br label %72
72: ; preds = %69, %55
%73 = phi i1 [ false, %55 ], [ %71, %69 ]
br i1 %73, label %74, label %79
74: ; preds = %72
%75 = load i64, ptr %11, align 8
%76 = add nsw i64 %75, -1
store i64 %76, ptr %11, align 8
%77 = load i64, ptr %10, align 8
%78 = add nsw i64 %77, -1
store i64 %78, ptr %10, align 8
br label %55, !llvm.loop !9
79: ; preds = %72
%80 = load i64, ptr %10, align 8
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %102
82: ; preds = %79
%83 = load i64, ptr %11, align 8
%84 = sdiv i64 %83, 60
%85 = add nsw i64 %84, 1
%86 = mul nsw i64 %85, 5
store i64 %86, ptr %13, align 8
%87 = load i64, ptr %11, align 8
%88 = sdiv i64 %87, 10
store i64 %88, ptr %14, align 8
%89 = load i64, ptr %11, align 8
%90 = sdiv i64 %89, 60
%91 = mul nsw i64 %90, 10
store i64 %91, ptr %15, align 8
%92 = load i64, ptr %13, align 8
%93 = load i64, ptr %14, align 8
%94 = add nsw i64 %92, %93
%95 = load i64, ptr %15, align 8
%96 = add nsw i64 %94, %95
%97 = load i64, ptr %11, align 8
%98 = add nsw i64 %96, %97
%99 = add nsw i64 %98, 1
store i64 %99, ptr %16, align 8
%100 = load i64, ptr %16, align 8
%101 = call i32 @printf(ptr noundef @.str, i64 noundef %100)
br label %102
102: ; preds = %82, %79
%103 = load ptr, ptr %5, align 8
%104 = load i64, ptr %11, align 8
%105 = sub nsw i64 %104, 1
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i64
%109 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %108
%110 = load i64, ptr %109, align 8
%111 = load i64, ptr %9, align 8
%112 = add nsw i64 %111, %110
store i64 %112, ptr %9, align 8
br label %48, !llvm.loop !10
113: ; preds = %48
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjiodr1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BoyerMooreHorspool(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca [256 x i64], align 16
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp sle i64 %17, 255
br i1 %18, label %.lr.ph, label %28
.lr.ph: ; preds = %4
br label %19
19: ; preds = %.lr.ph, %23
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr %10, align 8
%22 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %21
store i64 %20, ptr %22, align 8
br label %23
23: ; preds = %19
%24 = load i64, ptr %10, align 8
%25 = add nsw i64 %24, 1
store i64 %25, ptr %10, align 8
%26 = load i64, ptr %10, align 8
%27 = icmp sle i64 %26, 255
br i1 %27, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %4
store i64 1, ptr %10, align 8
%29 = load i64, ptr %10, align 8
%30 = load i64, ptr %8, align 8
%31 = icmp slt i64 %29, %30
br i1 %31, label %.lr.ph2, label %49
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %43
%33 = load i64, ptr %8, align 8
%34 = load i64, ptr %10, align 8
%35 = sub nsw i64 %33, %34
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %10, align 8
%38 = sub nsw i64 %37, 1
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i64
%42 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %41
store i64 %35, ptr %42, align 8
br label %43
43: ; preds = %32
%44 = load i64, ptr %10, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %10, align 8
%46 = load i64, ptr %10, align 8
%47 = load i64, ptr %8, align 8
%48 = icmp slt i64 %46, %47
br i1 %48, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %49
49: ; preds = %._crit_edge3, %28
%50 = load i64, ptr %8, align 8
store i64 %50, ptr %9, align 8
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %6, align 8
%53 = icmp sle i64 %51, %52
br i1 %53, label %.lr.ph5, label %118
.lr.ph5: ; preds = %49
br label %54
54: ; preds = %.lr.ph5, %104
%55 = load i64, ptr %9, align 8
store i64 %55, ptr %11, align 8
%56 = load i64, ptr %8, align 8
store i64 %56, ptr %10, align 8
br label %57
57: ; preds = %76, %54
%58 = load ptr, ptr %5, align 8
%59 = load i64, ptr %11, align 8
%60 = sub nsw i64 %59, 1
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = load ptr, ptr %7, align 8
%65 = load i64, ptr %10, align 8
%66 = sub nsw i64 %65, 1
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %63, %69
br i1 %70, label %71, label %74
71: ; preds = %57
%72 = load i64, ptr %10, align 8
%73 = icmp sgt i64 %72, 0
br label %74
74: ; preds = %71, %57
%75 = phi i1 [ false, %57 ], [ %73, %71 ]
br i1 %75, label %76, label %81
76: ; preds = %74
%77 = load i64, ptr %11, align 8
%78 = add nsw i64 %77, -1
store i64 %78, ptr %11, align 8
%79 = load i64, ptr %10, align 8
%80 = add nsw i64 %79, -1
store i64 %80, ptr %10, align 8
br label %57, !llvm.loop !9
81: ; preds = %74
%82 = load i64, ptr %10, align 8
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %104
84: ; preds = %81
%85 = load i64, ptr %11, align 8
%86 = sdiv i64 %85, 60
%87 = add nsw i64 %86, 1
%88 = mul nsw i64 %87, 5
store i64 %88, ptr %13, align 8
%89 = load i64, ptr %11, align 8
%90 = sdiv i64 %89, 10
store i64 %90, ptr %14, align 8
%91 = load i64, ptr %11, align 8
%92 = sdiv i64 %91, 60
%93 = mul nsw i64 %92, 10
store i64 %93, ptr %15, align 8
%94 = load i64, ptr %13, align 8
%95 = load i64, ptr %14, align 8
%96 = add nsw i64 %94, %95
%97 = load i64, ptr %15, align 8
%98 = add nsw i64 %96, %97
%99 = load i64, ptr %11, align 8
%100 = add nsw i64 %98, %99
%101 = add nsw i64 %100, 1
store i64 %101, ptr %16, align 8
%102 = load i64, ptr %16, align 8
%103 = call i32 @printf(ptr noundef @.str, i64 noundef %102)
br label %104
104: ; preds = %84, %81
%105 = load ptr, ptr %5, align 8
%106 = load i64, ptr %11, align 8
%107 = sub nsw i64 %106, 1
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i64
%111 = getelementptr inbounds [256 x i64], ptr %12, i64 0, i64 %110
%112 = load i64, ptr %111, align 8
%113 = load i64, ptr %9, align 8
%114 = add nsw i64 %113, %112
store i64 %114, ptr %9, align 8
%115 = load i64, ptr %9, align 8
%116 = load i64, ptr %6, align 8
%117 = icmp sle i64 %115, %116
br i1 %117, label %54, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %104
br label %118
118: ; preds = %._crit_edge6, %49
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpuyy8e_xv.c'
source_filename = "/tmp/tmpuyy8e_xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @isalpha(i32 noundef 97) #3
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @isalpha(i32 noundef 65) #3
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @isalpha(i32 noundef 46) #3
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @isalpha(i32 noundef 49) #3
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 @isalpha(i32 noundef 80) #3
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(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/tmpuyy8e_xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @isalpha(i32 noundef 97) #3
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @isalpha(i32 noundef 65) #3
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @isalpha(i32 noundef 46) #3
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @isalpha(i32 noundef 49) #3
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 @isalpha(i32 noundef 80) #3
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(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/tmps0_y2lmu.c'
source_filename = "/tmp/tmps0_y2lmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_normal(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = fptosi double %5 to i32
%7 = call double @sqrt(i32 noundef %6)
%8 = call i32 (...) @drand()
%9 = call i32 @log(i32 noundef %8)
%10 = mul nsw i32 -2, %9
%11 = call double @sqrt(i32 noundef %10)
%12 = fmul double %7, %11
%13 = call i32 (...) @drand()
%14 = sitofp i32 %13 to double
%15 = fmul double 0x401921FB54442D18, %14
%16 = fptosi double %15 to i32
%17 = call double @cos(i32 noundef %16)
%18 = load double, ptr %3, align 8
%19 = call double @llvm.fmuladd.f64(double %12, double %17, double %18)
ret double %19
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @drand(...) #1
declare double @cos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps0_y2lmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_normal(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = fptosi double %5 to i32
%7 = call double @sqrt(i32 noundef %6)
%8 = call i32 (...) @drand()
%9 = call i32 @log(i32 noundef %8)
%10 = mul nsw i32 -2, %9
%11 = call double @sqrt(i32 noundef %10)
%12 = fmul double %7, %11
%13 = call i32 (...) @drand()
%14 = sitofp i32 %13 to double
%15 = fmul double 0x401921FB54442D18, %14
%16 = fptosi double %15 to i32
%17 = call double @cos(i32 noundef %16)
%18 = load double, ptr %3, align 8
%19 = call double @llvm.fmuladd.f64(double %12, double %17, double %18)
ret double %19
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @drand(...) #1
declare double @cos(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5uldz9bb.c'
source_filename = "/tmp/tmp5uldz9bb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"proxy [-l <listening port>] -f <forward ip>:<forward port>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5uldz9bb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"proxy [-l <listening port>] -f <forward ip>:<forward port>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp30qxxfow.c'
source_filename = "/tmp/tmp30qxxfow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \00\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0\00\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"0x\00\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"0X\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_chain(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i8 %3, ptr %11, align 1
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 0, ptr %14, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i32 @my_strlen(ptr noundef %19)
store i32 %20, ptr %15, align 4
store i32 0, ptr %16, align 4
%21 = load i8, ptr %11, align 1
%22 = load ptr, ptr %12, align 8
%23 = load i32, ptr %13, align 4
%24 = call i32 @check_parameter_value(i8 noundef signext %21, ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %17, align 4
store i8 32, ptr %18, align 1
%25 = load ptr, ptr %9, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %6
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load ptr, ptr %8, align 8
store ptr %31, ptr %7, align 8
br label %140
32: ; preds = %27, %6
br label %33
33: ; preds = %131, %32
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %15, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %134
37: ; preds = %33
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %14, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 43
br i1 %44, label %45, label %54
45: ; preds = %37
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 45
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load ptr, ptr %8, align 8
%53 = call ptr @my_strcat(ptr noundef @.str, ptr noundef %52)
store ptr %53, ptr %8, align 8
br label %131
54: ; preds = %45, %37
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 32
br i1 %61, label %62, label %65
62: ; preds = %54
%63 = load ptr, ptr %8, align 8
%64 = call ptr @my_strcat(ptr noundef @.str.1, ptr noundef %63)
store ptr %64, ptr %8, align 8
br label %130
65: ; preds = %54
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %14, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 48
br i1 %72, label %73, label %74
73: ; preds = %65
store i8 48, ptr %18, align 1
br label %129
74: ; preds = %65
%75 = load ptr, ptr %9, align 8
%76 = load i32, ptr %14, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 45
br i1 %81, label %82, label %83
82: ; preds = %74
store i32 1, ptr %16, align 4
br label %128
83: ; preds = %74
%84 = load ptr, ptr %9, align 8
%85 = load i32, ptr %14, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 35
br i1 %90, label %91, label %97
91: ; preds = %83
%92 = load i32, ptr %17, align 4
%93 = icmp eq i32 %92, 3
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load ptr, ptr %8, align 8
%96 = call ptr @my_strcat(ptr noundef @.str.2, ptr noundef %95)
store ptr %96, ptr %8, align 8
br label %127
97: ; preds = %91, %83
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %14, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 35
br i1 %104, label %105, label %111
105: ; preds = %97
%106 = load i32, ptr %17, align 4
%107 = icmp eq i32 %106, 8
br i1 %107, label %108, label %111
108: ; preds = %105
%109 = load ptr, ptr %8, align 8
%110 = call ptr @my_strcat(ptr noundef @.str.3, ptr noundef %109)
store ptr %110, ptr %8, align 8
br label %126
111: ; preds = %105, %97
%112 = load ptr, ptr %9, align 8
%113 = load i32, ptr %14, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 35
br i1 %118, label %119, label %125
119: ; preds = %111
%120 = load i32, ptr %17, align 4
%121 = icmp eq i32 %120, 9
br i1 %121, label %122, label %125
122: ; preds = %119
%123 = load ptr, ptr %8, align 8
%124 = call ptr @my_strcat(ptr noundef @.str.4, ptr noundef %123)
store ptr %124, ptr %8, align 8
br label %125
125: ; preds = %122, %119, %111
br label %126
126: ; preds = %125, %108
br label %127
127: ; preds = %126, %94
br label %128
128: ; preds = %127, %82
br label %129
129: ; preds = %128, %73
br label %130
130: ; preds = %129, %62
br label %131
131: ; preds = %130, %51
%132 = load i32, ptr %14, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %14, align 4
br label %33, !llvm.loop !6
134: ; preds = %33
%135 = load ptr, ptr %8, align 8
%136 = load i32, ptr %16, align 4
%137 = load i8, ptr %18, align 1
%138 = load i32, ptr %10, align 4
%139 = call ptr @generate_padded_chain(ptr noundef %135, i32 noundef %136, i8 noundef signext %137, i32 noundef %138)
store ptr %139, ptr %7, align 8
br label %140
140: ; preds = %134, %30
%141 = load ptr, ptr %7, align 8
ret ptr %141
}
declare i32 @my_strlen(ptr noundef) #1
declare i32 @check_parameter_value(i8 noundef signext, ptr noundef, i32 noundef) #1
declare ptr @my_strcat(ptr noundef, ptr noundef) #1
declare ptr @generate_padded_chain(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp30qxxfow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \00\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0\00\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"0x\00\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"0X\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_chain(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i8 %3, ptr %11, align 1
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 0, ptr %14, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i32 @my_strlen(ptr noundef %19)
store i32 %20, ptr %15, align 4
store i32 0, ptr %16, align 4
%21 = load i8, ptr %11, align 1
%22 = load ptr, ptr %12, align 8
%23 = load i32, ptr %13, align 4
%24 = call i32 @check_parameter_value(i8 noundef signext %21, ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %17, align 4
store i8 32, ptr %18, align 1
%25 = load ptr, ptr %9, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %6
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load ptr, ptr %8, align 8
store ptr %31, ptr %7, align 8
br label %142
32: ; preds = %27, %6
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %15, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %136
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %130
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %14, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 43
br i1 %43, label %44, label %53
44: ; preds = %36
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 0
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 45
br i1 %49, label %50, label %53
50: ; preds = %44
%51 = load ptr, ptr %8, align 8
%52 = call ptr @my_strcat(ptr noundef @.str, ptr noundef %51)
store ptr %52, ptr %8, align 8
br label %130
53: ; preds = %44, %36
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 32
br i1 %60, label %61, label %64
61: ; preds = %53
%62 = load ptr, ptr %8, align 8
%63 = call ptr @my_strcat(ptr noundef @.str.1, ptr noundef %62)
store ptr %63, ptr %8, align 8
br label %129
64: ; preds = %53
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 48
br i1 %71, label %72, label %73
72: ; preds = %64
store i8 48, ptr %18, align 1
br label %128
73: ; preds = %64
%74 = load ptr, ptr %9, align 8
%75 = load i32, ptr %14, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 45
br i1 %80, label %81, label %82
81: ; preds = %73
store i32 1, ptr %16, align 4
br label %127
82: ; preds = %73
%83 = load ptr, ptr %9, align 8
%84 = load i32, ptr %14, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 35
br i1 %89, label %90, label %96
90: ; preds = %82
%91 = load i32, ptr %17, align 4
%92 = icmp eq i32 %91, 3
br i1 %92, label %93, label %96
93: ; preds = %90
%94 = load ptr, ptr %8, align 8
%95 = call ptr @my_strcat(ptr noundef @.str.2, ptr noundef %94)
store ptr %95, ptr %8, align 8
br label %126
96: ; preds = %90, %82
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %14, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 35
br i1 %103, label %104, label %110
104: ; preds = %96
%105 = load i32, ptr %17, align 4
%106 = icmp eq i32 %105, 8
br i1 %106, label %107, label %110
107: ; preds = %104
%108 = load ptr, ptr %8, align 8
%109 = call ptr @my_strcat(ptr noundef @.str.3, ptr noundef %108)
store ptr %109, ptr %8, align 8
br label %125
110: ; preds = %104, %96
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr %14, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 35
br i1 %117, label %118, label %124
118: ; preds = %110
%119 = load i32, ptr %17, align 4
%120 = icmp eq i32 %119, 9
br i1 %120, label %121, label %124
121: ; preds = %118
%122 = load ptr, ptr %8, align 8
%123 = call ptr @my_strcat(ptr noundef @.str.4, ptr noundef %122)
store ptr %123, ptr %8, align 8
br label %124
124: ; preds = %121, %118, %110
br label %125
125: ; preds = %124, %107
br label %126
126: ; preds = %125, %93
br label %127
127: ; preds = %126, %81
br label %128
128: ; preds = %127, %72
br label %129
129: ; preds = %128, %61
br label %130
130: ; preds = %129, %50
%131 = load i32, ptr %14, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %14, align 4
%133 = load i32, ptr %14, align 4
%134 = load i32, ptr %15, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %130
br label %136
136: ; preds = %._crit_edge, %32
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %16, align 4
%139 = load i8, ptr %18, align 1
%140 = load i32, ptr %10, align 4
%141 = call ptr @generate_padded_chain(ptr noundef %137, i32 noundef %138, i8 noundef signext %139, i32 noundef %140)
store ptr %141, ptr %7, align 8
br label %142
142: ; preds = %136, %30
%143 = load ptr, ptr %7, align 8
ret ptr %143
}
declare i32 @my_strlen(ptr noundef) #1
declare i32 @check_parameter_value(i8 noundef signext, ptr noundef, i32 noundef) #1
declare ptr @my_strcat(ptr noundef, ptr noundef) #1
declare ptr @generate_padded_chain(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdcpcln82.c'
source_filename = "/tmp/tmpdcpcln82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsIRCModeInEdit(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i8, ptr %5, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %8, %2
store i32 0, ptr %3, align 4
br label %74
12: ; preds = %8
br label %13
13: ; preds = %72, %12
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %73
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 43
br i1 %21, label %27, label %22
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %63
27: ; preds = %22, %17
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %51, %27
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
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, 32
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %54
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = load i8, ptr %5, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %45, %47
br i1 %48, label %49, label %50
49: ; preds = %42
store i32 1, ptr %3, align 4
br label %74
50: ; preds = %42
br label %51
51: ; preds = %50
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %4, align 8
br label %30, !llvm.loop !6
54: ; preds = %40
%55 = load ptr, ptr %4, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 32
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %4, align 8
br label %62
62: ; preds = %59, %54
br label %72
63: ; preds = %22
%64 = load ptr, ptr %4, align 8
%65 = call ptr @strchr(ptr noundef %64, i8 noundef signext 32)
store ptr %65, ptr %4, align 8
%66 = load ptr, ptr %4, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %69, label %68
68: ; preds = %63
br label %73
69: ; preds = %63
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %4, align 8
br label %72
72: ; preds = %69, %62
br label %13, !llvm.loop !8
73: ; preds = %68, %13
store i32 0, ptr %3, align 4
br label %74
74: ; preds = %73, %49, %11
%75 = load i32, ptr %3, align 4
ret i32 %75
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdcpcln82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsIRCModeInEdit(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i8, ptr %5, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %8, %2
store i32 0, ptr %3, align 4
br label %76
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %71
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 43
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %62
26: ; preds = %21, %16
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %50, %26
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 32
br label %39
39: ; preds = %34, %29
%40 = phi i1 [ false, %29 ], [ %38, %34 ]
br i1 %40, label %41, label %53
41: ; preds = %39
%42 = load ptr, ptr %4, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %5, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %49
48: ; preds = %41
store i32 1, ptr %3, align 4
br label %76
49: ; preds = %41
br label %50
50: ; preds = %49
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
br label %29, !llvm.loop !6
53: ; preds = %39
%54 = load ptr, ptr %4, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 32
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
br label %61
61: ; preds = %58, %53
br label %71
62: ; preds = %21
%63 = load ptr, ptr %4, align 8
%64 = call ptr @strchr(ptr noundef %63, i8 noundef signext 32)
store ptr %64, ptr %4, align 8
%65 = load ptr, ptr %4, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %68, label %67
67: ; preds = %62
br label %75
68: ; preds = %62
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %4, align 8
br label %71
71: ; preds = %68, %61
%72 = load ptr, ptr %4, align 8
%73 = load i8, ptr %72, align 1
%74 = icmp ne i8 %73, 0
br i1 %74, label %16, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %71
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %75
75: ; preds = %.loopexit, %67
store i32 0, ptr %3, align 4
br label %76
76: ; preds = %75, %48, %11
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_63zxgms.c'
source_filename = "/tmp/tmp_63zxgms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @tanhl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @tanh(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_63zxgms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @tanhl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @tanh(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwe48p5ru.c'
source_filename = "/tmp/tmpwe48p5ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @in2hex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x i8], align 1
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 2)
%8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2
store i8 0, ptr %8, align 1
%9 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4)
%11 = load i32, ptr %4, align 4
ret i32 %11
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwe48p5ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @in2hex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x i8], align 1
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 2)
%8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2
store i8 0, ptr %8, align 1
%9 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4)
%11 = load i32, ptr %4, align 4
ret i32 %11
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp7d3_cho.c'
source_filename = "/tmp/tmpp7d3_cho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_parameters() #0 {
%1 = call i32 (...) @setup_parameters_DG()
%2 = call i32 (...) @setup_parameters_HDG()
ret void
}
declare i32 @setup_parameters_DG(...) #1
declare i32 @setup_parameters_HDG(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp7d3_cho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_parameters() #0 {
%1 = call i32 (...) @setup_parameters_DG()
%2 = call i32 (...) @setup_parameters_HDG()
ret void
}
declare i32 @setup_parameters_DG(...) #1
declare i32 @setup_parameters_HDG(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwe0uvq09.c'
source_filename = "/tmp/tmpwe0uvq09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigfpe(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwe0uvq09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigfpe(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8o1cgsd0.c'
source_filename = "/tmp/tmp8o1cgsd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_int_vec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8o1cgsd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_int_vec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiumgq4e1.c'
source_filename = "/tmp/tmpiumgq4e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_COM_CMPGT64s(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @__cmpdi2(i64 noundef %5, i64 noundef %6)
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @__cmpdi2(i64 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/tmpiumgq4e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_COM_CMPGT64s(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @__cmpdi2(i64 noundef %5, i64 noundef %6)
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @__cmpdi2(i64 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/tmpumau7p3q.c'
source_filename = "/tmp/tmpumau7p3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpumau7p3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfwxno61k.c'
source_filename = "/tmp/tmpfwxno61k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 58)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = ptrtoint ptr %10 to i64
%13 = ptrtoint ptr %11 to i64
%14 = sub i64 %12, %13
%15 = add nsw i64 %14, 1
%16 = load i64, ptr %3, align 8
%17 = add i64 %16, %15
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %9, %1
br label %19
19: ; preds = %36, %18
%20 = load ptr, ptr %2, align 8
%21 = load i64, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i64 @is_slash(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %19
%27 = load ptr, ptr %2, align 8
%28 = load i64, ptr %3, align 8
%29 = add i64 %28, 1
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call i64 @is_slash(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %26, %19
%35 = phi i1 [ false, %19 ], [ %33, %26 ]
br i1 %35, label %36, label %39
36: ; preds = %34
%37 = load i64, ptr %3, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %3, align 8
br label %19, !llvm.loop !6
39: ; preds = %34
%40 = load ptr, ptr %2, align 8
%41 = load i64, ptr %3, align 8
%42 = call i32 @remove_prefix(ptr noundef %40, i64 noundef %41)
%43 = call ptr @unix_path(i32 noundef %42)
ret ptr %43
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @is_slash(i8 noundef signext) #1
declare ptr @unix_path(i32 noundef) #1
declare i32 @remove_prefix(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwxno61k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 58)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = ptrtoint ptr %10 to i64
%13 = ptrtoint ptr %11 to i64
%14 = sub i64 %12, %13
%15 = add nsw i64 %14, 1
%16 = load i64, ptr %3, align 8
%17 = add i64 %16, %15
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %9, %1
br label %19
19: ; preds = %36, %18
%20 = load ptr, ptr %2, align 8
%21 = load i64, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i64 @is_slash(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %19
%27 = load ptr, ptr %2, align 8
%28 = load i64, ptr %3, align 8
%29 = add i64 %28, 1
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call i64 @is_slash(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %26, %19
%35 = phi i1 [ false, %19 ], [ %33, %26 ]
br i1 %35, label %36, label %39
36: ; preds = %34
%37 = load i64, ptr %3, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %3, align 8
br label %19, !llvm.loop !6
39: ; preds = %34
%40 = load ptr, ptr %2, align 8
%41 = load i64, ptr %3, align 8
%42 = call i32 @remove_prefix(ptr noundef %40, i64 noundef %41)
%43 = call ptr @unix_path(i32 noundef %42)
ret ptr %43
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @is_slash(i8 noundef signext) #1
declare ptr @unix_path(i32 noundef) #1
declare i32 @remove_prefix(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyrw54h8f.c'
source_filename = "/tmp/tmpyrw54h8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32, ptr }
@.str = private unnamed_addr constant [50 x i8] c"To quit, type three 'q's (the letter q) in a row\0A\00", align 1
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"%c\09%d\090%o\090x%x\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 %struct.termios, align 8
%4 = alloca %struct.termios, align 8
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %3)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %3, i64 16, i1 false)
%8 = load i32, ptr @ICANON, align 4
%9 = load i32, ptr @ECHO, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @ISIG, align 4
%12 = or i32 %10, %11
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 8
%17 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i64, ptr @VMIN, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 1, ptr %20, align 4
%21 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = load i64, ptr @VTIME, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
store i32 0, ptr %24, align 4
%25 = load i32, ptr @TCSANOW, align 4
%26 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %25, ptr noundef %4)
br label %27
27: ; preds = %42, %0
%28 = call i64 @read(i32 noundef 0, ptr noundef %5, i32 noundef 1)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %27
br label %52
31: ; preds = %27
%32 = load i8, ptr %5, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 113
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
%38 = icmp sge i32 %37, 3
br i1 %38, label %39, label %40
39: ; preds = %35
br label %52
40: ; preds = %35
br label %42
41: ; preds = %31
store i32 0, ptr %2, align 4
br label %42
42: ; preds = %41, %40
%43 = load i8, ptr %5, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %5, align 1
%46 = sext i8 %45 to i32
%47 = load i8, ptr %5, align 1
%48 = sext i8 %47 to i32
%49 = load i8, ptr %5, align 1
%50 = sext i8 %49 to i32
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %50)
br label %27
52: ; preds = %39, %30
%53 = load i32, ptr @TCSANOW, align 4
%54 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %53, ptr noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @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" }
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/tmpyrw54h8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32, ptr }
@.str = private unnamed_addr constant [50 x i8] c"To quit, type three 'q's (the letter q) in a row\0A\00", align 1
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"%c\09%d\090%o\090x%x\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 %struct.termios, align 8
%4 = alloca %struct.termios, align 8
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %3)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %3, i64 16, i1 false)
%8 = load i32, ptr @ICANON, align 4
%9 = load i32, ptr @ECHO, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @ISIG, align 4
%12 = or i32 %10, %11
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 8
%17 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i64, ptr @VMIN, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 1, ptr %20, align 4
%21 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = load i64, ptr @VTIME, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
store i32 0, ptr %24, align 4
%25 = load i32, ptr @TCSANOW, align 4
%26 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %25, ptr noundef %4)
%27 = call i64 @read(i32 noundef 0, ptr noundef %5, i32 noundef 1)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %.lr.ph
.lr.ph: ; preds = %0
br label %30
._crit_edge: ; preds = %41
br label %29
29: ; preds = %._crit_edge, %0
br label %53
30: ; preds = %.lr.ph, %41
%31 = load i8, ptr %5, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 113
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
%37 = icmp sge i32 %36, 3
br i1 %37, label %38, label %39
38: ; preds = %34
br label %53
39: ; preds = %34
br label %41
40: ; preds = %30
store i32 0, ptr %2, align 4
br label %41
41: ; preds = %40, %39
%42 = load i8, ptr %5, align 1
%43 = sext i8 %42 to i32
%44 = load i8, ptr %5, align 1
%45 = sext i8 %44 to i32
%46 = load i8, ptr %5, align 1
%47 = sext i8 %46 to i32
%48 = load i8, ptr %5, align 1
%49 = sext i8 %48 to i32
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43, i32 noundef %45, i32 noundef %47, i32 noundef %49)
%51 = call i64 @read(i32 noundef 0, ptr noundef %5, i32 noundef 1)
%52 = icmp slt i64 %51, 0
br i1 %52, label %._crit_edge, label %30
53: ; preds = %38, %29
%54 = load i32, ptr @TCSANOW, align 4
%55 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %54, ptr noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @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" }
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/tmpfl69wcm5.c'
source_filename = "/tmp/tmpfl69wcm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Sleeping for 5 seconds\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Slept for 5 seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @sleep(i32 noundef 5)
%4 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfl69wcm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Sleeping for 5 seconds\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Slept for 5 seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @sleep(i32 noundef 5)
%4 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqx0bxdgd.c'
source_filename = "/tmp/tmpqx0bxdgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d,%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @primesum(i32 noundef 10, ptr noundef %1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 0
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9)
ret i32 0
}
declare ptr @primesum(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqx0bxdgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d,%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @primesum(i32 noundef 10, ptr noundef %1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 0
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9)
ret i32 0
}
declare ptr @primesum(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1duttp6.c'
source_filename = "/tmp/tmpd1duttp6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 400)
store ptr %4, ptr %2, align 8
%5 = call ptr (...) @ignore1()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @realloc(ptr noundef %6, i32 noundef 800)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 400)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @realloc(ptr noundef %10, i32 noundef 800)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @realloc(ptr noundef %12, i32 noundef 400)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @ignore2(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call ptr @realloc(ptr noundef %17, i32 noundef 0)
store ptr %18, ptr %2, align 8
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare ptr @ignore1(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @ignore2(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/tmpd1duttp6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 400)
store ptr %4, ptr %2, align 8
%5 = call ptr (...) @ignore1()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @realloc(ptr noundef %6, i32 noundef 800)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 400)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @realloc(ptr noundef %10, i32 noundef 800)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @realloc(ptr noundef %12, i32 noundef 400)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @ignore2(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call ptr @realloc(ptr noundef %17, i32 noundef 0)
store ptr %18, ptr %2, align 8
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare ptr @ignore1(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @ignore2(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/tmpma45_co_.c'
source_filename = "/tmp/tmpma45_co_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HostBasedAuthProc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpma45_co_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HostBasedAuthProc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmfn9os79.c'
source_filename = "/tmp/tmpmfn9os79.c"
target datalayout = "e-m:e-p270: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.RnaFoldPs_GetSequence.seq_start = private unnamed_addr constant [11 x i8] c"/sequence \00", align 1
@__const.RnaFoldPs_GetSequence.seq_end = private unnamed_addr constant [5 x i8] c" def\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @RnaFoldPs_GetSequence(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [11 x i8], align 1
%7 = alloca [5 x i8], align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1024, ptr %3, align 4
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %5, align 8
%11 = alloca i8, i64 1024, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.RnaFoldPs_GetSequence.seq_start, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.RnaFoldPs_GetSequence.seq_end, i64 5, i1 false)
store ptr null, ptr %4, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %56, %21, %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @fgets(ptr noundef %11, i32 noundef 1024, ptr noundef %13)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %57
16: ; preds = %12
%17 = call i32 @ChompStr(ptr noundef %11)
%18 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%19 = call ptr @strstr(ptr noundef %11, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %16
store i32 1, ptr %9, align 4
br label %12, !llvm.loop !6
22: ; preds = %16
%23 = load i32, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %56
25: ; preds = %22
%26 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%27 = call ptr @strstr(ptr noundef %11, ptr noundef %26)
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = call i32 @StrTolower(ptr noundef %30)
br label %57
32: ; preds = %25
%33 = call i64 @strlen(ptr noundef %11)
%34 = sub nsw i64 %33, 1
%35 = call ptr @strndup(ptr noundef %11, i64 noundef %34)
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %4, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %50
38: ; preds = %32
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = call i64 @strlen(ptr noundef %40)
%42 = add nsw i64 %41, 1
%43 = load ptr, ptr %8, align 8
%44 = call i64 @strlen(ptr noundef %43)
%45 = add nsw i64 %42, %44
%46 = call ptr @Srealloc(ptr noundef %39, i64 noundef %45)
store ptr %46, ptr %4, align 8
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %8, align 8
%49 = call ptr @strcat(ptr noundef %47, ptr noundef %48)
store ptr %49, ptr %4, align 8
br label %53
50: ; preds = %32
%51 = load ptr, ptr %8, align 8
%52 = call ptr @strdup(ptr noundef %51)
store ptr %52, ptr %4, align 8
br label %53
53: ; preds = %50, %38
%54 = load ptr, ptr %8, align 8
%55 = call i32 @free(ptr noundef %54)
br label %56
56: ; preds = %53, %22
br label %12, !llvm.loop !6
57: ; preds = %29, %12
%58 = load ptr, ptr %4, align 8
%59 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %59)
ret ptr %58
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #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 ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @ChompStr(ptr noundef) #3
declare ptr @strstr(ptr noundef, ptr noundef) #3
declare i32 @StrTolower(ptr noundef) #3
declare ptr @strndup(ptr noundef, i64 noundef) #3
declare i64 @strlen(ptr noundef) #3
declare ptr @Srealloc(ptr noundef, i64 noundef) #3
declare ptr @strcat(ptr noundef, ptr noundef) #3
declare ptr @strdup(ptr noundef) #3
declare i32 @free(ptr noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmfn9os79.c"
target datalayout = "e-m:e-p270: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.RnaFoldPs_GetSequence.seq_start = private unnamed_addr constant [11 x i8] c"/sequence \00", align 1
@__const.RnaFoldPs_GetSequence.seq_end = private unnamed_addr constant [5 x i8] c" def\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @RnaFoldPs_GetSequence(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [11 x i8], align 1
%7 = alloca [5 x i8], align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1024, ptr %3, align 4
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %5, align 8
%11 = alloca i8, i64 1024, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.RnaFoldPs_GetSequence.seq_start, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.RnaFoldPs_GetSequence.seq_end, i64 5, i1 false)
store ptr null, ptr %4, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %2, align 8
%13 = call ptr @fgets(ptr noundef %11, i32 noundef 1024, ptr noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = call i32 @ChompStr(ptr noundef %11)
%17 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%18 = call ptr @strstr(ptr noundef %11, ptr noundef %17)
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %15
store i32 1, ptr %9, align 4
br label %.backedge
.backedge: ; preds = %20, %58
%21 = load ptr, ptr %2, align 8
%22 = call ptr @fgets(ptr noundef %11, i32 noundef 1024, ptr noundef %21)
%23 = icmp ne ptr %22, null
br i1 %23, label %15, label %..loopexit_crit_edge, !llvm.loop !6
24: ; preds = %15
%25 = load i32, ptr %9, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %58
27: ; preds = %24
%28 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%29 = call ptr @strstr(ptr noundef %11, ptr noundef %28)
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load ptr, ptr %4, align 8
%33 = call i32 @StrTolower(ptr noundef %32)
br label %59
34: ; preds = %27
%35 = call i64 @strlen(ptr noundef %11)
%36 = sub nsw i64 %35, 1
%37 = call ptr @strndup(ptr noundef %11, i64 noundef %36)
store ptr %37, ptr %8, align 8
%38 = load ptr, ptr %4, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %52
40: ; preds = %34
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %4, align 8
%43 = call i64 @strlen(ptr noundef %42)
%44 = add nsw i64 %43, 1
%45 = load ptr, ptr %8, align 8
%46 = call i64 @strlen(ptr noundef %45)
%47 = add nsw i64 %44, %46
%48 = call ptr @Srealloc(ptr noundef %41, i64 noundef %47)
store ptr %48, ptr %4, align 8
%49 = load ptr, ptr %4, align 8
%50 = load ptr, ptr %8, align 8
%51 = call ptr @strcat(ptr noundef %49, ptr noundef %50)
store ptr %51, ptr %4, align 8
br label %55
52: ; preds = %34
%53 = load ptr, ptr %8, align 8
%54 = call ptr @strdup(ptr noundef %53)
store ptr %54, ptr %4, align 8
br label %55
55: ; preds = %52, %40
%56 = load ptr, ptr %8, align 8
%57 = call i32 @free(ptr noundef %56)
br label %58
58: ; preds = %55, %24
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %59
59: ; preds = %.loopexit, %31
%60 = load ptr, ptr %4, align 8
%61 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %61)
ret ptr %60
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #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 ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @ChompStr(ptr noundef) #3
declare ptr @strstr(ptr noundef, ptr noundef) #3
declare i32 @StrTolower(ptr noundef) #3
declare ptr @strndup(ptr noundef, i64 noundef) #3
declare i64 @strlen(ptr noundef) #3
declare ptr @Srealloc(ptr noundef, i64 noundef) #3
declare ptr @strcat(ptr noundef, ptr noundef) #3
declare ptr @strdup(ptr noundef) #3
declare i32 @free(ptr noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt9x4jrlc.c'
source_filename = "/tmp/tmpt9x4jrlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\1B[0;0f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt9x4jrlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\1B[0;0f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpissb2jf0.c'
source_filename = "/tmp/tmpissb2jf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @snoopy_output_stdoutoutput(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stdout, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8)
ret i32 %9
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpissb2jf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @snoopy_output_stdoutoutput(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stdout, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8)
ret i32 %9
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptj9o9aoz.c'
source_filename = "/tmp/tmptj9o9aoz.c"
target datalayout = "e-m:e-p270: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/tmptj9o9aoz.c"
target datalayout = "e-m:e-p270: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/tmpmpamqme5.c'
source_filename = "/tmp/tmpmpamqme5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%08.2f \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMatrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %36, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %39
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = mul nsw i32 %14, %15
store i32 %16, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %31, %13
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %22, i64 %26
%28 = load float, ptr %27, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %29)
br label %31
31: ; preds = %21
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %36
36: ; preds = %34
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %9, !llvm.loop !8
39: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmpamqme5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%08.2f \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMatrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %43
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %37
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = mul nsw i32 %13, %14
store i32 %15, ptr %7, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %29
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %20, i64 %24
%26 = load float, ptr %25, align 4
%27 = fpext float %26 to double
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %27)
br label %29
29: ; preds = %19
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, 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 %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %12
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %37
37: ; preds = %35
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptvz4c1i4.c'
source_filename = "/tmp/tmptvz4c1i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @param_check(i32 noundef %8, ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @sleep(i32 noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %14, %13
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @param_check(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptvz4c1i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @param_check(i32 noundef %8, ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @sleep(i32 noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %14, %13
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @param_check(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt0u2sn6d.c'
source_filename = "/tmp/tmpt0u2sn6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_svarianceyc(i32 noundef %0, float noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca float, align 4
%14 = alloca double, align 8
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store i32 %0, ptr %6, align 4
store float %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = sitofp i32 %18 to double
%20 = load float, ptr %7, align 4
%21 = fpext float %20 to double
%22 = fsub double %19, %21
store double %22, ptr %14, align 8
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %4
%26 = load double, ptr %14, align 8
%27 = fcmp ole double %26, 0.000000e+00
br i1 %27, label %28, label %29
28: ; preds = %25, %4
store float 0x7FF8000000000000, ptr %5, align 4
br label %99
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32, %29
store float 0.000000e+00, ptr %5, align 4
br label %99
36: ; preds = %32
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 1, %40
%42 = load i32, ptr %9, align 4
%43 = mul nsw i32 %41, %42
store i32 %43, ptr %10, align 4
br label %45
44: ; preds = %36
store i32 0, ptr %10, align 4
br label %45
45: ; preds = %44, %39
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
store float %50, ptr %13, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %10, align 4
store float 0.000000e+00, ptr %15, align 4
store i32 2, ptr %11, align 4
br label %54
54: ; preds = %90, %45
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %58, label %93
58: ; preds = %54
%59 = load i32, ptr %11, align 4
%60 = sitofp i32 %59 to double
store double %60, ptr %12, align 8
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %61, i64 %63
%65 = load float, ptr %64, align 4
store float %65, ptr %16, align 4
%66 = load float, ptr %16, align 4
%67 = load float, ptr %13, align 4
%68 = fadd float %67, %66
store float %68, ptr %13, align 4
%69 = load double, ptr %12, align 8
%70 = load float, ptr %16, align 4
%71 = fpext float %70 to double
%72 = fmul double %69, %71
%73 = fptrunc double %72 to float
%74 = load float, ptr %13, align 4
%75 = fsub float %73, %74
store float %75, ptr %17, align 4
%76 = load double, ptr %12, align 8
%77 = load double, ptr %12, align 8
%78 = fsub double %77, 1.000000e+00
%79 = fmul double %76, %78
%80 = fdiv double 1.000000e+00, %79
%81 = fptrunc double %80 to float
%82 = load float, ptr %17, align 4
%83 = fmul float %81, %82
%84 = load float, ptr %17, align 4
%85 = load float, ptr %15, align 4
%86 = call float @llvm.fmuladd.f32(float %83, float %84, float %85)
store float %86, ptr %15, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = add nsw i32 %88, %87
store i32 %89, ptr %10, align 4
br label %90
90: ; preds = %58
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
br label %54, !llvm.loop !6
93: ; preds = %54
%94 = load float, ptr %15, align 4
%95 = fpext float %94 to double
%96 = load double, ptr %14, align 8
%97 = fdiv double %95, %96
%98 = fptrunc double %97 to float
store float %98, ptr %5, align 4
br label %99
99: ; preds = %93, %35, %28
%100 = load float, ptr %5, align 4
ret float %100
}
; 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt0u2sn6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_svarianceyc(i32 noundef %0, float noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca float, align 4
%14 = alloca double, align 8
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store i32 %0, ptr %6, align 4
store float %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = sitofp i32 %18 to double
%20 = load float, ptr %7, align 4
%21 = fpext float %20 to double
%22 = fsub double %19, %21
store double %22, ptr %14, align 8
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %4
%26 = load double, ptr %14, align 8
%27 = fcmp ole double %26, 0.000000e+00
br i1 %27, label %28, label %29
28: ; preds = %25, %4
store float 0x7FF8000000000000, ptr %5, align 4
br label %101
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32, %29
store float 0.000000e+00, ptr %5, align 4
br label %101
36: ; preds = %32
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 1, %40
%42 = load i32, ptr %9, align 4
%43 = mul nsw i32 %41, %42
store i32 %43, ptr %10, align 4
br label %45
44: ; preds = %36
store i32 0, ptr %10, align 4
br label %45
45: ; preds = %44, %39
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
store float %50, ptr %13, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %10, align 4
store float 0.000000e+00, ptr %15, align 4
store i32 2, ptr %11, align 4
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %.lr.ph, label %95
.lr.ph: ; preds = %45
br label %57
57: ; preds = %.lr.ph, %89
%58 = load i32, ptr %11, align 4
%59 = sitofp i32 %58 to double
store double %59, ptr %12, align 8
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
%64 = load float, ptr %63, align 4
store float %64, ptr %16, align 4
%65 = load float, ptr %16, align 4
%66 = load float, ptr %13, align 4
%67 = fadd float %66, %65
store float %67, ptr %13, align 4
%68 = load double, ptr %12, align 8
%69 = load float, ptr %16, align 4
%70 = fpext float %69 to double
%71 = fmul double %68, %70
%72 = fptrunc double %71 to float
%73 = load float, ptr %13, align 4
%74 = fsub float %72, %73
store float %74, ptr %17, align 4
%75 = load double, ptr %12, align 8
%76 = load double, ptr %12, align 8
%77 = fsub double %76, 1.000000e+00
%78 = fmul double %75, %77
%79 = fdiv double 1.000000e+00, %78
%80 = fptrunc double %79 to float
%81 = load float, ptr %17, align 4
%82 = fmul float %80, %81
%83 = load float, ptr %17, align 4
%84 = load float, ptr %15, align 4
%85 = call float @llvm.fmuladd.f32(float %82, float %83, float %84)
store float %85, ptr %15, align 4
%86 = load i32, ptr %9, align 4
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %10, align 4
br label %89
89: ; preds = %57
%90 = load i32, ptr %11, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %11, align 4
%92 = load i32, ptr %11, align 4
%93 = load i32, ptr %6, align 4
%94 = icmp sle i32 %92, %93
br i1 %94, label %57, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %95
95: ; preds = %._crit_edge, %45
%96 = load float, ptr %15, align 4
%97 = fpext float %96 to double
%98 = load double, ptr %14, align 8
%99 = fdiv double %97, %98
%100 = fptrunc double %99 to float
store float %100, ptr %5, align 4
br label %101
101: ; preds = %95, %35, %28
%102 = load float, ptr %5, align 4
ret float %102
}
; 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"}
|
; ModuleID = '/tmp/tmp3wsskj2u.c'
source_filename = "/tmp/tmp3wsskj2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
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, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %57
22: ; preds = %15, %11, %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %56
37: ; preds = %30, %26, %22
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %41
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %4, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
br label %55
52: ; preds = %45, %41, %37
%53 = load i32, ptr %5, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53)
br label %55
55: ; preds = %52, %49
br label %56
56: ; preds = %55, %34
br label %57
57: ; preds = %56, %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3wsskj2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
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, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %57
22: ; preds = %15, %11, %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %56
37: ; preds = %30, %26, %22
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %41
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %4, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
br label %55
52: ; preds = %45, %41, %37
%53 = load i32, ptr %5, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53)
br label %55
55: ; preds = %52, %49
br label %56
56: ; preds = %55, %34
br label %57
57: ; preds = %56, %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvjkr5pn7.c'
source_filename = "/tmp/tmpvjkr5pn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isroot(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 i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjkr5pn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isroot(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 i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9vzt3w7.c'
source_filename = "/tmp/tmp_9vzt3w7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_or25_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = or i32 %15, 25
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9vzt3w7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_or25_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = or i32 %14, 25
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1e2b85fy.c'
source_filename = "/tmp/tmp1e2b85fy.c"
target datalayout = "e-m:e-p270: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/tmp1e2b85fy.c"
target datalayout = "e-m:e-p270: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/tmpk0s5xr0e.c'
source_filename = "/tmp/tmpk0s5xr0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @u_char_width(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 i64 @u_char_iswide(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call i64 @u_char_iszerowidth(i32 noundef %8)
%10 = icmp ne i64 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, i32 0, i32 1
br label %13
13: ; preds = %7, %6
%14 = phi i32 [ 2, %6 ], [ %12, %7 ]
%15 = sext i32 %14 to i64
ret i64 %15
}
declare i64 @u_char_iswide(i32 noundef) #1
declare i64 @u_char_iszerowidth(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/tmpk0s5xr0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @u_char_width(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 i64 @u_char_iswide(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call i64 @u_char_iszerowidth(i32 noundef %8)
%10 = icmp ne i64 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, i32 0, i32 1
br label %13
13: ; preds = %7, %6
%14 = phi i32 [ 2, %6 ], [ %12, %7 ]
%15 = sext i32 %14 to i64
ret i64 %15
}
declare i64 @u_char_iswide(i32 noundef) #1
declare i64 @u_char_iszerowidth(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/tmp4pc8eel2.c'
source_filename = "/tmp/tmp4pc8eel2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@filter_Action2Nam.actname = internal constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str = private unnamed_addr constant [8 x i8] c" none \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"permit \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" deny \00", align 1
@filter_Action2Nam.buf = internal global [8 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%6d \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"?????? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filter_Action2Nam(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ult i32 %4, 40
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @snprintf(ptr noundef @filter_Action2Nam.buf, i32 noundef 8, ptr noundef @.str.3, i32 noundef %7)
store ptr @filter_Action2Nam.buf, ptr %2, align 8
br label %23
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp uge i32 %10, 40
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = zext i32 %13 to i64
%15 = icmp ult i64 %14, 43
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load i32, ptr %3, align 4
%18 = sub i32 %17, 40
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds [3 x ptr], ptr @filter_Action2Nam.actname, i64 0, i64 %19
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %2, align 8
br label %23
22: ; preds = %12, %9
store ptr @.str.4, ptr %2, align 8
br label %23
23: ; preds = %22, %16, %6
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pc8eel2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@filter_Action2Nam.actname = internal constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str = private unnamed_addr constant [8 x i8] c" none \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"permit \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" deny \00", align 1
@filter_Action2Nam.buf = internal global [8 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%6d \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"?????? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filter_Action2Nam(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ult i32 %4, 40
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @snprintf(ptr noundef @filter_Action2Nam.buf, i32 noundef 8, ptr noundef @.str.3, i32 noundef %7)
store ptr @filter_Action2Nam.buf, ptr %2, align 8
br label %23
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp uge i32 %10, 40
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = zext i32 %13 to i64
%15 = icmp ult i64 %14, 43
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load i32, ptr %3, align 4
%18 = sub i32 %17, 40
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds [3 x ptr], ptr @filter_Action2Nam.actname, i64 0, i64 %19
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %2, align 8
br label %23
22: ; preds = %12, %9
store ptr @.str.4, ptr %2, align 8
br label %23
23: ; preds = %22, %16, %6
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr67pfclb.c'
source_filename = "/tmp/tmpr67pfclb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09ba!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmpr67pfclb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09ba!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmp4j3d1pc0.c'
source_filename = "/tmp/tmp4j3d1pc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determine_pll_div(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 64, ptr %5, align 4
br label %6
6: ; preds = %32, %1
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %35
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i64, ptr %10, i64 1
%12 = load i64, ptr %11, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %12, %14
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
%17 = icmp ule i64 %16, 1430143000
br i1 %17, label %18, label %21
18: ; preds = %9
%19 = load i64, ptr %4, align 8
%20 = icmp uge i64 %19, 714928500
br i1 %20, label %22, label %32
21: ; preds = %9
br i1 false, label %22, label %32
22: ; preds = %21, %18
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 1
%25 = load i64, ptr %24, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %25, %27
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i64, ptr %29, i64 0
store i64 %28, ptr %30, align 8
%31 = load i32, ptr %5, align 4
store i32 %31, ptr %2, align 4
br label %36
32: ; preds = %21, %18
%33 = load i32, ptr %5, align 4
%34 = ashr i32 %33, 1
store i32 %34, ptr %5, align 4
br label %6, !llvm.loop !6
35: ; preds = %6
store i32 -1, ptr %2, align 4
br label %36
36: ; preds = %35, %22
%37 = load i32, ptr %2, align 4
ret i32 %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4j3d1pc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determine_pll_div(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 64, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %31
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i64, ptr %9, i64 1
%11 = load i64, ptr %10, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %11, %13
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ule i64 %15, 1430143000
br i1 %16, label %17, label %20
17: ; preds = %8
%18 = load i64, ptr %4, align 8
%19 = icmp uge i64 %18, 714928500
br i1 %19, label %21, label %31
20: ; preds = %8
br i1 false, label %21, label %31
21: ; preds = %20, %17
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i64, ptr %22, i64 1
%24 = load i64, ptr %23, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %24, %26
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i64, ptr %28, i64 0
store i64 %27, ptr %29, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %2, align 4
br label %37
31: ; preds = %20, %17
%32 = load i32, ptr %5, align 4
%33 = ashr i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp sgt i32 %34, 1
br i1 %35, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %1
store i32 -1, ptr %2, align 4
br label %37
37: ; preds = %36, %21
%38 = load i32, ptr %2, align 4
ret i32 %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxxm_iedo.c'
source_filename = "/tmp/tmpxxm_iedo.c"
target datalayout = "e-m:e-p270: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/tmpxxm_iedo.c"
target datalayout = "e-m:e-p270: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/tmpwtcjjvrs.c'
source_filename = "/tmp/tmpwtcjjvrs.c"
target datalayout = "e-m:e-p270: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/tmpwtcjjvrs.c"
target datalayout = "e-m:e-p270: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/tmpwiwthazp.c'
source_filename = "/tmp/tmpwiwthazp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_dup3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @do_dup2(ptr noundef %3, i32 noundef 2)
ret i32 %4
}
declare i32 @do_dup2(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/tmpwiwthazp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_dup3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @do_dup2(ptr noundef %3, i32 noundef 2)
ret i32 %4
}
declare i32 @do_dup2(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/tmpbp35_apn.c'
source_filename = "/tmp/tmpbp35_apn.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Error by opening '%s', %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xfopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br label %11
11: ; preds = %8, %2
%12 = phi i1 [ false, %2 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %4, align 8
%17 = call ptr @fopen(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %28
20: ; preds = %11
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr @errno, align 4
%24 = call ptr @strerror(i32 noundef %23)
%25 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %22, ptr noundef %24)
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @exit(i32 noundef %26) #3
unreachable
28: ; preds = %11
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare i32 @assert(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbp35_apn.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Error by opening '%s', %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xfopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br label %11
11: ; preds = %8, %2
%12 = phi i1 [ false, %2 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %4, align 8
%17 = call ptr @fopen(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %28
20: ; preds = %11
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr @errno, align 4
%24 = call ptr @strerror(i32 noundef %23)
%25 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %22, ptr noundef %24)
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @exit(i32 noundef %26) #3
unreachable
28: ; preds = %11
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare i32 @assert(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpigdl7apb.c'
source_filename = "/tmp/tmpigdl7apb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"HTTP/1.1 400 Bad Request\0ADate: \00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AContent-Type: text/html\0AContent-Length: 107\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"\0A\0A<html><body>\0A<h2>Malformed Request</h2>\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"Your browser sent a request I could not understand.\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_BAD_REQUEST(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false)
%6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
%13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3)
%17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4)
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @write_to_client(i32 noundef %19, ptr noundef %20)
ret void
}
; 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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @write_to_client(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpigdl7apb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"HTTP/1.1 400 Bad Request\0ADate: \00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AContent-Type: text/html\0AContent-Length: 107\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"\0A\0A<html><body>\0A<h2>Malformed Request</h2>\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"Your browser sent a request I could not understand.\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_BAD_REQUEST(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false)
%6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
%13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3)
%17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4)
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @write_to_client(i32 noundef %19, ptr noundef %20)
ret void
}
; 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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @write_to_client(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp8atp26bi.c'
source_filename = "/tmp/tmp8atp26bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"This case not handled, requesting memory from system\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_getcwd(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 (...) @__softboundcets_abort()
br label %11
11: ; preds = %8, %2
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call ptr @getcwd(ptr noundef %12, i64 noundef %13)
store ptr %14, ptr %5, align 8
%15 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare i32 @printf(ptr noundef) #1
declare i32 @__softboundcets_abort(...) #1
declare ptr @getcwd(ptr noundef, i64 noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8atp26bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"This case not handled, requesting memory from system\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_getcwd(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 (...) @__softboundcets_abort()
br label %11
11: ; preds = %8, %2
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call ptr @getcwd(ptr noundef %12, i64 noundef %13)
store ptr %14, ptr %5, align 8
%15 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare i32 @printf(ptr noundef) #1
declare i32 @__softboundcets_abort(...) #1
declare ptr @getcwd(ptr noundef, i64 noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9gzox_j2.c'
source_filename = "/tmp/tmp9gzox_j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CD_Pause(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 @SoundDriver_CD_Pause(i32 noundef %3)
ret void
}
declare i32 @SoundDriver_CD_Pause(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/tmp9gzox_j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CD_Pause(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 @SoundDriver_CD_Pause(i32 noundef %3)
ret void
}
declare i32 @SoundDriver_CD_Pause(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/tmpfyh6veug.c'
source_filename = "/tmp/tmpfyh6veug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @netadd(i32 noundef 5, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @netadd(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/tmpfyh6veug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @netadd(i32 noundef 5, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @netadd(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/tmp64pctq2r.c'
source_filename = "/tmp/tmp64pctq2r.c"
target datalayout = "e-m:e-p270: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 { i32 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @de_nodot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i64 @strcmp(i32 noundef %9, ptr noundef @.str)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = call i64 @strcmp(i32 noundef %15, ptr noundef @.str.1)
%17 = icmp ne i64 %16, 0
br label %18
18: ; preds = %12, %1
%19 = phi i1 [ false, %1 ], [ %17, %12 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(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/tmp64pctq2r.c"
target datalayout = "e-m:e-p270: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 { i32 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @de_nodot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i64 @strcmp(i32 noundef %9, ptr noundef @.str)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = call i64 @strcmp(i32 noundef %15, ptr noundef @.str.1)
%17 = icmp ne i64 %16, 0
br label %18
18: ; preds = %12, %1
%19 = phi i1 [ false, %1 ], [ %17, %12 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(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/tmpedjt1mep.c'
source_filename = "/tmp/tmpedjt1mep.c"
target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0x3F0D0B6F20000000, float 0xBFA9633B60000000, float 0x3FA115C420000000, float 0x3FACF36100000000, float 0xBFAA3854E0000000, float 0x3F57456B00000000, float 0xBF52721EA0000000, float 0xBF33A15060000000, float 0x3F29B5CBA0000000, float 0x3F24A81C00000000, float 0xBF3DB672E0000000, float 0xBF25C5AD20000000, float 0x3F2A572200000000, float 0x3F577B5AA0000000, float 0xBF505BAA60000000, float 0xBF08E4A960000000, float 0xBF1A040920000000, float 0xBF4106E920000000, float 0x3F396D1380000000, float 0xBF425C4E40000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_phi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 20, ptr %7, align 4
store float 0xBF9942F6C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC03200C4A0000000, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032028F60000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x4032028F60000000, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032008320000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %84
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %80, %48
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %83
53: ; preds = %49
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %59
%61 = load float, ptr %60, align 4
%62 = fcmp oeq float %57, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %80
64: ; preds = %53
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %70
%72 = load float, ptr %71, align 4
%73 = fsub float %68, %72
%74 = fpext float %73 to double
%75 = fdiv double 2.000000e+00, %74
%76 = fptrunc double %75 to float
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %80
80: ; preds = %64, %63
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
br label %49, !llvm.loop !6
83: ; preds = %49
br label %84
84: ; preds = %83, %3
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds float, ptr %85, i64 0
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fsub float %87, %89
%91 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fmul float %90, %92
%94 = fpext float %93 to double
%95 = fadd double 1.000000e+00, %94
%96 = fptrunc double %95 to float
store float %96, ptr %15, align 4
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%101 = load float, ptr %100, align 16
%102 = fmul float %99, %101
store float %102, ptr %16, align 4
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds float, ptr %103, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fmul float %108, %110
%112 = fpext float %111 to double
%113 = fadd double 1.000000e+00, %112
%114 = fptrunc double %113 to float
store float %114, ptr %17, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%119 = load float, ptr %118, align 4
%120 = fmul float %117, %119
store float %120, ptr %18, align 4
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds float, ptr %121, i64 2
%123 = load float, ptr %122, align 4
%124 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fsub float %123, %125
%127 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fmul float %126, %128
%130 = fpext float %129 to double
%131 = fadd double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds float, ptr %133, i64 2
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%137 = load float, ptr %136, align 8
%138 = fmul float %135, %137
store float %138, ptr %20, align 4
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds float, ptr %139, i64 3
%141 = load float, ptr %140, align 4
%142 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fsub float %141, %143
%145 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fmul float %144, %146
%148 = fpext float %147 to double
%149 = fadd double 1.000000e+00, %148
%150 = fptrunc double %149 to float
store float %150, ptr %21, align 4
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds float, ptr %151, i64 3
%153 = load float, ptr %152, align 4
%154 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%155 = load float, ptr %154, align 4
%156 = fmul float %153, %155
store float %156, ptr %22, align 4
%157 = load float, ptr %15, align 4
store float %157, ptr %23, align 4
%158 = load float, ptr %23, align 4
%159 = load float, ptr %15, align 4
%160 = fmul float %158, %159
store float %160, ptr %24, align 4
%161 = load float, ptr %24, align 4
%162 = load float, ptr %15, align 4
%163 = fmul float %161, %162
store float %163, ptr %25, align 4
%164 = load float, ptr %17, align 4
store float %164, ptr %26, align 4
%165 = load float, ptr %26, align 4
%166 = load float, ptr %17, align 4
%167 = fmul float %165, %166
store float %167, ptr %27, align 4
%168 = load float, ptr %27, align 4
%169 = load float, ptr %17, align 4
%170 = fmul float %168, %169
store float %170, ptr %28, align 4
%171 = load float, ptr %19, align 4
store float %171, ptr %29, align 4
%172 = load float, ptr %29, align 4
%173 = load float, ptr %19, align 4
%174 = fmul float %172, %173
store float %174, ptr %30, align 4
%175 = load float, ptr %30, align 4
%176 = load float, ptr %19, align 4
%177 = fmul float %175, %176
store float %177, ptr %31, align 4
%178 = load float, ptr %31, align 4
%179 = load float, ptr %19, align 4
%180 = fmul float %178, %179
store float %180, ptr %32, align 4
%181 = load float, ptr %21, align 4
store float %181, ptr %33, align 4
%182 = load float, ptr %33, align 4
%183 = load float, ptr %21, align 4
%184 = fmul float %182, %183
store float %184, ptr %34, align 4
%185 = load float, ptr %8, align 4
%186 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%187 = load float, ptr %186, align 16
%188 = fadd float %185, %187
%189 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%190 = load float, ptr %189, align 4
%191 = load float, ptr %23, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%194 = load float, ptr %193, align 8
%195 = load float, ptr %26, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %192)
%197 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%198 = load float, ptr %197, align 4
%199 = load float, ptr %29, align 4
%200 = call float @llvm.fmuladd.f32(float %198, float %199, float %196)
%201 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%202 = load float, ptr %201, align 16
%203 = load float, ptr %33, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %200)
%205 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%206 = load float, ptr %205, align 4
%207 = load float, ptr %26, align 4
%208 = fmul float %206, %207
%209 = load float, ptr %33, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %204)
%211 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%212 = load float, ptr %211, align 8
%213 = load float, ptr %34, align 4
%214 = call float @llvm.fmuladd.f32(float %212, float %213, float %210)
%215 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%216 = load float, ptr %215, align 4
%217 = load float, ptr %32, align 4
%218 = call float @llvm.fmuladd.f32(float %216, float %217, float %214)
store float %218, ptr %35, align 4
%219 = load float, ptr %35, align 4
%220 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%221 = load float, ptr %220, align 16
%222 = load float, ptr %25, align 4
%223 = fmul float %221, %222
%224 = load float, ptr %31, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %219)
%226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%227 = load float, ptr %226, align 4
%228 = load float, ptr %23, align 4
%229 = fmul float %227, %228
%230 = load float, ptr %26, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225)
%232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%233 = load float, ptr %232, align 8
%234 = load float, ptr %27, align 4
%235 = call float @llvm.fmuladd.f32(float %233, float %234, float %231)
%236 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%237 = load float, ptr %236, align 4
%238 = load float, ptr %23, align 4
%239 = fmul float %237, %238
%240 = load float, ptr %33, align 4
%241 = call float @llvm.fmuladd.f32(float %239, float %240, float %235)
%242 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%243 = load float, ptr %242, align 16
%244 = load float, ptr %26, align 4
%245 = fmul float %243, %244
%246 = load float, ptr %30, align 4
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %241)
%248 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%249 = load float, ptr %248, align 4
%250 = load float, ptr %27, align 4
%251 = fmul float %249, %250
%252 = load float, ptr %33, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %247)
%254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%255 = load float, ptr %254, align 8
%256 = load float, ptr %26, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %34, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253)
%260 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%261 = load float, ptr %260, align 4
%262 = load float, ptr %29, align 4
%263 = fmul float %261, %262
%264 = load float, ptr %33, align 4
%265 = call float @llvm.fmuladd.f32(float %263, float %264, float %259)
%266 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%267 = load float, ptr %266, align 16
%268 = load float, ptr %24, align 4
%269 = fmul float %267, %268
%270 = load float, ptr %26, align 4
%271 = call float @llvm.fmuladd.f32(float %269, float %270, float %265)
store float %271, ptr %35, align 4
%272 = load float, ptr %35, align 4
%273 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%274 = load float, ptr %273, align 4
%275 = load float, ptr %28, align 4
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %272)
%277 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%278 = load float, ptr %277, align 8
%279 = load float, ptr %23, align 4
%280 = fmul float %278, %279
%281 = load float, ptr %29, align 4
%282 = fmul float %280, %281
%283 = load float, ptr %33, align 4
%284 = call float @llvm.fmuladd.f32(float %282, float %283, float %276)
%285 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%286 = load float, ptr %285, align 4
%287 = load float, ptr %30, align 4
%288 = fmul float %286, %287
%289 = load float, ptr %33, align 4
%290 = call float @llvm.fmuladd.f32(float %288, float %289, float %284)
store float %290, ptr %35, align 4
%291 = load float, ptr %16, align 4
%292 = fadd float 0.000000e+00, %291
%293 = load float, ptr %18, align 4
%294 = fadd float %292, %293
%295 = load float, ptr %20, align 4
%296 = fadd float %294, %295
%297 = load float, ptr %22, align 4
%298 = fadd float %296, %297
store float %298, ptr %36, align 4
%299 = load float, ptr %36, align 4
%300 = fcmp oeq float %299, 0.000000e+00
br i1 %300, label %301, label %302
301: ; preds = %84
br label %475
302: ; preds = %84
%303 = load float, ptr %16, align 4
%304 = load float, ptr %16, align 4
%305 = fmul float %303, %304
%306 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%307 = load float, ptr %306, align 4
%308 = fadd float 0.000000e+00, %307
%309 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%310 = load float, ptr %309, align 16
%311 = fmul float 3.000000e+00, %310
%312 = load float, ptr %24, align 4
%313 = fmul float %311, %312
%314 = load float, ptr %31, align 4
%315 = call float @llvm.fmuladd.f32(float %313, float %314, float %308)
%316 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%317 = load float, ptr %316, align 4
%318 = load float, ptr %26, align 4
%319 = call float @llvm.fmuladd.f32(float %317, float %318, float %315)
%320 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%321 = load float, ptr %320, align 4
%322 = load float, ptr %33, align 4
%323 = call float @llvm.fmuladd.f32(float %321, float %322, float %319)
%324 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%325 = load float, ptr %324, align 16
%326 = fmul float 2.000000e+00, %325
%327 = load float, ptr %23, align 4
%328 = fmul float %326, %327
%329 = load float, ptr %26, align 4
%330 = call float @llvm.fmuladd.f32(float %328, float %329, float %323)
%331 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%332 = load float, ptr %331, align 8
%333 = load float, ptr %29, align 4
%334 = fmul float %332, %333
%335 = load float, ptr %33, align 4
%336 = call float @llvm.fmuladd.f32(float %334, float %335, float %330)
%337 = call float @pow(float noundef %336, i32 noundef 2)
%338 = load float, ptr %18, align 4
%339 = load float, ptr %18, align 4
%340 = fmul float %338, %339
%341 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%342 = load float, ptr %341, align 8
%343 = fadd float 0.000000e+00, %342
%344 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%345 = load float, ptr %344, align 4
%346 = load float, ptr %33, align 4
%347 = call float @llvm.fmuladd.f32(float %345, float %346, float %343)
%348 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%349 = load float, ptr %348, align 4
%350 = load float, ptr %23, align 4
%351 = call float @llvm.fmuladd.f32(float %349, float %350, float %347)
%352 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%353 = load float, ptr %352, align 8
%354 = fmul float 2.000000e+00, %353
%355 = load float, ptr %26, align 4
%356 = call float @llvm.fmuladd.f32(float %354, float %355, float %351)
%357 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%358 = load float, ptr %357, align 16
%359 = load float, ptr %30, align 4
%360 = call float @llvm.fmuladd.f32(float %358, float %359, float %356)
%361 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%362 = load float, ptr %361, align 4
%363 = fmul float 2.000000e+00, %362
%364 = load float, ptr %26, align 4
%365 = fmul float %363, %364
%366 = load float, ptr %33, align 4
%367 = call float @llvm.fmuladd.f32(float %365, float %366, float %360)
%368 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%369 = load float, ptr %368, align 8
%370 = load float, ptr %34, align 4
%371 = call float @llvm.fmuladd.f32(float %369, float %370, float %367)
%372 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%373 = load float, ptr %372, align 16
%374 = load float, ptr %24, align 4
%375 = call float @llvm.fmuladd.f32(float %373, float %374, float %371)
%376 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%377 = load float, ptr %376, align 4
%378 = fmul float 3.000000e+00, %377
%379 = load float, ptr %27, align 4
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %375)
%381 = call float @pow(float noundef %380, i32 noundef 2)
%382 = fmul float %340, %381
%383 = call float @llvm.fmuladd.f32(float %305, float %337, float %382)
%384 = load float, ptr %20, align 4
%385 = load float, ptr %20, align 4
%386 = fmul float %384, %385
%387 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%388 = load float, ptr %387, align 4
%389 = fadd float 0.000000e+00, %388
%390 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%391 = load float, ptr %390, align 4
%392 = fmul float 4.000000e+00, %391
%393 = load float, ptr %31, align 4
%394 = call float @llvm.fmuladd.f32(float %392, float %393, float %389)
%395 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%396 = load float, ptr %395, align 16
%397 = fmul float 3.000000e+00, %396
%398 = load float, ptr %30, align 4
%399 = fmul float %397, %398
%400 = load float, ptr %25, align 4
%401 = call float @llvm.fmuladd.f32(float %399, float %400, float %394)
%402 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%403 = load float, ptr %402, align 16
%404 = fmul float 2.000000e+00, %403
%405 = load float, ptr %29, align 4
%406 = fmul float %404, %405
%407 = load float, ptr %26, align 4
%408 = call float @llvm.fmuladd.f32(float %406, float %407, float %401)
%409 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%410 = load float, ptr %409, align 4
%411 = load float, ptr %33, align 4
%412 = call float @llvm.fmuladd.f32(float %410, float %411, float %408)
%413 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%414 = load float, ptr %413, align 8
%415 = load float, ptr %23, align 4
%416 = fmul float %414, %415
%417 = load float, ptr %33, align 4
%418 = call float @llvm.fmuladd.f32(float %416, float %417, float %412)
%419 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%420 = load float, ptr %419, align 4
%421 = fmul float 2.000000e+00, %420
%422 = load float, ptr %29, align 4
%423 = fmul float %421, %422
%424 = load float, ptr %33, align 4
%425 = call float @llvm.fmuladd.f32(float %423, float %424, float %418)
%426 = call float @pow(float noundef %425, i32 noundef 2)
%427 = call float @llvm.fmuladd.f32(float %386, float %426, float %383)
%428 = load float, ptr %22, align 4
%429 = load float, ptr %22, align 4
%430 = fmul float %428, %429
%431 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%432 = load float, ptr %431, align 16
%433 = fadd float 0.000000e+00, %432
%434 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%435 = load float, ptr %434, align 4
%436 = load float, ptr %26, align 4
%437 = call float @llvm.fmuladd.f32(float %435, float %436, float %433)
%438 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%439 = load float, ptr %438, align 8
%440 = fmul float 2.000000e+00, %439
%441 = load float, ptr %33, align 4
%442 = call float @llvm.fmuladd.f32(float %440, float %441, float %437)
%443 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%444 = load float, ptr %443, align 4
%445 = load float, ptr %23, align 4
%446 = call float @llvm.fmuladd.f32(float %444, float %445, float %442)
%447 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%448 = load float, ptr %447, align 4
%449 = load float, ptr %27, align 4
%450 = call float @llvm.fmuladd.f32(float %448, float %449, float %446)
%451 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%452 = load float, ptr %451, align 8
%453 = fmul float 2.000000e+00, %452
%454 = load float, ptr %33, align 4
%455 = fmul float %453, %454
%456 = load float, ptr %26, align 4
%457 = call float @llvm.fmuladd.f32(float %455, float %456, float %450)
%458 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%459 = load float, ptr %458, align 4
%460 = load float, ptr %29, align 4
%461 = call float @llvm.fmuladd.f32(float %459, float %460, float %457)
%462 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%463 = load float, ptr %462, align 8
%464 = load float, ptr %23, align 4
%465 = fmul float %463, %464
%466 = load float, ptr %29, align 4
%467 = call float @llvm.fmuladd.f32(float %465, float %466, float %461)
%468 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%469 = load float, ptr %468, align 4
%470 = load float, ptr %30, align 4
%471 = call float @llvm.fmuladd.f32(float %469, float %470, float %467)
%472 = call float @pow(float noundef %471, i32 noundef 2)
%473 = call float @llvm.fmuladd.f32(float %430, float %472, float %427)
%474 = call float @sqrt(float noundef %473)
br label %475
475: ; preds = %302, %301
%476 = phi float [ 0.000000e+00, %301 ], [ %474, %302 ]
store float %476, ptr %37, align 4
%477 = load float, ptr %37, align 4
%478 = load ptr, ptr %5, align 8
%479 = getelementptr inbounds float, ptr %478, i64 0
store float %477, ptr %479, align 4
%480 = load float, ptr %35, align 4
ret float %480
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpedjt1mep.c"
target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0x3F0D0B6F20000000, float 0xBFA9633B60000000, float 0x3FA115C420000000, float 0x3FACF36100000000, float 0xBFAA3854E0000000, float 0x3F57456B00000000, float 0xBF52721EA0000000, float 0xBF33A15060000000, float 0x3F29B5CBA0000000, float 0x3F24A81C00000000, float 0xBF3DB672E0000000, float 0xBF25C5AD20000000, float 0x3F2A572200000000, float 0x3F577B5AA0000000, float 0xBF505BAA60000000, float 0xBF08E4A960000000, float 0xBF1A040920000000, float 0xBF4106E920000000, float 0x3F396D1380000000, float 0xBF425C4E40000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_phi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 20, ptr %7, align 4
store float 0xBF9942F6C0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC03200C4A0000000, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032028F60000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x4032028F60000000, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032008320000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %86
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %85
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %79
%53 = load i32, ptr %14, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = load i32, ptr %14, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58
%60 = load float, ptr %59, align 4
%61 = fcmp oeq float %56, %60
br i1 %61, label %62, label %63
62: ; preds = %52
br label %79
63: ; preds = %52
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = load i32, ptr %14, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %69
%71 = load float, ptr %70, align 4
%72 = fsub float %67, %71
%73 = fpext float %72 to double
%74 = fdiv double 2.000000e+00, %73
%75 = fptrunc double %74 to float
%76 = load i32, ptr %14, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %77
store float %75, ptr %78, align 4
br label %79
79: ; preds = %63, %62
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %14, align 4
%82 = load i32, ptr %14, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %48
br label %86
86: ; preds = %85, %3
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds float, ptr %87, i64 0
%89 = load float, ptr %88, align 4
%90 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%91 = load float, ptr %90, align 16
%92 = fsub float %89, %91
%93 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%94 = load float, ptr %93, align 16
%95 = fmul float %92, %94
%96 = fpext float %95 to double
%97 = fadd double 1.000000e+00, %96
%98 = fptrunc double %97 to float
store float %98, ptr %15, align 4
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds float, ptr %99, i64 0
%101 = load float, ptr %100, align 4
%102 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%103 = load float, ptr %102, align 16
%104 = fmul float %101, %103
store float %104, ptr %16, align 4
%105 = load ptr, ptr %4, align 8
%106 = getelementptr inbounds float, ptr %105, i64 1
%107 = load float, ptr %106, align 4
%108 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%109 = load float, ptr %108, align 4
%110 = fsub float %107, %109
%111 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%112 = load float, ptr %111, align 4
%113 = fmul float %110, %112
%114 = fpext float %113 to double
%115 = fadd double 1.000000e+00, %114
%116 = fptrunc double %115 to float
store float %116, ptr %17, align 4
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds float, ptr %117, i64 1
%119 = load float, ptr %118, align 4
%120 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%121 = load float, ptr %120, align 4
%122 = fmul float %119, %121
store float %122, ptr %18, align 4
%123 = load ptr, ptr %4, align 8
%124 = getelementptr inbounds float, ptr %123, i64 2
%125 = load float, ptr %124, align 4
%126 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%127 = load float, ptr %126, align 8
%128 = fsub float %125, %127
%129 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%130 = load float, ptr %129, align 8
%131 = fmul float %128, %130
%132 = fpext float %131 to double
%133 = fadd double 1.000000e+00, %132
%134 = fptrunc double %133 to float
store float %134, ptr %19, align 4
%135 = load ptr, ptr %5, align 8
%136 = getelementptr inbounds float, ptr %135, i64 2
%137 = load float, ptr %136, align 4
%138 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%139 = load float, ptr %138, align 8
%140 = fmul float %137, %139
store float %140, ptr %20, align 4
%141 = load ptr, ptr %4, align 8
%142 = getelementptr inbounds float, ptr %141, i64 3
%143 = load float, ptr %142, align 4
%144 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%145 = load float, ptr %144, align 4
%146 = fsub float %143, %145
%147 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%148 = load float, ptr %147, align 4
%149 = fmul float %146, %148
%150 = fpext float %149 to double
%151 = fadd double 1.000000e+00, %150
%152 = fptrunc double %151 to float
store float %152, ptr %21, align 4
%153 = load ptr, ptr %5, align 8
%154 = getelementptr inbounds float, ptr %153, i64 3
%155 = load float, ptr %154, align 4
%156 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%157 = load float, ptr %156, align 4
%158 = fmul float %155, %157
store float %158, ptr %22, align 4
%159 = load float, ptr %15, align 4
store float %159, ptr %23, align 4
%160 = load float, ptr %23, align 4
%161 = load float, ptr %15, align 4
%162 = fmul float %160, %161
store float %162, ptr %24, align 4
%163 = load float, ptr %24, align 4
%164 = load float, ptr %15, align 4
%165 = fmul float %163, %164
store float %165, ptr %25, align 4
%166 = load float, ptr %17, align 4
store float %166, ptr %26, align 4
%167 = load float, ptr %26, align 4
%168 = load float, ptr %17, align 4
%169 = fmul float %167, %168
store float %169, ptr %27, align 4
%170 = load float, ptr %27, align 4
%171 = load float, ptr %17, align 4
%172 = fmul float %170, %171
store float %172, ptr %28, align 4
%173 = load float, ptr %19, align 4
store float %173, ptr %29, align 4
%174 = load float, ptr %29, align 4
%175 = load float, ptr %19, align 4
%176 = fmul float %174, %175
store float %176, ptr %30, align 4
%177 = load float, ptr %30, align 4
%178 = load float, ptr %19, align 4
%179 = fmul float %177, %178
store float %179, ptr %31, align 4
%180 = load float, ptr %31, align 4
%181 = load float, ptr %19, align 4
%182 = fmul float %180, %181
store float %182, ptr %32, align 4
%183 = load float, ptr %21, align 4
store float %183, ptr %33, align 4
%184 = load float, ptr %33, align 4
%185 = load float, ptr %21, align 4
%186 = fmul float %184, %185
store float %186, ptr %34, align 4
%187 = load float, ptr %8, align 4
%188 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%189 = load float, ptr %188, align 16
%190 = fadd float %187, %189
%191 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%192 = load float, ptr %191, align 4
%193 = load float, ptr %23, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%196 = load float, ptr %195, align 8
%197 = load float, ptr %26, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%200 = load float, ptr %199, align 4
%201 = load float, ptr %29, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%204 = load float, ptr %203, align 16
%205 = load float, ptr %33, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%208 = load float, ptr %207, align 4
%209 = load float, ptr %26, align 4
%210 = fmul float %208, %209
%211 = load float, ptr %33, align 4
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %206)
%213 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%214 = load float, ptr %213, align 8
%215 = load float, ptr %34, align 4
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %212)
%217 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%218 = load float, ptr %217, align 4
%219 = load float, ptr %32, align 4
%220 = call float @llvm.fmuladd.f32(float %218, float %219, float %216)
store float %220, ptr %35, align 4
%221 = load float, ptr %35, align 4
%222 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%223 = load float, ptr %222, align 16
%224 = load float, ptr %25, align 4
%225 = fmul float %223, %224
%226 = load float, ptr %31, align 4
%227 = call float @llvm.fmuladd.f32(float %225, float %226, float %221)
%228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%229 = load float, ptr %228, align 4
%230 = load float, ptr %23, align 4
%231 = fmul float %229, %230
%232 = load float, ptr %26, align 4
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227)
%234 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%235 = load float, ptr %234, align 8
%236 = load float, ptr %27, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %233)
%238 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%239 = load float, ptr %238, align 4
%240 = load float, ptr %23, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %33, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%245 = load float, ptr %244, align 16
%246 = load float, ptr %26, align 4
%247 = fmul float %245, %246
%248 = load float, ptr %30, align 4
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %243)
%250 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%251 = load float, ptr %250, align 4
%252 = load float, ptr %27, align 4
%253 = fmul float %251, %252
%254 = load float, ptr %33, align 4
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %249)
%256 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%257 = load float, ptr %256, align 8
%258 = load float, ptr %26, align 4
%259 = fmul float %257, %258
%260 = load float, ptr %34, align 4
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %255)
%262 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%263 = load float, ptr %262, align 4
%264 = load float, ptr %29, align 4
%265 = fmul float %263, %264
%266 = load float, ptr %33, align 4
%267 = call float @llvm.fmuladd.f32(float %265, float %266, float %261)
%268 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%269 = load float, ptr %268, align 16
%270 = load float, ptr %24, align 4
%271 = fmul float %269, %270
%272 = load float, ptr %26, align 4
%273 = call float @llvm.fmuladd.f32(float %271, float %272, float %267)
store float %273, ptr %35, align 4
%274 = load float, ptr %35, align 4
%275 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%276 = load float, ptr %275, align 4
%277 = load float, ptr %28, align 4
%278 = call float @llvm.fmuladd.f32(float %276, float %277, float %274)
%279 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%280 = load float, ptr %279, align 8
%281 = load float, ptr %23, align 4
%282 = fmul float %280, %281
%283 = load float, ptr %29, align 4
%284 = fmul float %282, %283
%285 = load float, ptr %33, align 4
%286 = call float @llvm.fmuladd.f32(float %284, float %285, float %278)
%287 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%288 = load float, ptr %287, align 4
%289 = load float, ptr %30, align 4
%290 = fmul float %288, %289
%291 = load float, ptr %33, align 4
%292 = call float @llvm.fmuladd.f32(float %290, float %291, float %286)
store float %292, ptr %35, align 4
%293 = load float, ptr %16, align 4
%294 = fadd float 0.000000e+00, %293
%295 = load float, ptr %18, align 4
%296 = fadd float %294, %295
%297 = load float, ptr %20, align 4
%298 = fadd float %296, %297
%299 = load float, ptr %22, align 4
%300 = fadd float %298, %299
store float %300, ptr %36, align 4
%301 = load float, ptr %36, align 4
%302 = fcmp oeq float %301, 0.000000e+00
br i1 %302, label %303, label %304
303: ; preds = %86
br label %477
304: ; preds = %86
%305 = load float, ptr %16, align 4
%306 = load float, ptr %16, align 4
%307 = fmul float %305, %306
%308 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%309 = load float, ptr %308, align 4
%310 = fadd float 0.000000e+00, %309
%311 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%312 = load float, ptr %311, align 16
%313 = fmul float 3.000000e+00, %312
%314 = load float, ptr %24, align 4
%315 = fmul float %313, %314
%316 = load float, ptr %31, align 4
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %310)
%318 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%319 = load float, ptr %318, align 4
%320 = load float, ptr %26, align 4
%321 = call float @llvm.fmuladd.f32(float %319, float %320, float %317)
%322 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%323 = load float, ptr %322, align 4
%324 = load float, ptr %33, align 4
%325 = call float @llvm.fmuladd.f32(float %323, float %324, float %321)
%326 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%327 = load float, ptr %326, align 16
%328 = fmul float 2.000000e+00, %327
%329 = load float, ptr %23, align 4
%330 = fmul float %328, %329
%331 = load float, ptr %26, align 4
%332 = call float @llvm.fmuladd.f32(float %330, float %331, float %325)
%333 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%334 = load float, ptr %333, align 8
%335 = load float, ptr %29, align 4
%336 = fmul float %334, %335
%337 = load float, ptr %33, align 4
%338 = call float @llvm.fmuladd.f32(float %336, float %337, float %332)
%339 = call float @pow(float noundef %338, i32 noundef 2)
%340 = load float, ptr %18, align 4
%341 = load float, ptr %18, align 4
%342 = fmul float %340, %341
%343 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%344 = load float, ptr %343, align 8
%345 = fadd float 0.000000e+00, %344
%346 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%347 = load float, ptr %346, align 4
%348 = load float, ptr %33, align 4
%349 = call float @llvm.fmuladd.f32(float %347, float %348, float %345)
%350 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%351 = load float, ptr %350, align 4
%352 = load float, ptr %23, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %349)
%354 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%355 = load float, ptr %354, align 8
%356 = fmul float 2.000000e+00, %355
%357 = load float, ptr %26, align 4
%358 = call float @llvm.fmuladd.f32(float %356, float %357, float %353)
%359 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%360 = load float, ptr %359, align 16
%361 = load float, ptr %30, align 4
%362 = call float @llvm.fmuladd.f32(float %360, float %361, float %358)
%363 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%364 = load float, ptr %363, align 4
%365 = fmul float 2.000000e+00, %364
%366 = load float, ptr %26, align 4
%367 = fmul float %365, %366
%368 = load float, ptr %33, align 4
%369 = call float @llvm.fmuladd.f32(float %367, float %368, float %362)
%370 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%371 = load float, ptr %370, align 8
%372 = load float, ptr %34, align 4
%373 = call float @llvm.fmuladd.f32(float %371, float %372, float %369)
%374 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%375 = load float, ptr %374, align 16
%376 = load float, ptr %24, align 4
%377 = call float @llvm.fmuladd.f32(float %375, float %376, float %373)
%378 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%379 = load float, ptr %378, align 4
%380 = fmul float 3.000000e+00, %379
%381 = load float, ptr %27, align 4
%382 = call float @llvm.fmuladd.f32(float %380, float %381, float %377)
%383 = call float @pow(float noundef %382, i32 noundef 2)
%384 = fmul float %342, %383
%385 = call float @llvm.fmuladd.f32(float %307, float %339, float %384)
%386 = load float, ptr %20, align 4
%387 = load float, ptr %20, align 4
%388 = fmul float %386, %387
%389 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%390 = load float, ptr %389, align 4
%391 = fadd float 0.000000e+00, %390
%392 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%393 = load float, ptr %392, align 4
%394 = fmul float 4.000000e+00, %393
%395 = load float, ptr %31, align 4
%396 = call float @llvm.fmuladd.f32(float %394, float %395, float %391)
%397 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%398 = load float, ptr %397, align 16
%399 = fmul float 3.000000e+00, %398
%400 = load float, ptr %30, align 4
%401 = fmul float %399, %400
%402 = load float, ptr %25, align 4
%403 = call float @llvm.fmuladd.f32(float %401, float %402, float %396)
%404 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%405 = load float, ptr %404, align 16
%406 = fmul float 2.000000e+00, %405
%407 = load float, ptr %29, align 4
%408 = fmul float %406, %407
%409 = load float, ptr %26, align 4
%410 = call float @llvm.fmuladd.f32(float %408, float %409, float %403)
%411 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%412 = load float, ptr %411, align 4
%413 = load float, ptr %33, align 4
%414 = call float @llvm.fmuladd.f32(float %412, float %413, float %410)
%415 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%416 = load float, ptr %415, align 8
%417 = load float, ptr %23, align 4
%418 = fmul float %416, %417
%419 = load float, ptr %33, align 4
%420 = call float @llvm.fmuladd.f32(float %418, float %419, float %414)
%421 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%422 = load float, ptr %421, align 4
%423 = fmul float 2.000000e+00, %422
%424 = load float, ptr %29, align 4
%425 = fmul float %423, %424
%426 = load float, ptr %33, align 4
%427 = call float @llvm.fmuladd.f32(float %425, float %426, float %420)
%428 = call float @pow(float noundef %427, i32 noundef 2)
%429 = call float @llvm.fmuladd.f32(float %388, float %428, float %385)
%430 = load float, ptr %22, align 4
%431 = load float, ptr %22, align 4
%432 = fmul float %430, %431
%433 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%434 = load float, ptr %433, align 16
%435 = fadd float 0.000000e+00, %434
%436 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%437 = load float, ptr %436, align 4
%438 = load float, ptr %26, align 4
%439 = call float @llvm.fmuladd.f32(float %437, float %438, float %435)
%440 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%441 = load float, ptr %440, align 8
%442 = fmul float 2.000000e+00, %441
%443 = load float, ptr %33, align 4
%444 = call float @llvm.fmuladd.f32(float %442, float %443, float %439)
%445 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%446 = load float, ptr %445, align 4
%447 = load float, ptr %23, align 4
%448 = call float @llvm.fmuladd.f32(float %446, float %447, float %444)
%449 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%450 = load float, ptr %449, align 4
%451 = load float, ptr %27, align 4
%452 = call float @llvm.fmuladd.f32(float %450, float %451, float %448)
%453 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%454 = load float, ptr %453, align 8
%455 = fmul float 2.000000e+00, %454
%456 = load float, ptr %33, align 4
%457 = fmul float %455, %456
%458 = load float, ptr %26, align 4
%459 = call float @llvm.fmuladd.f32(float %457, float %458, float %452)
%460 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%461 = load float, ptr %460, align 4
%462 = load float, ptr %29, align 4
%463 = call float @llvm.fmuladd.f32(float %461, float %462, float %459)
%464 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%465 = load float, ptr %464, align 8
%466 = load float, ptr %23, align 4
%467 = fmul float %465, %466
%468 = load float, ptr %29, align 4
%469 = call float @llvm.fmuladd.f32(float %467, float %468, float %463)
%470 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%471 = load float, ptr %470, align 4
%472 = load float, ptr %30, align 4
%473 = call float @llvm.fmuladd.f32(float %471, float %472, float %469)
%474 = call float @pow(float noundef %473, i32 noundef 2)
%475 = call float @llvm.fmuladd.f32(float %432, float %474, float %429)
%476 = call float @sqrt(float noundef %475)
br label %477
477: ; preds = %304, %303
%478 = phi float [ 0.000000e+00, %303 ], [ %476, %304 ]
store float %478, ptr %37, align 4
%479 = load float, ptr %37, align 4
%480 = load ptr, ptr %5, align 8
%481 = getelementptr inbounds float, ptr %480, i64 0
store float %479, ptr %481, align 4
%482 = load float, ptr %35, align 4
ret float %482
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptmwn1mr4.c'
source_filename = "/tmp/tmptmwn1mr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pprime.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"pprime.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %38, %14
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %41
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = call i64 @ispalin(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = call i64 @isprime(i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %6, align 4
%36 = call i32 @fprintf(ptr noundef %34, ptr noundef @.str.5, i32 noundef %35)
br label %37
37: ; preds = %33, %29, %25
br label %38
38: ; preds = %37
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %21, !llvm.loop !6
41: ; preds = %21
%42 = load ptr, ptr %4, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = call i32 @fclose(ptr noundef %44)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @ispalin(i32 noundef) #1
declare i64 @isprime(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptmwn1mr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pprime.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"pprime.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %24
24: ; preds = %.lr.ph, %37
%25 = load i32, ptr %6, align 4
%26 = call i64 @ispalin(i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = call i64 @isprime(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.5, i32 noundef %34)
br label %36
36: ; preds = %32, %28, %24
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %14
%44 = load ptr, ptr %4, align 8
%45 = call i32 @fclose(ptr noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = call i32 @fclose(ptr noundef %46)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @ispalin(i32 noundef) #1
declare i64 @isprime(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj8iij0s1.c'
source_filename = "/tmp/tmpj8iij0s1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse_string_inplace(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i64, ptr %4, align 8
%8 = sub i64 %7, 1
%9 = trunc i64 %8 to i32
store i32 %9, ptr %6, align 4
br label %10
10: ; preds = %59, %2
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %4, align 8
%14 = udiv i64 %13, 2
%15 = icmp ult i64 %12, %14
br i1 %15, label %16, label %64
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = xor i32 %28, %22
%30 = trunc i32 %29 to i8
store i8 %30, ptr %26, align 1
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = xor i32 %42, %36
%44 = trunc i32 %43 to i8
store i8 %44, ptr %40, align 1
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %5, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = xor i32 %56, %50
%58 = trunc i32 %57 to i8
store i8 %58, ptr %54, align 1
br label %59
59: ; preds = %16
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %6, align 4
br label %10, !llvm.loop !6
64: ; preds = %10
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/tmpj8iij0s1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse_string_inplace(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i64, ptr %4, align 8
%8 = sub i64 %7, 1
%9 = trunc i64 %8 to i32
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = load i64, ptr %4, align 8
%13 = udiv i64 %12, 2
%14 = icmp ult i64 %11, %13
br i1 %14, label %.lr.ph, label %68
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %58
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = xor i32 %27, %21
%29 = trunc i32 %28 to i8
store i8 %29, ptr %25, align 1
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = xor i32 %41, %35
%43 = trunc i32 %42 to i8
store i8 %43, ptr %39, align 1
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = xor i32 %55, %49
%57 = trunc i32 %56 to i8
store i8 %57, ptr %53, align 1
br label %58
58: ; preds = %15
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %6, align 4
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = load i64, ptr %4, align 8
%66 = udiv i64 %65, 2
%67 = icmp ult i64 %64, %66
br i1 %67, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %68
68: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv4j3etym.c'
source_filename = "/tmp/tmpv4j3etym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@file_flush.blnk = internal global [2 x i8] zeroinitializer, align 1
@SEEK_CUR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Failed seek on file %s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Failed write to file %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_flush(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 %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %3
br label %28
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SEEK_CUR, align 4
%13 = call i64 @lseek(i32 noundef %11, i32 noundef -1, i32 noundef %12)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i32, ptr @errno, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @syswarn(i32 noundef 1, i32 noundef %16, ptr noundef @.str, ptr noundef %17)
br label %28
19: ; preds = %10
%20 = load i32, ptr %4, align 4
%21 = call i64 @write(i32 noundef %20, ptr noundef @file_flush.blnk, i32 noundef 1)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr @errno, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @syswarn(i32 noundef 1, i32 noundef %24, ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %23, %19
br label %28
28: ; preds = %27, %15, %9
ret void
}
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @syswarn(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4j3etym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@file_flush.blnk = internal global [2 x i8] zeroinitializer, align 1
@SEEK_CUR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Failed seek on file %s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Failed write to file %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_flush(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 %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %3
br label %28
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SEEK_CUR, align 4
%13 = call i64 @lseek(i32 noundef %11, i32 noundef -1, i32 noundef %12)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i32, ptr @errno, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @syswarn(i32 noundef 1, i32 noundef %16, ptr noundef @.str, ptr noundef %17)
br label %28
19: ; preds = %10
%20 = load i32, ptr %4, align 4
%21 = call i64 @write(i32 noundef %20, ptr noundef @file_flush.blnk, i32 noundef 1)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr @errno, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @syswarn(i32 noundef 1, i32 noundef %24, ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %23, %19
br label %28
28: ; preds = %27, %15, %9
ret void
}
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @syswarn(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.